Browse Source

removing testsetting

infeo 6 years ago
parent
commit
a759455473
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/ui/src/main/java/org/cryptomator/ui/l10n/Localization.java

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/l10n/Localization.java

@@ -64,7 +64,7 @@ public class Localization extends ResourceBundle {
 				LOG.debug("No localization found. Falling back to default language.");
 				localizationBundle = this.fallback;
 			}
-			this.localized = Objects.requireNonNull(this.fallback);
+			this.localized = Objects.requireNonNull(localizationBundle);
 		} catch (IOException e) {
 			throw new UncheckedIOException(e);
 		}