Skip to content

Commit

Permalink
Localize "Random" button text
Browse files Browse the repository at this point in the history
Seen while naming character during character creation.
  • Loading branch information
Interkarma committed Oct 11, 2023
1 parent b62818c commit 3113e38
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
Expand Up @@ -3943,6 +3943,10 @@ MonoBehaviour:
m_Key: answers_5464
m_Metadata:
m_Items: []
- m_Id: 402963733335764992
m_Key: random
m_Metadata:
m_Items: []
m_Metadata:
m_Items: []
m_KeyGenerator:
Expand Down
4 changes: 4 additions & 0 deletions Assets/Localization/StringTables/Internal_Strings_en.asset
Expand Up @@ -5203,5 +5203,9 @@ MonoBehaviour:
yep'
m_Metadata:
m_Items: []
- m_Id: 402963733335764992
m_Localized: Random
m_Metadata:
m_Items: []
references:
version: 1
Expand Up @@ -76,7 +76,7 @@ protected override void Setup()

// Random name button
randomNameButton = DaggerfallUI.AddButton(new Rect(279, 3, 36, 10), NativePanel);
randomNameButton.Label.Text = "Random";
randomNameButton.Label.Text = TextManager.Instance.GetLocalizedText("random");
randomNameButton.Label.ShadowColor = Color.black;
randomNameButton.BackgroundColor = new Color(0.5f, 0.5f, 0.5f, 0.75f);
randomNameButton.OnMouseClick += RandomNameButton_OnMouseClick;
Expand Down
Expand Up @@ -31,4 +31,5 @@ Internal_RSC
* Fix ID for class questions 9000.10, .20, .30, .40. These had trailing zero truncated at some point.
NOTE: Possible issue with Unity CSV export. Need to check this anytime Internal_RSC is re-exported.
Internal_Strings
* Localize action type 12 answers (e.g. "yes" guard in Daggerfall Castle, "shutup" banner in Shedungent.
* Localize action type 12 answers (e.g. "yes" guard in Daggerfall Castle, "shutup" banner in Shedungent.
* Localize "Random" button text when naming character during creation process.
Expand Up @@ -1570,4 +1570,5 @@ done
fine
okay
sure
yep"
yep"
random,Random
Expand Down

0 comments on commit 3113e38

Please sign in to comment.