summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/samegame/Changelog.txt1
-rw-r--r--desktop/samegame/build.xml2
-rw-r--r--desktop/samegame/src/pietraszczyk/samegame/SameGame.java12
3 files changed, 8 insertions, 7 deletions
diff --git a/desktop/samegame/Changelog.txt b/desktop/samegame/Changelog.txt
index ce437bf..af0c2bb 100644
--- a/desktop/samegame/Changelog.txt
+++ b/desktop/samegame/Changelog.txt
@@ -1,3 +1,4 @@
+0.240417-3 - Polskie znaki
0.240417-2 - Pakietowanie
0.240417-1 - Poprawki w naliczaniu punktacji z promowaaniem wyższych poziomów
0.240417-0 - Dodalem punktacje oraz poziomy
diff --git a/desktop/samegame/build.xml b/desktop/samegame/build.xml
index ddf813a..3c8ee87 100644
--- a/desktop/samegame/build.xml
+++ b/desktop/samegame/build.xml
@@ -6,7 +6,7 @@
<target name="compile">
<mkdir dir="build/classes"/>
- <javac srcdir="src" destdir="build/classes"/>
+ <javac srcdir="src" encoding="UTF-8" destdir="build/classes"/>
</target>
<target name="jar">
diff --git a/desktop/samegame/src/pietraszczyk/samegame/SameGame.java b/desktop/samegame/src/pietraszczyk/samegame/SameGame.java
index ae923d8..9169ec9 100644
--- a/desktop/samegame/src/pietraszczyk/samegame/SameGame.java
+++ b/desktop/samegame/src/pietraszczyk/samegame/SameGame.java
@@ -66,7 +66,7 @@ public class SameGame extends JPanel
menuItem = new JMenuItem("Nowa Gra", null);
menuItem.setActionCommand("NewGame");
menuItem.addActionListener(this);
- menuItem.setToolTipText("Rozpoczyna nowa gre");
+ menuItem.setToolTipText("Rozpoczyna nową grę");
menu.add(menuItem);
JMenu med = new JMenu("Poziom");
@@ -82,7 +82,7 @@ public class SameGame extends JPanel
l3.setActionCommand("L3");
l3.addActionListener(this);
med.add(l3);
- l4 = new JMenuItem("Piec kolorow");
+ l4 = new JMenuItem("Pięć kolorów");
l4.setActionCommand("L4");
l4.addActionListener(this);
med.add(l4);
@@ -90,10 +90,10 @@ public class SameGame extends JPanel
menu.add(med);
menu.addSeparator();
- menuItem = new JMenuItem("Zakoncz", null);
+ menuItem = new JMenuItem("Zakończ", null);
menuItem.setActionCommand("Exit");
menuItem.addActionListener(this);
- menuItem.setToolTipText("Wyjscie z programu");
+ menuItem.setToolTipText("Wyjście z programu");
menu.add(menuItem);
menuItem = new JMenuItem("O Programie", null);
menuItem.setActionCommand("About");
@@ -300,8 +300,8 @@ public class SameGame extends JPanel
else if(e.getActionCommand().equals("About")) {
JOptionPane.showMessageDialog(frame,
- "Moja implementacja gry Same Game\nPrzemyslaw R. Pietraszczyk\nStworzono w oparciu o OpenJDK/ANT\nLicencja: GPL v3\nWiosna 2024",
- "Same Game 0.240417-2",
+ "Moja implementacja gry Same Game\nPrzemysław R. Pietraszczyk\nStworzono w oparciu o OpenJDK/ANT\nLicencja: GPL v3\nWiosna 2024",
+ "Same Game 0.240417-3",
JOptionPane.PLAIN_MESSAGE);
}