use speciaized translation key

This commit is contained in:
Armin Schrenk
2023-01-25 12:44:09 +01:00
parent 8580e97791
commit b4c384acc9
2 changed files with 2 additions and 3 deletions
@@ -131,7 +131,7 @@ public class VolumePreferencesController implements FxController {
@Override
public String toString(MountService provider) {
if (provider == null) {
return resourceBundle.getString("generic.choicebox.autoSelection");
return resourceBundle.getString("preferences.volume.type.automatic");
} else {
return provider.displayName();
}
+1 -2
View File
@@ -14,8 +14,6 @@ generic.button.copied=Copied!
generic.button.done=Done
generic.button.next=Next
generic.button.print=Print
## Selection
generic.choicebox.autoSelection=Automatic
# Error
error.message=An error occurred
@@ -279,6 +277,7 @@ preferences.interface.showTrayIcon=Show tray icon (requires restart)
## Volume
preferences.volume=Virtual Drive
preferences.volume.type=Volume Type
preferences.volume.type.automatic=Automatic
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