Skip to content

Commit 0cfb924

Browse files
crassDaniel Kiper
authored andcommitted
po: Un-transliterate the %zu format code
Commit 45bffae (util/resolve: Bail with error if moddep.lst file line is too long) uses the %zu format specifier which has not been used in any translated strings yet. So the sed scripts used for transliterating certain languages need to be updated otherwise creation of the message indexes will fail on an unknown format code. This is essentially the same issue fixed for the %m format code in commit 2e246b6 (po: Fix replacement of %m in sed programs). Also reorder transliteration lines to be more lexicographically ordered. Signed-off-by: Glenn Washburn <[email protected]> Reviewed-by: Daniel Kiper <[email protected]>
1 parent e976dc2 commit 0cfb924

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

po/arabic.sed

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ s,%\([0-9]*\)للد,%\1lld,g
7474

7575
s,%\([0-9\.\*]*\)س,%\1s,g
7676
s,%\([0-9\.\*]*\)م,%\1m,g
77-
s,%\([0-9]*\)لو,%\1lu,g
7877
s,%\([0-9]*\)و,%\1u,g
78+
s,%\([0-9]*\)لو,%\1lu,g
7979
s,%\([0-9]*\)للو,%\1llu,g
80+
s,%\([0-9]*\)زو,%\1zu,g
8081
s,%\([0-9]*\)كس,%\1x,g
8182
s,%\([0-9]*\)لكس,%\1lx,g
8283
s,%\([0-9]*\)للكس,%\1llx,g

po/cyrillic.sed

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ s,%\([0-9]*\)ллд,%\1lld,g
9797

9898
s,%\([0-9\.\*]*\)с,%\1s,g
9999
s,%\([0-9\.\*]*\)м,%\1m,g
100-
s,%\([0-9]*\)лу,%\1lu,g
101100
s,%\([0-9]*\)у,%\1u,g
101+
s,%\([0-9]*\)лу,%\1lu,g
102102
s,%\([0-9]*\)ллу,%\1llu,g
103+
s,%\([0-9]*\)зу,%\1zu,g
103104
s,%\([0-9]*\)ѯ,%\1x,g
104105
s,%\([0-9]*\)лѯ,%\1lx,g
105106
s,%\([0-9]*\)ллѯ,%\1llx,g

po/greek.sed

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,10 @@ s,%\([0-9]*\)λλδ,%\1lld,g
9999

100100
s,%\([0-9\.\*]*\)σ,%\1s,g
101101
s,%\([0-9\.\*]*\)μ,%\1m,g
102-
s,%\([0-9]*\)λυ,%\1lu,g
103102
s,%\([0-9]*\)υ,%\1u,g
103+
s,%\([0-9]*\)λυ,%\1lu,g
104104
s,%\([0-9]*\)λλυ,%\1llu,g
105+
s,%\([0-9]*\)ζυ,%\1zu,g
105106
s,%\([0-9]*\)ξ,%\1x,g
106107
s,%\([0-9]*\)λξ,%\1lx,g
107108
s,%\([0-9]*\)λλξ,%\1llx,g

po/hebrew.sed

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@ s,%\([0-9]*\)ללד,%\1lld,g
8282

8383
s,%\([0-9\.\*]*\)ש,%\1s,g
8484
s,%\([0-9\.\*]*\)מ,%\1m,g
85-
s,%\([0-9]*\)לוּ,%\1lu,g
8685
s,%\([0-9]*\)וּ,%\1u,g
86+
s,%\([0-9]*\)לוּ,%\1lu,g
8787
s,%\([0-9]*\)ללוּ,%\1llu,g
88+
s,%\([0-9]*\)זוּ,%\1zu,g
8889
s,%\([0-9]*\)כּס,%\1x,g
8990
s,%\([0-9]*\)לכּס,%\1lx,g
9091
s,%\([0-9]*\)ללכּס,%\1llx,g

0 commit comments

Comments
 (0)