Bug 5689

Summary: System preference notifications are not translatable
Product: Koha Reporter: Owen Leonard <oleonard>
Component: System AdministrationAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, gmcharlt, julian.maurice
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Proposed fix

Description Owen Leonard 2011-02-03 15:42:33 UTC
There are many English strings in preferences.js which cannot be translated because they are not part of the template:

humanMsg.displayAlert( 'Nothing to save' );
...
name_cell.append( '<em class="modified-warning">(modified)</em>' );
...
return _( "You have made changes to system preferences." );

...etc.

These parts of the script should use strings defined in the template so that they can be translatable.
Comment 1 Owen Leonard 2011-02-03 16:00:03 UTC
Created attachment 3061 [details] [review]
Proposed fix
Comment 2 Chris Cormack 2011-02-04 00:41:26 UTC
Pushed please test
Comment 3 MJ Ray (software.coop) 2011-03-03 08:36:41 UTC
This bug is mentioned in:
Fix for Bug 5689 - System preference	notifications are not translatable http://lists.koha-community.org/pipermail/koha-patches/2011-February/013756.html
Fix for Bug 5689 - System	preference notifications are not translatable http://lists.koha-community.org/pipermail/koha-patches/2011-February/013760.html