diff --git a/app/src/main/java/org/gnucash/android/ui/common/BaseDrawerActivity.java b/app/src/main/java/org/gnucash/android/ui/common/BaseDrawerActivity.java index 24b8ca873..52c93ba5b 100644 --- a/app/src/main/java/org/gnucash/android/ui/common/BaseDrawerActivity.java +++ b/app/src/main/java/org/gnucash/android/ui/common/BaseDrawerActivity.java @@ -372,15 +372,15 @@ public boolean onMenuItemClick(MenuItem item) { // This is not the first Activity Toast toast = Toast.makeText(this, - "You must be on the Account Page to change Book", - Toast.LENGTH_LONG); + R.string.toast_must_be_on_account_page_to_change_book, + Toast.LENGTH_LONG); // // Align-Center text inside the Toast // TextView toastTextView = (TextView) toast.getView() - .findViewById(android.R.id.message); + .findViewById(android.R.id.message); if (toastTextView != null) { toastTextView.setGravity(Gravity.CENTER); } diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index ca5f54be2..fc1e15b79 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -452,4 +452,5 @@ Préférences Afficher le signe - dans les transactions splittées Autoriser l\'affichage du signe - même lorsque le bouton Débit/Crédit est affiché + Vous devez être sur la page des Comptes pour pouvoir changer de Comptabilité diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ca4433022..74c22cb3d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -439,6 +439,7 @@ INCOME + You must be on the Account Page to change Book Connected to Google Drive Unable to connect to Google Drive Please enter an amount to split