Lines 9-14
Link Here
|
9 |
* Contributors: |
9 |
* Contributors: |
10 |
* David Marques (Motorola) - Initial version |
10 |
* David Marques (Motorola) - Initial version |
11 |
* David Marques (Motorola) - Fixing propeties folder path |
11 |
* David Marques (Motorola) - Fixing propeties folder path |
|
|
12 |
* David Marques (Motorola) - Making all keys upper case. |
12 |
*/ |
13 |
*/ |
13 |
package org.eclipse.mtj.internal.core.l10n; |
14 |
package org.eclipse.mtj.internal.core.l10n; |
14 |
|
15 |
|
Lines 211-216
Link Here
|
211 |
private static String writeStringConstantDeclaration(String name, |
212 |
private static String writeStringConstantDeclaration(String name, |
212 |
String value) { |
213 |
String value) { |
213 |
return NLS.bind("\t\tpublic static final String {0} = \"{1}\";\n", |
214 |
return NLS.bind("\t\tpublic static final String {0} = \"{1}\";\n", |
214 |
new String[] { name.replace("-", "_"), value }); |
215 |
new String[] { name.toUpperCase().replace("-", "_"), value }); |
215 |
} |
216 |
} |
216 |
} |
217 |
} |