From 629971687d18e909e347656530e2948f90592545 Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Fri, 28 Mar 2025 16:17:08 +0100 Subject: [PATCH] feat(gui): explanation to options enabled or disabled per folder type (#9367) Currently, some options are automatically enabled or disabled depending on the folder type. However, there is no explanation in the GUI on why the options are like that. Thus, add short explanatory notes to each case, where the option is either disabled or enabled according to the current folder type. --- gui/default/assets/lang/lang-en.json | 2 ++ .../syncthing/folder/editFolderModalView.html | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/gui/default/assets/lang/lang-en.json b/gui/default/assets/lang/lang-en.json index b30c35997..e58b799e6 100644 --- a/gui/default/assets/lang/lang-en.json +++ b/gui/default/assets/lang/lang-en.json @@ -27,6 +27,7 @@ "Allowed Networks": "Allowed Networks", "Alphabetic": "Alphabetic", "Altered by ignoring deletes.": "Altered by ignoring deletes.", + "Always turned on when the folder type is \"{%foldertype%}\".": "Always turned on when the folder type is \"{{foldertype}}\".", "An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.": "An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.", "Anonymous Usage Reporting": "Anonymous Usage Reporting", "Anonymous usage report format has changed. Would you like to move to the new format?": "Anonymous usage report format has changed. Would you like to move to the new format?", @@ -52,6 +53,7 @@ "Body:": "Body:", "Bugs": "Bugs", "Cancel": "Cancel", + "Cannot be enabled when the folder type is \"{%foldertype%}\".": "Cannot be enabled when the folder type is \"{{foldertype}}\".", "Changelog": "Changelog", "Clean out after": "Clean out after", "Cleaning Versions": "Cleaning Versions", diff --git a/gui/default/syncthing/folder/editFolderModalView.html b/gui/default/syncthing/folder/editFolderModalView.html index 696f143a2..5930b8f05 100644 --- a/gui/default/syncthing/folder/editFolderModalView.html +++ b/gui/default/syncthing/folder/editFolderModalView.html @@ -251,6 +251,9 @@ +

+ Cannot be enabled when the folder type is "{%foldertype%}". +

@@ -282,6 +285,9 @@

Disables comparing and syncing file permissions. Useful on systems with nonexistent or custom permissions (e.g. FAT, exFAT, Synology, Android).

+

+ Always turned on when the folder type is "{%foldertype%}". +

@@ -297,12 +303,18 @@

Enables sending ownership information to other devices, and applying incoming ownership information. Typically requires running with elevated privileges.

+

+ Cannot be enabled when the folder type is "{%foldertype%}". +

Enables sending ownership information to other devices, but not applying incoming ownership information. This can have a significant performance impact. Always enabled when "Sync Ownership" is enabled.

+

+ Cannot be enabled when the folder type is "{%foldertype%}". +

@@ -315,12 +327,18 @@

Enables sending extended attributes to other devices, and applying incoming extended attributes. May require running with elevated privileges.

+

+ Cannot be enabled when the folder type is "{%foldertype%}". +

Enables sending extended attributes to other devices, but not applying incoming extended attributes. This can have a significant performance impact. Always enabled when "Sync Extended Attributes" is enabled.

+

+ Cannot be enabled when the folder type is "{%foldertype%}". +