From 33dc5aaf1eb675b338f93630e27a4b0b2f58c6d6 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 13 Apr 2020 15:18:14 +0200 Subject: [PATCH] Use US strings resources for hand actions --- .../ui/modules/handhistory/model/HandHistoryViewModel.kt | 1 + app/src/main/res/values-de/strings.xml | 9 --------- app/src/main/res/values-es/strings.xml | 9 --------- app/src/main/res/values-fr/strings.xml | 9 --------- app/src/main/res/values-hi/strings.xml | 9 --------- app/src/main/res/values-it/strings.xml | 9 --------- app/src/main/res/values-ja/strings.xml | 9 --------- app/src/main/res/values-pt/strings.xml | 9 --------- app/src/main/res/values-ru/strings.xml | 9 --------- app/src/main/res/values-zh/strings.xml | 9 --------- 10 files changed, 1 insertion(+), 81 deletions(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/HandHistoryViewModel.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/HandHistoryViewModel.kt index eaa970f7..5cc0475f 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/HandHistoryViewModel.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/HandHistoryViewModel.kt @@ -418,6 +418,7 @@ class HandHistoryViewModel : ViewModel(), RowRepresentableDataSource, CardCentra */ fun setNumberOfPlayers(playerCount: Int) { if (playerCount != this.handHistory.numberOfPlayers) { + this.clearSelection() // avoid crashes this.handSetup.tableSize = playerCount this.handHistory.configure(this.handSetup) load() diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 9c1e62ac..a180447a 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -698,15 +698,6 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 1662c45e..3707821f 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -699,15 +699,6 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 294eff5a..bb5a6cf7 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -767,14 +767,5 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 2e18b096..aa442b22 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -698,14 +698,5 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 8431ceef..ce4374a3 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -698,14 +698,5 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 8a100d3c..477cc706 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -698,14 +698,5 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index fa1927c5..b11d5070 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -697,14 +697,5 @@ Poker Rumble We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index aae49ccb..ee170d08 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -699,14 +699,5 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index c166f067..416b4d0e 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -693,14 +693,5 @@ Join us on Discord! We\'ve opened our Discord channel! Come to hang out, talk about poker or about the app! Good for you! - post - post - fold - straddle - check - call - bet - raise - allin