Skip to content

Commit

Permalink
1.7.1dev: merge [17851,17853] from 1.6-stable (fix for #13778)
Browse files Browse the repository at this point in the history
[skip ci]


git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@17855 af82e41b-90c4-0310-8c96-b1721e28e2e2
jomae committed Oct 3, 2024

Unverified

The committer email address is not verified.
2 parents 470b4a4 + 3a28b32 commit 7bf7ce6
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 4 additions & 2 deletions trac/htdocs/js/admin_enums.js
Original file line number Diff line number Diff line change
@@ -6,8 +6,10 @@ jQuery(function($) {
$enumlist.addSelectAllCheckboxes();

// Insert 'Revert changes' button after the 'Apply changes' button
var $revert_button = $('<input type="submit" name="revert" value="Revert changes" disabled="disabled" />')
.insertAfter($apply_button);
var $revert_button = $($.htmlFormat(
'<input type="submit" name="revert" value="$1" disabled="disabled" />',
_("Revert changes")));
$revert_button.insertAfter($apply_button);

// Disable the 'Apply changes' button until there is a change
$apply_button.prop('disabled', true);
6 changes: 5 additions & 1 deletion trac/locale/ja/LC_MESSAGES/messages-js.po
Original file line number Diff line number Diff line change
@@ -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 "このコメントから新規チケットを作成する"
4 changes: 4 additions & 0 deletions trac/locale/messages-js.pot
Original file line number Diff line number Diff line change
@@ -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 ""

0 comments on commit 7bf7ce6

Please sign in to comment.