summaryrefslogtreecommitdiff
path: root/apps/lang
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-04-29 21:16:43 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-04-29 22:03:12 -0400
commit73a47a1b5e821be75a5a4a0444f55786fece196a (patch)
tree762e6f6bfa8337df9da461909d5b686006597e2b /apps/lang
parent9fd4782c6a2c5908e16f75eba469dcf6c6435af9 (diff)
downloadrockbox-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 'apps/lang')
0 files changed, 0 insertions, 0 deletions