From 23b10d5da35b3ffb113063d0b6cffab07ba6c4ce Mon Sep 17 00:00:00 2001 From: Antonio Eugenio Burriel Date: Mon, 16 Feb 2015 17:45:44 +0100 Subject: [PATCH] Get ordering of dates in Spanish right (dd-mm-yyyy) 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 | 1 + docs/phrase/phrase_es_ES.xml | 1 + docs/phrase/phrase_es_MX.xml | 1 + src/mod/say/mod_say_es/mod_say_es.c | 4 +++- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/phrase/phrase_es.xml b/docs/phrase/phrase_es.xml index 518d7fce64..dd62e6fef3 100644 --- a/docs/phrase/phrase_es.xml +++ b/docs/phrase/phrase_es.xml @@ -222,6 +222,7 @@ I will translate them anyways + diff --git a/docs/phrase/phrase_es_ES.xml b/docs/phrase/phrase_es_ES.xml index 9a7521a065..a3f937f33c 100644 --- a/docs/phrase/phrase_es_ES.xml +++ b/docs/phrase/phrase_es_ES.xml @@ -171,6 +171,7 @@ + diff --git a/docs/phrase/phrase_es_MX.xml b/docs/phrase/phrase_es_MX.xml index edabd9f45c..182511d808 100644 --- a/docs/phrase/phrase_es_MX.xml +++ b/docs/phrase/phrase_es_MX.xml @@ -170,6 +170,7 @@ + diff --git a/src/mod/say/mod_say_es/mod_say_es.c b/src/mod/say/mod_say_es/mod_say_es.c index 8de56e861e..f648a72956 100644 --- a/src/mod/say/mod_say_es/mod_say_es.c +++ b/src/mod/say/mod_say_es/mod_say_es.c @@ -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); }