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

lots of i18n fixes

File:
1 edited

Legend:

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

    r2165 r2181  
    436436                putValue(Action.NAME, tr("> bottom"));
    437437            }
    438             putValue(Action.SHORT_DESCRIPTION, tr("Copy my selected elements to the end of the list of merged elements"));
     438            putValue(Action.SHORT_DESCRIPTION, tr("Copy my selected elements to the end of the list of merged elements."));
    439439            setEnabled(false);
    440440        }
     
    463463                putValue(Action.NAME, "> before");
    464464            }
    465             putValue(Action.SHORT_DESCRIPTION, tr("Copy my selected elements before the first selected element in the list of merged elements"));
     465            putValue(Action.SHORT_DESCRIPTION, tr("Copy my selected elements before the first selected element in the list of merged elements."));
    466466            setEnabled(false);
    467467        }
     
    497497                putValue(Action.NAME, "> after");
    498498            }
    499             putValue(Action.SHORT_DESCRIPTION, tr("Copy my selected elements after the first selected element in the list of merged elements"));
     499            putValue(Action.SHORT_DESCRIPTION, tr("Copy my selected elements after the first selected element in the list of merged elements."));
    500500            setEnabled(false);
    501501        }
     
    527527                putValue(Action.NAME, "< top");
    528528            }
    529             putValue(Action.SHORT_DESCRIPTION, tr("Copy their selected element to the start of the list of merged elements"));
     529            putValue(Action.SHORT_DESCRIPTION, tr("Copy their selected element to the start of the list of merged elements."));
    530530            setEnabled(false);
    531531        }
     
    550550                putValue(Action.NAME, "< bottom");
    551551            }
    552             putValue(Action.SHORT_DESCRIPTION, tr("Copy their selected elements to the end of the list of merged elements"));
     552            putValue(Action.SHORT_DESCRIPTION, tr("Copy their selected elements to the end of the list of merged elements."));
    553553            setEnabled(false);
    554554        }
     
    572572                putValue(Action.NAME, "< before");
    573573            }
    574             putValue(Action.SHORT_DESCRIPTION, tr("Copy their selected elements before the first selected element in the list of merged elements"));
     574            putValue(Action.SHORT_DESCRIPTION, tr("Copy their selected elements before the first selected element in the list of merged elements."));
    575575            setEnabled(false);
    576576        }
     
    632632                putValue(Action.NAME, tr("Up"));
    633633            }
    634             putValue(Action.SHORT_DESCRIPTION, tr("Move up the selected elements by one position"));
     634            putValue(Action.SHORT_DESCRIPTION, tr("Move up the selected elements by one position."));
    635635            setEnabled(false);
    636636        }
     
    664664                putValue(Action.NAME, tr("Down"));
    665665            }
    666             putValue(Action.SHORT_DESCRIPTION, tr("Move down the selected entries by one position"));
     666            putValue(Action.SHORT_DESCRIPTION, tr("Move down the selected entries by one position."));
    667667            setEnabled(false);
    668668        }
     
    696696                putValue(Action.NAME, tr("Remove"));
    697697            }
    698             putValue(Action.SHORT_DESCRIPTION, tr("Remove the selected entries from the list of merged elements"));
     698            putValue(Action.SHORT_DESCRIPTION, tr("Remove the selected entries from the list of merged elements."));
    699699            setEnabled(false);
    700700        }
     
    726726        public FreezeAction() {
    727727            putValue(Action.NAME, tr("Freeze"));
    728             putValue(Action.SHORT_DESCRIPTION, tr("Freeze the current list of merged elements"));
     728            putValue(Action.SHORT_DESCRIPTION, tr("Freeze the current list of merged elements."));
    729729            putValue(PROP_SELECTED, false);
    730730            setEnabled(true);
     
    759759            if (state == ItemEvent.SELECTED) {
    760760                putValue(Action.NAME, tr("Unfreeze"));
    761                 putValue(Action.SHORT_DESCRIPTION, tr("Unfreeze the list of merged elements and start merging"));
     761                putValue(Action.SHORT_DESCRIPTION, tr("Unfreeze the list of merged elements and start merging."));
    762762                model.setFrozen(true);
    763763            } else if (state == ItemEvent.DESELECTED) {
    764764                putValue(Action.NAME, tr("Freeze"));
    765                 putValue(Action.SHORT_DESCRIPTION, tr("Freeze the current list of merged elements"));
     765                putValue(Action.SHORT_DESCRIPTION, tr("Freeze the current list of merged elements."));
    766766                model.setFrozen(false);
    767767            }
     
    786786        if (newValue) {
    787787            lblFrozenState.setText(
    788                     tr("<html>Click <strong>{0}</strong> to start merging my and their entries</html>",
     788                    tr("<html>Click <strong>{0}</strong> to start merging my and their entries.</html>",
    789789                            freezeAction.getValue(Action.NAME))
    790790            );
    791791        } else {
    792792            lblFrozenState.setText(
    793                     tr("<html>Click <strong>{0}</strong> to finish merging my and their entries</html>",
     793                    tr("<html>Click <strong>{0}</strong> to finish merging my and their entries.</html>",
    794794                            freezeAction.getValue(Action.NAME))
    795795            );
     
    879879        protected void setParticipatingInSynchronizedScrolling(Adjustable adjustable, boolean isParticipating) {
    880880            if (adjustable == null)
    881                 throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "adjustable"));
     881                throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "adjustable"));
    882882
    883883            if (! synchronizedAdjustables.contains(adjustable))
    884                 throw new IllegalStateException(tr("adjustable {0} not registered yet. Can't set participation in synchronized adjustment",adjustable));
     884                throw new IllegalStateException(tr("Adjustable {0} not registered yet. Can't set participation in synchronized adjustment.", adjustable));
    885885
    886886            enabledMap.put(adjustable, isParticipating);
     
    897897        protected boolean isParticipatingInSynchronizedScrolling(Adjustable adjustable) throws IllegalStateException {
    898898            if (! synchronizedAdjustables.contains(adjustable))
    899                 throw new IllegalStateException(tr("adjustable {0} not registered yet",adjustable));
     899                throw new IllegalStateException(tr("Adjustable {0} not registered yet.", adjustable));
    900900
    901901            return enabledMap.get(adjustable);
     
    920920        protected void adapt(final JCheckBox view, final Adjustable adjustable) throws IllegalArgumentException, IllegalStateException {
    921921            if (adjustable == null)
    922                 throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "adjustable"));
     922                throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "adjustable"));
    923923            if (view == null)
    924                 throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "view"));
     924                throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "view"));
    925925
    926926            if (! synchronizedAdjustables.contains(adjustable)) {
Note: See TracChangeset for help on using the changeset viewer.