[jsword-svn] r1656 - trunk/common/src/main/java/org/crosswire/common/util
dmsmith at www.crosswire.org
dmsmith at www.crosswire.org
Tue Aug 7 11:08:28 MST 2007
Author: dmsmith
Date: 2007-08-07 11:08:28 -0700 (Tue, 07 Aug 2007)
New Revision: 1656
Modified:
trunk/common/src/main/java/org/crosswire/common/util/Msg.java
trunk/common/src/main/java/org/crosswire/common/util/Msg.properties
Log:
Internet warning.
Modified: trunk/common/src/main/java/org/crosswire/common/util/Msg.java
===================================================================
--- trunk/common/src/main/java/org/crosswire/common/util/Msg.java 2007-08-07 16:01:51 UTC (rev 1655)
+++ trunk/common/src/main/java/org/crosswire/common/util/Msg.java 2007-08-07 18:08:28 UTC (rev 1656)
@@ -45,6 +45,9 @@
static final Msg NOT_ASSIGNABLE = new Msg("ResourceUtil.NotAssignable"); //$NON-NLS-1$
static final Msg MISSING_FILE = new Msg("WebResource.MissingFile"); //$NON-NLS-1$
static final Msg UNEXPECTED_ERROR = new Msg("Reporter.Unexpected"); //$NON-NLS-1$
+ static final Msg INTERNET_WARNING = new Msg("Internet.Warning"); //$NON-NLS-1$
+ static final Msg INTERNET_SHOW_WARNING = new Msg("Internet.ShowWarning"); //$NON-NLS-1$
+ static final Msg INTERNET_SWITCH = new Msg("Internet.Switch"); //$NON-NLS-1$
/**
* Passthrough ctor
Modified: trunk/common/src/main/java/org/crosswire/common/util/Msg.properties
===================================================================
--- trunk/common/src/main/java/org/crosswire/common/util/Msg.properties 2007-08-07 16:01:51 UTC (rev 1655)
+++ trunk/common/src/main/java/org/crosswire/common/util/Msg.properties 2007-08-07 18:08:28 UTC (rev 1656)
@@ -18,4 +18,11 @@
ResourceUtil.NoResource=Can''t find resource: {0}
ResourceUtil.NotAssignable=Class {0} does not implement {1}
WebResource.MissingFile=Unable to find: {0}
-Reporter.Unexpected=Unexpected internal problem. You may need to restart.
\ No newline at end of file
+Reporter.Unexpected=Unexpected internal problem. You may need to restart.
+
+# Peter, the following will go in a dialog box, with OK and Cancel.
+# and there will be a checkbox in front of the Internet.Show
+Internet.Warning=You are about to access the Internet. Are you sure you want to do this?
+Internet.ShowWarning=Show this warning every time the Internet is accessed.
+# This will be on the config screens. I'll move it to the right location later.
+Internet.Switch=Internet Warning
More information about the jsword-svn
mailing list