Skip to content

Commit

Permalink
Better translations
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Sep 23, 2024
1 parent e962039 commit 2667bee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
});
}
Expand All @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<string name="app_config_base_url_title">Base URL</string>
<string name="app_config_proxy_host_title">Proxy Host Name</string>
<string name="app_config_proxy_port_title">Proxy Port</string>
<string name="offline_operations_file_not_exists_yet">File not exists, yet. Please upload the file first.</string>
<string name="offline_operations_file_does_not_exists_yet">File does not exists, yet. Please upload the file first.</string>
<string name="offline_operations_worker_notification_delete_offline_folder">Delete Offline Folder</string>
<string name="offline_operations_worker_notification_conflict_text">Conflicted Folder: %s</string>
<string name="offline_operations_worker_notification_start_text">Starting Offline Operations</string>
Expand Down Expand Up @@ -1176,7 +1176,7 @@
<string name="pin_home">Pin to Home screen</string>
<string name="pin_shortcut_label">Open %1$s</string>
<string name="displays_mnemonic">Displays your 12 word passphrase</string>
<string name="encrypted_folder_setup_no_internet_error">You need an internet connection to set up the encrypted folder</string>
<string name="internet_connection_required_for_encrypted_folder_setup">An internet connection is required to set up the encrypted folder</string>
<string name="prefs_setup_e2e">Set up end-to-end encryption</string>
<string name="prefs_e2e_active">End-to-end encryption is set up!</string>
<string name="prefs_remove_e2e">Remove encryption locally</string>
Expand Down

0 comments on commit 2667bee

Please sign in to comment.