Kaynağa Gözat

Localization of stats labels

Markus Kreusch 9 yıl önce
ebeveyn
işleme
78300f8bf1

+ 2 - 2
main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockedController.java

@@ -186,9 +186,9 @@ public class UnlockedController extends AbstractFXMLViewController {
 
 	private void startIoSampling() {
 		final Series<Number, Number> decryptedBytes = new Series<>();
-		decryptedBytes.setName("decrypted");
+		decryptedBytes.setName(localization.getString("unlocked.label.statsDecrypted"));
 		final Series<Number, Number> encryptedBytes = new Series<>();
-		encryptedBytes.setName("encrypted");
+		encryptedBytes.setName(localization.getString("unlocked.label.statsEncrypted"));
 
 		ioGraph.getData().add(decryptedBytes);
 		ioGraph.getData().add(encryptedBytes);

+ 2 - 0
main/ui/src/main/resources/localization.properties

@@ -62,6 +62,8 @@ unlocked.moreOptions.reveal=Reveal drive
 unlocked.moreOptions.copyUrl=Copy WebDAV URL
 unlocked.label.revealFailed=Command failed
 unlocked.label.unmountFailed=Ejecting drive failed
+unlocked.label.statsEncrypted=encrypted
+unlocked.label.statsDecrypted=decrypted
 unlocked.ioGraph.yAxis.label=Throughput (MiB/s)
 
 # mac_warnings.fxml

+ 2 - 0
main/ui/src/main/resources/localization_de.properties

@@ -62,6 +62,8 @@ unlocked.moreOptions.reveal=Laufwerk anzeigen
 unlocked.moreOptions.copyUrl=WebDAV-URL kopieren
 unlocked.label.revealFailed=Befehl fehlgeschlagen
 unlocked.label.unmountFailed=Trennen des Laufwerks fehlgeschlagen
+unlocked.label.statsEncrypted=verschlüsselt
+unlocked.label.statsDecrypted=entschlüsselt
 unlocked.ioGraph.yAxis.label=Durchsatz (MiB/s)
 
 # mac_warnings.fxml