◆ AddTranslationsToTable()
| void CheckLocalizationPlugin.AddTranslationsToTable |
( |
notnull LocalizationEditor | localizationEditor, |
|
|
notnull array< string > | sourceTexts ) |
|
protected |
- Parameters
-
| [in] | localizationEditor | |
| [in] | sourceTexts | the texts to be added |
◆ ButtonClose()
| int CheckLocalizationPlugin.ButtonClose |
( |
| ) |
|
|
protected |
◆ Configure()
| override void CheckLocalizationPlugin.Configure |
( |
| ) |
|
|
protected |
◆ GetNonLocalizedReportEntries()
- Parameters
-
| [in] | widgetSource | the widget to check recursively (the widget and its children will be checked) |
| [in] | path | the widget name path |
| [in] | index | child index |
- Returns
- array of report entries
◆ GetNonLocalizedReports()
- Parameters
-
- Returns
- array of reports
◆ GetTextId()
| string CheckLocalizationPlugin.GetTextId |
( |
string | text, |
|
|
int | attemptNumber = -1 ) |
|
protected |
- Parameters
-
| [in] | text | the text source |
| [in] | attemptNumber | the number of tries |
- Returns
- a valid ID (even on duplicate)
◆ Run()
| override void CheckLocalizationPlugin.Run |
( |
| ) |
|
◆ ID_FIELD
| const string CheckLocalizationPlugin.ID_FIELD = "Id" |
|
staticprotected |
◆ ID_MAX_LENGTH
| const int CheckLocalizationPlugin.ID_MAX_LENGTH = 12 |
|
staticprotected |
◆ ID_WHITELIST
| const string CheckLocalizationPlugin.ID_WHITELIST = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-" |
|
staticprotected |
◆ LAYOUT_WARNING_THRESHOLD
| const int CheckLocalizationPlugin.LAYOUT_WARNING_THRESHOLD = 100 |
|
staticprotected |
◆ m_bAddToLocalizationFile
| bool CheckLocalizationPlugin.m_bAddToLocalizationFile |
|
protected |
◆ m_sIdPrefix
| string CheckLocalizationPlugin.m_sIdPrefix |
|
protected |
◆ m_sSourceField
| string CheckLocalizationPlugin.m_sSourceField |
|
protected |
◆ MAX_DISPLAYED_TEXT_LENGTH
| const int CheckLocalizationPlugin.MAX_DISPLAYED_TEXT_LENGTH = 50 |
|
staticprotected |
cuts the translation line at 50 chars (45 + ellipsis)
◆ MAX_DISPLAYED_TEXTS
| const int CheckLocalizationPlugin.MAX_DISPLAYED_TEXTS = 6 |
|
staticprotected |
max item ids displayed in the "are you sure?" modal
◆ PLUGIN_NAME
| const string CheckLocalizationPlugin.PLUGIN_NAME = "Check localization in UI" |
|
staticprotected |
The documentation for this interface was generated from the following file:
- WorkbenchGameCommon/LocalizationEditor/CheckLocalizationPlugin.c