From 58c0bc5057aee3825bc21b50f2d4b1c95da17b9b Mon Sep 17 00:00:00 2001 From: Lars <29163322+Drumber@users.noreply.github.com> Date: Fri, 12 Aug 2022 18:02:40 +0200 Subject: [PATCH 1/2] Added last sync time to statusbar --- en.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/en.json b/en.json index 93e352e..4e91b46 100644 --- a/en.json +++ b/en.json @@ -39,6 +39,18 @@ "command_exportsyncplans_table": "export sync plans in table format", "command_exportlogsindb": "export logs saved in db", + "statusbar_time_years": "{{time}} years", + "statusbar_time_months": "{{time}} months", + "statusbar_time_weeks": "{{time}} weeks", + "statusbar_time_days": "{{time}} days", + "statusbar_time_hours": "{{time}} hours", + "statusbar_time_minutes": "{{time}} minutes", + "statusbar_time_lessminute": "less than a minute", + "statusbar_lastsync": "Synced {{time}} ago", + "statusbar_lastsync_label": "Last successful Sync on {{date}}", + "statusbar_lastsync_never": "Never Synced", + "statusbar_lastsync_never_label": "Never Synced before", + "modal_password_title": "Hold on and PLEASE READ ON...", "modal_password_shortdesc": "If the field is not empty, files would be encrypted locally before being uploaded.\nIf the field is empty, then files would be uploaded without encryption.", "modal_password_attn1": "Attention 1/5: The vault name is NOT encrypted. The plugin creates a folder with the vault name on some remote services.", From a0c4a6ca6c7e5d5f3b7f1cd28ec13518a5a01c02 Mon Sep 17 00:00:00 2001 From: Lars <29163322+Drumber@users.noreply.github.com> Date: Sat, 13 Aug 2022 11:55:09 +0200 Subject: [PATCH 2/2] Added option to settings to toggle status bar item --- en.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/en.json b/en.json index 4e91b46..cbebd9c 100644 --- a/en.json +++ b/en.json @@ -122,6 +122,9 @@ "settings_skiplargefiles": "Skip Large Files (experimental)", "settings_skiplargefiles_desc": "Skip files with sizes larger than the threshold. Here 1 MB = 10^6 bytes.", "settings_skiplargefiles_notset": "(not set)", + "settings_enablestatusbar_info": "Show Last Successful Sync In Status Bar", + "settings_enablestatusbar_info_desc": "Show the time of the last successful sync in the status bar.", + "settings_enablestatusbar_reloadrequired_notice": "Reload the plugin for the changes to take effect.", "settings_checkonnectivity": "Check Connectivity", "settings_checkonnectivity_desc": "Check connectivity.",