Changes between Version 9 and Version 13 of Ticket #4250


Ignore:
Timestamp:
Jul 24, 2021, 11:50:55 AM (3 years ago)
Author:
Silier
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4250

    • Property Patch Phab:D4250Phab:D1674, Phab:D3926, Phab:D4199
  • Ticket #4250 – Description

    v9 v13  
    33Like for #3833, we should automatically check that the translated versions of sprintf'd strings contain the same tags.
    44
     5Edit: some languages have only one plural, that means our plural string needs to be checked against translation at index 0, which is in other cases translation from singular
     6
    57For instance: the translation of `%(arrows) arrow(s)` must be `%(arrows) flèche(s)` (here in French). The `%(arrows)` part mustn't be touched by translators. We already check links, we could easily extend [source:ps/trunk/source/tools/i18n/checkTranslationsForSpam.py] for sprintf tags.