Bug 9266 - Untranslated strings in tags moderation
authorOwen Leonard <oleonard@myacpl.org>
Fri, 26 Apr 2013 18:20:49 +0000 (14:20 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 1 May 2013 11:19:28 +0000 (07:19 -0400)
commitcdf82c0070281c24ce337a503628cd6ebeff18ef
tree1ec721eee5a91b7a56a6a36106cb50d359be447f
parentc258a4f9b12bc2cde87880249902fcb319ca9afe
Bug 9266 - Untranslated strings in tags moderation

There are a couple of English strings in tags moderation JavaScript
which are not properly enclosed in the _() function enabling
translation. As a result, clicking a translated 'Approve' or
'Reject' button in the table of tags would change the button's
neighbor's label to the English string. This patch
corrects it.

To test, apply the patch and regenerate a translation to test with. Go
to Tools -> Tags and find a list of tags to moderate (pending, approved,
or rejected). When you click on an 'Approve' or 'Reject' tag in the
table of tags, the buttons in each Approve/Reject pair should retain
their correct translated label. For instance, looking at approved tags
in French:

[ ApprouvĂ© ] [ Rejeter ]

Clicking the "Rejetee" button should change the state to:

[ Approuver ] [ RejetĂ©e ]

Clicking "Approuver" should return the buttons to the first state.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit acfbfcb7d9b6bef3186adc9b93ead44fc58ce420)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt