From 4c235c645441e904e7ddae3e02083cdac0c198c5 Mon Sep 17 00:00:00 2001 From: Bill Farmer Date: Sun, 10 Dec 2023 10:35:31 +0000 Subject: [PATCH] Update README, help, strings --- README.md | 6 +++--- src/main/java/org/billthefarmer/gurgle/Gurgle.java | 8 ++++---- src/main/res/raw/help.html | 6 +++--- src/main/res/values-af/strings.xml | 1 - src/main/res/values-hu/strings.xml | 1 - src/main/res/values-it/strings.xml | 1 - src/main/res/values/strings.xml | 1 - 7 files changed, 10 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 280e328..29d6841 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,9 @@ Select coloured theme from the **Theme** button in the toolbar. ## Options * **Confetti** – Select confetti display on guessing word. * **Fanfare** – Select fanfare on guessing word. - * **Default word** – Select to enable default word. The first word - entered will become the default word entered at the beginning of - each game. Reset to clear word. + * **Default word** – Select to enable default word. The first + word entered will become the default word entered at the beginning + of each game. Reset to clear word. ## Dictionary Select the dictionary to look up a word meaning. Wiktionary (online) diff --git a/src/main/java/org/billthefarmer/gurgle/Gurgle.java b/src/main/java/org/billthefarmer/gurgle/Gurgle.java index 4dcb554..8a0f58a 100644 --- a/src/main/java/org/billthefarmer/gurgle/Gurgle.java +++ b/src/main/java/org/billthefarmer/gurgle/Gurgle.java @@ -576,12 +576,12 @@ public void onPause() PreferenceManager.getDefaultSharedPreferences(this); SharedPreferences.Editor editor = preferences.edit(); - editor.putInt(PREF_THEME, theme); - editor.putInt(PREF_WRONG, wrong); - editor.putInt(PREF_LANG, language); editor.putInt(PREF_CONT, contains); editor.putInt(PREF_CORR, correct); editor.putInt(PREF_DICT, dict); + editor.putInt(PREF_LANG, language); + editor.putInt(PREF_THEME, theme); + editor.putInt(PREF_WRONG, wrong); editor.putString(PREF_FIRST, first); editor.putBoolean(PREF_CONF, confetti); editor.putBoolean(PREF_FARE, fanfare); @@ -1866,7 +1866,7 @@ private void about() // Add the buttons builder.setPositiveButton(android.R.string.ok, null); - builder.setNeutralButton(R.string.more, (d, i) -> + builder.setNeutralButton(R.string.help, (d, i) -> { showToast(word); solved = true; diff --git a/src/main/res/raw/help.html b/src/main/res/raw/help.html index b752162..a7e3d77 100644 --- a/src/main/res/raw/help.html +++ b/src/main/res/raw/help.html @@ -73,9 +73,9 @@

Options

display on guessing word.
  •  Fanfare – Select fanfare on guessing word.
-   •  Default word – Select to enable default word. - The first word entered will become the default word entered at the - beginning of each game. Reset to clear word.
+   •  Default word – Select to enable + default word. The first word entered will become the default word + entered at the beginning of each game. Reset to clear word.

Dictionary

diff --git a/src/main/res/values-af/strings.xml b/src/main/res/values-af/strings.xml index 50d9728..18086ec 100644 --- a/src/main/res/values-af/strings.xml +++ b/src/main/res/values-af/strings.xml @@ -20,7 +20,6 @@ Kry kode Voer kode in Aangaande - Meer Taal Afrikaans diff --git a/src/main/res/values-hu/strings.xml b/src/main/res/values-hu/strings.xml index 0b20113..8c5541d 100644 --- a/src/main/res/values-hu/strings.xml +++ b/src/main/res/values-hu/strings.xml @@ -20,7 +20,6 @@ Kód beolvasása Kód megadása Az alkalmazásról - Továbbiak Nyelvek Délafrikai holland diff --git a/src/main/res/values-it/strings.xml b/src/main/res/values-it/strings.xml index 11fc6f1..e76d8a0 100644 --- a/src/main/res/values-it/strings.xml +++ b/src/main/res/values-it/strings.xml @@ -20,7 +20,6 @@ Ottieni codice Inserisci codice Informazioni - Più Lingua Afrikaans diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index c6d4054..cbb8a85 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -20,7 +20,6 @@ Get code Enter code About - More Language Afrikaans