Skip to content

Commit 6972da2

Browse files
committed
Localize save/load prompt text format
1 parent c21a4a2 commit 6972da2

5 files changed

Lines changed: 13 additions & 3 deletions

File tree

‎Assets/Localization/StringTables/Internal_Strings Shared Data.asset‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3955,6 +3955,10 @@ MonoBehaviour:
39553955
m_Key: confirmDefaultControls
39563956
m_Metadata:
39573957
m_Items: []
3958+
- m_Id: 410605082671312896
3959+
m_Key: saveLoadPromptFormat
3960+
m_Metadata:
3961+
m_Items: []
39583962
m_Metadata:
39593963
m_Items: []
39603964
m_KeyGenerator:

‎Assets/Localization/StringTables/Internal_Strings_en.asset‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5215,5 +5215,9 @@ MonoBehaviour:
52155215
m_Localized: Are you sure you want to set default controls?
52165216
m_Metadata:
52175217
m_Items: []
5218+
- m_Id: 410605082671312896
5219+
m_Localized: '{0} for ''{1}'''
5220+
m_Metadata:
5221+
m_Items: []
52185222
references:
52195223
version: 1

‎Assets/Scripts/Game/UserInterfaceWindows/DaggerfallUnitySaveGameWindow.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ protected virtual void UpdateSavesList()
366366
promptText = TextManager.Instance.GetLocalizedText("savePrompt");
367367
else if (mode == Modes.LoadGame)
368368
promptText = TextManager.Instance.GetLocalizedText("loadPrompt");
369-
promptLabel.Text = string.Format("{0} for '{1}'", promptText, currentPlayerName);
369+
promptLabel.Text = string.Format(TextManager.Instance.GetLocalizedText("saveLoadPromptFormat"), promptText, currentPlayerName);
370370
}
371371

372372
protected virtual void UpdateSelectedSaveInfo()

‎Assets/StreamingAssets/Text/Master Localization CSV Files/Edit History.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ Internal_RSC
4040
* 5242 > "ofthe" to "of the"
4141
Internal_Strings
4242
* Add nordSurnameImmutableSuffix "sen" > appended manually to every random nord surname.
43-
* Add confirmDefaultControls > "Are you sure you want to set default controls?"
43+
* Add confirmDefaultControls > "Are you sure you want to set default controls?"
44+
* Add saveLoadPromptFormat > "{0} for {1}" for save/load UI.

‎Assets/StreamingAssets/Text/Master Localization CSV Files/Internal_Strings.csv‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,4 +1573,5 @@ sure
15731573
yep"
15741574
random,Random
15751575
nordSurnameImmutableSuffix,sen
1576-
confirmDefaultControls,Are you sure you want to set default controls?
1576+
confirmDefaultControls,Are you sure you want to set default controls?
1577+
saveLoadPromptFormat,{0} for '{1}'

0 commit comments

Comments
 (0)