12 lines
544 B
Text
12 lines
544 B
Text
# phase 26: a key literal en.po does not have is refused, and so is a plural key (kn"...") whose
|
|
# en.po entry has no msgid_plural; trf given more values than the English has holes is a warning
|
|
program KeyMissing {
|
|
function tr(key: Key) -> string { return string(key) }
|
|
function trf(key: Key, a: string, b: string) -> string { return string(key) + a + b }
|
|
function trn(key: Key, n: int) -> string { return string(key) }
|
|
entry {
|
|
print(tr(k"pause.gone"))
|
|
print(trn(kn"pause.resume", 1))
|
|
print(trf(k"hud.day", "1", "2"))
|
|
}
|
|
}
|