diff --git a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/autofill/AutofillService.kt b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/autofill/AutofillService.kt index 4b8c0e46c..8cf9da826 100644 --- a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/autofill/AutofillService.kt +++ b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/autofill/AutofillService.kt @@ -87,7 +87,7 @@ class AutofillService : AutofillService() { try { val responseBuilder = FillResponse.Builder() val presentation = RemoteViews(packageName, R.layout.autofill_dataset_item_logo) - presentation.setTextViewText(R.id.text, "Failed to retrieve, open app") + presentation.setTextViewText(R.id.text, getString(R.string.autofill_failed_to_retrieve)) val dataSetBuilder = Dataset.Builder(presentation) @@ -347,7 +347,7 @@ class AutofillService : AutofillService() { val presentation = RemoteViews(packageName, R.layout.autofill_dataset_item_logo) presentation.setTextViewText( R.id.text, - "No match found, create new?", + getString(R.string.autofill_no_match_found), ) val dataSetBuilder = Dataset.Builder(presentation) @@ -391,7 +391,7 @@ class AutofillService : AutofillService() { val openAppPresentation = RemoteViews(packageName, R.layout.autofill_dataset_item_logo) openAppPresentation.setTextViewText( R.id.text, - "Open app", + getString(R.string.autofill_open_app), ) val dataSetBuilder = Dataset.Builder(openAppPresentation) @@ -436,7 +436,7 @@ class AutofillService : AutofillService() { val presentation = RemoteViews(packageName, R.layout.autofill_dataset_item_logo) presentation.setTextViewText( R.id.text, - "Vault locked", + getString(R.string.autofill_vault_locked), ) val dataSetBuilder = Dataset.Builder(presentation) @@ -474,7 +474,7 @@ class AutofillService : AutofillService() { val presentation = RemoteViews(packageName, R.layout.autofill_dataset_item_logo) presentation.setTextViewText( R.id.text, - "Failed to retrieve, open app", + getString(R.string.autofill_failed_to_retrieve), ) val dataSetBuilder = Dataset.Builder(presentation) diff --git a/apps/mobile-app/android/app/src/main/res/values-nl/strings.xml b/apps/mobile-app/android/app/src/main/res/values-nl/strings.xml index c64b252f2..fe11a5abc 100644 --- a/apps/mobile-app/android/app/src/main/res/values-nl/strings.xml +++ b/apps/mobile-app/android/app/src/main/res/values-nl/strings.xml @@ -2,4 +2,10 @@ AliasVault AliasVault AutoFill AliasVault pictogram + + + Ophalen mislukt, open app + Geen match gevonden, nieuwe maken? + Open app + Kluis vergrendeld diff --git a/apps/mobile-app/android/app/src/main/res/values/strings.xml b/apps/mobile-app/android/app/src/main/res/values/strings.xml index 313005c0a..4d3963f3c 100644 --- a/apps/mobile-app/android/app/src/main/res/values/strings.xml +++ b/apps/mobile-app/android/app/src/main/res/values/strings.xml @@ -5,4 +5,10 @@ false AliasVault AutoFill AliasVault icon + + + Failed to retrieve, open app + No match found, create new? + Open app + Vault locked \ No newline at end of file