Edgewall Software
Modify

Opened 4 weeks ago

#13778 assigned defect

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:
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($) {  
    66  $enumlist.addSelectAllCheckboxes();
    77
    88  // 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);
    1113
    1214  // Disable the 'Apply changes' button until there is a change
    1315  $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 ""  
    2121msgid "Clone"
    2222msgstr ""
    2323
     24#: trac/htdocs/js/admin_enums.js:11
     25msgid "Revert changes"
     26msgstr ""
     27
    2428#: tracopt/ticket/htdocs/ticketclone.js:34
    2529msgid "Create a new ticket from this comment"
    2630msgstr ""

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Jun Omae.
The ticket will be disowned. Next status will be 'new'.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.