@quenty/clienttranslator 14.19.0-canary.544.548de10.0 → 14.19.0-canary.544.de8fcee.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [14.19.0-canary.544.
|
|
6
|
+
# [14.19.0-canary.544.de8fcee.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/clienttranslator@14.18.1...@quenty/clienttranslator@14.19.0-canary.544.de8fcee.0) (2025-04-01)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fix existing tests ([655787c](https://github.com/Quenty/NevermoreEngine/commit/655787ced1139136e12f81800e229aa076731561))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/clienttranslator",
|
|
3
|
-
"version": "14.19.0-canary.544.
|
|
3
|
+
"version": "14.19.0-canary.544.de8fcee.0",
|
|
4
4
|
"description": "Gets local translator for player",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/blend": "12.18.0-canary.544.
|
|
29
|
-
"@quenty/instanceutils": "13.17.0-canary.544.
|
|
28
|
+
"@quenty/blend": "12.18.0-canary.544.de8fcee.0",
|
|
29
|
+
"@quenty/instanceutils": "13.17.0-canary.544.de8fcee.0",
|
|
30
30
|
"@quenty/loader": "10.8.0",
|
|
31
31
|
"@quenty/maid": "3.4.0",
|
|
32
32
|
"@quenty/promise": "10.10.1",
|
|
33
33
|
"@quenty/promisemaid": "5.10.1",
|
|
34
34
|
"@quenty/pseudolocalize": "3.4.0",
|
|
35
|
-
"@quenty/rx": "13.17.0-canary.544.
|
|
35
|
+
"@quenty/rx": "13.17.0-canary.544.de8fcee.0",
|
|
36
36
|
"@quenty/string": "3.3.1",
|
|
37
37
|
"@quenty/table": "3.7.1",
|
|
38
|
-
"@quenty/valueobject": "13.17.0-canary.544.
|
|
38
|
+
"@quenty/valueobject": "13.17.0-canary.544.de8fcee.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "de8fcee995fcdae464964357b4c770c03f4c7e03"
|
|
44
44
|
}
|
|
@@ -10,7 +10,7 @@ local it = Jest.Globals.it
|
|
|
10
10
|
|
|
11
11
|
local function checkLocale(locale, responseMapping)
|
|
12
12
|
for input, output in pairs(responseMapping) do
|
|
13
|
-
expect(NumberLocalizationUtils.localize(input, locale)).
|
|
13
|
+
expect(NumberLocalizationUtils.localize(input, locale)).toBe(output)
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
|
|
@@ -36,21 +36,21 @@ describe("NumberLocalizationUtils.localize", function()
|
|
|
36
36
|
-- local logs = Logging.capture(function()
|
|
37
37
|
-- checkValid_en_zh("bad_locale")
|
|
38
38
|
-- end)
|
|
39
|
-
-- expect(string.match(logs.warnings[1], "^Warning: Locale not found:") ~= nil).
|
|
39
|
+
-- expect(string.match(logs.warnings[1], "^Warning: Locale not found:") ~= nil).toBe(true)
|
|
40
40
|
-- end)
|
|
41
41
|
|
|
42
42
|
-- it("should default to en-us when locale is nil", function()
|
|
43
43
|
-- local logs = Logging.capture(function()
|
|
44
44
|
-- checkValid_en_zh(nil)
|
|
45
45
|
-- end)
|
|
46
|
-
-- expect(string.match(logs.warnings[1], "^Warning: Locale not found:") ~= nil).
|
|
46
|
+
-- expect(string.match(logs.warnings[1], "^Warning: Locale not found:") ~= nil).toBe(true)
|
|
47
47
|
-- end)
|
|
48
48
|
|
|
49
49
|
-- it("should default to en-us when locale is empty", function()
|
|
50
50
|
-- local logs = Logging.capture(function()
|
|
51
51
|
-- checkValid_en_zh("")
|
|
52
52
|
-- end)
|
|
53
|
-
-- expect(string.match(logs.warnings[1], "^Warning: Locale not found:") ~= nil).
|
|
53
|
+
-- expect(string.match(logs.warnings[1], "^Warning: Locale not found:") ~= nil).toBe(true)
|
|
54
54
|
-- end)
|
|
55
55
|
|
|
56
56
|
it("should localize correctly. (en-us)", function()
|
|
@@ -106,7 +106,7 @@ describe("NumberLocalizationUtils.abbreviate", function()
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
for input, output in pairs(roundToZeroMap) do
|
|
109
|
-
expect(NumberLocalizationUtils.abbreviate(input, "en-us", RoundingBehaviourTypes.TRUNCATE)).
|
|
109
|
+
expect(NumberLocalizationUtils.abbreviate(input, "en-us", RoundingBehaviourTypes.TRUNCATE)).toBe(output)
|
|
110
110
|
end
|
|
111
111
|
end)
|
|
112
112
|
end)
|