update, thanks stkn

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5950 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-10-17 22:01:23 +00:00
parent 083b548438
commit 2c7d425d1b
1 changed files with 6 additions and 7 deletions

View File

@ -48,14 +48,13 @@
</macro>
<macro name="voicemail_message_count">
<input pattern="^([^:]+):([^:]+):{0,1}(.*)">
<input pattern="^1:(.*)$">
<match>
<action function="speak-text" data="Sie haben 1 $2 Nachricht im Ordner ${voicemail_current_folder}."/>
</match>
</input>
<input pattern="^([0,2-9]+):(.*)$">
<match>
<!--
This would need support from mod_voicemail.c, german plural for messages is "Nachrichten", singular is "Nachricht"
numbers are a bit different too,,, "eine Nachricht" vs. "eins" (= the number "one")
<action function="speak-text" data="Sie haben $1 $2 Nachricht$3 im Ordner ${voicemail_current_folder}."/>
-->
<action function="speak-text" data="Sie haben $1 $2 Nachrichten im Ordner ${voicemail_current_folder}."/>
</match>
</input>