[Freeswitch-svn] [commit] r9610 - freeswitch/trunk/docs/phrase

Freeswitch SVN brian at freeswitch.org
Mon Sep 22 04:55:02 EDT 2008


Author: brian
Date: Mon Sep 22 04:55:01 2008
New Revision: 9610

Modified:
   freeswitch/trunk/docs/phrase/phrase.pl
   freeswitch/trunk/docs/phrase/phrase_en.xml

Log:
tweaks to phrase file

Modified: freeswitch/trunk/docs/phrase/phrase.pl
==============================================================================
--- freeswitch/trunk/docs/phrase/phrase.pl	(original)
+++ freeswitch/trunk/docs/phrase/phrase.pl	Mon Sep 22 04:55:01 2008
@@ -6,17 +6,17 @@
 use XML::Simple;
 use Data::Dumper;
 
-my $ref = XMLin("phrase_fr.xml");
+my $ref = XMLin("phrase_en.xml");
 
 foreach $language ( sort keys %{$ref}) {
   foreach $item ( sort keys %{$ref->{$language}}) {
     foreach $element ( sort keys %{$ref->{$language}->{$item}}) {
-      print "Language: $language, $item, $element\n";
+      #print "Language: $language, $item, $element\n";
       system("mkdir -p $language/$item");
       foreach $foo (@{$ref->{$language}->{$item}->{$element}}) {
-	print "filename: $language/$item/$foo->{filename} contains phrase \"$foo->{phrase}\"\n";
+	#print "filename: $language/$item/$foo->{filename} contains phrase \"$foo->{phrase}\"\n";
 	# insert command to verify or generate files here
-	system("swift -n Isabelle -o $language/$item/$foo->{filename} \"$foo->{phrase}\"");
+	print "$item/8000/$foo->{filename}\n";
       }
     }
   }

Modified: freeswitch/trunk/docs/phrase/phrase_en.xml
==============================================================================
--- freeswitch/trunk/docs/phrase/phrase_en.xml	(original)
+++ freeswitch/trunk/docs/phrase/phrase_en.xml	Mon Sep 22 04:55:01 2008
@@ -218,20 +218,20 @@
       <prompt phrase="urgent" filename="vm-urgent.wav"/>
     </voicemail>
     <conference>
-      <prompt phrase="NULL" filename="ack.wav" type="tone"/>
-      <prompt phrase="NULL" filename="nack.wav" type="tone"/>
-      <prompt phrase="You are now muted." filename="mute.wav"/>
-      <prompt phrase="You are now unmuted." filename="unmuted.wav"/>
-      <prompt phrase="You are currently the only person in this conference." filename="alone.wav"/>
-      <prompt phrase="NULL" filename="perpetual.wav" type="music"/>
-      <prompt phrase="NULL" filename="enter.wav" type="tone"/>
-      <prompt phrase="NULL" filename="exit.wav" type="tone"/>
-      <prompt phrase="You have been kicked from this conference." filename="kicked.wav"/>
-      <prompt phrase="This conference is locked." filename="locked.wav"/>
-      <prompt phrase="The conference is now locked." filename="is-locked.wav"/>
-      <prompt phrase="The conference is now unlocked." filename="is-unlocked.wav"/>
-      <prompt phrase="Please enter the conference pin number." filename="pin.wav"/>
-      <prompt phrase="Invalid pin number, try again." filename="bad-pin.wav"/>
+      <prompt phrase="NULL" filename="conf-ack.wav" type="tone"/>
+      <prompt phrase="NULL" filename="conf-nack.wav" type="tone"/>
+      <prompt phrase="You are now muted." filename="conf-mute.wav"/>
+      <prompt phrase="You are now unmuted." filename="conf0unmuted.wav"/>
+      <prompt phrase="You are currently the only person in this conference." filename="conf-alone.wav"/>
+      <prompt phrase="NULL" filename="conf-perpetual.wav" type="music"/>
+      <prompt phrase="NULL" filename="conf-enter.wav" type="tone"/>
+      <prompt phrase="NULL" filename="conf-exit.wav" type="tone"/>
+      <prompt phrase="You have been kicked from this conference." filename="conf-kicked.wav"/>
+      <prompt phrase="This conference is locked." filename="conf-locked.wav"/>
+      <prompt phrase="The conference is now locked." filename="conf-is-locked.wav"/>
+      <prompt phrase="The conference is now unlocked." filename="conf-is-unlocked.wav"/>
+      <prompt phrase="Please enter the conference pin number." filename="conf-pin.wav"/>
+      <prompt phrase="Invalid pin number, try again." filename="conf-bad-pin.wav"/>
     </conference>
     <ivr>
       <prompt phrase="Account number" filename="ivr-account_number.wav"/>



More information about the Freeswitch-svn mailing list