Skip to content

Commit 24d0c18

Browse files
committed
refactor: remove unused i18n fields
1 parent ee1c42a commit 24d0c18

File tree

2 files changed

+30
-218
lines changed

2 files changed

+30
-218
lines changed

src/i18n/locales/en.json

Lines changed: 15 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"cancel": "Cancel",
99
"close": "Close",
1010
"confirm": "Confirm",
11-
"loading": "Loading...",
1211
"maximize": "Maximize",
1312
"minimize": "Minimize",
1413
"reset": "Reset",
@@ -33,13 +32,10 @@
3332
"openDocs": "Open Docs",
3433
"openlist": "OpenList",
3534
"openlistDesc": "Manage your cloud storage with OpenList",
36-
"quickLinks": "Quick Links",
3735
"rclone": "Rclone",
38-
"rcloneDesc": "Command line program to manage files on cloud storage",
39-
"title": "Documentation"
36+
"rcloneDesc": "Command line program to manage files on cloud storage"
4037
},
4138
"quickActions": {
42-
"autoLaunch": "Auto Launch Core(not app)",
4339
"configRclone": "Configure RClone",
4440
"copyAdminPassword": "Copy admin password",
4541
"firewall": {
@@ -51,39 +47,15 @@
5147
"removed": "Port removed successfully"
5248
},
5349
"manageMounts": "Manage Mounts",
54-
"openWeb": "Web",
5550
"openlistService": "OpenList Core",
56-
"processing": "Processing...",
57-
"quickSettings": "Quick Settings",
51+
"openWeb": "Web",
5852
"rclone": "RClone",
5953
"resetAdminPassword": "Reset admin password",
6054
"restart": "Restart",
6155
"startOpenListCore": "Start",
62-
"startRclone": "Start RClone",
6356
"stopOpenListCore": "Stop",
64-
"stopRclone": "Stop RClone",
6557
"title": "Core Management"
6658
},
67-
"serviceManagement": {
68-
"confirmUninstall": {
69-
"confirm": "Uninstall",
70-
"message": "Are you sure you want to uninstall the OpenList service? This will stop all functionality and make the application unusable until the service is reinstalled.",
71-
"title": "Confirm Uninstall"
72-
},
73-
"install": "Install",
74-
"serviceStatus": "OpenList Backend Service",
75-
"start": "Start",
76-
"status": {
77-
"error": "Error",
78-
"installed": "Installed",
79-
"notInstalled": "Not Installed",
80-
"running": "Running",
81-
"stopped": "Stopped"
82-
},
83-
"stop": "Stop",
84-
"title": "Service Management",
85-
"uninstall": "Uninstall"
86-
},
8759
"versionManager": {
8860
"openlist": "OpenList",
8961
"rclone": "Rclone",
@@ -117,8 +89,7 @@
11789
"sources": {
11890
"all": "All Sources",
11991
"openlist": "OpenList",
120-
"rclone": "Rclone",
121-
"service": "Service"
92+
"rclone": "Rclone"
12293
}
12394
},
12495
"headers": {
@@ -195,7 +166,6 @@
195166
"config": {
196167
"addFlag": "Add Flag",
197168
"addTitle": "Add Remote Configuration",
198-
"advancedSettings": "Advanced Settings",
199169
"authentication": "Authentication",
200170
"autoMount": "Auto-mount on startup",
201171
"basicInfo": "Basic Information",
@@ -252,7 +222,6 @@
252222
"quickFlags": "Common Used Flags",
253223
"quickFlagsTooltip": "Quick select common rclone flags",
254224
"removeFlag": "Remove Flag",
255-
"selectCommonFlags": "Select Common Flags",
256225
"type": "Type",
257226
"types": {
258227
"webdav": "WebDAV"
@@ -280,25 +249,15 @@
280249
"failedToDelete": "Failed to delete configuration",
281250
"failedToMount": "Failed to mount remote",
282251
"failedToSave": "Failed to save configuration",
283-
"failedToStartService": "Failed to start rclone service",
284-
"failedToStopService": "Failed to stop rclone service",
285252
"failedToUnmount": "Failed to unmount remote",
286253
"fillRequiredFields": "Please fill in all required fields",
287254
"mountPointRequired": "Mount point is required"
288255
},
289256
"meta": {
290-
"autoMount": "Auto Mount",
291-
"openInExplorer": "Click to open in file explorer"
292-
},
293-
"service": {
294-
"running": "Running",
295-
"stopped": "Stopped"
257+
"autoMount": "Auto Mount"
296258
},
297259
"stats": {
298-
"error": "Error",
299-
"mounted": "Mounted",
300-
"total": "Total",
301-
"unmounted": "Unmounted"
260+
"mounted": "Mounted"
302261
},
303262
"status": {
304263
"error": "Error",
@@ -327,15 +286,12 @@
327286
"app": {
328287
"autoStartApp": {
329288
"description": "Automatically start OpenList service when the application launches",
330-
"subtitle": "Automatically start OpenList Desktop application when the system starts",
331289
"title": "Auto-launch on startup(Immediate Effect)"
332290
},
333291
"config": {
334292
"openError": "Failed to open settings file",
335-
"openFile": "Open settings.json",
336293
"openSuccess": "Settings file opened successfully",
337-
"subtitle": "Access application configuration files",
338-
"title": "Configuration Files"
294+
"subtitle": "Access application configuration files"
339295
},
340296
"ghProxy": {
341297
"api": {
@@ -345,7 +301,6 @@
345301
"help": "Optional. Enter a proxy URL to accelerate GitHub. Example: https://ghfast.top",
346302
"label": "GitHub Proxy URL",
347303
"placeholder": "https://ghfast.top",
348-
"subtitle": "Accelerate GitHub with proxy service",
349304
"title": "GitHub Proxy"
350305
},
351306
"hideDockIcon": {
@@ -356,80 +311,45 @@
356311
"openInBrowser": {
357312
"description": "Use system default browser instead of built-in window",
358313
"title": "Open links in external browser"
359-
},
360-
"subtitle": "Configure how links are opened",
361-
"title": "Link Handling"
314+
}
362315
},
363316
"showWindowOnStartup": {
364317
"description": "Show the main application window when OpenList Desktop starts",
365318
"title": "Show main window on startup"
366319
},
367-
"subtitle": "Configure application preferences and behavior",
368-
"theme": {
369-
"auto": "Auto",
370-
"autoDesc": "Follow system",
371-
"dark": "Dark",
372-
"light": "Light",
373-
"subtitle": "Choose your preferred appearance",
374-
"title": "Theme"
375-
},
376-
"updates": {
377-
"autoCheck": {
378-
"description": "Automatically check for and notify about new updates in the background",
379-
"title": "Automatic Update Checks"
380-
},
381-
"subtitle": "Manage automatic updates and notifications",
382-
"title": "Updates"
383-
}
320+
"subtitle": "Configure application preferences and behavior"
384321
},
385322
"common": "Common",
386323
"confirmReset": {
387324
"message": "Are you sure you want to reset all settings to defaults? This action cannot be undone.",
388325
"title": "Reset Settings"
389326
},
390327
"network": {
391-
"subtitle": "Configure the web interface and network settings",
392328
"title": "Network Configuration"
393329
},
394330
"rclone": {
395-
"api": {
396-
"port": {
397-
"help": "Port number for the Rclone API server (1-65535). Default: 45572",
398-
"label": "API Port",
399-
"placeholder": "45572"
400-
},
401-
"subtitle": "Configure the Rclone API server settings",
402-
"title": "API Configuration"
403-
},
404331
"config": {
405-
"invalidJson": "Invalid JSON configuration. Please check your syntax.",
406-
"label": "Rclone Configuration",
407332
"openError": "Failed to open rclone config file",
408333
"openFile": "Open rclone.conf",
409334
"openSuccess": "Rclone config file opened successfully",
410-
"subtitle": "Configure rclone for remote storage access",
411-
"tips": "View your rclone configuration as JSON. This will be used to configure rclone remotes.",
412-
"title": "Remote Storage"
335+
"subtitle": "Configure rclone for remote storage access"
413336
},
414337
"subtitle": "Configure remote storage connections"
415338
},
416339
"resetFailed": "Failed to reset settings.",
417340
"resetSuccess": "Settings reset to defaults successfully!",
418-
"resetToDefaults": "Reset to defaults",
419341
"saveChanges": "Save Changes",
420-
"saveFailed": "Failed to save settings. Please try again.",
421342
"saved": "Settings saved successfully!",
343+
"saveFailed": "Failed to save settings. Please try again.",
422344
"service": {
423345
"admin": {
424-
"currentPassword": "Admin Password",
425346
"help": "Enter a custom admin password or click the reset button to generate a new random password. Click 'Save Changes' to apply the password to OpenList Core.",
426347
"passwordPlaceholder": "Enter admin password or click reset to generate",
427-
"passwordUpdateFailed": "Failed to update admin password. Please check the logs for more details.",
428348
"passwordUpdated": "Admin password updated successfully!",
349+
"passwordUpdateFailed": "Failed to update admin password. Please check the logs for more details.",
429350
"resetFailed": "Failed to reset admin password. Please check the logs for more details.",
430351
"resetSuccess": "Admin password reset successfully! New password has been generated and saved.",
431352
"resetTitle": "Reset admin password to a new random value",
432-
"subtitle": "Manage the admin password for OpenList Core web interface",
433353
"title": "Admin Password"
434354
},
435355
"customPaths": {
@@ -452,7 +372,6 @@
452372
"selectTitle": "Select Rclone Config File"
453373
},
454374
"selectError": "Failed to select file. Please try again or enter path manually.",
455-
"subtitle": "Override default binary and configuration file paths",
456375
"title": "Custom Paths"
457376
},
458377
"network": {
@@ -478,16 +397,12 @@
478397
},
479398
"startup": {
480399
"autoLaunch": {
481-
"description": "Automatically start OpenList core when the computer starts",
482-
"title": "Auto-launch on startup"
400+
"description": "Automatically start OpenList Core service when the application launches",
401+
"title": "Auto-launch OpenList Core on app startup"
483402
}
484403
},
485404
"subtitle": "Configure OpenList service settings"
486405
},
487-
"startup": {
488-
"subtitle": "Configure automatic startup behavior",
489-
"title": "Startup Options"
490-
},
491406
"subtitle": "Configure your OpenList Desktop application",
492407
"tabs": {
493408
"app": "Application",
@@ -501,18 +416,13 @@
501416
"darkDesc": "Dark theme",
502417
"light": "Light",
503418
"lightDesc": "Light theme",
504-
"title": "Theme",
505419
"toggle": "Toggle theme"
506420
},
507421
"title": "Settings"
508422
},
509423
"update": {
510-
"aboutUpdates": "About Updates",
511-
"autoCheck": "Check for updates automatically",
512-
"autoCheckInfo": "Automatic update checks keep your app secure and up-to-date",
513424
"availableInstallers": "Available Installers",
514425
"backgroundUpdateAvailable": "Update available in background",
515-
"backupInfo": "Your data is automatically backed up before major updates",
516426
"checkError": "Failed to check for updates",
517427
"checkForUpdates": "Check for Updates",
518428
"checking": "Checking...",
@@ -524,16 +434,12 @@
524434
"lastChecked": "Last checked",
525435
"noUpdatesFound": "No updates available",
526436
"quitApp": "Quitting application...",
527-
"releaseChannels": "Release Channels",
528-
"releaseChannelsInfo": "We use GitHub releases to manage app updates.",
529437
"releaseDate": "Release Date",
530-
"releaseNotes": "Release Notes",
531-
"securityInfo": "Updates include important security patches and bug fixes",
532438
"showUpdate": "Show Update",
533439
"startingDownload": "Starting download...",
534440
"subtitle": "Keep your application up to date with the latest features and security improvements",
535441
"title": "App Updates",
536-
"upToDate": "App is up to date",
537-
"updateAvailable": "Update Available"
442+
"updateAvailable": "Update Available",
443+
"upToDate": "App is up to date"
538444
}
539445
}

0 commit comments

Comments
 (0)