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*
## [6.0.3] - 12.03.2025
## [6.0.4] - 14.03.2025
### Added

View file

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

View file

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

View file

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

View file

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

View file

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