Merge pull request #189 in FS/freeswitch from ~AEBURRIEL/freeswitch-fs-7279:master to master

* commit '23b10d5da35b3ffb113063d0b6cffab07ba6c4ce':
  Get ordering of dates in Spanish right (dd-mm-yyyy)
This commit is contained in:
Mike Jerris 2015-02-18 12:29:19 -06:00
commit 4eb0d1a56b
4 changed files with 6 additions and 1 deletions

View 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"/>

View File

@ -171,6 +171,7 @@
<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"/>

View File

@ -170,6 +170,7 @@
<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"/>

View 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);
}