Modify ↓
Opened 5 months ago
Closed 3 months ago
#13778 closed defect (fixed)
The label of "Revert changes" button in admin enum pages should be translated
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.1 |
Component: | i18n | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
The label of |
||
API Changes: | |||
Internal Changes: |
Description
-
trac/htdocs/js/admin_enums.js
diff --git a/trac/htdocs/js/admin_enums.js b/trac/htdocs/js/admin_enums.js index bd8ee945b..f51cd90b7 100644
a b jQuery(function($) { 6 6 $enumlist.addSelectAllCheckboxes(); 7 7 8 8 // Insert 'Revert changes' button after the 'Apply changes' button 9 var $revert_button = $('<input type="submit" name="revert" value="Revert changes" disabled="disabled" />') 10 .insertAfter($apply_button); 9 var $revert_button = $($.htmlFormat( 10 '<input type="submit" name="revert" value="$1" disabled="disabled" />', 11 _("Revert changes"))); 12 $revert_button.insertAfter($apply_button); 11 13 12 14 // Disable the 'Apply changes' button until there is a change 13 15 $apply_button.prop('disabled', true); -
trac/locale/messages-js.pot
diff --git a/trac/locale/messages-js.pot b/trac/locale/messages-js.pot index 1f40e3d40..e3d0c3bb8 100644
a b msgstr "" 21 21 msgid "Clone" 22 22 msgstr "" 23 23 24 #: trac/htdocs/js/admin_enums.js:11 25 msgid "Revert changes" 26 msgstr "" 27 24 28 #: tracopt/ticket/htdocs/ticketclone.js:34 25 29 msgid "Create a new ticket from this comment" 26 30 msgstr ""
Attachments (0)
Change History (1)
comment:1 by , 3 months ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [17851,17853] and merged in [17855].