From 2667bee16ba2853696d3dc42210f742a203ed450 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Mon, 23 Sep 2024 15:06:57 +0200 Subject: [PATCH] Better translations Signed-off-by: alperozturk --- .../com/owncloud/android/ui/fragment/OCFileListFragment.java | 5 ++--- app/src/main/res/values/strings.xml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java b/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java index 1e3821a6c667..855924fa7ecb 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java +++ b/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java @@ -51,7 +51,6 @@ import com.nextcloud.client.editimage.EditImageActivity; import com.nextcloud.client.jobs.BackgroundJobManager; import com.nextcloud.client.network.ClientFactory; -import com.nextcloud.client.network.ConnectivityService; import com.nextcloud.client.preferences.AppPreferences; import com.nextcloud.client.utils.Throttler; import com.nextcloud.common.NextcloudClient; @@ -1063,7 +1062,7 @@ private void folderOnItemClick(OCFile file, int position) { dialog.setTargetFragment(this, SETUP_ENCRYPTION_REQUEST_CODE); dialog.show(fragmentManager, SETUP_ENCRYPTION_DIALOG_TAG); } else { - DisplayUtils.showSnackMessage(fileActivity, R.string.encrypted_folder_setup_no_internet_error); + DisplayUtils.showSnackMessage(fileActivity, R.string.internet_connection_required_for_encrypted_folder_setup); } }); } @@ -1080,7 +1079,7 @@ private Integer checkFileBeforeOpen(OCFile file) { if (isAPKorAAB(Set.of(file))) { return R.string.gplay_restriction; } else if (file.isOfflineOperation()) { - return R.string.offline_operations_file_not_exists_yet; + return R.string.offline_operations_file_does_not_exists_yet; } else { return null; } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d92172d4c8d8..7e4262441a28 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -29,7 +29,7 @@ Base URL Proxy Host Name Proxy Port - File not exists, yet. Please upload the file first. + File does not exists, yet. Please upload the file first. Delete Offline Folder Conflicted Folder: %s Starting Offline Operations @@ -1176,7 +1176,7 @@ Pin to Home screen Open %1$s Displays your 12 word passphrase - You need an internet connection to set up the encrypted folder + An internet connection is required to set up the encrypted folder Set up end-to-end encryption End-to-end encryption is set up! Remove encryption locally