diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-04-29 21:16:43 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-04-29 22:03:12 -0400 |
commit | 73a47a1b5e821be75a5a4a0444f55786fece196a (patch) | |
tree | 762e6f6bfa8337df9da461909d5b686006597e2b /utils | |
parent | 9fd4782c6a2c5908e16f75eba469dcf6c6435af9 (diff) | |
download | rockbox-73a47a1b5e821be75a5a4a0444f55786fece196a.tar.gz rockbox-73a47a1b5e821be75a5a4a0444f55786fece196a.zip |
updatelang: Make sure translated string has the correct format
We do this by parsing out the format specifiers and making sure the
translation has the correct number, type, and order of specifiers.
Percent literals ('%%') are ignored.
Mis-matched formats can lead to much badness, so to be safe, use the
untranslated string instead and flag it as a problem on the translation
site.
Change-Id: Ib48c2e5c3502735b1c724dd3621549faa8b602b7
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions