]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Get ordering of dates in Spanish right (dd-mm-yyyy)
authorAntonio Eugenio Burriel <aeburriel@gmail.com>
Mon, 16 Feb 2015 16:45:44 +0000 (17:45 +0100)
committerAntonio Eugenio Burriel <aeburriel@gmail.com>
Mon, 16 Feb 2015 16:45:44 +0000 (17:45 +0100)
1. Switch from mm-dd-yyyy to dd-mm-yyyy
2. Insert "de" (Spanish for "of") preposition.
3. Document this new voice recording "of.wav".

As reported in FS-7279.

docs/phrase/phrase_es.xml
docs/phrase/phrase_es_ES.xml
docs/phrase/phrase_es_MX.xml
src/mod/say/mod_say_es/mod_say_es.c

index 518d7fce64377543791f9f17d04946ddea4131ff..dd62e6fef309e94885cc6860899039ab13966c38 100644 (file)
@@ -222,6 +222,7 @@ I will translate them anyways
       <prompt phrase="Noviembre" filename="mon-10.wav"/>
       <prompt phrase="Diciembre" filename="mon-11.wav"/>
       <prompt phrase="En punto" filename="oclock.wav"/>
+      <prompt phrase="de" filename="of.wav"/>
       <prompt phrase="oh" filename="oh.wav"/>
       <prompt phrase="P.M." filename="p-m.wav"/>
       <prompt phrase="Segundo" filename="second.wav"/>
index 9a7521a06523bfbb8310d2162f9890dbe4ab699b..a3f937f33c0a87bcfe9eaa8115f59d8c21c2c63b 100644 (file)
       <prompt phrase="Noviembre" filename="mon-10.wav"/>
       <prompt phrase="Diciembre" filename="mon-11.wav"/>
       <prompt phrase="En punto" filename="oclock.wav"/>
+      <prompt phrase="de" filename="of.wav"/>
       <prompt phrase="P.M." filename="p-m.wav"/>
       <prompt phrase="Segundo" filename="second.wav"/>
       <prompt phrase="Segundos" filename="seconds.wav"/>
index edabd9f45c7997a2d66d2537c1aafda257633452..182511d808ebed5ce5a541172501f34230f77401 100644 (file)
       <prompt phrase="Noviembre" filename="mon-10.wav"/>
       <prompt phrase="Diciembre" filename="mon-11.wav"/>
       <prompt phrase="En punto" filename="oclock.wav"/>
+      <prompt phrase="de" filename="of.wav"/>
       <prompt phrase="P.M." filename="p-m.wav"/>
       <prompt phrase="Segundo" filename="second.wav"/>
       <prompt phrase="Segundos" filename="seconds.wav"/>
index 8de56e861e14c6a3b973b5473a3cb6a6aac4d108..f648a72956f2537e6d438945e87cdbbafb519eb6 100644 (file)
@@ -335,8 +335,10 @@ static switch_status_t es_say_time(switch_core_session_t *session, char *tosay,
 
        if (say_date) {
                say_file("time/day-%d.wav", tm.tm_wday);
-               say_file("time/mon-%d.wav", tm.tm_mon);
                say_num(tm.tm_mday, SSM_PRONOUNCED);
+               say_file("time/of.wav");
+               say_file("time/mon-%d.wav", tm.tm_mon);
+               say_file("time/of.wav");
                say_num(tm.tm_year + 1900, SSM_PRONOUNCED);
        }