JBoss Tools SVN: r14485 - trunk/struts/docs/struts_tools_tutorial/en/images/struts_application.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-04-03 05:26:34 -0400 (Fri, 03 Apr 2009)
New Revision: 14485
Modified:
trunk/struts/docs/struts_tools_tutorial/en/images/struts_application/struts_application_4.png
trunk/struts/docs/struts_tools_tutorial/en/images/struts_application/struts_application_5.png
Log:
https://jira.jboss.org/jira/browse/JBDS-671 - updating the images;
Modified: trunk/struts/docs/struts_tools_tutorial/en/images/struts_application/struts_application_4.png
===================================================================
(Binary files differ)
Modified: trunk/struts/docs/struts_tools_tutorial/en/images/struts_application/struts_application_5.png
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r14484 - in trunk: common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-03 03:53:59 -0400 (Fri, 03 Apr 2009)
New Revision: 14484
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreMessages.properties
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties
trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/src/org/jboss/ide/eclipse/freemarker/messages.properties
trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/messages/B2J.properties
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties
Log:
JBIDE-3557 Making sure single quotes are escaped where NLS.bind/MessageFormat is used.
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreMessages.properties
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreMessages.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ArchivesCoreMessages.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -18,7 +18,7 @@
BuildingArchive=Building archive {0}
CreatingFolders=Creating folders
BuildingFilesets=Building filesets
-CannotBuildBadConfiguration=Cannot build archive "{0}" due to a problem in the archive's configuration.
+CannotBuildBadConfiguration=Cannot build archive "{0}" due to a problem in the archive''s configuration.
CannotBuildOutputLocationNotWriteable=Cannot build archive "{0}. Output location {1} is not writeable.
ErrorCreatingOutputFile=Error creating output file {0} for node {1}
ProjectArchivesIncrementalBuild=Project Archives Incremental Build
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -1,10 +1,7 @@
ERR_GET_MESSAGE=Failure in building message.\nid \= {0}\:{1}\nMessage \: {2}.
# START NON-TRANSLATABLE
-# There appear to be no references to these strings, and besides,
-# single quotes should generally be doubled when using MessageFormat/NLS.bind,
-# so they appear to be broken strings anyway. If they are in fact used,
-# please add a note as to whether the quotes should be doubled when translated.
-ERR_TEMPLATE_NOT_FOUND=Template '{0}' has not been found in resource '{1}'.
-ERR_RESOURCE_NOT_FOUND=Resource '{0}{1}' has not been found.
+# There appear to be no references to these strings.
+ERR_TEMPLATE_NOT_FOUND=Template ''{0}'' has not been found in resource ''{1}''.
+ERR_RESOURCE_NOT_FOUND=Resource ''{0}{1}'' has not been found.
# END NON-TRANSLATABLE
Modified: trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/src/org/jboss/ide/eclipse/freemarker/messages.properties
===================================================================
--- trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/src/org/jboss/ide/eclipse/freemarker/messages.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/src/org/jboss/ide/eclipse/freemarker/messages.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -1,4 +1,4 @@
-ConfigurationManager_CHOOSE_NAMESPACE_FOR=Please choose the namespace for '{0}'
+ConfigurationManager_CHOOSE_NAMESPACE_FOR=Please choose the namespace for ''{0}''
ConfigurationManager_TITLE_CHOOSE_NAMESPACE=Choose Macro Library Namespace
ContextValueDialog_BUTTON_BROWSE=Browse
ContextValueDialog_ERROR=Error
Modified: trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/messages/B2J.properties
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/messages/B2J.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/messages/B2J.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -19,4 +19,4 @@
Bpmn_Translate_Message_WizardPage_Title=Conversion Warnings and Errors
Bpmn_Translate_Message_WizardpageViewer_Title=Warnings and Errors
Bpmn_Translate_Message_WizardPage_Message=Warnings and Errors that occurred during conversion
-Translate_Error_File_CanNotRead=Error\: Couldn't read or parse {0} file to a DOM document\:
\ No newline at end of file
+Translate_Error_File_CanNotRead=Error\: Couldn''t read or parse {0} file to a DOM document\:
\ No newline at end of file
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -2,7 +2,7 @@
WARNING = Warning
YES = Yes
NO = No
-THE_VIEW_WITH_PATH_IS_ALREADY_CREATED = The View with frow-view-id '{0}' is already created.\n
+THE_VIEW_WITH_PATH_IS_ALREADY_CREATED = The View with frow-view-id ''{0}'' is already created.\n
YOU_WANT_TO_ADD_ADDITIONAL_NAVIGATION_RULE_WITH_SAME_FROM_VIEW_ID = Are you sure you want to add an additional navigation rule with the same from-view-id?
YOU_WANT_TO_CREATE_AN_ADDITIONAL_VIEW_WITH_THE_SAME_FROM_VIEW_ID = Are you sure you want to create an additional view with the same from-view-id?
YOU_WANT_TO_CREATE_A_NAVIGATION_RULE_FOR_THIS_FROM_VIEW_ID = Are you sure you want to create a navigation rule for this from-view-id?
@@ -18,7 +18,7 @@
DELETE_FILE_FROM_DISK = Delete file from disk
PASTE = Paste
SELECT_BEAN = Select Bean
-CLASS_IS_REFERENCED_BY_SEVERAL_BEANS = Class {0}is referenced by several beans.\n Please select one of them.
+CLASS_IS_REFERENCED_BY_SEVERAL_BEANS = Class {0} is referenced by several beans.\n Please select one of them.
ADD_GETTER_FOR_PROPERTY = Do you want to add getter for property
ADD_SETTER_FOR_PROPERTY = Do you want to add setter for property
ADD_GETTER_SETTER_FOR_PROPERTY = Do you want to add getter/setter for property
@@ -55,7 +55,7 @@
PROJECT_ALREADY_HAS_SOME_OF_LIBRARIES_INCLUDED_2 = The project already has some of libraries included into the capability ({0} and {1} more). Existing files will be overwritten and any new files will be added.
PROJECT_HAS_COFLICTING_LIBRARIES = The project has conflicting library {0}. Do you want to replace it with selected libraries?
OVERWRITE = Overwrite
-CONFIGURATION_FILE_ISNOT_FOUND_IN_PROJECT = Configuration file '{0}' is not found in project {0}.
+CONFIGURATION_FILE_ISNOT_FOUND_IN_PROJECT = Configuration file ''{0}'' is not found in project {0}.
FILE_EXISTS = File {0} exists.
CREATE_NEW_JSF_PROJECT = Create New JSF Project
IMPORT_JSF_PROJECT = Import JSF Project
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -25,7 +25,7 @@
CANNOT_LOAD_WEBDESCRIPTOR=Cannot load web descriptor file {0}.
WEBDESCRIPTOR_FILE_IS_CORRUPTED=Web descriptor file is corrupted {0}.
SERVLET_VERSION_WARNING=Servlet version is not consistent with web.xml version.
-SERVLET_VERSION_ISNOT_CONSISTENT_WITH_WEBXML_VERSION=You have selected a different servlet version than in project's web.xml file. Click Yes if you would like to convert the current web.xml file to servlet version {0}. Please note that during conversion you might lose some web.xml information that is not available in the new version as well as formatting or comments.
+SERVLET_VERSION_ISNOT_CONSISTENT_WITH_WEBXML_VERSION=You have selected a different servlet version than in project''s web.xml file. Click Yes if you would like to convert the current web.xml file to servlet version {0}. Please note that during conversion you might lose some web.xml information that is not available in the new version as well as formatting or comments.
SAVE_OLD_SERVLET=Do you want to save a copy of your current web.xml file? It will be saved as web.xml.{0}.old
J2EE_ROOT_DIRECTORY_ISNOT_FOUND=J2ee root directory is not found.
DOMAINS_DIRECTORY_ISNOT_FOUND=Domains directory is not found.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -10,7 +10,7 @@
and probably was an Eclipse project. \
This wizard will overwrite the file. \
If you wish to reuse it, try to \
- import project using option 'Import Existing Project into Workspace'. \
+ import project using option ''Import Existing Project into Workspace''. \
After that, you may add JBoss Tools Capabilities if needed.
# org.jboss.tools.jst.web.ui.operation.WebProjectAdoptOperation.checkClearWorkspace()
ADOPT_WILL_CLEAR_WORKSPACE_MESSAGE=The folder {0} exists in workspace. Its content will be removed to avoid merge with the imported project.
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/messages.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -3,7 +3,7 @@
ATTRIBUTE_VIEW_ID_IS_NOT_CORRECT=Attribute 'view id' is not correct
TEMPLATE_IS_NOT_SPECIFIED = Template is not specified
TEMPLATE_DOES_NOT_EXIST = Template does not exist.
-THE_VIEW_WITH_PATH_IS_ALREADY_CREATED = The View with 'view id' '{0}' is already created.\n
+THE_VIEW_WITH_PATH_IS_ALREADY_CREATED = The View with ''view id'' ''{0}'' is already created.\n
TEMPLATE_IS_NOT_FOUND = Template {0} is not found.
PAGES_CONFIG_CHANGES = Pages Config Changes
UPDATE_REFERENCE_TO_PAGE = Update reference to page
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties 2009-04-03 07:52:33 UTC (rev 14483)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties 2009-04-03 07:53:59 UTC (rev 14484)
@@ -1,6 +1,6 @@
CAN_BE_EXPRESSED=only can be expressed as a number followed by a 'K', 'M', or 'G', which are interpreted to mean kilobytes, megabytes, or gigabytes, respectively.
-MAY_NOT_START_WITH_CHARACTER=may not start with character '{0}'
-MAY_NOT_CONTAIN_CHARACTER=may not contain character '{0}'
+MAY_NOT_START_WITH_CHARACTER=may not start with character ''{0}''
+MAY_NOT_CONTAIN_CHARACTER=may not contain character ''{0}''
MODULE_CANNOT_BE_REGISTERED_ISNOT_FOUND=Module cannot be registered because web.xml is not found.
MODULE_CANNOT_BE_REGISTERED_IS_READONLY=Module cannot be registered because web.xml is read only.
MODULE_CANNOT_BE_REGISTERED_IS_INCORRECT=Module cannot be registered because web.xml is incorrect.
@@ -32,11 +32,11 @@
CANNOT_FIND_RESOURCE=Cannot find resource
CANNOT_FIND_PROPERTY=Cannot find property {0}.
MODULE_NAME=Module name must start with '/'
-FILE_SYSTEM_IS_USED_AS_ROOT_FOR_STRUTS_MODULE=File system is used as root for struts module '{0}'. Unmark file system as module root?"
+FILE_SYSTEM_IS_USED_AS_ROOT_FOR_STRUTS_MODULE=File system is used as root for struts module ''{0}''. Unmark file system as module root?"
FILE_SYSTEM_IS_USED_AS_ROOT_FOR_WEB_APPLICATION=File system is used as root for web application. Unmark file system as web root?
YES=Yes
NO=No
-SOURCE_FOLDER_FOR_MODULE_ISNOT_FOUND=Source folder for module "{0}" is not found. Please set it through 'Modules Configuration' dialog.
+SOURCE_FOLDER_FOR_MODULE_ISNOT_FOUND=Source folder for module "{0}" is not found. Please set it through ''Modules Configuration'' dialog.
ERROR=Error
GENERATE_JAVABEAN_PROPERTIES=Generate JavaBean properties
GENERATE_CONSTANTS_FOR_LOCAL_FORWARDS=Generate constants for local forwards
15 years, 9 months
JBoss Tools SVN: r14483 - trunk/common/plugins/org.jboss.tools.common.model/resources/help.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-03 03:52:33 -0400 (Fri, 03 Apr 2009)
New Revision: 14483
Modified:
trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-model.properties
Log:
JBIDE-3557 marking empty strings as NON-TRANSLATABLE
Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-model.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-model.properties 2009-04-03 04:43:11 UTC (rev 14482)
+++ trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-model.properties 2009-04-03 07:52:33 UTC (rev 14483)
@@ -419,8 +419,8 @@
# START NON-TRANSLATABLE
SharableXStudioIcons_Properties=/model/PaletteEditor.html
+SharableXStudioIcons_Properties.Title=
# END NON-TRANSLATABLE
-SharableXStudioIcons_Properties.Title=
# START NON-TRANSLATABLE
SharablePalette=/model/PaletteEditor.html
@@ -434,8 +434,8 @@
# START NON-TRANSLATABLE
SharablePalette_Properties=/model/PaletteEditor.html
+SharablePalette_Properties.Title=
# END NON-TRANSLATABLE
-SharablePalette_Properties.Title=
# START NON-TRANSLATABLE
SharablePalette_HiddenTabs=/model/PaletteEditor.html
@@ -482,8 +482,8 @@
# START NON-TRANSLATABLE
SharableGroupHTML_Properties=/model/PaletteEditor.html
+SharableGroupHTML_Properties.Title=
# END NON-TRANSLATABLE
-SharableGroupHTML_Properties.Title=
# START NON-TRANSLATABLE
SharableGroupHTML_Edit=/model/PaletteEditor.html
@@ -538,8 +538,8 @@
# START NON-TRANSLATABLE
SharablePageTab_Properties=/model/PaletteEditor.html
+SharablePageTab_Properties.Title=
# END NON-TRANSLATABLE
-SharablePageTab_Properties.Title=
# START NON-TRANSLATABLE
SharablePageTabHTML=/model/PaletteEditor.html
@@ -553,9 +553,9 @@
# START NON-TRANSLATABLE
SharablePageTabHTML_CreateMacro=/model/PaletteEditor.html
+SharablePageTabHTML_CreateMacro.Title=
# END NON-TRANSLATABLE
SharablePageTabHTML_CreateMacro.WindowTitle=Add Palette Macro
-SharablePageTabHTML_CreateMacro.Title=
# START NON-TRANSLATABLE
SharablePageTabHTML_CreateMacro_0=/model/PaletteEditor.html
@@ -563,8 +563,8 @@
# START NON-TRANSLATABLE
SharablePageTabHTML_Properties=/model/PaletteEditor.html
+SharablePageTabHTML_Properties.Title=
# END NON-TRANSLATABLE
-SharablePageTabHTML_Properties.Title=
SharablePageTabHTML_Edit.WindowTitle=Edit
SharablePageTabHTML_Edit.Title=Palette Top-Level Group
15 years, 9 months
JBoss Tools SVN: r14482 - in trunk: common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/util and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-03 00:43:11 -0400 (Fri, 03 Apr 2009)
New Revision: 14482
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/util/JavaUIMessages.properties
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/wizards/messages.properties
Log:
JBIDE-3557 resourcebundle comments, including marking NON-TRANSLATABLE strings
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties 2009-04-03 04:41:49 UTC (rev 14481)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/XBundle.properties 2009-04-03 04:43:11 UTC (rev 14482)
@@ -1,3 +1,10 @@
ERR_GET_MESSAGE=Failure in building message.\nid \= {0}\:{1}\nMessage \: {2}.
+
+# START NON-TRANSLATABLE
+# There appear to be no references to these strings, and besides,
+# single quotes should generally be doubled when using MessageFormat/NLS.bind,
+# so they appear to be broken strings anyway. If they are in fact used,
+# please add a note as to whether the quotes should be doubled when translated.
ERR_TEMPLATE_NOT_FOUND=Template '{0}' has not been found in resource '{1}'.
ERR_RESOURCE_NOT_FOUND=Resource '{0}{1}' has not been found.
+# END NON-TRANSLATABLE
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/util/JavaUIMessages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/util/JavaUIMessages.properties 2009-04-03 04:41:49 UTC (rev 14481)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/util/JavaUIMessages.properties 2009-04-03 04:43:11 UTC (rev 14482)
@@ -73,10 +73,12 @@
JavaElementLabels.default_package=(default package)
JavaElementLabels.import_container=import declarations
+# START NON-TRANSLATABLE
JavaElementLabels.initializer=\{...\}
JavaElementLabels.concat_string=\ -\
JavaElementLabels.comma_string=,\
JavaElementLabels.declseparator_string=\ :\
+# END NON-TRANSLATABLE
StatusBarUpdater.num_elements_selected={0} items selected
@@ -91,7 +93,9 @@
OpenTypeHierarchyUtil.selectionDialog.message=&Select the type to be shown in the Type Hierarchy:
TypeInfoLabelProvider.default_package=(default package)
+# START NON-TRANSLATABLE
TypeInfoLabelProvider.dash=\ -
+# END NON-TRANSLATABLE
JavaUIHelp.link.label=Javadoc for {0}
@@ -108,8 +112,10 @@
JavaAnnotationHover.multipleMarkersAtThisLine=Multiple markers at this line
+# START NON-TRANSLATABLE
HTMLTextPresenter.ellipsis=
HTML2TextReader.dash=-
+# END NON-TRANSLATABLE
JavaEditor.codeassist.noCompletions=No completions available.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03 04:41:49 UTC (rev 14481)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03 04:43:11 UTC (rev 14482)
@@ -1,16 +1,25 @@
# apparently not used
ERR_SERVER_IS_NOT_CONFIGURED=Selected server is not configured
+
+
ERR_APP_NAME_IS_NOT_SPECIFIED=Application Name is not specified.
+
# apparently not used
ERR_LOCATION_IS_NOT_SPECIFIED={0} location is not specified. Set correct path to {1} Root Dir in preferences.
+
+# START NON-TRANSLATABLE
# apparently not used
ERR_SPECIFIED_FILE_DOES_NOT_EXIST=Specified " + where + " file does not exist.
+# END NON-TRANSLATABLE
+
# apparently not used
ERR_FILE_IS_CORRUPTED={0} is corrupted {1}.
# apparently not used
ERR_TARGET_SERVER=Set correct target server.
+
+
ERR_SERVLET_VERSION_IS_NOT_SET=Servlet version is not specified.
ERR_SERVLET_VERSION_IS_NOT_VALID=Servlet version is not valid.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties 2009-04-03 04:41:49 UTC (rev 14481)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.properties 2009-04-03 04:43:11 UTC (rev 14482)
@@ -1,3 +1,5 @@
+# next 5 messages used in
+# org.jboss.tools.jst.web.ui.operation.WebProjectCreationOperation.checkOverwrite()
COD_MESSAGE=Selected location ''{0}'' is not empty.\n\
Wizard will rewrite all files that exist in template,\n\
but will not remove other files. Do you want to proceed?
@@ -10,4 +12,5 @@
If you wish to reuse it, try to \
import project using option 'Import Existing Project into Workspace'. \
After that, you may add JBoss Tools Capabilities if needed.
-ADOPT_WILL_CLEAR_WORKSPACE_MESSAGE=The folder {0} exists in workspace. Its content will be removed to avoid merge with the imported project.
\ No newline at end of file
+# org.jboss.tools.jst.web.ui.operation.WebProjectAdoptOperation.checkClearWorkspace()
+ADOPT_WILL_CLEAR_WORKSPACE_MESSAGE=The folder {0} exists in workspace. Its content will be removed to avoid merge with the imported project.
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/messages.properties 2009-04-03 04:41:49 UTC (rev 14481)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/messages.properties 2009-04-03 04:43:11 UTC (rev 14482)
@@ -6,7 +6,9 @@
SmooksResourceChangeListener.ConverFileMsg1=File
SmooksResourceChangeListener.ConverFileMsg2=\ already exists. Overwrite the file?
SmooksResourceChangeListener.CoverFile=Cover
+# START NON-TRANSLATABLE
SmooksResourceChangeListener.SmooksFileExtensionName=smooks
SmooksResourceChangeListener.SmooksGraphFileExtensionName=.graph
+# END NON-TRANSLATABLE
SmooksTextEdtor.NotifyTitleMessage=Incorrect or currently unsupported file content. The graphical display can not be rendered.
SmooksTextEdtor.UnKnownErrorMessage=Unknown error
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/wizards/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/wizards/messages.properties 2009-04-03 04:41:49 UTC (rev 14481)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/wizards/messages.properties 2009-04-03 04:43:11 UTC (rev 14482)
@@ -5,6 +5,7 @@
SmooksConfigFileNewWizard.NewConfigFileWizardTitle=New Smooks Configuration File
SmooksConfigFileNewWizard.SourceDataTypeSelectionTitle=Source Data Selection
SmooksConfigFileNewWizard.TargetDataTypeSelectionTitle=Target Data Selection
+# translators: please ensure the filename still ends in ".smooks"
SmooksConfigFileNewWizardPage.NewConfigFileWizardPageDefaultFileName=newConfig.smooks
SmooksConfigFileNewWizardPage.NewConfigFileWizardPageDescription=Create a new Smooks configuration file
SmooksConfigFileNewWizardPage.NewConfigFileWizardPageErrorMessage1=File extension must be "smooks"
15 years, 9 months
JBoss Tools SVN: r14481 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-03 00:41:49 -0400 (Fri, 03 Apr 2009)
New Revision: 14481
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectAdoptOperation.java
Log:
JBIDE-3557 non-nls comments
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectAdoptOperation.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectAdoptOperation.java 2009-04-03 03:39:04 UTC (rev 14480)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectAdoptOperation.java 2009-04-03 04:41:49 UTC (rev 14481)
@@ -84,7 +84,7 @@
execute();
String sv = context.getServletVersion();
if(sv == null || sv.length() == 0) sv = getDefaultServletVersion();
- model.changeObjectAttribute(model.getByPath("Web"), "servlet version", sv);
+ model.changeObjectAttribute(model.getByPath("Web"), "servlet version", sv); //$NON-NLS-1$ //$NON-NLS-2$
} catch (XModelException ex) {
WebUiPlugin.getPluginLog().logError(ex);
}
@@ -104,18 +104,18 @@
void setWorkspaceHome(String path) {
String relativePath = FileUtil.getRelativePath(getProject().getLocation().toString(), path);
- if (relativePath != null) path = "." + relativePath;
- Element element = XMLUtil.createDocumentElement("struts");
- element = XMLUtil.createElement(element, "workspace_home");
+ if (relativePath != null) path = "." + relativePath; //$NON-NLS-1$
+ Element element = XMLUtil.createDocumentElement("struts"); //$NON-NLS-1$
+ element = XMLUtil.createElement(element, "workspace_home"); //$NON-NLS-1$
element.appendChild(element.getOwnerDocument().createTextNode(path));
- OutputFormat format = new OutputFormat("xml", "UTF-8", true);
- format.setLineSeparator("\n");
+ OutputFormat format = new OutputFormat("xml", "UTF-8", true); //$NON-NLS-1$ //$NON-NLS-2$
+ format.setLineSeparator("\n"); //$NON-NLS-1$
format.setIndent(2);
FileWriter fileWriter = null;
try {
- fileWriter = new FileWriter(getProject().getLocation().toString() + "/" + IModelNature.PROJECT_TEMP);
+ fileWriter = new FileWriter(getProject().getLocation().toString() + "/" + IModelNature.PROJECT_TEMP); //$NON-NLS-1$
XMLSerializer ser = new XMLSerializer(fileWriter, format);
ser.asDOMSerializer();
ser.serialize(element);
@@ -137,8 +137,8 @@
String projectLocation = getProperty(PROJECT_LOCATION_ID);
if(isLinkingToProjectOutsideWorkspace()) {
String root = ModelPlugin.getWorkspace().getRoot().getLocation().toString().replace('\\', '/');
- if(!projectLocation.replace('\\','/').startsWith(root + "/")) {
- projectLocation = root + "/" + project.getName();
+ if(!projectLocation.replace('\\','/').startsWith(root + "/")) { //$NON-NLS-1$
+ projectLocation = root + "/" + project.getName(); //$NON-NLS-1$
}
}
IPath path = new Path(projectLocation);
@@ -152,7 +152,7 @@
ServiceDialog d = PreferenceModelUtilities.getPreferenceModel().getService();
ResourceBundle bundle = ResourceBundle.getBundle(WebProjectCreationOperation.class.getName());
String message = MessageFormat.format(
- bundle.getString("ADOPT_WILL_OVERWRITE_DOT_FILES_MESSAGE"),new Object[]{dots}
+ bundle.getString("ADOPT_WILL_OVERWRITE_DOT_FILES_MESSAGE"),new Object[]{dots} //$NON-NLS-1$
);
int q = d.showDialog("Warning", message, new String[]{"Continue", "Cancel"}, null, ServiceDialog.WARNING);
if(q != 0) return false;
@@ -167,8 +167,8 @@
String location = getProperty(PROJECT_LOCATION_ID).replace('\\', '/');
String root = ModelPlugin.getWorkspace().getRoot().getLocation().toString().replace('\\', '/');
- String wsProjectLocation = (root + "/" + getProject().getName()).replace('\\', '/');;
- if(location.equals(wsProjectLocation) || location.startsWith(wsProjectLocation + "/")) return true;
+ String wsProjectLocation = (root + "/" + getProject().getName()).replace('\\', '/');; //$NON-NLS-1$
+ if(location.equals(wsProjectLocation) || location.startsWith(wsProjectLocation + "/")) return true; //$NON-NLS-1$
File wsf = new File(wsProjectLocation);
if(!wsf.isDirectory()) return true;
File[] cs = wsf.listFiles();
@@ -177,7 +177,7 @@
ServiceDialog d = PreferenceModelUtilities.getPreferenceModel().getService();
ResourceBundle bundle = ResourceBundle.getBundle(WebProjectCreationOperation.class.getName());
String message = MessageFormat.format(
- bundle.getString("ADOPT_WILL_CLEAR_WORKSPACE_MESSAGE"),new Object[]{getProject().getName()}
+ bundle.getString("ADOPT_WILL_CLEAR_WORKSPACE_MESSAGE"),new Object[]{getProject().getName()} //$NON-NLS-1$
);
int q = d.showDialog("Warning", message, new String[]{"Continue", "Cancel"}, null, ServiceDialog.WARNING);
if(q != 0) return false;
15 years, 9 months
JBoss Tools SVN: r14480 - in trunk: common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/jst/jsp/preferences/xpl and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-02 23:39:04 -0400 (Thu, 02 Apr 2009)
New Revision: 14480
Modified:
trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/TextEditorMessages.properties
trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/jst/jsp/preferences/xpl/messages.properties
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPEditorMessages.properties
trunk/jst/plugins/org.jboss.tools.jst.web.debug/src/org/jboss/tools/jst/web/debug/DebugMessages.properties
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
Log:
JBIDE-3557 Reviewed unreferenced keys returned by "Find broken externalized strings" and added comments.
Modified: trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/TextEditorMessages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/TextEditorMessages.properties 2009-04-03 03:36:40 UTC (rev 14479)
+++ trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/TextEditorMessages.properties 2009-04-03 03:39:04 UTC (rev 14480)
@@ -1,3 +1,5 @@
+# "ContentAssistProposal." messages possibly obsolete. See
+# org.jboss.tools.common.model.ui.texteditors.AbstractMultiPageContributor.createAssistObjects()
ContentAssistProposal.label=Content Assist@Ctrl+SPACE
ContentAssistProposal.tooltip=Content Assist
ContentAssistProposal.image=
@@ -3,10 +5,15 @@
ContentAssistProposal.description=Content Assist
+
+# "ContentAssistTip." messages used with RetargetTextEditorAction
+# in org.jboss.tools.common.model.ui.texteditors.AbstractMultiPageContributor
ContentAssistTip.label=Content Tip@Ctrl+SHIFT+SPACE
ContentAssistTip.tooltip=Content Tip
ContentAssistTip.image=
ContentAssistTip.description=Content Tip
-
+# START NON-TRANSLATABLE
+# possibly obsolete, apparently unused
HTMLTextPresenter.ellipsis=
HTML2TextReader.dash=-
+# END NON-TRANSLATABLE
Modified: trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/jst/jsp/preferences/xpl/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/jst/jsp/preferences/xpl/messages.properties 2009-04-03 03:36:40 UTC (rev 14479)
+++ trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/jst/jsp/preferences/xpl/messages.properties 2009-04-03 03:39:04 UTC (rev 14480)
@@ -18,7 +18,8 @@
OccurrencesPreferencePage.Mark.Text=Mark Text
OccurrencesPreferencePage.Sticky=Sticky
-
+# Prefix "ToggleOccurencesMarkUpAction." used
+# in org.jboss.tools.common.text.xml.xpl.ToggleOccurencesMarkUpAction
ToggleOccurencesMarkUpAction.label=Change Presentation
ToggleOccurencesMarkUpAction.tooltip=Enable/Disable Occurences Mark Up
ToggleOccurencesMarkUpAction.image=mark_occurrences_on.gif
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPEditorMessages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPEditorMessages.properties 2009-04-03 03:36:40 UTC (rev 14479)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPEditorMessages.properties 2009-04-03 03:39:04 UTC (rev 14480)
@@ -1,5 +1,9 @@
+# used in org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor
JSPMultiPageEditor.TabLabel.VisualSource = Visual/Source
+# apparently unused
JSPMultiPageEditor.TabLabel.Visual = Visual
+
JSPMultiPageEditor.TabLabel.Source = Source
JSPMultiPageEditor.TabLabel.Preview = Preview
+# org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor.getShowInMenuLabel()
JSPMultiPageEditor.ContextMenu.ShowInMenu = Show In
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03 03:36:40 UTC (rev 14479)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03 03:39:04 UTC (rev 14480)
@@ -1,8 +1,16 @@
+# apparently not used
ERR_SERVER_IS_NOT_CONFIGURED=Selected server is not configured
+
ERR_APP_NAME_IS_NOT_SPECIFIED=Application Name is not specified.
+
+# apparently not used
ERR_LOCATION_IS_NOT_SPECIFIED={0} location is not specified. Set correct path to {1} Root Dir in preferences.
+# apparently not used
ERR_SPECIFIED_FILE_DOES_NOT_EXIST=Specified " + where + " file does not exist.
+# apparently not used
ERR_FILE_IS_CORRUPTED={0} is corrupted {1}.
+# apparently not used
ERR_TARGET_SERVER=Set correct target server.
+
ERR_SERVLET_VERSION_IS_NOT_SET=Servlet version is not specified.
ERR_SERVLET_VERSION_IS_NOT_VALID=Servlet version is not valid.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.debug/src/org/jboss/tools/jst/web/debug/DebugMessages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.debug/src/org/jboss/tools/jst/web/debug/DebugMessages.properties 2009-04-03 03:36:40 UTC (rev 14479)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.debug/src/org/jboss/tools/jst/web/debug/DebugMessages.properties 2009-04-03 03:39:04 UTC (rev 14480)
@@ -1,5 +1,5 @@
# Breakpoints
-
+# These messages are used in org.jboss.tools.struts.debug.internal.*Breakpoint.
ActionEnterBreakpoint.name = {0} [action: {1}] - Before execution
ActionFormPopulateBreakpoint.name = {0} [action: {1}] - After form filling
ActionFormValidateBreakpoint.name = {0} [action: {1}] - After form validating
15 years, 9 months
JBoss Tools SVN: r14479 - trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-02 23:36:40 -0400 (Thu, 02 Apr 2009)
New Revision: 14479
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.properties
Log:
JBIDE-3557 Fixed missing resourcebundle key by fixing a copy-paste error.
Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.properties 2009-04-03 03:33:55 UTC (rev 14478)
+++ trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.properties 2009-04-03 03:36:40 UTC (rev 14479)
@@ -17,6 +17,7 @@
BrowseToFilterNameDefinition=Browse to ''filter-name'' definition
BrowseToRoleNameDefinition=Browse to ''role-name'' definition
BrowseToServletNameDefinition=Browse to ''servlet-name'' definition
+BrowseToTLDAttributeNameDeclaration=Browse to TLD Attribute Name declaration
Open=Open ''{0}''
OpenA=Open a {0}
OpenAn=Open an {0}
15 years, 9 months
JBoss Tools SVN: r14478 - trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-02 23:33:55 -0400 (Thu, 02 Apr 2009)
New Revision: 14478
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java
Log:
JBIDE-3557 Eliminate false positives from "Find broken externalized strings" by moving static initializer above strings.
Modified: trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java 2009-04-03 03:32:40 UTC (rev 14477)
+++ trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java 2009-04-03 03:33:55 UTC (rev 14478)
@@ -14,6 +14,10 @@
public class Messages extends NLS {
+ static {
+ initializeMessages("org.jboss.ide.eclipse.archives.webtools.Messages", Messages.class); //$NON-NLS-1$
+ }
+
public static String ExceptionCannotScanDirectory;
public static String ExceptionUnexpectedException;
public static String ExceptionCannotDeployFile;
@@ -58,8 +62,4 @@
public static String EjbJarPreview;
public static String EjbJarDescription;
-
- static {
- initializeMessages("org.jboss.ide.eclipse.archives.webtools.Messages", Messages.class); //$NON-NLS-1$
- }
}
15 years, 9 months
JBoss Tools SVN: r14477 - in trunk: jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-02 23:32:40 -0400 (Thu, 02 Apr 2009)
New Revision: 14477
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.java
Log:
JBIDE-3557 non-nls comments
Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.java 2009-04-03 03:31:29 UTC (rev 14476)
+++ trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/xpl/Messages.java 2009-04-03 03:32:40 UTC (rev 14477)
@@ -22,7 +22,7 @@
static {
NLS.initializeMessages(
- "org.jboss.tools.common.text.ext.hyperlink.xpl.Messages",
+ "org.jboss.tools.common.text.ext.hyperlink.xpl.Messages", //$NON-NLS-1$
Messages.class);
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.java 2009-04-03 03:31:29 UTC (rev 14476)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/operation/WebProjectCreationOperation.java 2009-04-03 03:32:40 UTC (rev 14477)
@@ -155,10 +155,10 @@
}
}
- public static final String WARNING_MESSAGE = "COD_MESSAGE";
- public static final String WARNING_TITLE = "COD_TITLE";
- public static final String BTN_CANCEL = "BTN_CANCEL";
- public static final String BTN_OK = "BTN_OK";
+ public static final String WARNING_MESSAGE = "COD_MESSAGE"; //$NON-NLS-1$
+ public static final String WARNING_TITLE = "COD_TITLE"; //$NON-NLS-1$
+ public static final String BTN_CANCEL = "BTN_CANCEL"; //$NON-NLS-1$
+ public static final String BTN_OK = "BTN_OK"; //$NON-NLS-1$
protected boolean checkOverwrite() {
String location = getProperty(PROJECT_LOCATION_ID);
15 years, 9 months
JBoss Tools SVN: r14476 - in trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui: wizards/pages and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-02 23:31:29 -0400 (Thu, 02 Apr 2009)
New Revision: 14476
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/ArchiveInfoWizardPage.java
Log:
JBIDE-3557 Eliminate false positives from "Find broken externalized strings" by referencing NLS.bind() directly.
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-04-03 03:16:32 UTC (rev 14475)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-04-03 03:31:29 UTC (rev 14476)
@@ -27,6 +27,7 @@
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.IWorkbenchActionConstants;
@@ -259,7 +260,7 @@
}
if (folderExists) {
- return ArchivesUIMessages.bind(
+ return NLS.bind(
ArchivesUIMessages.ProjectPackagesView_createFolderDialog_warnFolderExists, newText);
}
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/ArchiveInfoWizardPage.java
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/ArchiveInfoWizardPage.java 2009-04-03 03:16:32 UTC (rev 14475)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/ArchiveInfoWizardPage.java 2009-04-03 03:31:29 UTC (rev 14476)
@@ -18,6 +18,7 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
+import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
@@ -196,7 +197,7 @@
IArchive subPackage = (IArchive) subPackages[i];
if (subPackage.getName().equals(packageNameText.getText())
&& (!subPackage.equals(this.archive))) {
- message = ArchivesUIMessages.bind(
+ message = NLS.bind(
ArchivesUIMessages.PackageInfoWizardPage_error_packageAlreadyExists,
packageNameText.getText());
messageType = IStatus.ERROR;
@@ -221,7 +222,7 @@
if (pkg.getName().equals(packageNameText.getText())
&& (PathUtils.getGlobalLocation(pkg)!= null && PathUtils.getGlobalLocation(pkg).equals(destinationLocation))
&& (!pkg.equals(this.archive))) {
- message = ArchivesUIMessages.bind(
+ message = NLS.bind(
ArchivesUIMessages.PackageInfoWizardPage_error_packageAlreadyExists, packageNameText.getText());
messageType = IStatus.ERROR;
}
15 years, 9 months