Ignore:
Timestamp:
2014-01-13T00:11:28+01:00 (10 years ago)
Author:
stoecker
Message:

see #9110 - fix singular forms, even if they are useless

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
6 edited

Legend:

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

    r6507 r6679  
    8787    public static boolean confirmLaunchMultiple(int numBrowsers) {
    8888        String msg  = /* for correct i18n of plural forms - see #9110 */ trn(
    89                 "You are about to launch {0} browser windows.<br>"
     89                "You are about to launch {0} browser window.<br>"
    9090                        + "This may both clutter your screen with browser windows<br>"
    9191                        + "and take some time to finish.",
     
    9898                        tr("Continue"),
    9999                        ImageProvider.get("ok"),
    100                         trn("Click to continue and to open {0} browsers", "Click to continue and to open {0} browsers", numBrowsers, numBrowsers),
     100                        trn("Click to continue and to open {0} browser", "Click to continue and to open {0} browsers", numBrowsers, numBrowsers),
    101101                        null // no specific help topic
    102102                ),
  • trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java

    r6596 r6679  
    192192        cmds.add(new DeleteCommand(deletedWays));
    193193        final SequenceCommand sequenceCommand = new SequenceCommand(/* for correct i18n of plural forms - see #9110 */
    194                 trn("Combine {0} ways", "Combine {0} ways", ways.size(), ways.size()), cmds);
     194                trn("Combine {0} way", "Combine {0} ways", ways.size(), ways.size()), cmds);
    195195
    196196        return new Pair<Way, Command>(targetWay, sequenceCommand);
  • trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java

    r6507 r6679  
    356356            }
    357357            return new SequenceCommand(/* for correct i18n of plural forms - see #9110 */
    358                     trn("Merge {0} nodes", "Merge {0} nodes", nodes.size(), nodes.size()), cmds);
     358                    trn("Merge {0} node", "Merge {0} nodes", nodes.size(), nodes.size()), cmds);
    359359        } catch (UserCancelException ex) {
    360360            return null;
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r6507 r6679  
    506506                new SequenceCommand(
    507507                        /* for correct i18n of plural forms - see #9110 */
    508                         trn("Split way {0} into {1} parts", "Split way {0} into {1} parts", wayChunks.size(),
     508                        trn("Split way {0} into {1} part", "Split way {0} into {1} parts", wayChunks.size(),
    509509                                way.getDisplayName(DefaultNameFormatter.getInstance()), wayChunks.size()),
    510510                        commandList
  • trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java

    r6639 r6679  
    380380
    381381        Main.main.undoRedo.add(new SequenceCommand(/* for correct i18n of plural forms - see #9110 */
    382                 trn("Dupe into {0} nodes", "Dupe into {0} nodes", newNodes.size() + 1, newNodes.size() + 1), cmds));
     382                trn("Dupe into {0} node", "Dupe into {0} nodes", newNodes.size() + 1, newNodes.size() + 1), cmds));
    383383        // select one of the new nodes
    384384        getCurrentDataSet().setSelected(newNodes.getFirst());
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r6546 r6679  
    809809                    /* for correct i18n of plural forms - see #9110 */
    810810                    trn(
    811                             "You moved more than {0} elements. " + "Moving a large number of elements is often an error.\n" + "Really move them?",
     811                            "You moved more than {0} element. " + "Moving a large number of elements is often an error.\n" + "Really move them?",
    812812                            "You moved more than {0} elements. " + "Moving a large number of elements is often an error.\n" + "Really move them?",
    813813                            max, max));
Note: See TracChangeset for help on using the changeset viewer.