Skip to content

Commit 65a3fa0

Browse files
authored
Merge pull request #3336 from jjangsangy:fix-missing-tostring
fix: add missing tostring() call
2 parents eacc3d8 + e9b52e6 commit 65a3fa0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
5+
* `FIX` convert all keys to string before using
56

67
## 3.16.4
78
`2025-12-25`

script/locale-loader.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local function mergeKey(key, k)
22
if not key then
33
return k
44
end
5+
k = tostring(k)
56
if k:sub(1, 1):match '%w' then
67
return key .. '.' .. k
78
else

0 commit comments

Comments
 (0)