[asterisk-commits] mvanbaak: branch group/appdocsxml r129223 - in /team/group/appdocsxml: apps/ ...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 8 17:14:54 CDT 2008


Author: mvanbaak
Date: Tue Jul  8 17:14:54 2008
New Revision: 129223

URL: http://svn.digium.com/view/asterisk?view=rev&rev=129223
Log:
convert the language="" stuff to the official locale notation.
en => en_US
nl => nl_NL
es => es_ES

as mentioned on #asterisk-dev by kpfleming and agreed upon by:
qwell, bkruse, corydon, myself

Modified:
    team/group/appdocsxml/apps/app_amd.c
    team/group/appdocsxml/apps/app_chanisavail.c
    team/group/appdocsxml/apps/app_dial.c
    team/group/appdocsxml/apps/app_echo.c
    team/group/appdocsxml/apps/app_fax.c
    team/group/appdocsxml/apps/app_jack.c
    team/group/appdocsxml/apps/app_morsecode.c
    team/group/appdocsxml/apps/app_page.c
    team/group/appdocsxml/apps/app_senddtmf.c
    team/group/appdocsxml/doc/xmldocumentation.txt
    team/group/appdocsxml/funcs/func_shell.c

Modified: team/group/appdocsxml/apps/app_amd.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_amd.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_amd.c (original)
+++ team/group/appdocsxml/apps/app_amd.c Tue Jul  8 17:14:54 2008
@@ -40,7 +40,7 @@
 #include "asterisk/app.h"
 
 /*** DOCUMENTATION
-	<application name="AMD" language="en">
+	<application name="AMD" language="en_US">
 		<synopsis>
 			Attempt to detect answering machines
 		</synopsis>

Modified: team/group/appdocsxml/apps/app_chanisavail.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_chanisavail.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_chanisavail.c (original)
+++ team/group/appdocsxml/apps/app_chanisavail.c Tue Jul  8 17:14:54 2008
@@ -44,7 +44,7 @@
 static char *app = "ChanIsAvail";
 
 /*** DOCUMENTATION
-	<application name="ChanIsAvail" language="en">
+	<application name="ChanIsAvail" language="en_US">
 		<synopsis>
 			Check channel availability
 		</synopsis>
@@ -70,7 +70,7 @@
 			Simply checks if specified channels exist in the channel list
 		</option>
 	</application>
-	<application name="ChanIsAvail" language="nl">
+	<application name="ChanIsAvail" language="nl_NL">
 		<synopsis>
 			Kontroleer beschikbaarheid van een kanaal
 		</synopsis>

Modified: team/group/appdocsxml/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_dial.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_dial.c (original)
+++ team/group/appdocsxml/apps/app_dial.c Tue Jul  8 17:14:54 2008
@@ -63,7 +63,7 @@
 #include "asterisk/dsp.h"
 
 /*** DOCUMENTATION
-	<application name="Dial" language="en">
+	<application name="Dial" language="en_US">
 		<synopsis>
 			Place a call and connect to the current channel.
 		</synopsis>
@@ -382,7 +382,7 @@
 			The optional URL will be sent to the called party if the channel supports it.
 		</option>
 	</application>
-	<application name="RetryDial" language="en">
+	<application name="RetryDial" language="en_US">
 		<synopsis>
 			Place a call, retrying on failure allowing an optional exit extension.
 		</synopsis>
@@ -411,7 +411,7 @@
 			Some format as arguments providet to the Dial application
 		</option>
 	</application>
-	<application name="RetryDial" language="es">
+	<application name="RetryDial" language="es_ES">
 		<synopsis>
 			(THIS SHOULD BE SOME SPANISH !!!!!!!!!!!!!!!)
 			No hablo Espanol

Modified: team/group/appdocsxml/apps/app_echo.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_echo.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_echo.c (original)
+++ team/group/appdocsxml/apps/app_echo.c Tue Jul  8 17:14:54 2008
@@ -34,7 +34,7 @@
 #include "asterisk/channel.h"
 
 /*** DOCUMENTATION
-	<application name="Echo" language="en">
+	<application name="Echo" language="en_US">
 		<synopsis>
 			Echo audio, video, DTMF back to the calling party
 		</synopsis>

Modified: team/group/appdocsxml/apps/app_fax.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_fax.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_fax.c (original)
+++ team/group/appdocsxml/apps/app_fax.c Tue Jul  8 17:14:54 2008
@@ -41,7 +41,7 @@
 #include "asterisk/manager.h"
 
 /*** DOCUMENTATION
-	<application name="SendFAX" language="en">
+	<application name="SendFAX" language="en_US">
 		<synopsis>
 			Send a Fax
 		</synopsis>
@@ -115,7 +115,7 @@
 */
 
 /*** DOCUMENTATION
-	<application name="ReceiveFAX" language="en">
+	<application name="ReceiveFAX" language="en_US">
 		<synopsis>
 			Receive a Fax
 		</synopsis>

Modified: team/group/appdocsxml/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_jack.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_jack.c (original)
+++ team/group/appdocsxml/apps/app_jack.c Tue Jul  8 17:14:54 2008
@@ -69,7 +69,7 @@
 "    c(<name>) - By default, Asterisk will use the channel name for the jack client\n" \
 "                name.  Use this option to specify a custom client name.\n"
 /*** DOCUMENTATION
-	<application name="JACK" language="en">
+	<application name="JACK" language="en_US">
 		<synopsis>
 			Jack Audio Connection Kit
 		</synopsis>

Modified: team/group/appdocsxml/apps/app_morsecode.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_morsecode.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_morsecode.c (original)
+++ team/group/appdocsxml/apps/app_morsecode.c Tue Jul  8 17:14:54 2008
@@ -35,7 +35,7 @@
 #include "asterisk/indications.h"
 
 /*** DOCUMENTATION
-	<application name="Morsecode" language="en">
+	<application name="Morsecode" language="en_US">
 		<synopsis>
 			Plays morse code
 		</synopsis>

Modified: team/group/appdocsxml/apps/app_page.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_page.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_page.c (original)
+++ team/group/appdocsxml/apps/app_page.c Tue Jul  8 17:14:54 2008
@@ -45,7 +45,7 @@
 #include "asterisk/dial.h"
 
 /*** DOCUMENTATION
-	<application name="Page" language="en">
+	<application name="Page" language="en_US">
 		<synopsis>
 			Page series of phones
 		</synopsis>

Modified: team/group/appdocsxml/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_senddtmf.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/apps/app_senddtmf.c (original)
+++ team/group/appdocsxml/apps/app_senddtmf.c Tue Jul  8 17:14:54 2008
@@ -36,7 +36,7 @@
 #include "asterisk/channel.h"
 
 /*** DOCUMENTATION
-	<application name="SendDTMF" language="en">
+	<application name="SendDTMF" language="en_US">
 		<synopsis>
 			Sends arbitrary DTMF digits
 		</synopsis>

Modified: team/group/appdocsxml/doc/xmldocumentation.txt
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/doc/xmldocumentation.txt?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/doc/xmldocumentation.txt (original)
+++ team/group/appdocsxml/doc/xmldocumentation.txt Tue Jul  8 17:14:54 2008
@@ -21,7 +21,8 @@
 Attributes per node:
 application:
 * name - required, the name of the application
-* language - required, the language for this application doc node. the node with 'language="en"' will be the default and fallback if no block for the current language is present
+* language - required, the language for this application doc node. the node with 'language="en_US"' will be the default and fallback if no block for the current language is present
+             Please use the official locale name: en_US, nl_NL etc etc
 variable:
 * name   - required, The variable name.
 * access - optional, defines wether this variable is read-only or read-write.

Modified: team/group/appdocsxml/funcs/func_shell.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/funcs/func_shell.c?view=diff&rev=129223&r1=129222&r2=129223
==============================================================================
--- team/group/appdocsxml/funcs/func_shell.c (original)
+++ team/group/appdocsxml/funcs/func_shell.c Tue Jul  8 17:14:54 2008
@@ -64,7 +64,7 @@
 }
 
 /*** DOCUMENTATION
-	<function name="SHELL" language="en">
+	<function name="SHELL" language="en_US">
 		<synopsis>
 			Executes a command as if you were at a shell.
 		</synopsis>




More information about the asterisk-commits mailing list