Externalize strings
authorEd Swartz <ed.swartz@nokia.com>
Fri, 18 Dec 2009 13:58:04 -0600
changeset 717 f48f8fbed3bb
parent 716 4efdeab57e96
child 718 72c9852d35bb
Externalize strings
core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/messages.properties
core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/messages.properties	Fri Dec 18 13:51:01 2009 -0600
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/messages.properties	Fri Dec 18 13:58:04 2009 -0600
@@ -1,6 +1,12 @@
 SymbianBuildContext.not.installed=(not installed)
 BSFCatalog.BSFLoadError=Error loading/parsing BSF file: {0}
 BSFCatalog.MissingCustomizedPlatform=BSF platform ''{0}'' customizes platform ''{1}'' which cannot be located or parsed.
+CheckS60CustKitSupport.undefSBSV2Code=\
+// When building with Raptor, "gnumakefile" builds are no longer recommended.\n\
+// But the extension Makefiles referenced here are only available in OS 9.5+.\n\
+// Uncomment this to always perform Raptor builds using PRJ_EXTENSIONS.\n\
+\#undef SBSV2\n\
+\n
 
 SBSv2Utils.CannotFindSBSScriptError=Cannot find {0} on the PATH or under $SBS_HOME/bin.  Please verify your SBSv2 installation.
 SBSv2Utils.DefineSBS_HOMEMessage=Please define the SBS_HOME environment (e.g. /path/to/raptor) and add $SBS_HOME/bin to your PATH before running Carbide.
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java	Fri Dec 18 13:51:01 2009 -0600
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java	Fri Dec 18 13:58:04 2009 -0600
@@ -21,6 +21,7 @@
 import org.eclipse.core.runtime.Plugin;
 import org.osgi.framework.Version;
 
+import com.nokia.carbide.cpp.internal.api.sdk.Messages;
 import com.nokia.carbide.cpp.internal.api.sdk.SBSv2Utils;
 import com.nokia.carbide.cpp.sdk.core.ISymbianBuildContext;
 import com.nokia.carbide.cpp.sdk.core.ISymbianSDK;
@@ -52,13 +53,7 @@
 	private static final String S60_INC_MACROS_SF = "#include <platform_paths.hrh>\n#include <data_caging_paths.hrh>\nAPP_LAYER_SYSTEMINCLUDE";
 
 	private static final String UNDEF_SBSV2 = "undefSBSV2";
-	private static final String UNDEF_SBSV2_CODE = 
-		"// When building with Raptor, \"gnumakefile\" builds are no longer recommended.\n"+
-		"// But the extension Makefiles referenced here are only available in OS 9.5+.\n"+
-		"// Uncomment this to always perform Raptor builds using PRJ_EXTENSIONS.\n"+
-		"#undef SBSV2\n"+
-		"\n";
-
+	private static final String UNDEF_SBSV2_CODE = Messages.getString("CheckS60CustKitSupport.undefSBSV2Code"); //$NON-NLS-1$
 
 	private static final String BUILD_HELP_PREFIX = "buildHelpPrefix";
 	private static final String BUILD_HELP_SIS_PREFIX = "buildHelpSISPrefix";