[nautilus] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Fix translator comments
- Date: Sat, 28 Jan 2017 00:42:16 +0000 (UTC)
commit 533f828d4d4dcbd44540a9403b80d793153428e3
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 01:41:56 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
src/nautilus-batch-rename-dialog.c | 4 ++--
src/nautilus-file-utilities.c | 4 ++--
src/nautilus-properties-window.c | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/nautilus-batch-rename-dialog.c b/src/nautilus-batch-rename-dialog.c
index 1111eb3..c3a4be2 100644
--- a/src/nautilus-batch-rename-dialog.c
+++ b/src/nautilus-batch-rename-dialog.c
@@ -2152,9 +2152,9 @@ nautilus_batch_rename_dialog_new (GList *selection,
}
else
{
- /* To translators: %d is the total number of files and folders.
- * Singular case of the string is never used */
g_string_append_printf (dialog_title,
+ /* To translators: %d is the total number of files and folders.
+ * Singular case of the string is never used */
ngettext ("Rename %d File and Folder",
"Rename %d Files and Folders",
g_list_length (selection)),
diff --git a/src/nautilus-file-utilities.c b/src/nautilus-file-utilities.c
index 51b9c71..59add50 100644
--- a/src/nautilus-file-utilities.c
+++ b/src/nautilus-file-utilities.c
@@ -1116,9 +1116,9 @@ get_message_for_content_type (const char *content_type)
description = g_content_type_get_description (content_type);
/* Customize greeting for well-known content types */
- /* translators: these describe the contents of removable media */
if (strcmp (content_type, "x-content/audio-cdda") == 0)
{
+ /* translators: these describe the contents of removable media */
message = g_strdup (_("Audio CD"));
}
else if (strcmp (content_type, "x-content/audio-dvd") == 0)
@@ -1180,9 +1180,9 @@ get_message_for_two_content_types (const char * const *content_types)
if (strcmp (content_types[0], "x-content/image-dcf") == 0
|| strcmp (content_types[1], "x-content/image-dcf") == 0)
{
- /* translators: these describe the contents of removable media */
if (strcmp (content_types[0], "x-content/audio-player") == 0)
{
+ /* translators: these describe the contents of removable media */
message = g_strdup (_("Contains music and photos"));
}
else if (strcmp (content_types[1], "x-content/audio-player") == 0)
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 20cff34..a9d6222 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -4077,10 +4077,10 @@ create_permissions_combo_box (PermissionType type,
if (type != PERMISSION_USER)
{
gtk_list_store_append (store, &iter);
- /* Translators: this is referred to the permissions
- * the user has in a directory.
- */
gtk_list_store_set (store, &iter,
+ /* Translators: this is referred to the permissions
+ * the user has in a directory.
+ */
COLUMN_NAME, _("None"),
COLUMN_VALUE, 0,
COLUMN_ID, "none",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]