Ignore:
Timestamp:
2009-09-22T15:34:19+02:00 (15 years ago)
Author:
stoecker
Message:

lots of i18n fixes

Location:
trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergeItem.java

    r2165 r2181  
    3131    public TagMergeItem(String key, String myTagValue, String theirTagValue) {
    3232        if (key == null) {
    33             throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "key"));
     33            throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "key"));
    3434        }
    3535        this.key  = key;
     
    5050     */
    5151    public TagMergeItem(String key, OsmPrimitive my, OsmPrimitive their) {
    52         if (key == null) throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "key"));
    53         if (my == null) throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "my"));
    54         if (their == null) throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "their"));
     52        if (key == null) throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "key"));
     53        if (my == null) throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "my"));
     54        if (their == null) throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "their"));
    5555        this.key = key;
    5656        myTagValue = my.get(key);
     
    6666     */
    6767    public void decide(MergeDecisionType decision) throws IllegalArgumentException {
    68         if (decision == null) throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "decision"));
     68        if (decision == null) throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "decision"));
    6969        this.mergeDecision = decision;
    7070    }
     
    9696     */
    9797    public void applyToMyPrimitive(OsmPrimitive primitive) throws IllegalArgumentException, IllegalStateException {
    98         if (primitive == null) throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "primitive"));
     98        if (primitive == null) throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "primitive"));
    9999        if (mergeDecision == MergeDecisionType.UNDECIDED) {
    100             throw new IllegalStateException(tr("cannot apply undecided tag merge item"));
     100            throw new IllegalStateException(tr("Cannot apply undecided tag merge item."));
    101101        } else if (mergeDecision == MergeDecisionType.KEEP_THEIR) {
    102102            if (theirTagValue == null) {
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergeTableCellRenderer.java

    r2017 r2181  
    3737        default:
    3838            // should not happen, but just in case
    39             throw new IllegalArgumentException(tr("Parameter 'col' must be 0 or 1. Got {0}", col));
     39            throw new IllegalArgumentException(tr("Parameter 'col' must be 0 or 1. Got {0}.", col));
    4040        }
    4141        return this;
Note: See TracChangeset for help on using the changeset viewer.