Changeset 6728 in josm


Ignore:
Timestamp:
2014-01-18T22:47:28+01:00 (11 years ago)
Author:
stoecker
Message:

see #8992 - fix i18n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/relation/EditRelationAction.java

    r6725 r6728  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trn;
    56
    67import java.awt.event.ActionEvent;
     
    6970        if (!isEnabled() || relations.isEmpty()) return;
    7071        if (relations.size() > Main.pref.getInteger("warn.open.maxrelations", 5)) {
     72            /* I18N english text for value 1 makes no real sense, never called for values <= maxrel (usually 5) */
    7173            if (JOptionPane.OK_OPTION != JOptionPane.showConfirmDialog(Main.parent,
    72                     "<html>"+tr("You are about to open <b>{0}</b> different relation editors simultaneously.<br/>Do you want to continue ?",
    73                             relations.size())+"</html>",
     74                    "<html>"+trn("You are about to open <b>{0}</b> different relation editor simultaneously.<br/>Do you want to continue ?",
     75                            "You are about to open <b>{0}</b> different relation editors simultaneously.<br/>Do you want to continue ?",
     76                            relations.size(), relations.size())+"</html>",
    7477                    tr("Confirmation"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE)) {
    7578                return;
Note: See TracChangeset for help on using the changeset viewer.