From 0ccb20ad1989217d3f94e53dfaf0c11dbb7bca21 Mon Sep 17 00:00:00 2001 From: uykek Date: Thu, 9 Jul 2020 08:41:07 +0200 Subject: [PATCH] Add string values for the ImportDialogFragment --- .../java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java | 2 +- app/src/main/res/values-de/strings.xml | 2 ++ app/src/main/res/values/strings.xml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java index 9add2f6..e8a25c9 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java @@ -415,7 +415,7 @@ public class MainActivity extends BaseActivity implements NavigationView.OnNavig DialogFragmentImportBoardBinding binding = DialogFragmentImportBoardBinding.inflate(inflater); builder.setView(binding.getRoot()); builder.setMessage(R.string.dialog_import_custom_sudoku); - builder.setPositiveButton(R.string.share_confirmation_confirm, new DialogInterface.OnClickListener() { + builder.setPositiveButton(R.string.dialog_import_custom_sudoku_positive_button, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { for(IImportDialogFragmentListener l : listeners) { l.onImportDialogPositiveClick(binding.ver3ImportSudokuEditText.getText().toString()); diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 8ea12df..ca27cc4 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -114,6 +114,8 @@ Abgeschlossene
Spiele
Sudoku importieren + Gib das Sudoku, das du importieren möchtest, ein: + Importieren Möchtest du dieses Sudoku fertigstellen? Verifiziere Level… Verifizierung abgeschlossen! diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d475097..d2453ea 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -171,6 +171,8 @@ Import Sudoku + Enter the sudoku you wish to import: + Import Do you wish to finalize this sudoku? Verifying… Done verifying!