[asterisk-commits] qwell: branch 1.4 r51348 - /branches/1.4/configs/say.conf.sample

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jan 19 23:16:07 MST 2007


Author: qwell
Date: Sat Jan 20 00:16:06 2007
New Revision: 51348

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51348
Log:
Fix German language support in say.conf

Properly support 21, 31, 41, 51, 61, 71, 81, and 91.
  einundzwanzig has the same format as zweiundzwanzig (as do all other "_ZX" spoken numerals)

Fix support for numbers in the 10,000,000 to 99,999,999 range.
Add support for numbers in the 100,000,000 to 999,999,999 range.

Modified:
    branches/1.4/configs/say.conf.sample

Modified: branches/1.4/configs/say.conf.sample
URL: http://svn.digium.com/view/asterisk/branches/1.4/configs/say.conf.sample?view=diff&rev=51348&r1=51347&r2=51348
==============================================================================
--- branches/1.4/configs/say.conf.sample (original)
+++ branches/1.4/configs/say.conf.sample Sat Jan 20 00:16:06 2007
@@ -147,13 +147,12 @@
     _date::. => date:AdBY:${SAY}
     _time::. => date:IMp:${SAY}
 
-
 [de](date-base,digit-base)
     _[n]um:0. => num:${SAY:1}
     _[n]um:X => digits/${SAY}
     _[n]um:1X => digits/${SAY}
     _[n]um:[2-9]0 => digits/${SAY}
-    _[n]um:[2-9][2-9] => digits/${SAY:1}-and, digits/${SAY:0:1}0
+    _[n]um:[2-9][1-9] => digits/${SAY:1}-and, digits/${SAY:0:1}0
     _[n]um:1XX => digits/ein, digits/hundred, num:${SAY:1}
     _[n]um:[2-9]XX => digits/${SAY:0:1}, digits/hundred, num:${SAY:1}
     _[n]um:1XXX => digits/ein, digits/thousand, num:${SAY:1}
@@ -163,7 +162,8 @@
     _[n]um:XXXXXX => digits/${SAY:0:1}, digits/hundred, num:${SAY:1}
     _[n]um:1XXXXXX => digits/eine, digits/million, num:${SAY:1}
     _[n]um:[2-9]XXXXXX => digits/${SAY:0:1}, digits/millions, num:${SAY:1}
-    _[n]um:XXXXXXXX => num:${SAY:0:1}, digits/millions, num:${SAY:2}
+    _[n]um:XXXXXXXX => num:${SAY:0:2}, digits/millions, num:${SAY:2}
+    _[n]um:XXXXXXXXX => num:${SAY:0:3}, digits/millions, num:${SAY:3}
 
     _datetime::. => date:AdBY 'digits/at' IMp:${SAY}
     _date::. => date:AdBY:${SAY}



More information about the asterisk-commits mailing list