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

lots of i18n fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/AdjustmentSynchronizer.java

    r2165 r2181  
    7676    protected void setParticipatingInSynchronizedScrolling(Adjustable adjustable, boolean isParticipating) {
    7777        if (adjustable == null)
    78             throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "adjustable"));
     78            throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "adjustable"));
    7979
    8080        if (! synchronizedAdjustables.contains(adjustable))
    81             throw new IllegalStateException(tr("adjustable {0} not registered yet. Can't set participation in synchronized adjustment",adjustable));
     81            throw new IllegalStateException(tr("Adjustable {0} not registered yet. Can't set participation in synchronized adjustment.", adjustable));
    8282
    8383        enabledMap.put(adjustable, isParticipating);
     
    9494    protected boolean isParticipatingInSynchronizedScrolling(Adjustable adjustable) throws IllegalStateException {
    9595        if (! synchronizedAdjustables.contains(adjustable))
    96             throw new IllegalStateException(tr("adjustable {0} not registered yet",adjustable));
     96            throw new IllegalStateException(tr("Adjustable {0} not registered yet.", adjustable));
    9797
    9898        return enabledMap.get(adjustable);
     
    117117    protected void adapt(final JCheckBox view, final Adjustable adjustable) throws IllegalArgumentException, IllegalStateException {
    118118        if (adjustable == null)
    119             throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "adjustable"));
     119            throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "adjustable"));
    120120        if (view == null)
    121             throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "view"));
     121            throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "view"));
    122122
    123123        if (! synchronizedAdjustables.contains(adjustable)) {
Note: See TracChangeset for help on using the changeset viewer.