--- a/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java Wed Jun 24 08:09:39 2009 -0500
+++ b/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java Wed Jun 24 08:59:46 2009 -0500
@@ -49,6 +49,7 @@
protected static final String LOWER_SUFFIX = "$lower"; //$NON-NLS-1$
protected static final String TITLE_SUFFIX = "$title"; //$NON-NLS-1$
protected static final String TITLELOWER_SUFFIX = "$titlelower"; //$NON-NLS-1$
+ protected static final String C_ESCAPED_SUFFIX = "$c_escaped"; //$NON-NLS-1$
protected static final String SOURCE_PATH_ATTRIBUTE = "sourcePath"; //$NON-NLS-1$
protected static final String TARGET_PATH_ATTRIBUTE = "targetPath"; //$NON-NLS-1$
protected static final String SUBSTITUTE_ATTRIBUTE = "substitute"; //$NON-NLS-1$
@@ -110,6 +111,11 @@
public String convert(String value) {
return TextUtils.titleCase(value.toLowerCase());
}
+ }),
+ new SuffixOperator(C_ESCAPED_SUFFIX, new IConvert() {
+ public String convert(String value) {
+ return TextUtils.escape(value, '\"');
+ }
})
};
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-PlatsecApp/data/baseName.rls Wed Jun 24 08:09:39 2009 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-PlatsecApp/data/baseName.rls Wed Jun 24 08:59:46 2009 -0500
@@ -34,6 +34,6 @@
#define qtn_about_dialog_title "About"
-#define qtn_about_dialog_text "$(baseName) Version 1.0.0\n\nAuthor: $(author)\n\nSupport: $(supportEmail)\n\n(c) $(copyright)"
+#define qtn_about_dialog_text "$(baseName) Version 1.0.0\n\nAuthor: $(author)\n\nSupport: $(supportEmail)\n\n(c) $(copyright$c_escaped)"
// End of File
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-TouchUIApplication/data/baseName.rls Wed Jun 24 08:09:39 2009 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-TouchUIApplication/data/baseName.rls Wed Jun 24 08:59:46 2009 -0500
@@ -34,6 +34,6 @@
#define qtn_about_dialog_title "About"
-#define qtn_about_dialog_text "$(baseName) Version 1.0.0\n\nAuthor: $(author)\n\nSupport: $(supportEmail)\n\n(c) $(copyright)"
+#define qtn_about_dialog_text "$(baseName) Version 1.0.0\n\nAuthor: $(author)\n\nSupport: $(supportEmail)\n\n(c) $(copyright$c_escaped)"
// End of File