feat: add translation support

This commit is contained in:
Martin Prokoph
2025-08-02 11:15:53 +02:00
parent ec1841a592
commit dfba8b397e
14 changed files with 173 additions and 43 deletions

View File

@@ -25,6 +25,7 @@ public class Tetris {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception | Error e) { System.out.printf("%s: %s\n", "Error setting system look and feel", e); }
Settings.load();
Translation.load(Settings.language.locale);
HighScores.load();
timer = new Timer("Tetris falling pieces");
space = new Space();