Ignore:
Timestamp:
2013-12-22T00:38:43+01:00 (10 years ago)
Author:
simon04
Message:

fix #9110 - i18n: fix errors in usage of plural forms

File:
1 edited

Legend:

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

    r6453 r6507  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trn;
    56
    67import java.awt.event.ActionEvent;
     
    8586
    8687    public static boolean confirmLaunchMultiple(int numBrowsers) {
    87         String msg  = tr(
     88        String msg  = /* for correct i18n of plural forms - see #9110 */ trn(
    8889                "You are about to launch {0} browser windows.<br>"
    89                 + "This may both clutter your screen with browser windows<br>"
    90                 + "and take some time to finish.", numBrowsers);
     90                        + "This may both clutter your screen with browser windows<br>"
     91                        + "and take some time to finish.",
     92                "You are about to launch {0} browser windows.<br>"
     93                        + "This may both clutter your screen with browser windows<br>"
     94                        + "and take some time to finish.", numBrowsers, numBrowsers);
    9195        msg = "<html>" + msg + "</html>";
    9296        ButtonSpec[] spec = new ButtonSpec[] {
     
    9498                        tr("Continue"),
    9599                        ImageProvider.get("ok"),
    96                         tr("Click to continue and to open {0} browsers", numBrowsers),
     100                        trn("Click to continue and to open {0} browsers", "Click to continue and to open {0} browsers", numBrowsers, numBrowsers),
    97101                        null // no specific help topic
    98102                ),
Note: See TracChangeset for help on using the changeset viewer.