TTS localization object.
More...
|
|
| TTSLocalization (const TTSLocalization &)=delete |
|
| TTSLocalization (TTSLocalization &&)=default |
| | Default move constructor noexcept is deduced.
|
|
TTSLocalization & | operator= (const TTSLocalization &)=delete |
| TTSLocalization & | operator= (TTSLocalization &&local)=default |
| | Default move assignment noexcept is deduced.
|
| String | getString (int stringId, bool defString=true) const |
| const StringRef | getLanguageNativeName (const Language &language) |
| | Get the native name of the language.
|
TTS localization object.
Extends Localization for TTS strings
◆ getLanguageNativeName()
| const StringRef gem::Localization::getLanguageNativeName |
( |
const Language & | language | ) |
|
|
inlineinherited |
Get the native name of the language.
- Parameters
-
| [in] | language | Full language code. |
- Returns
- The native name of the language
◆ getString()
| String gem::Localization::getString |
( |
int | stringId, |
|
|
bool | defString = true ) const |
|
inlineinherited |
- Parameters
-
| [in] | stringId | String id, see StringIds |
| [in] | defString | If true, a translation in a default language ( English ) is returned, otherwise empty string |
- Returns
- The translation string or empty if no translation is found
◆ operator=()
| TTSLocalization & gem::TTSLocalization::operator= |
( |
TTSLocalization && | local | ) |
|
|
default |
Default move assignment noexcept is deduced.
- Returns
- reference to this TTSLocalization
- Parameters
-