@everymatrix/player-account-controller 1.12.0 → 1.12.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-account-controller",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"main": "dist/player-account-controller.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "b07d8c9aee6584ea4b4d1718d7d928d4f2dfb523"
|
|
39
39
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { onMount, tick } from 'svelte';
|
|
5
5
|
import { getDevice } from 'rvhelper';
|
|
6
6
|
import { _, addNewMessages, setLocale, setupI18n } from './i18n';
|
|
7
|
-
import {
|
|
7
|
+
import { TRANSLATIONS } from './translations';
|
|
8
8
|
|
|
9
9
|
import '@everymatrix/player-account-menu';
|
|
10
10
|
import '@everymatrix/player-account-notifications';
|
|
@@ -136,8 +136,8 @@
|
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
Object.keys(
|
|
140
|
-
addNewMessages(item,
|
|
139
|
+
Object.keys(TRANSLATIONS).forEach((item:any) => {
|
|
140
|
+
addNewMessages(item, TRANSLATIONS[item]);
|
|
141
141
|
});
|
|
142
142
|
|
|
143
143
|
const messageHandler = (e:any):void => {
|
package/src/translations.js
CHANGED
|
@@ -1,74 +1,62 @@
|
|
|
1
|
-
export const
|
|
2
|
-
en: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
realityCheckSuccess: 'Reality check options saved'
|
|
12
|
-
}
|
|
1
|
+
export const TRANSLATIONS = {
|
|
2
|
+
"en": {
|
|
3
|
+
"profileUpdateSuccess": "Profile updated!",
|
|
4
|
+
"timeoutSuccess": "Timeout active",
|
|
5
|
+
"selfExclusionSuccess": "Self exclusion active",
|
|
6
|
+
"accountClosureSuccess": "Account closed",
|
|
7
|
+
"limitsUpdateSuccess": "Limits updated",
|
|
8
|
+
"limitsDeleteSuccess": "Limits deleted",
|
|
9
|
+
"passwordChangedSuccess": "Password changed successfully",
|
|
10
|
+
"realityCheckSuccess": "Reality check options saved"
|
|
13
11
|
},
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
realityCheckSuccess: '現實檢查選項已保存'
|
|
24
|
-
}
|
|
12
|
+
"zh-hk": {
|
|
13
|
+
"profileUpdateSuccess": "資料更新!",
|
|
14
|
+
"timeoutSuccess": "超時有效",
|
|
15
|
+
"selfExclusionSuccess": "自我排斥活躍",
|
|
16
|
+
"accountClosureSuccess": "賬戶關閉",
|
|
17
|
+
"limitsUpdateSuccess": "限制已更新",
|
|
18
|
+
"limitsDeleteSuccess": "已刪除限制",
|
|
19
|
+
"passwordChangedSuccess": "密碼修改成功",
|
|
20
|
+
"realityCheckSuccess": "現實檢查選項已保存"
|
|
25
21
|
},
|
|
26
|
-
fr: {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
realityCheckSuccess: 'Options de contrôle de la réalité sauvegardées'
|
|
36
|
-
}
|
|
22
|
+
"fr": {
|
|
23
|
+
"profileUpdateSuccess": "Mise à jour du profil!",
|
|
24
|
+
"timeoutSuccess": "Délai d'attente actif",
|
|
25
|
+
"selfExclusionSuccess": "Auto exclusion active",
|
|
26
|
+
"accountClosureSuccess": "Compte fermé",
|
|
27
|
+
"limitsUpdateSuccess": "Limites des mises à jour",
|
|
28
|
+
"limitsDeleteSuccess": "Limites supprimées",
|
|
29
|
+
"passwordChangedSuccess": "Le mot de passe a été modifié avec succés",
|
|
30
|
+
"realityCheckSuccess": "Options de contrôle de la réalité sauvegardées"
|
|
37
31
|
},
|
|
38
|
-
ro: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
realityCheckSuccess: 'Optiunile de verificare de timp salvate'
|
|
48
|
-
}
|
|
32
|
+
"ro": {
|
|
33
|
+
"profileUpdateSuccess": "Profil updatat!",
|
|
34
|
+
"timeoutSuccess": "Timeout activ",
|
|
35
|
+
"selfExclusionSuccess": "Auto-excludere activa",
|
|
36
|
+
"accountClosureSuccess": "Cont inchis",
|
|
37
|
+
"limitsUpdateSuccess": "Limite updatate",
|
|
38
|
+
"limitsDeleteSuccess": "Limite sterse",
|
|
39
|
+
"passwordChangedSuccess": "Parola schimbata cu success",
|
|
40
|
+
"realityCheckSuccess": "Optiunile de verificare de timp salvate"
|
|
49
41
|
},
|
|
50
|
-
es: {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
realityCheckSuccess: 'Opciones de verificación de realidad guardadas'
|
|
60
|
-
}
|
|
42
|
+
"es": {
|
|
43
|
+
"profileUpdateSuccess": "Perfil actualizado!",
|
|
44
|
+
"timeoutSuccess": "Pausa activa",
|
|
45
|
+
"selfExclusionSuccess": "Auto Exclusión activa.",
|
|
46
|
+
"accountClosureSuccess": "Cuenta cerrada",
|
|
47
|
+
"limitsUpdateSuccess": "Limites actualizados",
|
|
48
|
+
"limitsDeleteSuccess": "Limites delegados",
|
|
49
|
+
"passwordChangedSuccess": "Cambio de Contraseña satisfactorio",
|
|
50
|
+
"realityCheckSuccess": "Opciones de verificación de realidad guardadas"
|
|
61
51
|
},
|
|
62
|
-
pt: {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
};
|
|
52
|
+
"pt": {
|
|
53
|
+
"profileUpdateSuccess": "Perfil atualizado!",
|
|
54
|
+
"timeoutSuccess": "Tempo Limite ativo",
|
|
55
|
+
"selfExclusionSuccess": "Autoexclusão ativa",
|
|
56
|
+
"accountClosureSuccess": "Conta encerrada",
|
|
57
|
+
"limitsUpdateSuccess": "Limites atualizados",
|
|
58
|
+
"limitsDeleteSuccess": "Limites excluídos",
|
|
59
|
+
"passwordChangedSuccess": "Senha alterada com sucesso",
|
|
60
|
+
"realityCheckSuccess": "Opções de verificação de realidade salvas"
|
|
61
|
+
}
|
|
62
|
+
}
|