From 433067f30aa51602093f94ad13d1eb75ac8620d8 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 17 Oct 2007 00:46:02 +0000 Subject: [PATCH] outline what this is and how to contribute git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5923 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- docs/phrase/README.TXT | 19 ++ docs/phrase/phrase.pl | 4 +- docs/phrase/phrase_fr.xml | 422 +++++++++++++++++++------------------- 3 files changed, 232 insertions(+), 213 deletions(-) create mode 100644 docs/phrase/README.TXT diff --git a/docs/phrase/README.TXT b/docs/phrase/README.TXT new file mode 100644 index 0000000000..042a8374c5 --- /dev/null +++ b/docs/phrase/README.TXT @@ -0,0 +1,19 @@ +What are these files? + +These files outline the various phrases used in the mod_say_xx.c modules. +Most of these will require matching mod_say_xx.c files to actually use along +with the recorded sound files in the various languages. phrase.pl can be used +to automatically generate or verify all the files exist for a particular +language. If you are capable of recording each language please do so and +contribute them to the project. As phrases are added, the files will need to be +updated for the respective phrase_xx.xml file. + +How can you contribute? + +You can contribute via patches posted to the mailing list or at +http://jira.freeswitch.org, if possible please record the sound files +for testing. We also need voicemail_xx.xml macros updated for each language. + +Thanks, +Brian West +FreeSWITCH.org diff --git a/docs/phrase/phrase.pl b/docs/phrase/phrase.pl index da6e1bf13c..dfeb01c332 100644 --- a/docs/phrase/phrase.pl +++ b/docs/phrase/phrase.pl @@ -6,7 +6,7 @@ use XML::Simple; use Data::Dumper; -my $ref = XMLin("phrase_en.xml"); +my $ref = XMLin("phrase_fr.xml"); foreach $language ( sort keys %{$ref}) { foreach $item ( sort keys %{$ref->{$language}}) { @@ -16,7 +16,7 @@ foreach $language ( sort keys %{$ref}) { foreach $foo (@{$ref->{$language}->{$item}->{$element}}) { print "filename: $language/$item/$foo->{filename} contains phrase \"$foo->{phrase}\"\n"; # insert command to verify or generate files here - system("swift -o $language/$item/$foo->{filename} \"$foo->{phrase}\""); + system("swift -n Isabelle -o $language/$item/$foo->{filename} \"$foo->{phrase}\""); } } } diff --git a/docs/phrase/phrase_fr.xml b/docs/phrase/phrase_fr.xml index d8c67a04a0..f7f6cd466e 100644 --- a/docs/phrase/phrase_fr.xml +++ b/docs/phrase/phrase_fr.xml @@ -1,212 +1,212 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file