Add '_' language separator management.

This commit is contained in:
Christian P. MOMON 2013-09-17 13:38:02 +02:00
parent eb6d24d913
commit 7c94cda80c

View file

@ -216,7 +216,16 @@ public class TranslatorPresenter implements Presenter
}
else
{
result = getPresenter((String) null);
adaptedSource = FileTools.addBeforeExtension(defaultSource, "_" + language);
if (result.isAvailable())
{
this.presenters.put(language, result);
}
else
{
result = getPresenter((String) null);
}
}
}
}