Changeset 35763 in osm for applications/editors


Ignore:
Timestamp:
2021-05-23T13:35:55+02:00 (3 years ago)
Author:
stoecker
Message:

allow to leave out translations of {0} for ar plurals 1, 2 and 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/i18n.pl

    r35246 r35763  
    302302  if($fmt ne $fmte && $fmt ne $fmte1)
    303303  {
    304     if(!($fmte eq '0' && $fmt eq "" && $cnt == 1)) # Don't warn when a single value is left for first multi-translation
     304    # Don't warn when a single value is left for first multi-translation
     305    if(!($fmte eq '0' && $fmt eq "" && ($cnt == 1 || ($la eq "ar" && $cnt <= 3))))
    305306    {
    306307      warn "JAVA translation issue for language $la ($cnt): Mismatching format entries:\nTranslated text: ".decode("utf8",$tr)."\nOriginal text: ".decode("utf8",$en)."\n";
Note: See TracChangeset for help on using the changeset viewer.