From 7b84ce0232bcd123a4396778fbab408249ec2d9f Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Thu, 21 Jan 2016 16:36:08 +0100 Subject: [PATCH 1/3] Updated language files and added new ones for Spanish and Chinese. --- app/src/main/res/values-de/strings.xml | 39 ++++++++++++++++++-------- app/src/main/res/values-es/strings.xml | 4 +++ app/src/main/res/values-zh/strings.xml | 4 +++ app/src/main/res/values/strings.xml | 24 +++++++--------- 4 files changed, 45 insertions(+), 26 deletions(-) create mode 100644 app/src/main/res/values-es/strings.xml create mode 100644 app/src/main/res/values-zh/strings.xml diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 21e0902..7afb464 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,8 +1,5 @@ - - Sudoku - Neues Spiel Einstellungen @@ -14,11 +11,6 @@ Einstellungen - Einstellungen - - - Feld Auswahl - Werte Diese App gehört zur Gruppe der Privacy Friendly Apps. @@ -26,14 +18,11 @@ In Zusammenarbeit mit: Autor: - - Spiel starten - Leicht Normal Schwer - Diese App benutzt QQWing. + Diese App benutzt eine modifizierte Version des QQWing v1.3.4. ࢝ Zeit: Abbrechen eine privacy friendly App @@ -45,5 +34,31 @@ Wähle ein gültiges Feld aus und drücke dann auf den Hinweis Knopf um dann das makierte Feld aufzulösen. Bist du sicher, dass du den Spielstand löschen möchtest? Spiel Fortsetzen + Spielfeld zurücksetzen + Beste Zeit: + Abgeschlossene Spiele: + Benutzte Hinweise: + Notizen Löschung + Automatisches löschen von Notizen, wenn Zahlen in verbundenen Feldern gesetzt werden + Spiel Einstellungen + Auswahl hervorheben + Wert hervorheben + Spiel + Hervorhebung + Verbundene Spalten + Notizen + Verbundene Reihen + Verbundene Sektionen + Gleiche Werte + Symbole + Spiel laden + Statistik + Alles zurücksetzen + zurücksetzen + Bist du dir sicher, dass du das komplette Spielfeld zurücksetzen möchtest? + Gesamtspielzeit: + fortsetzen + Glückwunsch! + Sudoku \ No newline at end of file diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml new file mode 100644 index 0000000..07bff72 --- /dev/null +++ b/app/src/main/res/values-es/strings.xml @@ -0,0 +1,4 @@ + + + Sudoku + \ No newline at end of file diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml new file mode 100644 index 0000000..07bff72 --- /dev/null +++ b/app/src/main/res/values-zh/strings.xml @@ -0,0 +1,4 @@ + + + Sudoku + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b428ac0..315ceef 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ Sudoku - Sudoku + Sudoku Cancel @@ -17,15 +17,14 @@ a privacy friendly app - Open navigation drawer - Close navigation drawer + Open navigation drawer + Close navigation drawer Load Game Generating new level in the background… Settings - Settings Highlighting Selection highlight @@ -60,16 +59,15 @@ Privacy friendly Sudoku - v0.9 + v0.9 Author: Christopher Beckmann, Timm Lippert In affiliation with: This application belongs to the Privacy Friendly Apps. - This application uses a modified version of QQWing v1.3.4 More information can be found on: - https://www.secuso.org - This App uses QQWing. - http://qqwing.com/ + https://www.secuso.org + This application uses a modified version of QQWing v1.3.4 + http://qqwing.com/ Easy @@ -84,7 +82,6 @@ Standard Sudoku 12x12 X Sudoku 9x9 Hyper Sudoku 9x9 - Statistics Select a valid field and then press the hint button to reveal the solution. Are you sure you want to use this hint? When using hints, you will not be able to achieve a personal best time. Use @@ -94,20 +91,19 @@ Are you sure you want to delete this save? Delete - StatsActivity Statistics Number of hints used: Number of games played: Total time played: - Average time: - Minimum time: + ࢝ time: + Best time: Reset All - Congratulations, you have solved the puzzle! + Congratulations! continue From f24a0866e4bafdf1dbf6e6548706dd0b3715ffc0 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Thu, 21 Jan 2016 16:44:23 +0100 Subject: [PATCH 2/3] Russian added as well. Translation following soon. --- app/src/main/res/values-ru/strings.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/src/main/res/values-ru/strings.xml diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml new file mode 100644 index 0000000..07bff72 --- /dev/null +++ b/app/src/main/res/values-ru/strings.xml @@ -0,0 +1,4 @@ + + + Sudoku + \ No newline at end of file From e975d9277ad2521c675d841619afba083ff44b94 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Thu, 21 Jan 2016 16:50:20 +0100 Subject: [PATCH 3/3] Runnable again. Fixed imports. --- .../privacyfriendlysudoku/controller/SaveLoadStatistics.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java index 1dc8a11..23da95d 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java @@ -13,6 +13,7 @@ import java.util.List; import org.secuso.privacyfriendlysudoku.controller.helper.HighscoreInfoContainer; import org.secuso.privacyfriendlysudoku.game.GameDifficulty; import org.secuso.privacyfriendlysudoku.game.GameType; +import org.secuso.privacyfriendlysudoku.game.listener.ITimerListener; /** * Created by TMZ_LToP on 19.11.2015. @@ -202,7 +203,7 @@ public class SaveLoadStatistics implements ITimerListener { @Override public void onTick(int time) { - saveTime(gc.getDifficulty(),gc.getGameType()); + saveTime(gc.getDifficulty(), gc.getGameType()); //gc.getUsedHints(); } }