Author: remi
Date: 2008-08-13 15:18:06 +0200 (Wed, 13 Aug 2008)
New Revision: 1473
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages.properties
Log:
* removed the duplicated i18n string entries
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 13:03:36 UTC (rev 1472)
+++
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
2008-08-13 13:18:06 UTC (rev 1473)
@@ -621,7 +621,7 @@
if (badParams.size() > 0)
{
JOptionPane.showMessageDialog(this,
-
ATTMessages.getString("AttitunePropertiesFrame.81")); //$NON-NLS-1$
+
ATTMessages.getString("AttitunePropertiesFrame.80")); //$NON-NLS-1$
}
}
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
===================================================================
--- software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
2008-08-13 13:03:36 UTC (rev 1472)
+++ software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
2008-08-13 13:18:06 UTC (rev 1473)
@@ -132,7 +132,7 @@
frameLayout.setConstraints(statusBar, c);
this.add(statusBar);
-
attBlockViewer.loadImages(ATTMessages.getString("MainFrame.30")); //$NON-NLS-1$
+ attBlockViewer.loadImages("/"); //$NON-NLS-1$
attBlockViewer.events.register(ATTConfig.EVENT_POSITION_CHANGED, this,
"onPositionChanged"); //$NON-NLS-1$
attBlockViewer.events.register(ATTConfig.EVENT_LENGTH_CHANGED, this,
"onLengthChanged"); //$NON-NLS-1$
attBlockViewer.events.register(ATTConfig.EVENT_ZOOM_CHANGED, this,
"onZoomChanged"); //$NON-NLS-1$
@@ -328,8 +328,8 @@
/* Save the changes first */
int result = JOptionPane.showConfirmDialog(
this,
- ATTMessages.getString("MainFrame.74"),
//$NON-NLS-1$
- ATTMessages.getString("MainFrame.75"),
//$NON-NLS-1$
+ ATTMessages.getString("MainFrame.97"),
//$NON-NLS-1$
+ ATTMessages.getString("MainFrame.72"),
//$NON-NLS-1$
JOptionPane.YES_NO_OPTION);
if (result == JOptionPane.YES_OPTION)
{
@@ -392,7 +392,7 @@
if (badParams.size() > 0)
{
JOptionPane.showMessageDialog(this,
- ATTMessages.getString("MainFrame.79"));
//$NON-NLS-1$
+ ATTMessages.getString("MainFrame.78"));
//$NON-NLS-1$
return;
}
/* Open a file viewer to select an attitune */
@@ -444,8 +444,8 @@
/* Save the changes first */
int result = JOptionPane.showConfirmDialog(
this,
- ATTMessages.getString("MainFrame.81"),
//$NON-NLS-1$
- ATTMessages.getString("MainFrame.82"),
//$NON-NLS-1$
+ ATTMessages.getString("MainFrame.97"),
//$NON-NLS-1$
+ ATTMessages.getString("MainFrame.72"),
//$NON-NLS-1$
JOptionPane.YES_NO_OPTION);
if (result == JOptionPane.YES_OPTION)
{
@@ -585,7 +585,7 @@
*/
public void onBlockDragging(ATTBlock block, Double timeIdx)
{
- statusBar.setLabel3(ATTMessages.getString("MainFrame.88") +
ATTMisc.timeToString(timeIdx)); //$NON-NLS-1$
+ statusBar.setLabel3(ATTMessages.getString("MainFrame.87") +
ATTMisc.timeToString(timeIdx)); //$NON-NLS-1$
}
/*
@@ -600,10 +600,10 @@
*/
public void onAttituneLoaded(ATTBlockViewer bv)
{
- statusBar.setLabel1(ATTMessages.getString("MainFrame.89") +
ATTMisc.timeToString(attBlockViewer.getCurrentPosition())); //$NON-NLS-1$
- statusBar.setLabel2(ATTMessages.getString("MainFrame.90") +
ATTMisc.timeToString(attBlockViewer.getLength())); //$NON-NLS-1$
+ statusBar.setLabel1(ATTMessages.getString("MainFrame.85") +
ATTMisc.timeToString(attBlockViewer.getCurrentPosition())); //$NON-NLS-1$
+ statusBar.setLabel2(ATTMessages.getString("MainFrame.86") +
ATTMisc.timeToString(attBlockViewer.getLength())); //$NON-NLS-1$
statusBar.setLabel3(ATTMessages.getString("MainFrame.91"));
//$NON-NLS-1$
- this.setTitle("Attitunes studio - " +
attBlockViewer.attituneFile.getHeaderName()); //$NON-NLS-1$
+ this.setTitle(ATTMessages.getString("MainFrame.0") +
attBlockViewer.attituneFile.getHeaderName()); //$NON-NLS-1$
}
/*
Modified:
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
2008-08-13 13:03:36 UTC (rev 1472)
+++
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/messages.properties
2008-08-13 13:18:06 UTC (rev 1473)
@@ -1,5 +1,4 @@
MainFrame.1=Attitunes studio
-MainFrame.30=/
MainFrame.50=Create
MainFrame.53=Delete
MainFrame.56=Copy
@@ -9,19 +8,11 @@
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 ?
@@ -40,7 +31,6 @@
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
-------------------------------------------------------------------------
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