Author: remi
Date: 2008-08-13 15:03:36 +0200 (Wed, 13 Aug 2008)
New Revision: 1472

Added:
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages.properties
Removed:
   software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/Messages.java
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/messages.properties
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/Messages.java
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/messages.properties
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/messages.properties
Modified:
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneMenuBar.java
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/ATTMessages.java
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
Log:
* centralized the I18n

Modified: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneMenuBar.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneMenuBar.java
 2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneMenuBar.java
 2008-08-13 13:03:36 UTC (rev 1472)
@@ -3,6 +3,7 @@
 import java.awt.event.*;
 import java.awt.*;
 import com.tuxisalive.api.*;
+import com.tuxisalive.attitunes.*;
 
 /**
  * 
@@ -58,11 +59,11 @@
                events.insert("onMenuItemOnline"); //$NON-NLS-1$
                events.insert("onMenuItemAbout"); //$NON-NLS-1$
                
-               menuFile = new Menu(Messages.getString("AttituneMenuBar.12")); 
//$NON-NLS-1$
-               menuEdit = new Menu(Messages.getString("AttituneMenuBar.13")); 
//$NON-NLS-1$
-               menuHelp = new Menu(Messages.getString("AttituneMenuBar.14")); 
//$NON-NLS-1$
+               menuFile = new 
Menu(ATTMessages.getString("AttituneMenuBar.12")); //$NON-NLS-1$
+               menuEdit = new 
Menu(ATTMessages.getString("AttituneMenuBar.13")); //$NON-NLS-1$
+               menuHelp = new 
Menu(ATTMessages.getString("AttituneMenuBar.14")); //$NON-NLS-1$
                
-               menuItemNew = new 
MenuItem(Messages.getString("AttituneMenuBar.15")); //$NON-NLS-1$
+               menuItemNew = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.15")); //$NON-NLS-1$
                menuItemNew.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -70,7 +71,7 @@
                        }
                });
                
-               menuItemLoad = new 
MenuItem(Messages.getString("AttituneMenuBar.17")); //$NON-NLS-1$
+               menuItemLoad = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.17")); //$NON-NLS-1$
                menuItemLoad.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -78,7 +79,7 @@
                        }
                });
                
-               menuItemSave = new 
MenuItem(Messages.getString("AttituneMenuBar.19")); //$NON-NLS-1$
+               menuItemSave = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.19")); //$NON-NLS-1$
                menuItemSave.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -86,7 +87,7 @@
                        }
                });
                
-               menuItemSaveAs = new 
MenuItem(Messages.getString("AttituneMenuBar.21")); //$NON-NLS-1$
+               menuItemSaveAs = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.21")); //$NON-NLS-1$
                menuItemSaveAs.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -94,7 +95,7 @@
                        }
                });
                
-               menuItemProperties = new 
MenuItem(Messages.getString("AttituneMenuBar.23")); //$NON-NLS-1$
+               menuItemProperties = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.23")); //$NON-NLS-1$
                menuItemProperties.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -102,7 +103,7 @@
                        }
                });
                
-               menuItemQuit = new 
MenuItem(Messages.getString("AttituneMenuBar.25")); //$NON-NLS-1$
+               menuItemQuit = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.25")); //$NON-NLS-1$
                menuItemQuit.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -111,7 +112,7 @@
                });
                
                
-               menuItemCreate = new 
MenuItem(Messages.getString("AttituneMenuBar.27")); //$NON-NLS-1$
+               menuItemCreate = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.27")); //$NON-NLS-1$
                menuItemCreate.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -119,7 +120,7 @@
                        }
                });
                
-               menuItemDelete = new 
MenuItem(Messages.getString("AttituneMenuBar.29")); //$NON-NLS-1$
+               menuItemDelete = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.29")); //$NON-NLS-1$
                menuItemDelete.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -127,7 +128,7 @@
                        }
                });
                
-               menuItemCopy = new 
MenuItem(Messages.getString("AttituneMenuBar.31")); //$NON-NLS-1$
+               menuItemCopy = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.31")); //$NON-NLS-1$
                menuItemCopy.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -135,7 +136,7 @@
                        }
                });
                
-               menuItemPast = new 
MenuItem(Messages.getString("AttituneMenuBar.33")); //$NON-NLS-1$
+               menuItemPast = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.33")); //$NON-NLS-1$
                menuItemPast.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -144,7 +145,7 @@
                });
                
                
-               menuItemOnline = new 
MenuItem(Messages.getString("AttituneMenuBar.35")); //$NON-NLS-1$
+               menuItemOnline = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.35")); //$NON-NLS-1$
                menuItemOnline.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {
@@ -152,7 +153,7 @@
                        }
                });
                
-               menuItemAbout = new 
MenuItem(Messages.getString("AttituneMenuBar.37")); //$NON-NLS-1$
+               menuItemAbout = new 
MenuItem(ATTMessages.getString("AttituneMenuBar.37")); //$NON-NLS-1$
                menuItemAbout.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e)
                        {

Modified: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
 2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
 2008-08-13 13:03:36 UTC (rev 1472)
@@ -309,7 +309,7 @@
                                {
                                        jLabelNeedChamp = new JLabel();
                                        jPanelNeededChamps.add(jLabelNeedChamp);
-                                       
jLabelNeedChamp.setText(Messages.getString("AttitunePropertiesFrame.55")); 
//$NON-NLS-1$
+                                       
jLabelNeedChamp.setText(ATTMessages.getString("AttitunePropertiesFrame.55")); 
//$NON-NLS-1$
                                        jLabelNeedChamp.setBackground(new 
java.awt.Color(255,128,128));
                                        jLabelNeedChamp.setForeground(new 
java.awt.Color(255,0,0));
                                }
@@ -332,37 +332,37 @@
                                        BorderLayout jLabelPNameLayout = new 
BorderLayout();
                                        
jLabelPName.setLayout(jLabelPNameLayout);
                                        jPanelChamps.add(jLabelPName, new 
GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, 
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jLabelPName.setText(Messages.getString("AttitunePropertiesFrame.56")); 
//$NON-NLS-1$
+                                       
jLabelPName.setText(ATTMessages.getString("AttitunePropertiesFrame.56")); 
//$NON-NLS-1$
                                }
                                {
                                        jLabelPAuthor = new JLabel();
                                        jPanelChamps.add(jLabelPAuthor, new 
GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, 
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jLabelPAuthor.setText(Messages.getString("AttitunePropertiesFrame.57")); 
//$NON-NLS-1$
+                                       
jLabelPAuthor.setText(ATTMessages.getString("AttitunePropertiesFrame.57")); 
//$NON-NLS-1$
                                }
                                {
                                        jLabelPDescription = new JLabel();
                                        jPanelChamps.add(jLabelPDescription, 
new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, 
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jLabelPDescription.setText(Messages.getString("AttitunePropertiesFrame.58")); 
//$NON-NLS-1$
+                                       
jLabelPDescription.setText(ATTMessages.getString("AttitunePropertiesFrame.58"));
 //$NON-NLS-1$
                                }
                                {
                                        jLabelPVersion = new JLabel();
                                        jPanelChamps.add(jLabelPVersion, new 
GridBagConstraints(1, 3, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, 
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jLabelPVersion.setText(Messages.getString("AttitunePropertiesFrame.59")); 
//$NON-NLS-1$
+                                       
jLabelPVersion.setText(ATTMessages.getString("AttitunePropertiesFrame.59")); 
//$NON-NLS-1$
                                }
                                {
                                        jLabelPCategory = new JLabel();
                                        jPanelChamps.add(jLabelPCategory, new 
GridBagConstraints(1, 4, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, 
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jLabelPCategory.setText(Messages.getString("AttitunePropertiesFrame.60")); 
//$NON-NLS-1$
+                                       
jLabelPCategory.setText(ATTMessages.getString("AttitunePropertiesFrame.60")); 
//$NON-NLS-1$
                                }
                                {
                                        jLabelPSubCategory = new JLabel();
                                        jPanelChamps.add(jLabelPSubCategory, 
new GridBagConstraints(1, 5, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, 
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jLabelPSubCategory.setText(Messages.getString("AttitunePropertiesFrame.61")); 
//$NON-NLS-1$
+                                       
jLabelPSubCategory.setText(ATTMessages.getString("AttitunePropertiesFrame.61"));
 //$NON-NLS-1$
                                }
                                {
                                        jLabelPKeywords = new JLabel();
                                        jPanelChamps.add(jLabelPKeywords, new 
GridBagConstraints(1, 6, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, 
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jLabelPKeywords.setText(Messages.getString("AttitunePropertiesFrame.62")); 
//$NON-NLS-1$
+                                       
jLabelPKeywords.setText(ATTMessages.getString("AttitunePropertiesFrame.62")); 
//$NON-NLS-1$
                                }
                                {
                                        jTextFieldName = new JTextField();
@@ -435,7 +435,7 @@
                                        {
                                                jButtonAdd = new JButton();
                                                jPanel1.add(jButtonAdd, new 
GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, 
GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
-                                               
jButtonAdd.setText(Messages.getString("AttitunePropertiesFrame.64")); 
//$NON-NLS-1$
+                                               
jButtonAdd.setText(ATTMessages.getString("AttitunePropertiesFrame.64")); 
//$NON-NLS-1$
                                                jButtonAdd.addMouseListener(new 
MouseAdapter() {
                                                        public void 
mousePressed(MouseEvent evt) {
                                                                
jButtonAddMouseClicked(evt);
@@ -445,7 +445,7 @@
                                        {
                                                jButtonDelete = new JButton();
                                                jPanel1.add(jButtonDelete, new 
GridBagConstraints(2, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, 
GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
-                                               
jButtonDelete.setText(Messages.getString("AttitunePropertiesFrame.65")); 
//$NON-NLS-1$
+                                               
jButtonDelete.setText(ATTMessages.getString("AttitunePropertiesFrame.65")); 
//$NON-NLS-1$
                                                
jButtonDelete.addMouseListener(new MouseAdapter() {
                                                        public void 
mousePressed(MouseEvent evt) {
                                                                
jButtonDeleteMouseClicked(evt);
@@ -467,7 +467,7 @@
                                {
                                        jButtonValidate = new JButton();
                                        jPanelValidate.add(jButtonValidate, new 
GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, 
GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jButtonValidate.setText(Messages.getString("AttitunePropertiesFrame.66")); 
//$NON-NLS-1$
+                                       
jButtonValidate.setText(ATTMessages.getString("AttitunePropertiesFrame.66")); 
//$NON-NLS-1$
                                        jButtonValidate.addMouseListener(new 
MouseAdapter() {
                                                public void 
mousePressed(MouseEvent evt) {
                                                        
jButtonValidateMouseClicked(evt);
@@ -477,7 +477,7 @@
                                {
                                        jButtonClose = new JButton();
                                        jPanelValidate.add(jButtonClose, new 
GridBagConstraints(4, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, 
GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
-                                       
jButtonClose.setText(Messages.getString("AttitunePropertiesFrame.67")); 
//$NON-NLS-1$
+                                       
jButtonClose.setText(ATTMessages.getString("AttitunePropertiesFrame.67")); 
//$NON-NLS-1$
                                        jButtonClose.addMouseListener(new 
MouseAdapter() {
                                                public void 
mousePressed(MouseEvent evt) {
                                                        
jButtonCloseMouseClicked(evt);
@@ -549,7 +549,7 @@
         */
        private void jButtonAddMouseClicked(MouseEvent evt)
        {
-               String keyword = 
JOptionPane.showInputDialog(Messages.getString("AttitunePropertiesFrame.77")); 
//$NON-NLS-1$
+               String keyword = 
JOptionPane.showInputDialog(ATTMessages.getString("AttitunePropertiesFrame.77"));
 //$NON-NLS-1$
                
                if (keyword == null)
                {
@@ -592,7 +592,7 @@
                if (badParams.size() > 0)
                {
                        JOptionPane.showMessageDialog(this,
-                                       
Messages.getString("AttitunePropertiesFrame.80")); //$NON-NLS-1$
+                                       
ATTMessages.getString("AttitunePropertiesFrame.80")); //$NON-NLS-1$
                        return;
                }
        }
