Skip to content

Commit

Permalink
Gettext: Simplified msgids in file operation queue to make them easie…
Browse files Browse the repository at this point in the history
…r to translate
  • Loading branch information
clefebvre committed May 20, 2015
1 parent bd74676 commit 56c6233
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion data/action_i18n_strings.py
@@ -1,7 +1,7 @@

This is a dummy file for translating Nemo Action files

It was generated by the extract_action_strings script on 2015-05-20 08:46:23.042703 UTC.
It was generated by the extract_action_strings script on 2015-05-20 10:04:15.618486 UTC.


change-background_nemo_action_in_Name = _("Change Desktop _Background")
Expand Down
36 changes: 18 additions & 18 deletions libnemo-private/nemo-file-operations.c
Expand Up @@ -982,35 +982,35 @@ generate_initial_job_details (NemoProgressInfo *info,
g_return_if_fail (files != NULL);
g_return_if_fail (destination != NULL);

s = f (ngettext("Waiting to copy %'d file from '%s' to '%s'",
"Waiting to copy %'d files from '%s' to '%s'",
s = f (ngettext("Waiting to copy a file from '%1$s' to '%2$s'",
"Waiting to copy files from '%1$s' to '%2$s'",
g_list_length (files)),
g_list_length (files), src_name, dest_name);
src_name, dest_name);
break;
case OP_KIND_MOVE:
g_return_if_fail (files != NULL);
g_return_if_fail (destination != NULL);

s = f (ngettext("Waiting to move %'d file from '%s' to '%s'",
"Waiting to move %'d files from '%s' to '%s'",
s = f (ngettext("Waiting to move a file from '%1$s' to '%2$s'",
"Waiting to move files from '%1$s' to '%2$s'",
g_list_length (files)),
g_list_length (files), src_name, dest_name);
src_name, dest_name);
break;
case OP_KIND_DELETE:
g_return_if_fail (files != NULL);

s = f (ngettext("Waiting to permanently delete %'d file from '%s'",
"Waiting to permanently delete %'d files from '%s'",
s = f (ngettext("Waiting to permanently delete a file from '%s'",
"Waiting to permanently delete files from '%s'",
g_list_length (files)),
g_list_length (files), src_name);
src_name);
break;
case OP_KIND_TRASH:
g_return_if_fail (files != NULL);

s = f (ngettext("Waiting to trash %'d file in '%s'",
"Waiting to trash %'d files in '%s'",
s = f (ngettext("Waiting to trash a file in '%s'",
"Waiting to trash files in '%s'",
g_list_length (files)),
g_list_length (files), src_name);
src_name);
break;
case OP_KIND_EMPTY_TRASH:
s = f (_("Waiting to empty the trash"));
Expand All @@ -1019,10 +1019,10 @@ generate_initial_job_details (NemoProgressInfo *info,
g_return_if_fail (files != NULL);
g_return_if_fail (destination != NULL);

s = f (ngettext("Waiting to duplicate %'d file in '%s'",
"Waiting to duplicate %'d files in '%s'",
s = f (ngettext("Waiting to duplicate a file in '%s'",
"Waiting to duplicate files in '%s'",
g_list_length (files)),
g_list_length (files), dest_name);
dest_name);
break;
case OP_KIND_PERMISSIONS:
g_return_if_fail (destination != NULL);
Expand All @@ -1033,10 +1033,10 @@ generate_initial_job_details (NemoProgressInfo *info,
g_return_if_fail (files != NULL);
g_return_if_fail (destination != NULL);

s = f (ngettext("Waiting to link %'d file from '%s' to '%s'",
"Waiting to link %'d files from '%s' to '%s'",
s = f (ngettext("Waiting to link a file from '%1$s' to '%2$s'",
"Waiting to link files from '%1$s' to '%2$s'",
g_list_length (files)),
g_list_length (files), src_name, dest_name);
src_name, dest_name);
break;
default:
break;
Expand Down
26 changes: 13 additions & 13 deletions nemo.pot
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-20 10:46+0200\n"
"POT-Creation-Date: 2015-05-20 12:04+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -3833,29 +3833,29 @@ msgstr ""

#: libnemo-private/nemo-file-operations.c:985
#, c-format
msgid "Waiting to copy %'d file from '%s' to '%s'"
msgid_plural "Waiting to copy %'d files from '%s' to '%s'"
msgid "Waiting to copy a file from '%1$s' to '%2$s'"
msgid_plural "Waiting to copy files from '%1$s' to '%2$s'"
msgstr[0] ""
msgstr[1] ""

#: libnemo-private/nemo-file-operations.c:994
#, c-format
msgid "Waiting to move %'d file from '%s' to '%s'"
msgid_plural "Waiting to move %'d files from '%s' to '%s'"
msgid "Waiting to move a file from '%1$s' to '%2$s'"
msgid_plural "Waiting to move files from '%1$s' to '%2$s'"
msgstr[0] ""
msgstr[1] ""

#: libnemo-private/nemo-file-operations.c:1002
#, c-format
msgid "Waiting to permanently delete %'d file from '%s'"
msgid_plural "Waiting to permanently delete %'d files from '%s'"
msgid "Waiting to permanently delete a file from '%s'"
msgid_plural "Waiting to permanently delete files from '%s'"
msgstr[0] ""
msgstr[1] ""

#: libnemo-private/nemo-file-operations.c:1010
#, c-format
msgid "Waiting to trash %'d file in '%s'"
msgid_plural "Waiting to trash %'d files in '%s'"
msgid "Waiting to trash a file in '%s'"
msgid_plural "Waiting to trash files in '%s'"
msgstr[0] ""
msgstr[1] ""

Expand All @@ -3865,8 +3865,8 @@ msgstr ""

#: libnemo-private/nemo-file-operations.c:1022
#, c-format
msgid "Waiting to duplicate %'d file in '%s'"
msgid_plural "Waiting to duplicate %'d files in '%s'"
msgid "Waiting to duplicate a file in '%s'"
msgid_plural "Waiting to duplicate files in '%s'"
msgstr[0] ""
msgstr[1] ""

Expand All @@ -3877,8 +3877,8 @@ msgstr ""

#: libnemo-private/nemo-file-operations.c:1036
#, c-format
msgid "Waiting to link %'d file from '%s' to '%s'"
msgid_plural "Waiting to link %'d files from '%s' to '%s'"
msgid "Waiting to link a file from '%1$s' to '%2$s'"
msgid_plural "Waiting to link files from '%1$s' to '%2$s'"
msgstr[0] ""
msgstr[1] ""

Expand Down

0 comments on commit 56c6233

Please sign in to comment.