GNOME Bugzilla – Bug 769997
file-operations: fix duplication status string
Last modified: 2016-08-21 16:45:41 UTC
Stumbled upon this while taking a look bug 769383.
Created attachment 333431 [details] [review] file-operations: fix duplication status string The status string for file duplication currently displays the index of a file and adds one to it, which results in funky strings (e.g. “Duplicating 3 file in X”). The desired result is the total count of files being displayed. This commit changes the code to reflect that.
Created attachment 333432 [details] [review] file-operations: fix duplication status string There are a couple of problems with the status string during file duplication: 1. The status string is constructed by calling ngettext() with the index of the file plus one. 2. nautilus_progress_info_take_status() is called with the total count of files plus one. These two combined result in funky status string (e.g. “duplicating 3 file in X). This commit fixes both of those problems.
Created attachment 333433 [details] [review] file-operations: fix duplication status string There are a couple of problems with the status string during file duplication: 1. The status string is constructed by calling ngettext() with the index of the file plus one. 2. nautilus_progress_info_take_status() is called with the total count of files plus one. These two combined result in funky status strings (e.g. “duplicating 3 file in X”). This commit fixes both of those problems.
Review of attachment 333433 [details] [review]: ohhh
Attachment 333433 [details] pushed as 374718f - file-operations: fix duplication status string