Author: remi
Date: 2008-08-17 13:03:54 +0200 (Sun, 17 Aug 2008)
New Revision: 1533

Added:
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_en.properties
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_nl.properties
Modified:
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/ATTMessages.java
Log:
* updated the i18N

Modified: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/ATTMessages.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/ATTMessages.java
        2008-08-17 09:47:03 UTC (rev 1532)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/ATTMessages.java
        2008-08-17 11:03:54 UTC (rev 1533)
@@ -2,16 +2,25 @@
 
 import java.util.MissingResourceException;
 import java.util.ResourceBundle;
+import java.util.Locale;
 
 public class ATTMessages
 {
        private static final String BUNDLE_NAME = 
"com.tuxisalive.attitunes.messages"; //$NON-NLS-1$
-
        private static final ResourceBundle RESOURCE_BUNDLE;
+       private static final String ccLang = 
System.getProperty("CC_SET_LANGUAGE");
        
        static
        {
-               RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
+               if (ccLang == null)
+               {
+                       RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
+               }
+               else
+               {
+                       System.out.println(ccLang);
+                       RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME, 
new Locale(ccLang));
+               }
        }
 
        public static String getString(String key)

Added: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_en.properties
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_en.properties
                          (rev 0)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_en.properties
  2008-08-17 11:03:54 UTC (rev 1533)
@@ -0,0 +1,80 @@
+MainFrame.1=Attitunes studio
+MainFrame.50=Create
+MainFrame.53=Delete
+MainFrame.56=Copy
+MainFrame.59=Past
+MainFrame.62=Play
+MainFrame.65=Stop
+MainFrame.0=Attitunes studio - 
+MainFrame.97=Save changes before to continue ?
+MainFrame.72=Scene have changed
+MainFrame.77=The attitune has been loaded
+MainFrame.78=You must to set some parameters in your attitune before to save 
it.\n Goto the menu <File|Properties>
+MainFrame.85=Position : 
+MainFrame.86=Duration : 
+MainFrame.87=Block start : 
+MainFrame.91=Block start : 00:00:00
+MainFrame.93=Your attitune has been saved
+MainFrame.95=You are sure that do you want deleting this block ?
+MainFrame.96=Block deleting
+MainFrame.98=Welcome to the BETA version of Attitunes Studio
+MainFrame.99=Show / Hide the block properties
+MainFrame.100=Command :
+MainFrame.101=Test
+MainFrame.102=Validate
+MainFrame.103=Your USB fish is disconnected, operation canceled
+MainFrame.104=Tuxdroid is disconnected, operation canceled
+BlockConf.0=Count :
+BlockConf.1=Speed :
+BlockConf.2=No parameter
+BlockConf.3=Sound index :
+BlockConf.4=Wave name :
+BlockConf.5=Text to speak :
+BlockConf.6=Pitch :
+BlockConf.7=Locutor :
+BlockConf.8=Number of quarter of turn :
+AttitunePropertiesFrame.1=Attitunes studio - Properties
+AttitunePropertiesFrame.55=The parameters marked as red color are missing.
+AttitunePropertiesFrame.56=Name :
+AttitunePropertiesFrame.57=Author :
+AttitunePropertiesFrame.58=Description :
+AttitunePropertiesFrame.59=Version :
+AttitunePropertiesFrame.60=Category :
+AttitunePropertiesFrame.61=Sub category :
+AttitunePropertiesFrame.62=Keywords :
+AttitunePropertiesFrame.64=Add
+AttitunePropertiesFrame.65=Delete
+AttitunePropertiesFrame.66=Validate
+AttitunePropertiesFrame.67=Close
+AttitunePropertiesFrame.77=Enter your keyword :
+AttitunePropertiesFrame.80=Some parameters are missing.
+AttituneMenuBar.12=File
+AttituneMenuBar.13=Edit
+AttituneMenuBar.14=Help
+AttituneMenuBar.15=New
+AttituneMenuBar.17=Load
+AttituneMenuBar.19=Save
+AttituneMenuBar.21=Save As...
+AttituneMenuBar.23=Properties
+AttituneMenuBar.24=Wave list
+AttituneMenuBar.25=Quit
+AttituneMenuBar.27=Create
+AttituneMenuBar.29=Delete
+AttituneMenuBar.31=Copy
+AttituneMenuBar.33=Past
+AttituneMenuBar.35=Online
+AttituneMenuBar.37=About
+ATTBlockViewer.7=Leds
+ATTBlockViewer.9=Mouth\n& eyes
+ATTBlockViewer.11=Wings
+ATTBlockViewer.13=Spinning
+ATTBlockViewer.15=Sound
+ATTBlockViewer.17=TTS
+AttituneWaveListFrame.1=Attitunes studio - Wave list
+AttituneWaveListFrame.2=Wave list :
+AttituneWaveListFrame.3=Add
+AttituneWaveListFrame.4=Delete
+AttituneWaveListFrame.5=Close
+AttituneWaveListFrame.6=Only the PCM Mono 8K 8Bit wave files are supported !
+AttituneWaveListFrame.7=This operation will deleting the blocks which use this 
wave file !\nContinue ?
+AttituneWaveListFrame.8=Replace

