forked from GitHub/gf-core
restored old language codes in android/.../Translator.java (committed by accident in previous patch)
This commit is contained in:
@@ -22,18 +22,19 @@ public class Translator {
|
||||
private static final String TAG = "Translator";
|
||||
|
||||
// TODO: allow changing
|
||||
/// private String mGrammar = "ParseEngAbs.pgf";
|
||||
private String mGrammar = "TranslateEngChiFinSwe.pgf"; // AR
|
||||
private String mGrammar = "ParseEngAbs.pgf";
|
||||
/// private String mGrammar = "TranslateEngChiFinSwe.pgf"; // AR
|
||||
|
||||
// TODO: build dynamically?
|
||||
private Language[] mLanguages = {
|
||||
/*
|
||||
new Language("en-US", "English", "TranslateEng", R.xml.inflection_en), // AR
|
||||
new Language("cmn-Hans-CN", "Chinese", "TranslateChi", 0),
|
||||
new Language("fi-FI", "Finnish", "TranslateFin", 0),
|
||||
new Language("sv-SE", "Swedish", "TranslateSwe", 0),
|
||||
|
||||
/// new Language("en-US", "English", "ParseEng", R.xml.inflection_en),
|
||||
/// new Language("bg-BG", "Bulgarian", "ParseBul", R.xml.inflection_bg),
|
||||
*/
|
||||
new Language("en-US", "English", "ParseEng", R.xml.inflection_en),
|
||||
new Language("bg-BG", "Bulgarian", "ParseBul", R.xml.inflection_bg),
|
||||
};
|
||||
|
||||
private Language mSourceLanguage;
|
||||
|
||||
Reference in New Issue
Block a user