You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add disableHardwareAcceleration setting to electron-store
- Add GPU toggle UI in settings page with tooltip
- Show restart prompt when toggle changes
- Add i18n support for 5 languages (zh/en/tr/ja/hu)
- Update TypeScript types and Vuex store
Copy file name to clipboardExpand all lines: src/lang/settings.ts
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,48 @@ export default {
153
153
ja: 'トピック内の空白を示し、送受信の不一致を防ぐための確認に役立ちます。',
154
154
hu: 'Highlights whitespace in topics to help prevent publish/subscribe mismatches.',
155
155
},
156
+
disableHardwareAcceleration: {
157
+
zh: '禁用 GPU 加速',
158
+
en: 'Disable GPU Acceleration',
159
+
tr: 'Disable GPU Acceleration',
160
+
ja: 'Disable GPU Acceleration',
161
+
hu: 'Disable GPU Acceleration',
162
+
},
163
+
disableHardwareAccelerationDesc: {
164
+
zh: 'GPU 加速利用显卡硬件渲染界面,可使操作更流畅并降低 CPU 占用。如遇画面卡顿、花屏或兼容性问题,可尝试关闭此选项。',
165
+
en: 'GPU acceleration uses graphics hardware to render the UI, making operations smoother and reducing CPU usage. Disable this option if you experience screen lag, artifacts, or compatibility issues.',
166
+
tr: 'GPU acceleration uses graphics hardware to render the UI, making operations smoother and reducing CPU usage. Disable this option if you experience screen lag, artifacts, or compatibility issues.',
167
+
ja: 'GPU acceleration uses graphics hardware to render the UI, making operations smoother and reducing CPU usage. Disable this option if you experience screen lag, artifacts, or compatibility issues.',
168
+
hu: 'GPU acceleration uses graphics hardware to render the UI, making operations smoother and reducing CPU usage. Disable this option if you experience screen lag, artifacts, or compatibility issues.',
169
+
},
170
+
restartRequired: {
171
+
zh: '需要重启',
172
+
en: 'Restart Required',
173
+
tr: 'Restart Required',
174
+
ja: 'Restart Required',
175
+
hu: 'Restart Required',
176
+
},
177
+
restartRequiredDesc: {
178
+
zh: 'GPU 加速设置已更新。需要重启应用才能生效,是否立即重启?',
179
+
en: 'The GPU acceleration setting has been updated. Restart the app now to apply the change?',
180
+
tr: 'The GPU acceleration setting has been updated. Restart the app now to apply the change?',
181
+
ja: 'The GPU acceleration setting has been updated. Restart the app now to apply the change?',
182
+
hu: 'The GPU acceleration setting has been updated. Restart the app now to apply the change?',
183
+
},
184
+
restartNow: {
185
+
zh: '立即重启',
186
+
en: 'Restart Now',
187
+
tr: 'Restart Now',
188
+
ja: 'Restart Now',
189
+
hu: 'Restart Now',
190
+
},
191
+
restartLater: {
192
+
zh: '稍后重启',
193
+
en: 'Later',
194
+
tr: 'Later',
195
+
ja: 'Later',
196
+
hu: 'Later',
197
+
},
156
198
autoResubDesc: {
157
199
zh: '开启后,MQTTX 连接后会自动重新订阅本地保存的所有订阅',
158
200
en: 'Once enabled, MQTTX will automatically resubscribe to all locally saved subscriptions after connecting',
0 commit comments