Debian Codegraph @

test/nlstringtest.awk

raw
1 BEGIN {
2 n = 2
3 TEXTDOMAIN = "nlstringtest"
4 # bindtextdomain ("./")
5 bindtextdomain (ARGV[1])
6
7 printf dcngettext ("a piece of cake", "%d pieces of cake", n) "\n", n
8
9 print _"%s is replaced by %s."
10 print _"%s is replaced by %s." "\n"
11 printf _"%s is replaced by %s." "\n", "FF", "EUR"
12 }