Skip to content

Commit 9839a41

Browse files
authored
chore: client localized strings (AscensionGameDev#2252)
* chore: admin and bags localized strings - Alphabetically resorts admin and bags related strings. - Adds NullValueHandling for Json properties. - Changes names by following the Pascal format as our coding naming convention. * chore: bank localized strings - Alphabetically resorts bank related strings. - Adds NullValueHandling for Json properties. - Changes names by following the Pascal format as our coding naming convention. * chore: BanMute localized strings - Alphabetically resorts BanMute related strings. - Adds NullValueHandling for Json properties. - Changes names by following the Pascal format as our coding naming convention. * chore: Character localized strings - Alphabetically resorts Character related strings. - Adds NullValueHandling for Json properties. - Changes names by following the Pascal format as our coding naming convention. * chore: CharacterCreation localized strings - Alphabetically resorts struct CharacterCreation related strings. - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. * chore: CharacterSelection localized strings - Alphabetically resorts struct CharacterSelection related strings. - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. * chore: Chatbox localized strings - Alphabetically resorts struct Chatbox related strings. - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. * chore: Combat localized strings - Alphabetically resorts struct Combat related strings. - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. - Removes unused messages - Improves quality of Combat messages * chore: Controls localized strings - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. * chore: Crafting localized strings - Alphabetically resorts struct Crafting related strings. - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. - Removes unused Crafting messages - Improves quality of Crafting messages * chore: Credits localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. * chore: Debug localized strings - Fixes a typo at ControlUnderCursor string * chore: EntityBox localized strings - Alphabetically resorts struct EntityBox related strings. - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. - Improves quality of EntityBox messages * chore: Errors localized strings - Alphabetically resorts struct Errors related strings. - Add [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] for all Json properties. - Property names renamed by following the Pascal format as our coding naming convention. * fix: CraftingWindow string spacing * chore: Words localized strings - Alphabetically resorts struct Words related strings. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: EventWindow localized string - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to the Json property within the struct. * chore: ForgotPass localized strings - Alphabetically resorts struct ForgotPass related strings. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. - Improves quality of messages within the struct. * chore: Friends localized strings - Alphabetically resorts struct Friends related strings. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. - Removes unused message * chore: GameMenu localized strings - Alphabetically resorts struct GameMenu related strings. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. - Improves quality of strings within the struct. * chore: General localized strings - Alphabetically resorts struct General related strings. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: Guilds localized strings - Alphabetically resorts struct Guilds related strings. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: InputBox localized strings - Alphabetically resorts struct InputBox related strings. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: MapItemWindow localized strings - Alphabetically resorts struct "MapItemWindow" related string properties. * chore: Internals localized strings - Alphabetically resorts properties within the struct. - Improves quality of messages within the struct. - Removes unused messages within the struct. * chore: Inventory localized strings - Alphabetically resorts properties within the struct. - Improves quality of DropItemPrompt message within the struct to sound more formal and polite. * chore: Internals ItemContextMenu strings - Alphabetically resorts properties within the struct. * chore: ChatContextMenu localized strings - Alphabetically resorts properties within the struct. - Improves quality of messages within the struct. * chore: ItemDescription localized strings - Alphabetically resorts properties within the struct. - Splits Alphabetical sort by property and dictionary type within the struct. * chore: Keys localized strings - Alphabetically resorts properties within the struct. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: LoginWindow localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. - Renames struct "Login" to "LoginWindow" in order to prevent naming conflict with Login LocalizedString - Alphabetically resorts properties within the struct. * chore: Main localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to the Json property within the struct. - Property name within the struct has been renamed by following the Pascal format as our coding naming convention. * chore: Settings localized strings - Improves quality of messages within the struct. - Removes unused message within the struct. * mistake fix: adds missing property within ItemDescription * fix: typos and EntityBox minor update - Fixes some typos - Fixes issue with label tooltips not being updated within entity box * chore: Parties localized strings - Alphabetically resorts properties within the struct. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: QuestLog localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: QuestOffer localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: Regex localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: Registration localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Property names within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: ResetPass localized strings - Alphabetically resorts properties within the struct. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Properties within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: removes unused Resources struct * chore: Server localized strings - Alphabetically resorts properties within the struct. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Improves quality of messages within the struct. * chore: Shop localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Properties within the struct have been renamed by following the Pascal format as our coding naming convention. - Improves quality of messages within the struct. * chore: SpellDescription localized strings - Alphabetically resorts properties within the struct. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Improves quality of messages within the struct. - Removes unused messages and dictionaries within the struct. * chore: Spells localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Properties within the struct have been renamed by following the Pascal format as our coding naming convention. * chore: Trading localized strings - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Properties within the struct have been renamed by following the Pascal format as our coding naming convention. - Improves quality of messages within the struct. * chore: Numbers localized strings - Alphabetically resorts properties within the struct. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Properties within the struct have been renamed by following the Pascal format as our coding naming convention. The names of the properties have been expanded to their full form for clarity. - Improves quality of messages within the struct. * chore: Update localized strings - Alphabetically resorts properties within the struct. - Adds [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] to all Json properties within the struct. - Properties within the struct have been renamed by following the Pascal format as our coding naming convention. The names and messages of the properties have been expanded to their full form for clarity. - Improves quality of messages within the struct.
1 parent 4eff95e commit 9839a41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1147
-998
lines changed

Intersect.Client/Core/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ private static void ProcessGame()
195195
if (Globals.ConnectionLost)
196196
{
197197
Main.Logout(false);
198-
Interface.Interface.ShowError(Strings.Errors.lostconnection);
198+
Interface.Interface.ShowError(Strings.Errors.LostConnection);
199199

200200
Globals.ConnectionLost = false;
201201

Intersect.Client/Entities/Player.cs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ public void TrySellItem(int inventorySlotIndex)
638638
shop.BuyingWhitelist && shop.BuyingItems.Any(buyingItem => buyingItem.ItemId == itemDescriptor.Id)
639639
|| !shop.BuyingWhitelist && !shop.BuyingItems.Any(buyingItem => buyingItem.ItemId == itemDescriptor.Id);
640640

641-
var prompt = Strings.Shop.sellprompt;
641+
var prompt = Strings.Shop.SellPrompt;
642642
var inputType = InputBox.InputType.YesNo;
643643
EventHandler onSuccess = SellInputBoxOkay;
644644
var userData = inventorySlotIndex;
@@ -647,7 +647,7 @@ public void TrySellItem(int inventorySlotIndex)
647647

648648
if (!shopCanBuyItem)
649649
{
650-
prompt = Strings.Shop.cannotsell;
650+
prompt = Strings.Shop.CannotSell;
651651
inputType = InputBox.InputType.OkayOnly;
652652
onSuccess = null;
653653
userData = -1;
@@ -658,15 +658,15 @@ public void TrySellItem(int inventorySlotIndex)
658658
if (inventoryQuantity > 1)
659659
{
660660
maxQuantity = inventoryQuantity;
661-
prompt = Strings.Shop.sellitemprompt;
661+
prompt = Strings.Shop.SellItemPrompt;
662662
inputType = InputBox.InputType.NumericSliderInput;
663663
onSuccess = SellItemInputBoxOkay;
664664
userData = inventorySlotIndex;
665665
}
666666
}
667667

668668
InputBox.Open(
669-
title: Strings.Shop.sellitem,
669+
title: Strings.Shop.SellItem,
670670
prompt: prompt.ToString(itemDescriptor.Name),
671671
modal: true,
672672
inputType: inputType,
@@ -712,8 +712,8 @@ public void TryBuyItem(int shopSlotIndex)
712712
}
713713

714714
InputBox.Open(
715-
title: Strings.Shop.buyitem,
716-
prompt: Strings.Shop.buyitemprompt.ToString(itemDescriptor.Name),
715+
title: Strings.Shop.BuyItem,
716+
prompt: Strings.Shop.BuyItemPrompt.ToString(itemDescriptor.Name),
717717
modal: true,
718718
inputType: InputBox.InputType.NumericSliderInput,
719719
onSuccess: BuyItemInputBoxOkay,
@@ -837,8 +837,8 @@ public bool TryDepositItem(
837837
}
838838

839839
InputBox.Open(
840-
title: Strings.Bank.deposititem,
841-
prompt: Strings.Bank.deposititemprompt.ToString(itemDescriptor.Name),
840+
title: Strings.Bank.DepositItem,
841+
prompt: Strings.Bank.DepositItemPrompt.ToString(itemDescriptor.Name),
842842
modal: true,
843843
inputType: InputBox.InputType.NumericSliderInput,
844844
onSuccess: DepositItemInputBoxOkay,
@@ -957,8 +957,8 @@ public bool TryWithdrawItem(
957957
}
958958

959959
InputBox.Open(
960-
title: Strings.Bank.withdrawitem,
961-
prompt: Strings.Bank.withdrawitemprompt.ToString(itemDescriptor.Name),
960+
title: Strings.Bank.WithdrawItem,
961+
prompt: Strings.Bank.WithdrawItemPrompt.ToString(itemDescriptor.Name),
962962
modal: true,
963963
inputType: InputBox.InputType.NumericSliderInput,
964964
onSuccess: WithdrawItemInputBoxOkay,
@@ -1014,8 +1014,8 @@ public void TryStoreBagItem(int inventorySlotIndex, int bagSlotIndex)
10141014
}
10151015

10161016
InputBox.Open(
1017-
title: Strings.Bags.storeitem,
1018-
prompt: Strings.Bags.storeitemprompt.ToString(itemDescriptor.Name), true,
1017+
title: Strings.Bags.StoreItem,
1018+
prompt: Strings.Bags.StoreItemPrompt.ToString(itemDescriptor.Name), true,
10191019
inputType: InputBox.InputType.NumericSliderInput,
10201020
onSuccess: StoreBagItemInputBoxOkay,
10211021
onCancel: null,
@@ -1066,8 +1066,8 @@ public void TryRetreiveBagItem(int bagSlotIndex, int inventorySlotIndex)
10661066
}
10671067

10681068
InputBox.Open(
1069-
title: Strings.Bags.retreiveitem,
1070-
prompt: Strings.Bags.retreiveitemprompt.ToString(itemDescriptor.Name),
1069+
title: Strings.Bags.RetrieveItem,
1070+
prompt: Strings.Bags.RetrieveItemPrompt.ToString(itemDescriptor.Name),
10711071
modal: true,
10721072
inputType: InputBox.InputType.NumericSliderInput,
10731073
onSuccess: RetreiveBagItemInputBoxOkay,
@@ -1106,8 +1106,8 @@ public void TryTradeItem(int index)
11061106
}
11071107

11081108
InputBox.Open(
1109-
title: Strings.Trading.offeritem,
1110-
prompt: Strings.Trading.offeritemprompt.ToString(tradingItem.Name),
1109+
title: Strings.Trading.OfferItem,
1110+
prompt: Strings.Trading.OfferItemPrompt.ToString(tradingItem.Name),
11111111
modal: true,
11121112
inputType: InputBox.InputType.NumericSliderInput,
11131113
onSuccess: TradeItemInputBoxOkay,
@@ -1144,8 +1144,8 @@ public void TryRevokeItem(int index)
11441144
}
11451145

11461146
InputBox.Open(
1147-
title: Strings.Trading.revokeitem,
1148-
prompt: Strings.Trading.revokeitemprompt.ToString(revokedItem.Name),
1147+
title: Strings.Trading.RevokeItem,
1148+
prompt: Strings.Trading.RevokeItemPrompt.ToString(revokedItem.Name),
11491149
modal: true,
11501150
inputType: InputBox.InputType.NumericSliderInput,
11511151
onSuccess: RevokeItemInputBoxOkay,
@@ -1180,8 +1180,8 @@ public void TryForgetSpell(int spellIndex)
11801180
if (SpellBase.TryGet(spellSlot.Id, out var spellDescriptor))
11811181
{
11821182
InputBox.Open(
1183-
title: Strings.Spells.forgetspell,
1184-
prompt: Strings.Spells.forgetspellprompt.ToString(spellDescriptor.Name),
1183+
title: Strings.Spells.ForgetSpell,
1184+
prompt: Strings.Spells.ForgetSpellPrompt.ToString(spellDescriptor.Name),
11851185
modal: true,
11861186
inputType: InputBox.InputType.YesNo,
11871187
onSuccess: ForgetSpellInputBoxOkay,

Intersect.Client/Interface/Game/AdminWindow.cs

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ partial class AdminWindow
8686
//Init
8787
public AdminWindow(Base gameCanvas)
8888
{
89-
mAdminWindow = new WindowControl(gameCanvas, Strings.Admin.title, false, nameof(AdminWindow));
89+
mAdminWindow = new WindowControl(gameCanvas, Strings.Admin.Title, false, nameof(AdminWindow));
9090
mAdminWindow.SetPosition(
9191
(Graphics.Renderer.ScreenWidth - mAdminWindow.Width) / 2,
9292
(Graphics.Renderer.ScreenHeight - mAdminWindow.Height) / 2
@@ -96,59 +96,59 @@ public AdminWindow(Base gameCanvas)
9696
mAdminWindow.Padding = Padding.Zero;
9797

9898
LabelName = new Label(mAdminWindow, nameof(LabelName));
99-
LabelName.Text = Strings.Admin.name;
99+
LabelName.Text = Strings.Admin.Name;
100100
TextboxName = new TextBox(mAdminWindow, nameof(TextboxName));
101101
Interface.FocusElements.Add(TextboxName);
102102

103103
LabelAccess = new Label(mAdminWindow, nameof(LabelAccess));
104-
LabelAccess.Text = Strings.Admin.access;
104+
LabelAccess.Text = Strings.Admin.Access;
105105
DropdownAccess = new ComboBox(mAdminWindow, nameof(DropdownAccess));
106-
DropdownAccess.AddItem(Strings.Admin.access0).UserData = "None";
107-
DropdownAccess.AddItem(Strings.Admin.access1).UserData = "Moderator";
108-
DropdownAccess.AddItem(Strings.Admin.access2).UserData = "Admin";
109-
ButtonSetPower = new Button(mAdminWindow, nameof(ButtonSetPower)) { Text = Strings.Admin.setpower };
106+
DropdownAccess.AddItem(Strings.Admin.Access0).UserData = "None";
107+
DropdownAccess.AddItem(Strings.Admin.Access1).UserData = "Moderator";
108+
DropdownAccess.AddItem(Strings.Admin.Access2).UserData = "Admin";
109+
ButtonSetPower = new Button(mAdminWindow, nameof(ButtonSetPower)) { Text = Strings.Admin.SetPower };
110110
ButtonSetPower.Clicked += _setPowerButton_Clicked;
111111

112112
ButtonWarpToMe = new Button(mAdminWindow, nameof(ButtonWarpToMe));
113-
ButtonWarpToMe.Text = Strings.Admin.warp2me;
113+
ButtonWarpToMe.Text = Strings.Admin.Warp2Me;
114114
ButtonWarpToMe.Clicked += _warpToMeButton_Clicked;
115115

116116
ButtonWarpMeTo = new Button(mAdminWindow, nameof(ButtonWarpMeTo));
117-
ButtonWarpMeTo.Text = Strings.Admin.warpme2;
117+
ButtonWarpMeTo.Text = Strings.Admin.WarpMe2;
118118
ButtonWarpMeTo.Clicked += _warpMeToButton_Clicked;
119119

120120
ButtonOverworldReturn = new Button(mAdminWindow, nameof(ButtonOverworldReturn));
121121
ButtonOverworldReturn.Text = Strings.Admin.OverworldReturn;
122122
ButtonOverworldReturn.Clicked += _overWorldReturn_Clicked;
123123

124124
ButtonKick = new Button(mAdminWindow, nameof(ButtonKick));
125-
ButtonKick.Text = Strings.Admin.kick;
125+
ButtonKick.Text = Strings.Admin.Kick;
126126
ButtonKick.Clicked += _kickButton_Clicked;
127127

128128
ButtonKill = new Button(mAdminWindow, nameof(ButtonKill));
129-
ButtonKill.Text = Strings.Admin.kill;
129+
ButtonKill.Text = Strings.Admin.Kill;
130130
ButtonKill.Clicked += _killButton_Clicked;
131131

132132
ButtonBan = new Button(mAdminWindow, nameof(ButtonBan));
133-
ButtonBan.Text = Strings.Admin.ban;
133+
ButtonBan.Text = Strings.Admin.Ban;
134134
ButtonBan.Clicked += _banButton_Clicked;
135135

136136
ButtonUnban = new Button(mAdminWindow, nameof(ButtonUnban));
137-
ButtonUnban.Text = Strings.Admin.unban;
137+
ButtonUnban.Text = Strings.Admin.Unban;
138138
ButtonUnban.Clicked += _unbanButton_Clicked;
139139

140140
ButtonMute = new Button(mAdminWindow, nameof(ButtonMute));
141-
ButtonMute.Text = Strings.Admin.mute;
141+
ButtonMute.Text = Strings.Admin.Mute;
142142
ButtonMute.Clicked += _muteButton_Clicked;
143143

144144
ButtonUnmute = new Button(mAdminWindow, nameof(ButtonUnmute));
145-
ButtonUnmute.Text = Strings.Admin.unmute;
145+
ButtonUnmute.Text = Strings.Admin.Unmute;
146146
ButtonUnmute.Clicked += _unmuteButton_Clicked;
147147

148148
LabelSprite = new Label(mAdminWindow, nameof(LabelSprite));
149-
LabelSprite.Text = Strings.Admin.sprite;
149+
LabelSprite.Text = Strings.Admin.Sprite;
150150
DropdownSprite = new ComboBox(mAdminWindow, nameof(DropdownSprite));
151-
DropdownSprite.AddItem(Strings.Admin.none);
151+
DropdownSprite.AddItem(Strings.Admin.None);
152152
var sprites = Globals.ContentManager.GetTextureNames(Framework.Content.TextureType.Entity);
153153
Array.Sort(sprites, new AlphanumComparatorFast());
154154
foreach (var sprite in sprites)
@@ -157,15 +157,15 @@ public AdminWindow(Base gameCanvas)
157157
}
158158
DropdownSprite.ItemSelected += _spriteDropdown_ItemSelected;
159159
ButtonSetSprite = new Button(mAdminWindow, nameof(ButtonSetSprite));
160-
ButtonSetSprite.Text = Strings.Admin.setsprite;
160+
ButtonSetSprite.Text = Strings.Admin.SetSprite;
161161
ButtonSetSprite.Clicked += _setSpriteButton_Clicked;
162162
PanelSprite = new ImagePanel(mAdminWindow, nameof(PanelSprite));
163163
SpritePanel = new ImagePanel(PanelSprite);
164164

165165
LabelFace = new Label(mAdminWindow, nameof(LabelFace));
166-
LabelFace.Text = Strings.Admin.face;
166+
LabelFace.Text = Strings.Admin.Face;
167167
DropdownFace = new ComboBox(mAdminWindow, nameof(DropdownFace));
168-
DropdownFace.AddItem(Strings.Admin.none);
168+
DropdownFace.AddItem(Strings.Admin.None);
169169
var faces = Globals.ContentManager.GetTextureNames(Framework.Content.TextureType.Face);
170170
Array.Sort(faces, new AlphanumComparatorFast());
171171
foreach (var face in faces)
@@ -174,18 +174,18 @@ public AdminWindow(Base gameCanvas)
174174
}
175175
DropdownFace.ItemSelected += _faceDropdown_ItemSelected;
176176
ButtonSetFace = new Button(mAdminWindow, nameof(ButtonSetFace));
177-
ButtonSetFace.Text = Strings.Admin.setface;
177+
ButtonSetFace.Text = Strings.Admin.SetFace;
178178
ButtonSetFace.Clicked += _setFaceButton_Clicked;
179179
PanelFace = new ImagePanel(mAdminWindow, nameof(PanelFace));
180180
FacePanel = new ImagePanel(PanelFace);
181181

182-
LabelMapList = new Label(mAdminWindow, nameof(LabelMapList)) { Text = Strings.Admin.maplist };
182+
LabelMapList = new Label(mAdminWindow, nameof(LabelMapList)) { Text = Strings.Admin.MapList };
183183
CheckboxChronological = new CheckBox(mAdminWindow, nameof(CheckboxChronological));
184-
CheckboxChronological.SetToolTipText(Strings.Admin.chronologicaltip);
184+
CheckboxChronological.SetToolTipText(Strings.Admin.ChronologicalTip);
185185
CheckboxChronological.CheckChanged += _chkChronological_CheckChanged;
186186
LabelChronological = new Label(mAdminWindow, nameof(LabelChronological))
187187
{
188-
Text = Strings.Admin.chronological
188+
Text = Strings.Admin.Chronological
189189
};
190190
CreateMapList();
191191
mAdminWindow.LoadJsonUi(UI.InGame, Graphics.Renderer.GetResolutionString(), true);
@@ -328,8 +328,8 @@ void _muteButton_Clicked(Base sender, ClickedEventArgs arguments)
328328
{
329329
if (TextboxName.Text.Trim().Length > 0)
330330
{
331-
mBanMuteWindow = new BanMuteBox(Strings.Admin.mutecaption.ToString(TextboxName.Text),
332-
Strings.Admin.muteprompt.ToString(TextboxName.Text), true, MuteUser);
331+
mBanMuteWindow = new BanMuteBox(Strings.Admin.MuteCaption.ToString(TextboxName.Text),
332+
Strings.Admin.MutePrompt.ToString(TextboxName.Text), true, MuteUser);
333333
}
334334
}
335335

@@ -363,8 +363,8 @@ void _banButton_Clicked(Base sender, ClickedEventArgs arguments)
363363
return;
364364
}
365365

366-
mBanMuteWindow = new BanMuteBox(Strings.Admin.bancaption.ToString(name),
367-
Strings.Admin.banprompt.ToString(TextboxName.Text), true, BanUser);
366+
mBanMuteWindow = new BanMuteBox(Strings.Admin.BanCaption.ToString(name),
367+
Strings.Admin.BanPrompt.ToString(TextboxName.Text), true, BanUser);
368368
}
369369

370370
private void _setFaceButton_Clicked(Base sender, ClickedEventArgs arguments)
@@ -379,8 +379,8 @@ void _unmuteButton_Clicked(Base sender, ClickedEventArgs arguments)
379379
{
380380
if (TextboxName.Text.Trim().Length > 0)
381381
{
382-
new InputBox(Strings.Admin.unmutecaption.ToString(TextboxName.Text),
383-
Strings.Admin.unmuteprompt.ToString(TextboxName.Text), true, InputBox.InputType.YesNo, UnmuteUser,
382+
new InputBox(Strings.Admin.UnmuteCaption.ToString(TextboxName.Text),
383+
Strings.Admin.UnmutePrompt.ToString(TextboxName.Text), true, InputBox.InputType.YesNo, UnmuteUser,
384384
null, -1);
385385
}
386386
}
@@ -389,8 +389,8 @@ void _unbanButton_Clicked(Base sender, ClickedEventArgs arguments)
389389
{
390390
if (TextboxName.Text.Trim().Length > 0)
391391
{
392-
new InputBox(Strings.Admin.unbancaption.ToString(TextboxName.Text),
393-
Strings.Admin.unbanprompt.ToString(TextboxName.Text), true, InputBox.InputType.YesNo, UnbanUser,
392+
new InputBox(Strings.Admin.UnbanCaption.ToString(TextboxName.Text),
393+
Strings.Admin.UnbanPrompt.ToString(TextboxName.Text), true, InputBox.InputType.YesNo, UnbanUser,
394394
null, -1);
395395
}
396396
}

Intersect.Client/Interface/Game/Bag/BagWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public partial class BagWindow
3737
//Init
3838
public BagWindow(Canvas gameCanvas)
3939
{
40-
mBagWindow = new WindowControl(gameCanvas, Strings.Bags.title, false, "BagWindow");
40+
mBagWindow = new WindowControl(gameCanvas, Strings.Bags.Title, false, "BagWindow");
4141
mBagWindow.DisableResizing();
4242
Interface.InputBlockingElements.Add(mBagWindow);
4343

0 commit comments

Comments
 (0)