浏览代码

enable localization of tooltip

Armin Schrenk 2 年之前
父节点
当前提交
e35ed9af72
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. 1 1
      src/main/resources/fxml/preferences_volume.fxml
  2. 1 2
      src/main/resources/i18n/strings.properties

+ 1 - 1
src/main/resources/fxml/preferences_volume.fxml

@@ -27,7 +27,7 @@
 					<FontAwesome5IconView glyph="QUESTION_CIRCLE" styleClass="glyph-icon-muted"/>
 				</graphic>
 				<tooltip>
-					<Tooltip text="Open Cryptomator Docs to learn more about the different volume types." showDelay="100ms"/>
+					<Tooltip text="%preferences.volume.docsTooltip" showDelay="100ms"/>
 				</tooltip>
 			</Hyperlink>
 		</HBox>

+ 1 - 2
src/main/resources/i18n/strings.properties

@@ -278,8 +278,7 @@ preferences.interface.showTrayIcon=Show tray icon (requires restart)
 preferences.volume=Virtual Drive
 preferences.volume.type=Volume Type (requires restart)
 preferences.volume.type.automatic=Automatic
-preferences.volume.docs.description=More information about the different volume types can be found in the user documentation.
-preferences.volume.docs.linkText=Open Cryptomator Docs
+preferences.volume.docsTooltip=Open the documentation to learn more about the different volume types.
 preferences.volume.tcp.port=TCP Port
 preferences.volume.supportedFeatures=The chosen volume type supports the following features:
 preferences.volume.feature.mountAuto=Automatic mount point selection