@@ -621,7 +621,7 @@
                if (badParams.size() > 0)
                {
                        JOptionPane.showMessageDialog(this,
-                                       
Messages.getString("AttitunePropertiesFrame.81")); //$NON-NLS-1$
+                                       
ATTMessages.getString("AttitunePropertiesFrame.81")); //$NON-NLS-1$
                }
        }
        

Deleted: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/Messages.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/Messages.java    
    2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/Messages.java    
    2008-08-13 13:03:36 UTC (rev 1472)
@@ -1,22 +0,0 @@
-package GUI;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-public class Messages {
-       private static final String BUNDLE_NAME = "GUI.messages"; //$NON-NLS-1$
-
-       private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
-                       .getBundle(BUNDLE_NAME);
-
-       private Messages() {
-       }
-
-       public static String getString(String key) {
-               try {
-                       return RESOURCE_BUNDLE.getString(key);
-               } catch (MissingResourceException e) {
-                       return '!' + key + '!';
-               }
-       }
-}

Deleted: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/messages.properties
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/messages.properties
  2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/messages.properties
  2008-08-13 13:03:36 UTC (rev 1472)
@@ -1,30 +0,0 @@
-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.
-AttitunePropertiesFrame.81=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.25=Quit
-AttituneMenuBar.27=Create
-AttituneMenuBar.29=Delete
-AttituneMenuBar.31=Copy
-AttituneMenuBar.33=Past
-AttituneMenuBar.35=Online
-AttituneMenuBar.37=About

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-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/ATTMessages.java
        2008-08-13 13:03:36 UTC (rev 1472)
