[jsword-svn] r1377 - trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book
dmsmith at www.crosswire.org
dmsmith at www.crosswire.org
Fri Jun 1 11:47:33 MST 2007
Author: dmsmith
Date: 2007-06-01 11:47:33 -0700 (Fri, 01 Jun 2007)
New Revision: 1377
Added:
trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.java
trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.properties
Log:
split out limbo Msgs.
Added: trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.java
===================================================================
--- trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.java (rev 0)
+++ trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.java 2007-06-01 18:47:33 UTC (rev 1377)
@@ -0,0 +1,58 @@
+/**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License, version 2.1 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 Lesser General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/lgpl.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 763 2005-07-27 23:26:43Z dmsmith $
+ */
+package org.crosswire.jsword.book;
+
+import org.crosswire.common.util.MsgBase;
+
+/**
+ * Compile safe Msg resource settings.
+ *
+ * @see gnu.lgpl.License for license details.
+ * The copyright to this program is held by it's authors.
+ * @author Joe Walker [joe at eireneh dot com]
+ */
+final class LimboMsg extends MsgBase
+{
+ static final LimboMsg OPEN_UNKNOWN = new LimboMsg("Openness.Unknown"); //$NON-NLS-1$
+ static final LimboMsg OPEN_PD = new LimboMsg("Openness.PD"); //$NON-NLS-1$
+ static final LimboMsg OPEN_FREE = new LimboMsg("Openness.Free"); //$NON-NLS-1$
+ static final LimboMsg OPEN_COPYABLE = new LimboMsg("Openness.Copyable"); //$NON-NLS-1$
+ static final LimboMsg OPEN_COMMERCIAL = new LimboMsg("Openness.Commercial"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_GREEK = new LimboMsg("Strongs.Greek"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_HEBREW = new LimboMsg("Strongs.Hebrew"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_PARSING = new LimboMsg("Strongs.Parsing"); //$NON-NLS-1$
+
+ static final LimboMsg STRONGS_ERROR_PARSE = new LimboMsg("Strongs.ErrorParse"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_ERROR_NUMBER = new LimboMsg("Strongs.ErrorNumber"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_ERROR_HEBREW = new LimboMsg("Strongs.ErrorHebrew"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_ERROR_GREEK = new LimboMsg("Strongs.ErrorGreek"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_ERROR_PARSING = new LimboMsg("Strongs.ErrorParsing"); //$NON-NLS-1$
+ static final LimboMsg STRONGS_ERROR_TYPE = new LimboMsg("Strongs.ErrorType"); //$NON-NLS-1$
+
+ /**
+ * Passthrough ctor
+ */
+ private LimboMsg(String name)
+ {
+ super(name);
+ }
+}
Added: trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.properties
===================================================================
--- trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.properties (rev 0)
+++ trunk/jsword-limbo/src/main/java/org/crosswire/jsword/book/LimboMsg.properties 2007-06-01 18:47:33 UTC (rev 1377)
@@ -0,0 +1,23 @@
+# 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. _, -, ', ...)
+
+Openness.Unknown=Unknown
+Openness.PD=Public Domain
+Openness.Free=Free
+Openness.Copyable=Copyable
+Openness.Commercial=Commercial
+
+Strongs.Greek=Greek:
+Strongs.Hebrew=Hebrew:
+Strongs.Parsing=Parsing:
+
+Strongs.ErrorParse=Strongs number must be of the form <n>, <0n> or (n) where n is a number. Given ''{0}''
+Strongs.ErrorNumber=Could not get a number from ''{0}''
+Strongs.ErrorHebrew=Hebrew numbers must be between 0 and {0,number,integer}. Given {1,number,integer}
+Strongs.ErrorGreek=Greek numbers must be between 0 and {0,number,integer}. Given {1,number,integer}
+Strongs.ErrorParsing=Parsing numbers must be greater than 0. Given {0,number,integer}
+Strongs.ErrorType=Strongs numbers must have a type in the range, 0-2. Given {0,number,integer}
More information about the jsword-svn
mailing list