Bug 9266 - Untranslated strings in tags moderation
authorOwen Leonard <oleonard@myacpl.org>
Fri, 26 Apr 2013 18:20:49 +0000 (14:20 -0400)
committerChris Cormack <chris@bigballofwax.co.nz>
Thu, 9 May 2013 06:52:28 +0000 (18:52 +1200)
commitc529a16187b551e1fefb7bcee6cb7de4c1106d53
tree829465917062f2df111edcd083a9b3e38b62d512
parentd1a845261c43188e5d8923b7635c3422f06b0fd8
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>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt