Skip to content

Commit dad47d3

Browse files
committed
refactor: update string resource
1 parent 05b1153 commit dad47d3

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

owncloudApp/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ class FileDisplayActivity : FileActivity(),
11601160
}
11611161

11621162
private fun showCopyMoveSuccessSnackbar(isCopy: Boolean) {
1163-
val message = getString(if (isCopy) R.string.copy_success_msg else R.string.move_success_msg)
1163+
val message = getString(if (isCopy) R.string.copy_file_correctly else R.string.move_file_correctly)
11641164
val targetFolderId = copyMoveTargetFolder?.id
11651165
if (targetFolderId != null) {
11661166
showSnackbarWithAction(

owncloudApp/src/main/res/values/strings.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -543,17 +543,18 @@
543543
<string name="move_file_invalid_into_descendent">It is not possible to move a folder into a descendant.</string>
544544
<string name="move_file_invalid_overwrite">The file exists already in the destination folder.</string>
545545
<string name="move_file_error">An error occurred while trying to move this file or folder.</string>
546+
<string name="move_file_correctly">File moved correctly</string>
546547
<string name="forbidden_permissions_move">to move this file</string>
547548

548549
<string name="copy_file_not_found">Unable to copy. Please check whether the file exists.</string>
549550
<string name="copy_file_invalid_into_descendent">It is not possible to copy a folder into a descendant.</string>
550551
<string name="copy_file_invalid_overwrite">The file exists already in the destination folder.</string>
551552
<string name="copy_file_error">An error occurred while trying to copy this file or folder.</string>
552-
<string name="copy_success_msg">The file has been copied</string>
553-
<string name="move_success_msg">The file has been moved</string>
554-
<string name="go_to_destination_folder">Go to target folder</string>
553+
<string name="copy_file_correctly">File copied correctly</string>
555554
<string name="forbidden_permissions_copy">to copy this file</string>
556555

556+
<string name="go_to_destination_folder">Open Folder</string>
557+
557558
<string name="prefs_category_camera_upload">Camera uploads</string>
558559

559560
<string name="sync_folder_failed_content">Synchronization of %1$s folder could not be completed</string>

0 commit comments

Comments
 (0)