~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/i18n.testsuite.conf -rw-r--r-- 6.5 KiB
fe6d69c0Stephen Paul Weber import-tar 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
; Test Internationalisation of SayNumber()
; #include this into a suitable context
; English
exten => 841,1,Answer
exten => 841,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 841,n,Set(CHANNEL(language)=en)
exten => 841,n,SayNumber(183)	; one hundred eighty three (NB UK English would say one hundred & eighty three)
exten => 841,n,Wait(1)
exten => 841,n,SayUnixTime()	; Say current date & time in "ABdY 'digits/at' IMp" format
; French
exten => 842,1,Answer
exten => 842,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 842,n,Set(CHANNEL(language)=fr)
exten => 842,n,SayNumber(1)	; one
exten => 842,n,Wait(1)
exten => 842,n,SayNumber(1,f)	; one (feminine)
exten => 842,n,Wait(1)
exten => 842,n,SayNumber(181)	; hundred eighty one
exten => 842,n,Wait(1)
exten => 842,n,SayNumber(281)	; two hundred eighty one
exten => 842,n,Wait(1)
exten => 842,n,SayNumber(1061)	; thousand sixty one
exten => 842,n,Wait(1)
exten => 842,n,SayNumber(2061)	; two thousand sixty one
exten => 842,n,Wait(1)
exten => 842,n,SayUnixTime()
; Spanish
exten => 843,1,Answer
exten => 843,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 843,n,Set(CHANNEL(language)=es)
exten => 843,n,Playback(digits/hundred)
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(1)	; one
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(1,f)	; one (feminine)
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(11)	; "dieci uno"
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(21)	; "veinti uno"
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(31)	; "thirty & one"
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(100)	; "cien"
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(101)	; "ciento uno"
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(200)	; "twohundred"
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(1000000)	; one million
exten => 843,n,Wait(1)
exten => 843,n,SayNumber(2000000)	; two millions
exten => 843,n,Wait(1)
exten => 843,n,SayUnixTime()
; Portuguese
exten => 844,1,Answer
exten => 844,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 844,n,Set(CHANNEL(language)=pt)
exten => 844,n,SayNumber(1)	; one
exten => 844,n,Wait(1)
exten => 844,n,SayNumber(1,f)	; one (feminine)
exten => 844,n,Wait(1)
exten => 844,n,SayNumber(2)	; two
exten => 844,n,Wait(1)
exten => 844,n,SayNumber(2,f)	; two (feminine)
exten => 844,n,Wait(1)
exten => 844,n,SayNumber(183)	; hundred& eighty three
exten => 844,n,Wait(1)
exten => 844,n,SayUnixTime()
; Italian
exten => 845,1,Answer
exten => 845,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 845,n,Set(CHANNEL(language)=it)
exten => 845,n,SayNumber(21)	; "twentyone"
exten => 845,n,Wait(1)
exten => 845,n,SayNumber(183)	; hundred eighty three
exten => 845,n,Wait(1)
exten => 845,n,SayNumber(283)	; two hundred eighty three
exten => 845,n,SayNumber(1063)	; thousand sixty three
exten => 845,n,Wait(1)
exten => 845,n,SayNumber(2063)	; two thousands sixty three
exten => 845,n,Wait(1)
exten => 845,n,SayUnixTime()
; Dutch
exten => 846,1,Answer
exten => 846,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 846,n,Set(CHANNEL(language)=nl)
exten => 846,n,SayUnixTime(||ABdY'digits/at'R)
exten => 846,n,Wait(1)
; Danish
exten => 847,1,Answer
exten => 847,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 847,n,Set(CHANNEL(language)=da)
exten => 847,n,SayNumber(68)	; eight-& sixty
exten => 847,n,Wait(1)
exten => 847,n,SayNumber(2034)	; two thousand & four-& thirty
exten => 847,n,Wait(1)
exten => 847,n,SayNumber(1000000)	; one million
exten => 847,n,Wait(1)
exten => 847,n,SayNumber(2000000)	; two millions
exten => 847,n,Wait(1)
exten => 847,n,SayUnixTime()
; German
exten => 848,1,Answer
exten => 848,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 848,n,Set(CHANNEL(language)=de)
exten => 848,n,SayNumber(68)	; eight-& sixty
exten => 848,n,Wait(1)
exten => 848,n,SayNumber(100)	; "hundert"
exten => 848,n,Wait(1)
exten => 848,n,SayNumber(101)	; "einhundert-einS"
exten => 848,n,Wait(1)
exten => 848,n,SayNumber(1000)	; "tausend"
exten => 848,n,Wait(1)
exten => 848,n,SayNumber(1001)	; "eintausend-einS" X tausend-einS
exten => 848,n,Wait(1)
exten => 848,n,SayNumber(2134)	; two thousand one hundred four-& thirty
exten => 848,n,Wait(1)
exten => 848,n,SayNumber(1001000)	; one million one thousand X million tausend
exten => 848,n,Wait(1)
exten => 848,n,SayNumber(2002000)	; two millions two thousand
exten => 848,n,Wait(1)
exten => 848,n,SayUnixTime()
; Swedish
exten => 849,1,Answer
exten => 849,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 849,n,Set(CHANNEL(language)=se)
exten => 849,n,SayUnixTime()
exten => 849,n,Wait(1)
; Temp
exten => 850,1,Answer
exten => 850,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 850,n,Set(CHANNEL(language)=de)
exten => 850,n,Playback(digits/1)
exten => 850,n,Wait(1)
exten => 850,n,Playback(digits/de-eins)
exten => 850,n,Wait(1)
; Chinese
exten => 851,1,Answer
exten => 851,n,Wait(1)		; Allow VoIP sessions time to initialise
exten => 851,n,Set(CHANNEL(language)=zh)
exten => 851,n,SayNumber(10)	; "shi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(11)	; "shi yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(20)	; "er shi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(21)	; "er shi yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(100)	; "yi bai"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(101)	; "yi bai ling yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(110)	; "yi bai yi shi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(111)	; "yi bai yi shi yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(120)	; "yi bai er shi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(200)	; "liang bai"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(222)	; "liang bai er shi er"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(1000)	; "yi qian"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(1001)	; "yi qian ling yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(1101)	; "yi qian yi bai ling yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(1200)	; "yi qian liang bai"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(10000)	; "yi wan"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(10001)	; "yi wan ling yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(10101)	; "yi wan ling yi bai ling yi"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(22222)	; "liang wan liang qian liang bai er shi er"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(1000000)	; "yi bai wan"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(10000000)	; "yi qian wan"
exten => 851,n,Wait(1)
exten => 851,n,SayNumber(100000000)	; "yi yi"
exten => 851,n,Wait(1)
exten => 851,n,SayUnixTime()