Changes between Version 2 and Version 3 of Ticket #18596, comment 84


Ignore:
Timestamp:
2020-02-28T14:53:49+01:00 (4 years ago)
Author:
Hb---

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18596, comment 84

    v2 v3  
    77
    88Addendum: The pure getText allows to leave out a placeholder https://www.gnu.org/software/gettext/manual/html_node/Translating-plural-forms.html but Launchpad not.
     9
     10Addenum2:
     11Seems that the [/browser/josm/trunk/src/org/openstreetmap/josm/tools/I18n.java#L237 trn function] does not need a !{0} at all. Only an integer to let the ''plural forms'' logic decide if the singular or which of the many possible plurals is returned.
     12
     13{{{
     14String msgRelationsMissingData = trn(
     15        "The way to split is a member of a relation. <br>" +
     16                "The correct order of the new ways in this relation can <br>" +
     17                "not be determined because it has incomplete members.",
     18        "The way to split is a member of {0} relations. <br>" +
     19                "The correct order of the new ways in these relations can <br>" +
     20                "not be determined because they have incomplete members.",
     21        msgReferToRelations,
     22        msgReferToRelations,
     23);
     24}}}