diff --git a/trac/htdocs/js/admin_enums.js b/trac/htdocs/js/admin_enums.js index bd8ee945b9..f51cd90b73 100644 --- a/trac/htdocs/js/admin_enums.js +++ b/trac/htdocs/js/admin_enums.js @@ -6,8 +6,10 @@ jQuery(function($) { $enumlist.addSelectAllCheckboxes(); // Insert 'Revert changes' button after the 'Apply changes' button - var $revert_button = $('') - .insertAfter($apply_button); + var $revert_button = $($.htmlFormat( + '', + _("Revert changes"))); + $revert_button.insertAfter($apply_button); // Disable the 'Apply changes' button until there is a change $apply_button.prop('disabled', true); diff --git a/trac/locale/ja/LC_MESSAGES/messages-js.po b/trac/locale/ja/LC_MESSAGES/messages-js.po index fd391115d4..30edec71ce 100644 --- a/trac/locale/ja/LC_MESSAGES/messages-js.po +++ b/trac/locale/ja/LC_MESSAGES/messages-js.po @@ -16,12 +16,16 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.15.0\n" #: tracopt/ticket/htdocs/ticketclone.js:22 msgid "Clone" msgstr "コピー" +#: trac/htdocs/js/admin_enums.js:11 +msgid "Revert changes" +msgstr "変更をもとに戻す" + #: tracopt/ticket/htdocs/ticketclone.js:34 msgid "Create a new ticket from this comment" msgstr "このコメントから新規チケットを作成する" diff --git a/trac/locale/messages-js.pot b/trac/locale/messages-js.pot index 1f40e3d403..e3d0c3bb80 100644 --- a/trac/locale/messages-js.pot +++ b/trac/locale/messages-js.pot @@ -21,6 +21,10 @@ msgstr "" msgid "Clone" msgstr "" +#: trac/htdocs/js/admin_enums.js:11 +msgid "Revert changes" +msgstr "" + #: tracopt/ticket/htdocs/ticketclone.js:34 msgid "Create a new ticket from this comment" msgstr ""