Commit dbde43c1 authored by Romain Bioteau's avatar Romain Bioteau

i18n

parent 361ac3c5
......@@ -22,4 +22,5 @@ nameHelp=The name of the script corresponds to the generated Groovy class which
warningAssigningAVariableWithSameNameAsProcessVariable={0} is a process variable and should not be used in a declaration statement.
maxScriptLengthTitle=Max script length
maxScriptLength=The max length for a groovy script in Bonita Studio is 64 kilobytes.\nYou reached this limit, additional characters won't be saved.\nWe suggest you to split your business logic in several scripts.
onlyReadOnly=\u26A0 Bonita API should only be used for <a>read only calls</a> in groovy scripts.
\ No newline at end of file
onlyReadOnly=\u26A0 Bonita API should only be used for <a>read only calls</a> in groovy scripts.
createNewGroovyClass=Create a new Groovy class
\ No newline at end of file
......@@ -70,6 +70,8 @@ public final class Messages extends NLS {
public static String onlyReadOnly;
public static String createNewGroovyClass;
private Messages() {
// Do not instantiate
}
......
......@@ -16,6 +16,7 @@ package org.bonitasoft.studio.groovy.ui.wizard;
import org.bonitasoft.studio.common.repository.RepositoryManager;
import org.bonitasoft.studio.groovy.repository.GroovyRepositoryStore;
import org.bonitasoft.studio.groovy.ui.Messages;
import org.codehaus.groovy.eclipse.ui.decorators.GroovyPluginImages;
import org.codehaus.groovy.eclipse.wizards.NewClassWizardPage;
import org.eclipse.core.resources.IFile;
......@@ -37,7 +38,7 @@ public class NewGroovyClassWizard extends NewElementWizard {
public NewGroovyClassWizard() {
super();
setWindowTitle("Create a new Groovy class.");
setWindowTitle(Messages.createNewGroovyClass);
setDialogSettings(JavaPlugin.getDefault().getDialogSettings());
setDefaultPageImageDescriptor(GroovyPluginImages.DESC_NEW_GROOVY_ELEMENT);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment