Commit 79a8d0a1 authored by Romain Bioteau's avatar Romain Bioteau
Browse files

fix transaltions

parent e3ea0ca5
......@@ -5,6 +5,6 @@ resetServerCommand=Red\u00e9marrer le serveur web
buildBarLabel=G\u00e9n\u00e9rer .bar...
serverMenuLabel=Serveur
deployDiagram=Deploy processes of a diagram
deployPage=Deploy web page
deployPage=Deploy application page
build=Build
......@@ -55,7 +55,6 @@ import org.bonitasoft.studio.model.process.AbstractProcess;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import com.google.common.base.Function;
import com.google.common.collect.Maps;
/**
......@@ -223,28 +222,9 @@ public class BarExporter {
protected Map<String, String> getParameters(final Configuration configuration) {
return Maps.newHashMap(
transformValues(uniqueIndex(configuration.getParameters(), toParameterKeys()), toParameterValues()));
transformValues(uniqueIndex(configuration.getParameters(), Parameter::getName), Parameter::getValue));
}
private Function<Parameter, String> toParameterValues() {
return new Function<Parameter, String>() {
@Override
public String apply(Parameter parameter) {
return parameter.getValue();
}
};
}
private Function<Parameter, String> toParameterKeys() {
return new Function<Parameter, String>() {
@Override
public String apply(Parameter parameter) {
return parameter.getName();
}
};
}
protected BARResourcesProvider getBARApplicationResourcesProvider() {
BARResourcesProvider result = null;
......
......@@ -17,6 +17,6 @@ importResultTitle=Import status
importSucessfulMessage=Import successfully completed.
seeDetails=See details
skipValidation=Skip validation >>
importStatusMsg=Problems has been detected in imported content.
importStatusMsg=Problems have been detected in imported content.
copyToClipboard=Copy to clipboard
invalidFilePath=Invalid file path
\ No newline at end of file
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