Bug 461484 - [ViewModel] Internationalize strings used by renderers
https://bugs.eclipse.org/bugs/show_bug.cgi?id=461484
property files don't need to have the % anymore

Change-Id: I1923a9b01f908caec26ab00e174dc484d662b456
Signed-off-by: eneufeld <neufeld.eugen@googlemail.com>
diff --git a/bundles/org.eclipse.emfforms.view.model.localization/src/org/eclipse/emfforms/internal/view/model/localization/LocalizationViewModelService.java b/bundles/org.eclipse.emfforms.view.model.localization/src/org/eclipse/emfforms/internal/view/model/localization/LocalizationViewModelService.java
index c147f8e..a87d7ad 100644
--- a/bundles/org.eclipse.emfforms.view.model.localization/src/org/eclipse/emfforms/internal/view/model/localization/LocalizationViewModelService.java
+++ b/bundles/org.eclipse.emfforms.view.model.localization/src/org/eclipse/emfforms/internal/view/model/localization/LocalizationViewModelService.java
@@ -92,7 +92,7 @@
 		if (vElement.getName() == null) {
 			vElement.setLabel(""); //$NON-NLS-1$
 		} else if (vElement.getName().startsWith("%") && localizationAdapter != null) { //$NON-NLS-1$
-			vElement.setLabel(localizationAdapter.localize(vElement.getName()));
+			vElement.setLabel(localizationAdapter.localize(vElement.getName().substring(1)));
 		} else {
 			vElement.setLabel(vElement.getName());
 		}