Added: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_nl.properties
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_nl.properties
                          (rev 0)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages_nl.properties
  2008-08-17 11:03:54 UTC (rev 1533)
@@ -0,0 +1,80 @@
+MainFrame.1=Attitunes studio
+MainFrame.50=Create
+MainFrame.53=Delete
+MainFrame.56=Copy
+MainFrame.59=Past
+MainFrame.62=Play
+MainFrame.65=Stop
+MainFrame.0=Attitunes studio - 
+MainFrame.97=Save changes before to continue ?
+MainFrame.72=Scene have changed
+MainFrame.77=The attitune has been loaded
+MainFrame.78=You must to set some parameters in your attitune before to save 
it.\n Goto the menu <File|Properties>
+MainFrame.85=Position : 
+MainFrame.86=Duration : 
+MainFrame.87=Block start : 
+MainFrame.91=Block start : 00:00:00
+MainFrame.93=Your attitune has been saved
+MainFrame.95=You are sure that do you want deleting this block ?
+MainFrame.96=Block deleting
+MainFrame.98=Welcome to the BETA version of Attitunes Studio
+MainFrame.99=Show / Hide the block properties
+MainFrame.100=Command :
+MainFrame.101=Test
+MainFrame.102=Validate
+MainFrame.103=Your USB fish is disconnected, operation canceled
+MainFrame.104=Tuxdroid is disconnected, operation canceled
+BlockConf.0=Count :
+BlockConf.1=Speed :
+BlockConf.2=No parameter
+BlockConf.3=Sound index :
+BlockConf.4=Wave name :
+BlockConf.5=Text to speak :
+BlockConf.6=Pitch :
+BlockConf.7=Locutor :
+BlockConf.8=Number of quarter of turn :
+AttitunePropertiesFrame.1=Attitunes studio - Properties
+AttitunePropertiesFrame.55=The parameters marked as red color are missing.
+AttitunePropertiesFrame.56=Name :
+AttitunePropertiesFrame.57=Author :
+AttitunePropertiesFrame.58=Description :
+AttitunePropertiesFrame.59=Version :
+AttitunePropertiesFrame.60=Category :
+AttitunePropertiesFrame.61=Sub category :
+AttitunePropertiesFrame.62=Keywords :
+AttitunePropertiesFrame.64=Add
+AttitunePropertiesFrame.65=Delete
+AttitunePropertiesFrame.66=Validate
+AttitunePropertiesFrame.67=Close
+AttitunePropertiesFrame.77=Enter your keyword :
+AttitunePropertiesFrame.80=Some parameters are missing.
+AttituneMenuBar.12=File
+AttituneMenuBar.13=Edit
+AttituneMenuBar.14=Help
+AttituneMenuBar.15=New
+AttituneMenuBar.17=Load
+AttituneMenuBar.19=Save
+AttituneMenuBar.21=Save As...
+AttituneMenuBar.23=Properties
+AttituneMenuBar.24=Wave list
+AttituneMenuBar.25=Quit
+AttituneMenuBar.27=Create
+AttituneMenuBar.29=Delete
+AttituneMenuBar.31=Copy
+AttituneMenuBar.33=Past
+AttituneMenuBar.35=Online
+AttituneMenuBar.37=About
+ATTBlockViewer.7=Leds
+ATTBlockViewer.9=Mouth\n& eyes
+ATTBlockViewer.11=Wings
+ATTBlockViewer.13=Spinning
+ATTBlockViewer.15=Sound
+ATTBlockViewer.17=TTS
+AttituneWaveListFrame.1=Attitunes studio - Wave list
+AttituneWaveListFrame.2=Wave list :
+AttituneWaveListFrame.3=Add
+AttituneWaveListFrame.4=Delete
+AttituneWaveListFrame.5=Close
+AttituneWaveListFrame.6=Only the PCM Mono 8K 8Bit wave files are supported !
+AttituneWaveListFrame.7=This operation will deleting the blocks which use this 
wave file !\nContinue ?
+AttituneWaveListFrame.8=Replace


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to