/// <summary> /// Marks the language language as the used language for this module /// </summary> /// <param name="language"></param> void UseLanguage(TLanguage language) { Log("--------------------------"); _language = language; _language.Choose(); // finalize selection LogFormat("Selected Language: {0}, {1} ({2})\n", _language.NativeName, _language.Name, _language.Iso639); _sticker.GenerateText(_language.Iso639, _language.Version); }
/// <summary> /// Marks the language language as the used language for this module /// </summary> /// <param name="language"></param> void UseLanguage(TLanguage language) { Log("--------------------------"); _language = language; // finalize selection LogFormat("Selected Language: {0}, {1} ({2})\n", _language.NativeName, _language.Name, _language.Iso639); if (_sticker != null) { _sticker.GenerateText(_language.Iso639, _language.Version); } else { Debug.LogFormat("[Translated Modules Service] Module '{0}' has no sticker", _moduleLogName); } }