@@ -5,7 +5,7 @@
 
 public class ATTMessages
 {
-       private static final String BUNDLE_NAME = "messages"; //$NON-NLS-1$
+       private static final String BUNDLE_NAME = 
"com.tuxisalive.attitunes.messages"; //$NON-NLS-1$
 
        private static final ResourceBundle RESOURCE_BUNDLE;
        

Added: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages.properties
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages.properties
                             (rev 0)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages.properties
     2008-08-13 13:03:36 UTC (rev 1472)
@@ -0,0 +1,64 @@
+MainFrame.1=Attitunes studio
+MainFrame.30=/
+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.74=Save changes before to continue ?
+MainFrame.75=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.79=You must to set some parameters in your attitune before to save 
it.\n Goto the menu <File|Properties>
+MainFrame.81=Save changes before to continue ?
+MainFrame.82=Scene have changed
+MainFrame.85=Position : 
+MainFrame.86=Duration : 
+MainFrame.87=Block start : 
+MainFrame.88=Block start : 
+MainFrame.89=Position : 
+MainFrame.90=Duration : 
+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
+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.
+AttitunePropertiesFrame.81=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.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

Modified: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
      2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
      2008-08-13 13:03:36 UTC (rev 1472)
@@ -13,8 +13,7 @@
 import java.util.Hashtable;
 
 import com.tuxisalive.api.*;
-import com.tuxisalive.attitunes.ATTConfig;
-import com.tuxisalive.attitunes.ATTMisc;
+import com.tuxisalive.attitunes.*;
 import com.tuxisalive.attitunes.block.ATTBlock;
 import com.tuxisalive.attitunes.block.ATTBlockContainer;
 import com.tuxisalive.attitunes.vector.ATTTlvVector;
@@ -290,22 +289,22 @@
                background = 
getToolkit().getImage(getClass().getResource(imgFileName));
 
                imgFileName = path + "leds.png"; //$NON-NLS-1$
-               
blockContainer0.setLabel(Messages.getString("ATTBlockViewer.7"), imgFileName); 
//$NON-NLS-1$
+               
blockContainer0.setLabel(ATTMessages.getString("ATTBlockViewer.7"), 
imgFileName); //$NON-NLS-1$
                
                imgFileName = path + "mouth+eyes.png"; //$NON-NLS-1$
-               
blockContainer1.setLabel(Messages.getString("ATTBlockViewer.9"), imgFileName); 
//$NON-NLS-1$
+               
blockContainer1.setLabel(ATTMessages.getString("ATTBlockViewer.9"), 
imgFileName); //$NON-NLS-1$
                
                imgFileName = path + "wings.png"; //$NON-NLS-1$
-               
blockContainer2.setLabel(Messages.getString("ATTBlockViewer.11"), imgFileName); 
//$NON-NLS-1$
+               
blockContainer2.setLabel(ATTMessages.getString("ATTBlockViewer.11"), 
imgFileName); //$NON-NLS-1$
                
                imgFileName = path + "spinning.png"; //$NON-NLS-1$
-               
blockContainer3.setLabel(Messages.getString("ATTBlockViewer.13"), imgFileName); 
//$NON-NLS-1$
+               
blockContainer3.setLabel(ATTMessages.getString("ATTBlockViewer.13"), 
imgFileName); //$NON-NLS-1$
                
                imgFileName = path + "sound.png"; //$NON-NLS-1$
-               
blockContainer4.setLabel(Messages.getString("ATTBlockViewer.15"), imgFileName); 
//$NON-NLS-1$
+               
blockContainer4.setLabel(ATTMessages.getString("ATTBlockViewer.15"), 
imgFileName); //$NON-NLS-1$
                
                imgFileName = path + "TTS.png"; //$NON-NLS-1$
-               
blockContainer5.setLabel(Messages.getString("ATTBlockViewer.17"), imgFileName); 
//$NON-NLS-1$
+               
blockContainer5.setLabel(ATTMessages.getString("ATTBlockViewer.17"), 
imgFileName); //$NON-NLS-1$
                
                return true;
        }

