@quenty/softshutdown 3.18.1 → 3.18.2

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
+ ## [3.18.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@3.18.1...@quenty/softshutdown@3.18.2) (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
  ## [3.18.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@3.18.0...@quenty/softshutdown@3.18.1) (2023-03-06)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/softshutdown
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/softshutdown",
3
- "version": "3.18.1",
3
+ "version": "3.18.2",
4
4
  "description": "This service lets you shut down servers without losing a bunch of players. When game.OnClose is called, the script teleports everyone in the server into a reserved server.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -34,7 +34,7 @@
34
34
  "@quenty/basicpane": "^7.8.0",
35
35
  "@quenty/bindtocloseservice": "^2.5.0",
36
36
  "@quenty/blend": "^6.11.0",
37
- "@quenty/clienttranslator": "^8.13.0",
37
+ "@quenty/clienttranslator": "^8.13.1",
38
38
  "@quenty/coreguienabler": "^6.4.1",
39
39
  "@quenty/datastore": "^7.9.0",
40
40
  "@quenty/loader": "^6.2.0",
@@ -48,5 +48,5 @@
48
48
  "@quenty/uiobjectutils": "^3.2.0",
49
49
  "@quenty/valuebaseutils": "^7.8.0"
50
50
  },
51
- "gitHead": "0b66085e66e5bc98bc62f9b10ba73ba80889477f"
51
+ "gitHead": "c7f3e8078b6ef3d934cd25ab5197cf453c079428"
52
52
  }
@@ -143,13 +143,13 @@ function SoftShutdownServiceClient:_showSoftShutdownUI(titleKey, subtitleKey, do
143
143
 
144
144
  self:_hideCoreGuiUI(renderMaid, screenGui)
145
145
 
146
- maid:GivePromise(self._translator:PromiseFormatByKey(subtitleKey)):Then(function(subtitle)
146
+ maid:GiveTask(self._translator:ObserveFormatByKey(subtitleKey):Subscribe(function(subtitle)
147
147
  softShutdownUI:SetSubtitle(subtitle)
148
- end)
148
+ end))
149
149
 
150
- maid:GivePromise(self._translator:PromiseFormatByKey(titleKey)):Then(function(title)
150
+ maid:GiveTask(self._translator:ObserveFormatByKey(titleKey):Subscribe(function(title)
151
151
  softShutdownUI:SetTitle(title)
152
- end)
152
+ end))
153
153
 
154
154
  softShutdownUI:Show(doNotAnimateShow)
155
155
 
@@ -19,13 +19,13 @@ return function(target)
19
19
  local softShutdownUI = SoftShutdownUI.new()
20
20
  maid:GiveTask(softShutdownUI)
21
21
 
22
- maid:GivePromise(translator:PromiseFormatByKey("shutdown.lobby.title")):Then(function(text)
22
+ maid:GiveTask(translator:ObserveFormatByKey("shutdown.lobby.title"):Subscribe(function(text)
23
23
  softShutdownUI:SetTitle(text)
24
- end)
24
+ end))
25
25
 
26
- maid:GivePromise(translator:PromiseFormatByKey("shutdown.lobby.subtitle")):Then(function(text)
26
+ maid:GiveTask(translator:ObserveFormatByKey("shutdown.lobby.subtitle"):Subscribe(function(text)
27
27
  softShutdownUI:SetSubtitle(text)
28
- end)
28
+ end))
29
29
 
30
30
  softShutdownUI:Show()
31
31