Fixed localization init

xp card name is now a little lower
Updated CHANGELOG.md
This commit is contained in:
Toastie 2025-03-14 20:10:47 +13:00
parent 612c230b7b
commit 082cf79736
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
6 changed files with 28 additions and 28 deletions

View file

@ -2,7 +2,7 @@
*a,c,f,r,o* *a,c,f,r,o*
## [6.0.3] - 12.03.2025 ## [6.0.4] - 14.03.2025
### Added ### Added

View file

@ -4,7 +4,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings> <ImplicitUsings>true</ImplicitUsings>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages> <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Version>6.0.3</Version> <Version>6.0.4</Version>
<!-- Output/build --> <!-- Output/build -->
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory> <RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>

View file

@ -119,7 +119,7 @@ public class XpTemplate
Pos = new() Pos = new()
{ {
X = 394, X = 394,
Y = 35 Y = 40
}, },
Show = true Show = true
} }

View file

@ -12,7 +12,7 @@ public class Localization : ILocalization, IReadyExecutor, IEService
JsonConvert.DeserializeObject<Dictionary<string, CommandData>>( JsonConvert.DeserializeObject<Dictionary<string, CommandData>>(
File.ReadAllText("./strings/commands/commands.en-US.json")); File.ReadAllText("./strings/commands/commands.en-US.json"));
private ConcurrentDictionary<ulong, CultureInfo> _guildCultureInfos; private ConcurrentDictionary<ulong, CultureInfo> _guildCultureInfos = [];
public IDictionary<ulong, CultureInfo> GuildCultureInfos public IDictionary<ulong, CultureInfo> GuildCultureInfos
=> _guildCultureInfos; => _guildCultureInfos;

View file

@ -21,7 +21,7 @@ dice:
- https://cdn.nadeko.bot/other/dice/8.png - https://cdn.nadeko.bot/other/dice/8.png
- https://cdn.nadeko.bot/other/dice/9.png - https://cdn.nadeko.bot/other/dice/9.png
xp: xp:
bg: https://cdn.nadeko.bot/xp/bgs/v6.png bg: https://cdn.nadeko.bot/other/xp/bg6_mini.png
slots: slots:
emojis: emojis:
- https://cdn.nadeko.bot/slots/10.png - https://cdn.nadeko.bot/slots/10.png

View file

@ -8,21 +8,21 @@
"Name": { "Name": {
"Color": "ffffffff", "Color": "ffffffff",
"Show": true, "Show": true,
"FontSize": 50, "FontSize": 25,
"Pos": { "Pos": {
"X": 105, "X": 65,
"Y": 25 "Y": 8
} }
}, },
"Icon": { "Icon": {
"Show": true, "Show": true,
"Pos": { "Pos": {
"X": 14, "X": 11,
"Y": 14 "Y": 11
}, },
"Size": { "Size": {
"X": 72, "X": 38,
"Y": 71 "Y": 38
} }
}, },
"Level": { "Level": {
@ -47,26 +47,26 @@
"Bar": { "Bar": {
"Show": true, "Show": true,
"Guild": { "Guild": {
"Color": "00000095", "Color": "00000066",
"PointA": { "PointA": {
"X": 282, "X": 202,
"Y": 248 "Y": 66
}, },
"PointB": { "PointB": {
"X": 247, "X": 180,
"Y": 379 "Y": 145
}, },
"Length": 450, "Length": 225,
"Direction": 3 "Direction": 3
} }
}, },
"Guild": { "Guild": {
"Color": "ffffffff", "Color": "ffffffff",
"Show": true, "Show": true,
"FontSize": 50, "FontSize": 25,
"Pos": { "Pos": {
"X": 490, "X": 330,
"Y": 313 "Y": 104
} }
} }
} }
@ -75,21 +75,21 @@
"Icon": { "Icon": {
"Show": true, "Show": true,
"Pos": { "Pos": {
"X": 722, "X": 451,
"Y": 25 "Y": 15
}, },
"Size": { "Size": {
"X": 45, "X": 29,
"Y": 45 "Y": 29
} }
}, },
"Name": { "Name": {
"Color": "ffffffff", "Color": "ffffffff",
"Show": true, "Show": true,
"FontSize": 35, "FontSize": 20,
"Pos": { "Pos": {
"X": 650, "X": 394,
"Y": 55 "Y": 40
} }
} }
} }