Deleted: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/Messages.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/Messages.java
    2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/Messages.java
    2008-08-13 13:03:36 UTC (rev 1472)
@@ -1,22 +0,0 @@
-package com.tuxisalive.attitunes.visual;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-public class Messages {
-       private static final String BUNDLE_NAME = 
"com.tuxisalive.attitunes.visual.messages"; //$NON-NLS-1$
-
-       private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
-                       .getBundle(BUNDLE_NAME);
-
-       private Messages() {
-       }
-
-       public static String getString(String key) {
-               try {
-                       return RESOURCE_BUNDLE.getString(key);
-               } catch (MissingResourceException e) {
-                       return '!' + key + '!';
-               }
-       }
-}

Deleted: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/messages.properties
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/messages.properties
      2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/messages.properties
      2008-08-13 13:03:36 UTC (rev 1472)
@@ -1,6 +0,0 @@
-ATTBlockViewer.7=Leds
-ATTBlockViewer.9=Mouth\n& eyes
-ATTBlockViewer.11=Wings
-ATTBlockViewer.13=Spinning
-ATTBlockViewer.15=Sound
-ATTBlockViewer.17=TTS

Deleted: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/messages.properties
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/messages.properties  
    2008-08-13 12:49:18 UTC (rev 1471)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/messages.properties  
    2008-08-13 13:03:36 UTC (rev 1472)
@@ -1,28 +0,0 @@
-MainFrame.1=Attitunes studio
-MainFrame.30=/
-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.74=Save changes before to continue ?
-MainFrame.75=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.79=You must to set some parameters in your attitune before to save 
it.\n Goto the menu <File|Properties>
-MainFrame.81=Save changes before to continue ?
-MainFrame.82=Scene have changed
-MainFrame.85=Position : 
-MainFrame.86=Duration : 
-MainFrame.87=Block start : 
-MainFrame.88=Block start : 
-MainFrame.89=Position : 
-MainFrame.90=Duration : 
-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


-------------------------------------------------------------------------
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