[jsword-svn] r1227 - in trunk: bibledesktop/etc/eclipse bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop
dmsmith at www.crosswire.org
dmsmith at www.crosswire.org
Wed Dec 20 14:38:39 MST 2006
Author: dmsmith
Date: 2006-12-20 14:38:39 -0700 (Wed, 20 Dec 2006)
New Revision: 1227
Added:
trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.java
trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.properties
Modified:
trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch
trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.java
trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.properties
trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/ComparePane.java
trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/CompareResultsPane.java
trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/DebugPane.java
Log:
Removing unused messages, moving some to limbo
Modified: trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch
===================================================================
--- trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch 2006-12-20 21:23:51 UTC (rev 1226)
+++ trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch 2006-12-20 21:38:39 UTC (rev 1227)
@@ -6,6 +6,7 @@
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="bibledesktop"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m -ea"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-1.5.0-sun-1.5.0.08"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
Modified: trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.java
===================================================================
--- trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.java 2006-12-20 21:23:51 UTC (rev 1226)
+++ trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.java 2006-12-20 21:38:39 UTC (rev 1227)
@@ -45,11 +45,9 @@
// Strings for hyperlink urls
static final Msg UNKNOWN_PROTOCOL = new Msg("Desktop.UnknownProtocol"); //$NON-NLS-1$
- static final Msg BAD_PROTOCOL_URL = new Msg("Desktop.BadProtocolUrl"); //$NON-NLS-1$
// Strings for the startup job
static final Msg STARTUP_TITLE = new Msg("Desktop.StartupTitle"); //$NON-NLS-1$
- static final Msg STARTUP_CONFIG = new Msg("Desktop.StartupConfig"); //$NON-NLS-1$
static final Msg STARTUP_GENERATE = new Msg("Desktop.StartupGenerate"); //$NON-NLS-1$
static final Msg STARTUP_GENERAL_CONFIG = new Msg("Desktop.StartupGeneral"); //$NON-NLS-1$
@@ -59,23 +57,16 @@
// Strings for DesktopAction
static final Msg NO_HELP = new Msg("DesktopActions.NoHelp"); //$NON-NLS-1$
- static final Msg NOT_IMPLEMENTED = new Msg("DesktopActions.NotImplemented"); //$NON-NLS-1$
static final Msg NO_PASSAGE = new Msg("DesktopActions.NoPassage"); //$NON-NLS-1$
static final Msg SOURCE_MISSING = new Msg("DesktopActions.SourceMissing"); //$NON-NLS-1$
- // Strings for AbstractViewLayout
- static final Msg UNTITLED = new Msg("AbstractViewLayout.Untitled"); //$NON-NLS-1$
-
// Strings for AboutPane and Splash
// The splash image is of an English version of the application
static final Msg SPLASH_IMAGE = new Msg("Splash.SplashImage"); //$NON-NLS-1$
static final Msg ABOUT_TITLE = new Msg("AboutPane.AboutTitle"); //$NON-NLS-1$
static final Msg WARRANTY_TAB_TITLE = new Msg("AboutPane.Warranty"); //$NON-NLS-1$
static final Msg DETAILS_TAB_TITLE = new Msg("AboutPane.Details"); //$NON-NLS-1$
- static final Msg TASK_TAB_TITLE = new Msg("AboutPane.TaskTabTitle"); //$NON-NLS-1$
- static final Msg ERROR_TAB_TITLE = new Msg("AboutPane.ErrorTabTitle"); //$NON-NLS-1$
static final Msg SYSTEM_PROPS_TAB_TITLE = new Msg("AboutPane.SystemPropsTabTitle"); //$NON-NLS-1$
- static final Msg DEBUG_TAB_TITLE = new Msg("AboutPane.DebugTabTitle"); //$NON-NLS-1$
// Strings for StatusBar
static final Msg STATUS_DEFAULT = new Msg("StatusBar.StatusDefault"); //$NON-NLS-1$
@@ -83,43 +74,7 @@
// Strings for OptionsAction
static final Msg CONFIG_TITLE = new Msg("OptionsAction.ConfigTitle"); //$NON-NLS-1$
- // Strings for ComparePane
- static final Msg COMPARE_DIALOG = new Msg("ComparePane.Dialog"); //$NON-NLS-1$
- static final Msg COMPARE_IDENT_QUESTION = new Msg("ComparePane.IdentQuestion"); //$NON-NLS-1$
- static final Msg COMPARE_IDENT_TITLE = new Msg("ComparePane.IdentTitle"); //$NON-NLS-1$
- static final Msg COMPARE_WORDS = new Msg("ComparePane.Words"); //$NON-NLS-1$
- // I18N: migrate this to an ActionFactory
- static final Msg COMPARE_GO = new Msg("ComparePane.Go"); //$NON-NLS-1$
- static final Msg COMPARE_USING = new Msg("ComparePane.Using"); //$NON-NLS-1$
- static final Msg COMPARE_WORDS_TIP = new Msg("ComparePane.WordsTip"); //$NON-NLS-1$
- static final Msg COMPARE_TITLE = new Msg("ComparePane.Title"); //$NON-NLS-1$
- static final Msg COMPARE_VERSES = new Msg("ComparePane.Verses"); //$NON-NLS-1$
-
- // Strings for CompareResultsPane
- static final Msg RESULTS_TITLE = new Msg("CompareResultsPane.Title"); //$NON-NLS-1$
- // I18N: migrate this to an ActionFactory
- static final Msg RESULTS_START = new Msg("CompareResultsPane.Start"); //$NON-NLS-1$
- // I18N: migrate this to an ActionFactory
- static final Msg RESULTS_CLOSE = new Msg("CompareResultsPane.Close"); //$NON-NLS-1$
- static final Msg RESULTS_DIALOG = new Msg("CompareResultsPane.Dialog"); //$NON-NLS-1$
- static final Msg RESULTS_BOOKS = new Msg("CompareResultsPane.Books"); //$NON-NLS-1$
- static final Msg RESULTS_COMPARING = new Msg("CompareResultsPane.Comparing"); //$NON-NLS-1$
- static final Msg RESULTS_PASSAGE = new Msg("CompareResultsPane.Passage"); //$NON-NLS-1$
- static final Msg RESULTS_WORDS = new Msg("CompareResultsPane.Words"); //$NON-NLS-1$
- // I18N: migrate this to an ActionFactory
- static final Msg RESULTS_STOP = new Msg("CompareResultsPane.ResultsStop"); //$NON-NLS-1$
-
- // Strings for DebugPane
- static final Msg DEBUG_STEPS = new Msg("DebugPane.Steps"); //$NON-NLS-1$
- static final Msg DEBUG_VIEWS = new Msg("DebugPane.Views"); //$NON-NLS-1$
- // I18N: migrate this to an ActionFactory
- static final Msg DEBUG_GO = new Msg("DebugPane.Go"); //$NON-NLS-1$
- static final Msg DEBUG_METHOD = new Msg("DebugPane.Method"); //$NON-NLS-1$
-
- // I18N: migrate this to an ActionFactory
- static final Msg COPY_TO_CLIP = new Msg("ViewSourcePane.CopyToClipboard"); //$NON-NLS-1$
- // I18N: migrate this to an ActionFactory
- static final Msg CLOSE = new Msg("ViewSourcePane.Close"); //$NON-NLS-1$
+ // Strings for ViewSourcePane
static final Msg TEXT_VIEWER = new Msg("ViewSourcePane.TextViewer"); //$NON-NLS-1$
static final Msg ORIG = new Msg("ViewSourcePane.ORIG"); //$NON-NLS-1$
static final Msg OSIS = new Msg("ViewSourcePane.OSIS"); //$NON-NLS-1$
Modified: trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.properties
===================================================================
--- trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.properties 2006-12-20 21:23:51 UTC (rev 1226)
+++ trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Msg.properties 2006-12-20 21:38:39 UTC (rev 1227)
@@ -17,11 +17,9 @@
# Properties used by Desktop for hyperlinks
Desktop.UnknownProtocol=Unknown protocol {0}
-Desktop.BadProtocolUrl=Missing : in {0}
# Properties for the startup job
Desktop.StartupTitle=Startup
-Desktop.StartupConfig=Setting-up config
Desktop.StartupGenerate=Generating Components
Desktop.StartupGeneral=General configuration
@@ -31,23 +29,16 @@
# Properties for DesktopActions
# Properties used by Help
DesktopActions.NoHelp=Currently on-line help is only available via the Bible Desktop's website:\nhttp://www.crosswire.org/bibledesktop
-DesktopActions.NotImplemented={0} is not implemented
DesktopActions.NoPassage=No Passage to Save
DesktopActions.SourceMissing=No current passage to view
-# Properties for ViewLayout
-ViewLayout.Untitled=Untitled {0}
-
# Properties for AboutPane and Splash
# The splash image is of an English version of the application
Splash.SplashImage=/images/splash.png
AboutPane.AboutTitle=About {0}
AboutPane.Warranty=Warranty
AboutPane.Details=License
-AboutPane.TaskTabTitle=Running Tasks
-AboutPane.ErrorTabTitle=Errors
AboutPane.SystemPropsTabTitle=System Properties
-AboutPane.DebugTabTitle=Debug
# Properties for StatusBar
StatusBar.StatusDefault=Ready ...
@@ -55,36 +46,7 @@
# Properties for OptionsAction
OptionsAction.ConfigTitle=Desktop Options
-# Properties for ComparePane
-ComparePane.Dialog=Bible Compare
-ComparePane.IdentQuestion=You are attempting to compare 2 Books that are identical.\nDo you want to continue?
-ComparePane.IdentTitle=Compare Identical Books?
-ComparePane.Words=Words:
-ComparePane.Go=Compare
-ComparePane.Using=Compare Using
-ComparePane.WordsTip=[empty] - test no words; * - test all words, text - test all words starting with ''text''
-ComparePane.Title=Books To Compare
-ComparePane.Verses=Verses:
-
-# Properties for CompareResultsPane
-CompareResultsPane.Title=Results
-CompareResultsPane.Start=Start
-CompareResultsPane.Close=Close
-CompareResultsPane.Dialog=Verify Results
-CompareResultsPane.Books=Books:
-CompareResultsPane.Comparing=Comparing:
-CompareResultsPane.Passage=Passage
-CompareResultsPane.Words=Word
-CompareResultsPane.Stop=Stop
-
-# Properties for DebugPane
-DebugPane.Steps=Step {0}/{1}
-DebugPane.Views=Views:
-DebugPane.Go=GO
-DebugPane.Method=Method:
-
-ViewSourcePane.Close=Close
-ViewSourcePane.CopyToClipboard=Copy to Clipboard
+# Properties for ViewSourcePane
ViewSourcePane.TextViewer=Source Viewer
ViewSourcePane.ORIG=Original
ViewSourcePane.OSIS=OSIS
Modified: trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/ComparePane.java
===================================================================
--- trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/ComparePane.java 2006-12-20 21:23:51 UTC (rev 1226)
+++ trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/ComparePane.java 2006-12-20 21:38:39 UTC (rev 1227)
@@ -81,7 +81,7 @@
cboBible2.setRenderer(new BookListCellRenderer());
pnlBibles.setLayout(new BoxLayout(pnlBibles, BoxLayout.Y_AXIS));
pnlBibles.setAlignmentX((float) 0.5);
- pnlBibles.setBorder(new TitledBorder(Msg.COMPARE_TITLE.toString()));
+ pnlBibles.setBorder(new TitledBorder(LimboMsg.COMPARE_TITLE.toString()));
btnGo.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent ev)
@@ -95,24 +95,24 @@
// TODO(joe): don't hard code this, read it from a Book
txtVerses.setText("Gen-Rev"); //$NON-NLS-1$
- lblVerses.setText(Msg.COMPARE_VERSES.toString());
+ lblVerses.setText(LimboMsg.COMPARE_VERSES.toString());
lblVerses.setLabelFor(txtVerses);
pnlVerses.setLayout(new BorderLayout());
pnlVerses.add(lblVerses, BorderLayout.WEST);
pnlVerses.add(txtVerses, BorderLayout.CENTER);
- txtWords.setToolTipText(Msg.COMPARE_WORDS_TIP.toString());
- lblWords.setText(Msg.COMPARE_WORDS.toString());
+ txtWords.setToolTipText(LimboMsg.COMPARE_WORDS_TIP.toString());
+ lblWords.setText(LimboMsg.COMPARE_WORDS.toString());
lblWords.setLabelFor(txtWords);
pnlWords.setLayout(new BorderLayout());
pnlWords.add(lblWords, BorderLayout.WEST);
pnlWords.add(txtWords, BorderLayout.CENTER);
- pnlUsing.setBorder(new TitledBorder(Msg.COMPARE_USING.toString()));
+ pnlUsing.setBorder(new TitledBorder(LimboMsg.COMPARE_USING.toString()));
pnlUsing.setLayout(new BoxLayout(pnlUsing, BoxLayout.Y_AXIS));
pnlUsing.add(pnlVerses, null);
pnlUsing.add(pnlWords, null);
// I18N: Migrate this to an ActionFactory
- btnGo.setText(Msg.COMPARE_GO.toString());
+ btnGo.setText(LimboMsg.COMPARE_GO.toString());
pnlButtons.setLayout(new FlowLayout(FlowLayout.RIGHT));
pnlButtons.add(btnGo, null);
@@ -130,7 +130,7 @@
*/
public void showInDialog(Component parent)
{
- showInDialog(parent, Msg.COMPARE_DIALOG.toString(), false);
+ showInDialog(parent, LimboMsg.COMPARE_DIALOG.toString(), false);
}
/**
@@ -143,7 +143,7 @@
if (book1.equals(book2))
{
- if (JOptionPane.showConfirmDialog(this, Msg.COMPARE_IDENT_QUESTION.toString(), Msg.COMPARE_IDENT_TITLE.toString(), JOptionPane.YES_NO_OPTION) == JOptionPane.NO_OPTION)
+ if (JOptionPane.showConfirmDialog(this, LimboMsg.COMPARE_IDENT_QUESTION.toString(), LimboMsg.COMPARE_IDENT_TITLE.toString(), JOptionPane.YES_NO_OPTION) == JOptionPane.NO_OPTION)
{
return;
}
Modified: trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/CompareResultsPane.java
===================================================================
--- trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/CompareResultsPane.java 2006-12-20 21:23:51 UTC (rev 1226)
+++ trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/CompareResultsPane.java 2006-12-20 21:38:39 UTC (rev 1227)
@@ -88,12 +88,12 @@
txtResults.setColumns(40);
scrResults.getViewport().add(txtResults, null);
pnlResults.setLayout(new BorderLayout(5, 5));
- pnlResults.setBorder(new TitledBorder(Msg.RESULTS_TITLE.toString()));
+ pnlResults.setBorder(new TitledBorder(LimboMsg.RESULTS_TITLE.toString()));
pnlResults.add(scrResults, BorderLayout.CENTER);
pnlResults.add(barProgress, BorderLayout.NORTH);
// I18N: migrate this to an ActionFactory
- btnStop.setText(Msg.RESULTS_START.toString());
+ btnStop.setText(LimboMsg.RESULTS_START.toString());
btnStop.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent ev)
@@ -115,10 +115,10 @@
*/
public void showInFrame(Frame parent)
{
- final JDialog frame = new JDialog(parent, Msg.RESULTS_DIALOG.toString());
+ final JDialog frame = new JDialog(parent, LimboMsg.RESULTS_DIALOG.toString());
// I18N: migrate this to an ActionFactory
- btnClose = new JButton(Msg.RESULTS_CLOSE.toString());
+ btnClose = new JButton(LimboMsg.RESULTS_CLOSE.toString());
btnClose.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent ev)
@@ -194,19 +194,19 @@
*/
private void setTitles()
{
- lblBible1.setText("<html><b>" + Msg.RESULTS_BOOKS + "</b> " //$NON-NLS-1$ //$NON-NLS-2$
+ lblBible1.setText("<html><b>" + LimboMsg.RESULTS_BOOKS + "</b> " //$NON-NLS-1$ //$NON-NLS-2$
+ ver.getBible1().getName() + " / " //$NON-NLS-1$
+ ver.getBible2().getName());
- String compare = "<html><b>" + Msg.RESULTS_COMPARING + "</b> "; //$NON-NLS-1$ //$NON-NLS-2$
+ String compare = "<html><b>" + LimboMsg.RESULTS_COMPARING + "</b> "; //$NON-NLS-1$ //$NON-NLS-2$
if (checkRef != null)
{
- compare += Msg.RESULTS_PASSAGE + "=" + checkRef + ' '; //$NON-NLS-1$
+ compare += LimboMsg.RESULTS_PASSAGE + "=" + checkRef + ' '; //$NON-NLS-1$
}
if (checkText != null)
{
- compare += Msg.RESULTS_WORDS + "=" + (checkText.equals("") ? "*" : checkText); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ compare += LimboMsg.RESULTS_WORDS + "=" + (checkText.equals("") ? "*" : checkText); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
lblBible2.setText(compare);
@@ -224,7 +224,7 @@
public void run()
{
// I18N: migrate this to an ActionFactory
- btnStop.setText(Msg.RESULTS_STOP.toString());
+ btnStop.setText(LimboMsg.RESULTS_STOP.toString());
}
});
@@ -263,7 +263,7 @@
public void run()
{
// I18N: migrate this to an ActionFactory
- btnStop.setText(Msg.RESULTS_START.toString());
+ btnStop.setText(LimboMsg.RESULTS_START.toString());
}
});
}
Modified: trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/DebugPane.java
===================================================================
--- trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/DebugPane.java 2006-12-20 21:23:51 UTC (rev 1226)
+++ trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/DebugPane.java 2006-12-20 21:38:39 UTC (rev 1227)
@@ -86,14 +86,14 @@
private void init()
{
lblMethod.setLabelFor(cboMethod);
- lblMethod.setText(Msg.DEBUG_METHOD.toString());
+ lblMethod.setText(LimboMsg.DEBUG_METHOD.toString());
cboMethod.setModel(mdlMethods);
cboMethod.setRenderer(new CustomListCellRenderer());
// I18N: migrate this to an ActionFactory
- btnMethod.setText(Msg.DEBUG_GO.toString());
- btnMethod.setMnemonic(Msg.DEBUG_GO.toString().charAt(0));
+ btnMethod.setText(LimboMsg.DEBUG_GO.toString());
+ btnMethod.setMnemonic(LimboMsg.DEBUG_GO.toString().charAt(0));
btnMethod.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent ev)
@@ -150,7 +150,7 @@
StringBuffer reply = new StringBuffer();
reply.append('\n');
- reply.append(Msg.DEBUG_VIEWS.toString());
+ reply.append(LimboMsg.DEBUG_VIEWS.toString());
int i = 0;
Iterator it = desktop.getViews().iterator();
while (it.hasNext())
@@ -192,7 +192,7 @@
{
Progress job = JobManager.createJob(predictbase, predicturl, Thread.currentThread(), fake);
- job.setSectionName(Msg.DEBUG_STEPS.toString(new Object[] { new Integer(0), new Integer(steps) }));
+ job.setSectionName(LimboMsg.DEBUG_STEPS.toString(new Object[] { new Integer(0), new Integer(steps) }));
log.debug("starting test job:"); //$NON-NLS-1$
for (int i = 1; i <= steps && !Thread.interrupted(); i++)
@@ -207,7 +207,7 @@
}
job.setWork((i * 100) / steps);
- job.setSectionName(Msg.DEBUG_STEPS.toString(new Object[] { new Integer(i), new Integer(steps) }));
+ job.setSectionName(LimboMsg.DEBUG_STEPS.toString(new Object[] { new Integer(i), new Integer(steps) }));
}
job.done();
Added: trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.java
===================================================================
--- trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.java (rev 0)
+++ trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.java 2006-12-20 21:38:39 UTC (rev 1227)
@@ -0,0 +1,76 @@
+/**
+ * Distribution License:
+ * BibleDesktop is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id: Msg.java 1225 2006-12-20 21:18:31Z dmsmith $
+ */
+package org.crosswire.bibledesktop.desktop;
+
+import org.crosswire.common.util.MsgBase;
+
+/**
+ * Compile safe Msg resource settings.
+ *
+ * @see gnu.gpl.License for license details.
+ * The copyright to this program is held by it's authors.
+ * @author Joe Walker [joe at eireneh dot com]
+ */
+public final class LimboMsg extends MsgBase
+{
+ // Strings for ComparePane
+ static final LimboMsg COMPARE_DIALOG = new LimboMsg("ComparePane.Dialog"); //$NON-NLS-1$
+ static final LimboMsg COMPARE_IDENT_QUESTION = new LimboMsg("ComparePane.IdentQuestion"); //$NON-NLS-1$
+ static final LimboMsg COMPARE_IDENT_TITLE = new LimboMsg("ComparePane.IdentTitle"); //$NON-NLS-1$
+ static final LimboMsg COMPARE_WORDS = new LimboMsg("ComparePane.Words"); //$NON-NLS-1$
+ // I18N: migrate this to an ActionFactory
+ static final LimboMsg COMPARE_GO = new LimboMsg("ComparePane.Go"); //$NON-NLS-1$
+ static final LimboMsg COMPARE_USING = new LimboMsg("ComparePane.Using"); //$NON-NLS-1$
+ static final LimboMsg COMPARE_WORDS_TIP = new LimboMsg("ComparePane.WordsTip"); //$NON-NLS-1$
+ static final LimboMsg COMPARE_TITLE = new LimboMsg("ComparePane.Title"); //$NON-NLS-1$
+ static final LimboMsg COMPARE_VERSES = new LimboMsg("ComparePane.Verses"); //$NON-NLS-1$
+
+ // Strings for CompareResultsPane
+ static final LimboMsg RESULTS_TITLE = new LimboMsg("CompareResultsPane.Title"); //$NON-NLS-1$
+ // I18N: migrate this to an ActionFactory
+ static final LimboMsg RESULTS_START = new LimboMsg("CompareResultsPane.Start"); //$NON-NLS-1$
+ // I18N: migrate this to an ActionFactory
+ static final LimboMsg RESULTS_CLOSE = new LimboMsg("CompareResultsPane.Close"); //$NON-NLS-1$
+ static final LimboMsg RESULTS_DIALOG = new LimboMsg("CompareResultsPane.Dialog"); //$NON-NLS-1$
+ static final LimboMsg RESULTS_BOOKS = new LimboMsg("CompareResultsPane.Books"); //$NON-NLS-1$
+ static final LimboMsg RESULTS_COMPARING = new LimboMsg("CompareResultsPane.Comparing"); //$NON-NLS-1$
+ static final LimboMsg RESULTS_PASSAGE = new LimboMsg("CompareResultsPane.Passage"); //$NON-NLS-1$
+ static final LimboMsg RESULTS_WORDS = new LimboMsg("CompareResultsPane.Words"); //$NON-NLS-1$
+ // I18N: migrate this to an ActionFactory
+ static final LimboMsg RESULTS_STOP = new LimboMsg("CompareResultsPane.ResultsStop"); //$NON-NLS-1$
+
+ // Strings for DebugPane
+ static final LimboMsg DEBUG_STEPS = new LimboMsg("DebugPane.Steps"); //$NON-NLS-1$
+ static final LimboMsg DEBUG_VIEWS = new LimboMsg("DebugPane.Views"); //$NON-NLS-1$
+ // I18N: migrate this to an ActionFactory
+ static final LimboMsg DEBUG_GO = new LimboMsg("DebugPane.Go"); //$NON-NLS-1$
+ static final LimboMsg DEBUG_METHOD = new LimboMsg("DebugPane.Method"); //$NON-NLS-1$
+
+ /**
+ * Passthrough ctor
+ */
+ private LimboMsg(String name)
+ {
+ super(name);
+ }
+
+}
Added: trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.properties
===================================================================
--- trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.properties (rev 0)
+++ trunk/jsword-limbo/src/main/java/org/crosswire/bibledesktop/desktop/LimboMsg.properties 2006-12-20 21:38:39 UTC (rev 1227)
@@ -0,0 +1,34 @@
+# The naming convention for the keys in the file is ClassName.MessageName
+# Where ClassName is the name of the class using the property.
+# When the resource is used by more than one class it should be the one
+# that the resource is most closely associated.
+# The MessageName should be mixed case, with a leading capital.
+# It should have no spaces or other punctuation (e.g. _, -, ', ...)
+
+# Properties for ComparePane
+ComparePane.Dialog=Bible Compare
+ComparePane.IdentQuestion=You are attempting to compare 2 Books that are identical.\nDo you want to continue?
+ComparePane.IdentTitle=Compare Identical Books?
+ComparePane.Words=Words:
+ComparePane.Go=Compare
+ComparePane.Using=Compare Using
+ComparePane.WordsTip=[empty] - test no words; * - test all words, text - test all words starting with ''text''
+ComparePane.Title=Books To Compare
+ComparePane.Verses=Verses:
+
+# Properties for CompareResultsPane
+CompareResultsPane.Title=Results
+CompareResultsPane.Start=Start
+CompareResultsPane.Close=Close
+CompareResultsPane.Dialog=Verify Results
+CompareResultsPane.Books=Books:
+CompareResultsPane.Comparing=Comparing:
+CompareResultsPane.Passage=Passage
+CompareResultsPane.Words=Word
+CompareResultsPane.Stop=Stop
+
+# Properties for DebugPane
+DebugPane.Steps=Step {0}/{1}
+DebugPane.Views=Views:
+DebugPane.Go=GO
+DebugPane.Method=Method:
More information about the jsword-svn
mailing list