Changeset 8189 in josm for trunk/src/org


Ignore:
Timestamp:
2015-04-11T21:13:31+02:00 (9 years ago)
Author:
stoecker
Message:

see #11275 - i18n fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesCellRenderer.java

    r8170 r8189  
    6666                        for (Map.Entry<?, ?> entry : v.entrySet()) { // Find the non-blank value in the map
    6767                            if ( entry.getKey() != "") {
    68                                 str += entry.getValue().toString() + " '" + entry.getKey() + "'";
     68                                /* I18n: properties display partial string joined with comma, frst is count, second is value */
     69                                str += tr("{0} ''{1}''", entry.getValue().toString(), entry.getKey());
    6970                            }
    7071                        }
    7172                    } else {
    72                         str += tr ("{0} different",  other_count);
     73                        /* I18n: properties display partial string joined with comma */
     74                        str += trn("{0} different", "{0} different", other_count, other_count);
    7375                    }
    7476                    if(blank_count > 0) {
     77                        /* I18n: properties display partial string joined with comma */
    7578                        str += trn(", {0} unset", ", {0} unset", blank_count, blank_count);
    7679                    }
Note: See TracChangeset for help on using the changeset viewer.