Add '_' language separator management.
This commit is contained in:
parent
eb6d24d913
commit
7c94cda80c
1 changed files with 10 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue