Merge branch 'local' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-local
# Conflicts: # Source/Editor/Windows/Assets/LocalizedStringTableWindow.cs # Source/Engine/Localization/Localization.cpp # Source/Engine/Localization/LocalizedStringTable.h
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
/// </summary>
|
||||
API_CLASS(sealed, Namespace="FlaxEditor.Content.Settings") class FLAXENGINE_API LocalizationSettings : public SettingsBase
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(LocalizationSettings);
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(LocalizationSettings);
|
||||
public:
|
||||
/// <summary>
|
||||
/// The list of the string localization tables used by the game.
|
||||
@@ -19,6 +19,12 @@ public:
|
||||
API_FIELD()
|
||||
Array<AssetReference<LocalizedStringTable>> LocalizedStringTables;
|
||||
|
||||
/// <summary>
|
||||
/// The default fallback language to use if localization system fails to pick the system locale language (eg. en-GB).
|
||||
/// </summary>
|
||||
API_FIELD()
|
||||
String DefaultFallbackLanguage;
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// Gets the instance of the settings asset (default value if missing). Object returned by this method is always loaded with valid data to use.
|
||||
|
||||
Reference in New Issue
Block a user