Browse Source

feat(toolbar/langauge): add russian translations

Josh Habdas 11 months ago
parent
commit
39af5cc6f0
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
2 changed files with 45 additions and 24 deletions
  1. 1
    1
      config.toml
  2. 44
    23
      layouts/partials/modules/toxic-swamp/inline.jsonld.html

+ 1
- 1
config.toml View File

@@ -1,4 +1,4 @@
1 1
 [params.defaults.modules.toxic_swamp]
2
-  translations = ["id"] # optional, specifies English translations available
2
+  translations = ["id", "ru"] # Optional, available English translations
3 3
   proxies = ["fire-swamp"]
4 4
   # proxies = ["custom-proxy", "fire-swamp"]

+ 44
- 23
layouts/partials/modules/toxic-swamp/inline.jsonld.html View File

@@ -4,8 +4,9 @@
4 4
     "displayModeInvalid": { "@id": "error:displayModeInvalid", "@container": "@language" }
5 5
   },
6 6
   "displayModeInvalid": {
7
-    "en": "Display mode invalid! Expected one of 'full', 'compact', 'minimal' or 'hidden'.",
8
-    "id": "Tampilan mode tidak sah! Salah satu yang diharapkan 'full', 'compact', 'minimal' atau 'hidden'."
7
+    "en": "Display mode invalid. Expected one of: 'full', 'compact', 'minimal' or 'hidden'.",
8
+    "id": "Tampilan mode tidak sah. Salah satu yang diharapkan: 'full', 'compact', 'minimal' atau 'hidden'.",
9
+    "ru": "Способ отображения не валиден. Ожидается один из следующих: 'full', 'compact', 'minimal' or 'hidden'."
9 10
   }
10 11
 }
11 12
 </script>
@@ -21,27 +22,33 @@
21 22
   },
22 23
   "waitingForNetwork": {
23 24
     "en": "waiting for network",
24
-    "id": "menenggu jaringan"
25
+    "id": "menenggu untuk jaringan",
26
+    "ru": "ожидание сети"
25 27
   },
26 28
   "waitingForServer": {
27 29
     "en": "waiting for server",
28
-    "id": "menenggu server"
30
+    "id": "menenggu untuk server",
31
+    "ru": "ожидание сервера"
29 32
   },
30 33
   "newJob": {
31 34
     "en": "new job",
32
-    "id": "kerjaan baru"
35
+    "id": "pekerjaan baru",
36
+    "ru": "новая работа"
33 37
   },
34 38
   "solvedJob": {
35 39
     "en": "solved job",
36
-    "id": "kerjaan dipecahkan"
40
+    "id": "pekerjaan diselesaikan",
41
+    "ru": "решенная работа"
37 42
   },
38 43
   "poolAcceptedHash": {
39
-    "en": "pool accepted hash!",
40
-    "id": "pool menerima hash!"
44
+    "en": "Pool accepted hash!",
45
+    "id": "Pool menerima hash!",
46
+    "ru": "Пул принял хеш"
41 47
   },
42 48
   "error": {
43 49
     "en": "error",
44
-    "id": "error"
50
+    "id": "error",
51
+    "ru": "ошибка"
45 52
   }
46 53
 }
47 54
 </script>
@@ -65,59 +72,73 @@
65 72
   },
66 73
   "activated": {
67 74
     "en": "Miner activated…",
68
-    "id": "Miner diaktifkan…"
75
+    "id": "Penambang diaktifkan…",
76
+    "ru": "Майнер активирован"
69 77
   },
70 78
   "deactivated": {
71 79
     "en": "Miner deactivated…",
72
-    "id": "Miner dinonaktifkan…"
80
+    "id": "Penambang dinonaktifkan…",
81
+    "ru": "Майнер деактивирован"
73 82
   },
74 83
   "powered": {
75 84
     "en": "Device powered…",
76
-    "id": "Perangkat daya terhubung…"
85
+    "id": "Perangkat daya terhubung…",
86
+    "ru": "Девайс запитан…"
77 87
   },
78 88
   "unplugged": {
79 89
     "en": "Power unplugged…",
80
-    "id": "Daya telah dicabut…"
90
+    "id": "Daya telah dihapus…",
91
+    "ru": "Питание отключено…"
81 92
   },
82 93
   "paused": {
83 94
     "en": "Mining paused…",
84
-    "id": "Mining dijeda…"
95
+    "id": "Pertambangan dijeda…",
96
+    "ru": "Майнинг приостановлен…"
85 97
   },
86 98
   "resumed": {
87 99
     "en": "Mining resumed…",
88
-    "id": "Mining kembali…"
100
+    "id": "Pertambangan kembali…",
101
+    "ru": "Майнинг возобновлен…"
89 102
   },
90 103
   "disconnected": {
91 104
     "en": "Network disconnected…",
92
-    "id": "Jaringan terputus…"
105
+    "id": "Jaringan terputus…",
106
+    "ru": "Сеть отключена…"
93 107
   },
94 108
   "restored": {
95 109
     "en": "Network restored…",
96
-    "id": "Memulihkan jaringan…"
110
+    "id": "Memulihkan jaringan…",
111
+    "ru": "Сеть восстановлена…"
97 112
   },
98 113
   "activate": {
99 114
     "en": "Click to activate…",
100
-    "id": "Klik untuk mengaktifkan…"
115
+    "id": "Klik untuk mengaktifkan…",
116
+    "ru": "Нажмите для активации…"
101 117
   },
102 118
   "override": {
103 119
     "en": "Click to override…",
104
-    "id": "Klik untuk mengganti…"
120
+    "id": "Klik untuk mengganti…",
121
+    "ru": "Нажмите чтобы переписать…"
105 122
   },
106 123
   "economy": {
107 124
     "en": "Saving battery…",
108
-    "id": "Hemat baterai…"
125
+    "id": "Hemat baterai…",
126
+    "ru": "Энергосбережение…"
109 127
   },
110 128
   "hashpower": {
111 129
     "en": "hash power…",
112
-    "id": "hash daya…"
130
+    "id": "hash daya…",
131
+    "ru": "Мощность хеша…"
113 132
   },
114 133
   "hashes": {
115 134
     "en": "hashes",
116
-    "id": "hashes"
135
+    "id": "hash",
136
+    "ru": "Хеши"
117 137
   },
118 138
   "unit": {
119 139
     "en": "H/s",
120
-    "id": "H/k"
140
+    "id": "H/k",
141
+    "ru": "Х/с"
121 142
   }
122 143
 }
123 144
 </script>

Loading…
Cancel
Save