mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
bug fix in the translator app
This commit is contained in:
@@ -353,9 +353,9 @@ public class Translator {
|
||||
if (s == null)
|
||||
s = "% "; // make sure that we return something
|
||||
|
||||
if (getTargetLanguage().getLangCode().equals("cmn-Hans-CN") ||
|
||||
getTargetLanguage().getLangCode().equals("ja-JP") ||
|
||||
getTargetLanguage().getLangCode().equals("th-TH"))
|
||||
if (getSourceLanguage().getLangCode().equals("cmn-Hans-CN") ||
|
||||
getSourceLanguage().getLangCode().equals("ja-JP") ||
|
||||
getSourceLanguage().getLangCode().equals("th-TH"))
|
||||
return implode(s);
|
||||
else
|
||||
return s;
|
||||
|
||||
Reference in New Issue
Block a user