Changeset 6679 in josm
- Timestamp:
- 2014-01-13T00:11:28+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AbstractInfoAction.java
r6507 r6679 87 87 public static boolean confirmLaunchMultiple(int numBrowsers) { 88 88 String msg = /* for correct i18n of plural forms - see #9110 */ trn( 89 "You are about to launch {0} browser window s.<br>"89 "You are about to launch {0} browser window.<br>" 90 90 + "This may both clutter your screen with browser windows<br>" 91 91 + "and take some time to finish.", … … 98 98 tr("Continue"), 99 99 ImageProvider.get("ok"), 100 trn("Click to continue and to open {0} browser s", "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), 101 101 null // no specific help topic 102 102 ), -
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r6596 r6679 192 192 cmds.add(new DeleteCommand(deletedWays)); 193 193 final SequenceCommand sequenceCommand = new SequenceCommand(/* for correct i18n of plural forms - see #9110 */ 194 trn("Combine {0} way s", "Combine {0} ways", ways.size(), ways.size()), cmds);194 trn("Combine {0} way", "Combine {0} ways", ways.size(), ways.size()), cmds); 195 195 196 196 return new Pair<Way, Command>(targetWay, sequenceCommand); -
trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java
r6507 r6679 356 356 } 357 357 return new SequenceCommand(/* for correct i18n of plural forms - see #9110 */ 358 trn("Merge {0} node s", "Merge {0} nodes", nodes.size(), nodes.size()), cmds);358 trn("Merge {0} node", "Merge {0} nodes", nodes.size(), nodes.size()), cmds); 359 359 } catch (UserCancelException ex) { 360 360 return null; -
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r6507 r6679 506 506 new SequenceCommand( 507 507 /* for correct i18n of plural forms - see #9110 */ 508 trn("Split way {0} into {1} part s", "Split way {0} into {1} parts", wayChunks.size(),508 trn("Split way {0} into {1} part", "Split way {0} into {1} parts", wayChunks.size(), 509 509 way.getDisplayName(DefaultNameFormatter.getInstance()), wayChunks.size()), 510 510 commandList -
trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java
r6639 r6679 380 380 381 381 Main.main.undoRedo.add(new SequenceCommand(/* for correct i18n of plural forms - see #9110 */ 382 trn("Dupe into {0} node s", "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)); 383 383 // select one of the new nodes 384 384 getCurrentDataSet().setSelected(newNodes.getFirst()); -
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r6546 r6679 809 809 /* for correct i18n of plural forms - see #9110 */ 810 810 trn( 811 "You moved more than {0} element s. " + "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?", 812 812 "You moved more than {0} elements. " + "Moving a large number of elements is often an error.\n" + "Really move them?", 813 813 max, max)); -
trunk/src/org/openstreetmap/josm/command/ChangePropertyCommand.java
r6538 r6679 167 167 Map.Entry<String, String> entry = tags.entrySet().iterator().next(); 168 168 if (entry.getValue() == null) { 169 /* for correct i18n of plural forms - see #9110*/170 text = trn("Remove \"{0}\" for {1} object s", "Remove \"{0}\" for {1} objects", objects.size(), entry.getKey(), objects.size());169 /* I18n: plural form for objects, but value < 2 not possible! */ 170 text = trn("Remove \"{0}\" for {1} object", "Remove \"{0}\" for {1} objects", objects.size(), entry.getKey(), objects.size()); 171 171 } else { 172 /* for correct i18n of plural forms - see #9110*/173 text = trn("Set {0}={1} for {2} object s", "Set {0}={1} for {2} objects", objects.size(), entry.getKey(), entry.getValue(), objects.size());172 /* I18n: plural form for objects, but value < 2 not possible! */ 173 text = trn("Set {0}={1} for {2} object", "Set {0}={1} for {2} objects", objects.size(), entry.getKey(), entry.getValue(), objects.size()); 174 174 } 175 175 } … … 184 184 185 185 if (allnull) { 186 /* for correct i18n of plural forms - see #9110 */187 text = trn("Deleted {0} tags for {1} object s", "Deleted {0} tags for {1} objects", objects.size(), tags.size(), objects.size());186 /* I18n: plural form detected for objects only (but value < 2 not possible!), try to do your best for tags */ 187 text = trn("Deleted {0} tags for {1} object", "Deleted {0} tags for {1} objects", objects.size(), tags.size(), objects.size()); 188 188 } else { 189 /* for correct i18n of plural forms - see #9110*/190 text = trn("Set {0} tags for {1} object s", "Set {0} tags for {1} objects", objects.size(), tags.size(), objects.size());189 /* I18n: plural form detected for objects only (but value < 2 not possible!), try to do your best for tags */ 190 text = trn("Set {0} tags for {1} object", "Set {0} tags for {1} objects", objects.size(), tags.size(), objects.size()); 191 191 } 192 192 } -
trunk/src/org/openstreetmap/josm/command/TagConflictResolveCommand.java
r6507 r6679 60 60 case NODE: 61 61 /* for correct i18n of plural forms - see #9110 */ 62 return trn("Resolve {0} tag conflict sin node {1}", "Resolve {0} tag conflicts in node {1}", getNumDecidedConflicts(), getNumDecidedConflicts(), conflict.getMy().getId());62 return trn("Resolve {0} tag conflict in node {1}", "Resolve {0} tag conflicts in node {1}", getNumDecidedConflicts(), getNumDecidedConflicts(), conflict.getMy().getId()); 63 63 case WAY: 64 64 /* for correct i18n of plural forms - see #9110 */ 65 return trn("Resolve {0} tag conflict sin way {1}", "Resolve {0} tag conflicts in way {1}", getNumDecidedConflicts(), getNumDecidedConflicts(), conflict.getMy().getId());65 return trn("Resolve {0} tag conflict in way {1}", "Resolve {0} tag conflicts in way {1}", getNumDecidedConflicts(), getNumDecidedConflicts(), conflict.getMy().getId()); 66 66 case RELATION: 67 67 /* for correct i18n of plural forms - see #9110 */ 68 return trn("Resolve {0} tag conflict sin relation {1}", "Resolve {0} tag conflicts in relation {1}", getNumDecidedConflicts(), getNumDecidedConflicts(), conflict.getMy().getId());68 return trn("Resolve {0} tag conflict in relation {1}", "Resolve {0} tag conflicts in relation {1}", getNumDecidedConflicts(), getNumDecidedConflicts(), conflict.getMy().getId()); 69 69 } 70 70 return ""; -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
r6507 r6679 549 549 final Collection<? extends OsmPrimitive> primitives, 550 550 final Set<Relation> parentRelations) throws UserCancelException { 551 String msg = trn("You are about to combine {1} objects, " 551 /* I18n: object count < 2 is not possible */ 552 String msg = trn("You are about to combine {1} object, " 552 553 + "which are part of {0} relation:<br/>{2}" 553 554 + "Combining these objects may break this relation. If you are unsure, please cancel this operation.<br/>" -
trunk/src/org/openstreetmap/josm/gui/dialogs/FilterTableModel.java
r6507 r6679 376 376 if (disabledAndHiddenCount != 0) { 377 377 /* for correct i18n of plural forms - see #9110 */ 378 message += trn("<p><b>{0}</b> object shidden", "<p><b>{0}</b> objects hidden", disabledAndHiddenCount, disabledAndHiddenCount);378 message += trn("<p><b>{0}</b> object hidden", "<p><b>{0}</b> objects hidden", disabledAndHiddenCount, disabledAndHiddenCount); 379 379 } 380 380 … … 385 385 if (disabledCount != 0) { 386 386 /* for correct i18n of plural forms - see #9110 */ 387 message += trn("<b>{0}</b> object sdisabled", "<b>{0}</b> objects disabled", disabledCount, disabledCount);387 message += trn("<b>{0}</b> object disabled", "<b>{0}</b> objects disabled", disabledCount, disabledCount); 388 388 } 389 389
Note:
See TracChangeset
for help on using the changeset viewer.