@quenty/clienttranslator 8.13.0 → 8.13.1

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,6 +3,17 @@
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
+ ## [8.13.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/clienttranslator@8.13.0...@quenty/clienttranslator@8.13.1) (2023-03-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix localization not swapping in soft shutdown if locale swaps ([ee93043](https://github.com/Quenty/NevermoreEngine/commit/ee93043b7da1511f6b86ce33040b422eb9cd6216))
12
+
13
+
14
+
15
+
16
+
6
17
  # [8.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/clienttranslator@8.12.0...@quenty/clienttranslator@8.13.0) (2023-03-06)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/clienttranslator
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2022 Quenty
3
+ Copyright (c) 2014-2023 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/clienttranslator",
3
- "version": "8.13.0",
3
+ "version": "8.13.1",
4
4
  "description": "Gets local translator for player",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "ce54e6f72519719e6155643418f2496f30a55f8e"
40
+ "gitHead": "c7f3e8078b6ef3d934cd25ab5197cf453c079428"
41
41
  }
@@ -44,6 +44,13 @@ JSONTranslator.__index = JSONTranslator
44
44
  })
45
45
 
46
46
  print(translator:FormatByKey("actions.respawn"), { playerName = "Quenty"}) --> Respawn Quenty
47
+
48
+ -- Observing is preferred
49
+ maid:GiveTask(translator:ObserveFormatByKey("actions.respawn", {
50
+ playerName = RxInstanceUtils.observeProperty(player, "DisplayName");
51
+ }):Subscribe(function(text)
52
+ print(text) --> "Respawn Quenty"
53
+ end)
47
54
  ```
48
55
 
49
56
  ```lua