https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23888

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101826|0                           |1
        is obsolete|                            |

--- Comment #21 from Marcel de Rooy <[email protected]> ---
Created attachment 101968
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101968&action=edit
Bug 23888: (follow-up) Wrap English string in translation function

This patch makes alert added in subscription-add.js translatable using
the new __() function.

To test, apply the patch and confirm that the alert still works
correctly when submitting the subscription edit form with an invalid
vendor id.

Test that the string can be translated (using fr-Fr for example):

1. cd misc/translator && ./translate update fr-FR
2. Translate strings in misc/tranlator/po/fr-FR-messages-js.po
3. cd misc/translator && ./translate install fr-FR

Switch to the fr-FR translation and confirm the the alert shows your
translated string.

Signed-off-by: Marcel de Rooy <[email protected]>
Still seeing a false negative in qa tools:
    FAIL Untranslatable string found (The vendor does not exist) - See coding
guideline JS5

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to