mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 19:25:27 -07:00
bug fix in the translator app
This commit is contained in:
1 parent
f5e2c41dd0
commit
fce8a7a069
1 file changed
+3
-3
@@ -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