summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.hg_archival.txt6
-rw-r--r--desktop/samegame/Changelog.txt1
-rw-r--r--desktop/samegame/build.xml2
-rw-r--r--desktop/samegame/src/pietraszczyk/samegame/SameGame.java12
4 files changed, 14 insertions, 7 deletions
diff --git a/.hg_archival.txt b/.hg_archival.txt
new file mode 100644
index 0000000..99bb49c
--- /dev/null
+++ b/.hg_archival.txt
@@ -0,0 +1,6 @@
+repo: a2d03c7d8648b0edc1ba278111f9b099e4af0f13
+node: a2d03c7d8648b0edc1ba278111f9b099e4af0f13
+branch: default
+latesttag: null
+latesttagdistance: 1
+changessincelatesttag: 1
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);
}