From 2dbbd4dc1b01376ed748ac6a9ba2a46dfd431e08 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 19 Aug 2019 11:19:22 +0200 Subject: Remove comments that are not written to translators from pot file --- data/browser.xml.in | 2 +- libcaja-private/caja-desktop-link.c | 2 +- libcaja-private/caja-file-operations.c | 56 ++++++++++++++++----------------- libcaja-private/caja-open-with-dialog.c | 10 +++--- po/Makevars | 2 +- src/file-manager/fm-directory-view.c | 12 +++---- src/file-manager/fm-icon-view.c | 8 ++--- src/file-manager/fm-list-view.c | 4 +-- src/file-manager/fm-properties-window.c | 2 +- 9 files changed, 49 insertions(+), 49 deletions(-) diff --git a/data/browser.xml.in b/data/browser.xml.in index 86921652..25282dc5 100644 --- a/data/browser.xml.in +++ b/data/browser.xml.in @@ -69,7 +69,7 @@ - + diff --git a/libcaja-private/caja-desktop-link.c b/libcaja-private/caja-desktop-link.c index d6261a89..7b001884 100644 --- a/libcaja-private/caja-desktop-link.c +++ b/libcaja-private/caja-desktop-link.c @@ -100,7 +100,7 @@ caja_desktop_link_ensure_display_name (CajaDesktopLink *link) switch (link->details->type) { case CAJA_DESKTOP_LINK_HOME: - /* Note to translators: If it's hard to compose a good home + /* Translators: If it's hard to compose a good home * icon name from the user name, you can use a string without * an "%s" here, in which case the home icon name will not * include the user's name, which should be fine. To avoid a diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c index ed130d6d..f7805681 100644 --- a/libcaja-private/caja-file-operations.c +++ b/libcaja-private/caja-file-operations.c @@ -419,7 +419,7 @@ get_link_name (const char *name, int count, int max_length) */ switch (count % 10) { case 1: - /* Localizers: Feel free to leave out the "st" suffix + /* Translators: Feel free to leave out the "st" suffix * if there's no way to do that nicely for a * particular language. */ @@ -468,31 +468,31 @@ get_link_name (const char *name, int count, int max_length) } -/* Localizers: +/* Translators: * Feel free to leave out the st, nd, rd and th suffix or * make some or all of them match. */ -/* localizers: tag used to detect the first copy of a file */ +/* Translators: tag used to detect the first copy of a file */ static const char untranslated_copy_duplicate_tag[] = N_(" (copy)"); -/* localizers: tag used to detect the second copy of a file */ +/* Translators: tag used to detect the second copy of a file */ static const char untranslated_another_copy_duplicate_tag[] = N_(" (another copy)"); -/* localizers: tag used to detect the x11th copy of a file */ +/* Translators: tag used to detect the x11th copy of a file */ static const char untranslated_x11th_copy_duplicate_tag[] = N_("th copy)"); -/* localizers: tag used to detect the x12th copy of a file */ +/* Translators: tag used to detect the x12th copy of a file */ static const char untranslated_x12th_copy_duplicate_tag[] = N_("th copy)"); -/* localizers: tag used to detect the x13th copy of a file */ +/* Translators: tag used to detect the x13th copy of a file */ static const char untranslated_x13th_copy_duplicate_tag[] = N_("th copy)"); -/* localizers: tag used to detect the x1st copy of a file */ +/* Translators: tag used to detect the x1st copy of a file */ static const char untranslated_st_copy_duplicate_tag[] = N_("st copy)"); -/* localizers: tag used to detect the x2nd copy of a file */ +/* Translators: tag used to detect the x2nd copy of a file */ static const char untranslated_nd_copy_duplicate_tag[] = N_("nd copy)"); -/* localizers: tag used to detect the x3rd copy of a file */ +/* Translators: tag used to detect the x3rd copy of a file */ static const char untranslated_rd_copy_duplicate_tag[] = N_("rd copy)"); -/* localizers: tag used to detect the xxth copy of a file */ +/* Translators: tag used to detect the xxth copy of a file */ static const char untranslated_th_copy_duplicate_tag[] = N_("th copy)"); #define COPY_DUPLICATE_TAG _(untranslated_copy_duplicate_tag) @@ -506,30 +506,30 @@ static const char untranslated_th_copy_duplicate_tag[] = N_("th copy)"); #define RD_COPY_DUPLICATE_TAG _(untranslated_rd_copy_duplicate_tag) #define TH_COPY_DUPLICATE_TAG _(untranslated_th_copy_duplicate_tag) -/* localizers: appended to first file copy */ +/* Translators: appended to first file copy */ static const char untranslated_first_copy_duplicate_format[] = N_("%s (copy)%s"); -/* localizers: appended to second file copy */ +/* Translators: appended to second file copy */ static const char untranslated_second_copy_duplicate_format[] = N_("%s (another copy)%s"); -/* localizers: appended to x11th file copy */ +/* Translators: appended to x11th file copy */ static const char untranslated_x11th_copy_duplicate_format[] = N_("%s (%'dth copy)%s"); -/* localizers: appended to x12th file copy */ +/* Translators: appended to x12th file copy */ static const char untranslated_x12th_copy_duplicate_format[] = N_("%s (%'dth copy)%s"); -/* localizers: appended to x13th file copy */ +/* Translators: appended to x13th file copy */ static const char untranslated_x13th_copy_duplicate_format[] = N_("%s (%'dth copy)%s"); -/* localizers: if in your language there's no difference between 1st, 2nd, 3rd and nth +/* Translators: if in your language there's no difference between 1st, 2nd, 3rd and nth * plurals, you can leave the st, nd, rd suffixes out and just make all the translated * strings look like "%s (copy %'d)%s". */ -/* localizers: appended to x1st file copy */ +/* Translators: appended to x1st file copy */ static const char untranslated_st_copy_duplicate_format[] = N_("%s (%'dst copy)%s"); -/* localizers: appended to x2nd file copy */ +/* Translators: appended to x2nd file copy */ static const char untranslated_nd_copy_duplicate_format[] = N_("%s (%'dnd copy)%s"); -/* localizers: appended to x3rd file copy */ +/* Translators: appended to x3rd file copy */ static const char untranslated_rd_copy_duplicate_format[] = N_("%s (%'drd copy)%s"); -/* localizers: appended to xxth file copy */ +/* Translators: appended to xxth file copy */ static const char untranslated_th_copy_duplicate_format[] = N_("%s (%'dth copy)%s"); #define FIRST_COPY_DUPLICATE_FORMAT _(untranslated_first_copy_duplicate_format) @@ -627,7 +627,7 @@ parse_previous_duplicate_name (const char *name, /* If we got one of st, nd, rd, th, fish out the duplicate number. */ if (tag != NULL) { - /* localizers: opening parentheses to match the "th copy)" string */ + /* Translators: opening parentheses to match the "th copy)" string */ tag = strstr (name, _(" (")); if (tag != NULL) { if (tag > *suffix) { @@ -635,7 +635,7 @@ parse_previous_duplicate_name (const char *name, *suffix = ""; } *name_base = extract_string_until (name, tag); - /* localizers: opening parentheses of the "th copy)" string */ + /* Translators: opening parentheses of the "th copy)" string */ if (sscanf (tag, _(" (%'d"), count) == 1) { if (*count < 1 || *count > 1000000) { /* keep the count within a reasonable range */ @@ -1541,7 +1541,7 @@ report_delete_progress (CommonJob *job, transfer_rate = transfer_info->num_files / elapsed; remaining_time = files_left / transfer_rate; - /* To translators: %T will expand to a time like "2 minutes". + /* Translators: %T will expand to a time like "2 minutes". * The singular/plural form will be used depending on the remaining time (i.e. the %T argument). */ time_left_s = f (ngettext ("%T left", @@ -3096,7 +3096,7 @@ report_copy_progress (CopyMoveJob *copy_job, if (elapsed < SECONDS_NEEDED_FOR_RELIABLE_TRANSFER_RATE && transfer_rate > 0) { char *s; - /* To translators: %S will expand to a size like "2 bytes" or "3 MB", so something like "4 kb of 4 MB" */ + /* Translators: %S will expand to a size like "2 bytes" or "3 MB", so something like "4 kb of 4 MB" */ s = f (_("%S of %S"), transfer_info->num_bytes, total_size); caja_progress_info_take_details (job->progress, s); } else { @@ -3105,7 +3105,7 @@ report_copy_progress (CopyMoveJob *copy_job, remaining_time = (total_size - transfer_info->num_bytes) / transfer_rate; - /* To translators: %S will expand to a size like "2 bytes" or "3 MB", %T to a time duration like + /* Translators: %S will expand to a size like "2 bytes" or "3 MB", %T to a time duration like * "2 minutes". So the whole thing will be something like "2 kb of 4 MB -- 2 hours left (4kb/sec)" * * The singular/plural form will be used depending on the remaining time (i.e. the %T argument). @@ -6050,7 +6050,7 @@ create_job (GIOSchedulerJob *io_job, } if (filename == NULL) { if (job->make_dir) { - /* localizers: the initial name of a new folder */ + /* Translators: the initial name of a new folder */ filename = g_strdup (_("untitled folder")); filename_is_utf8 = TRUE; /* Pass in utf8 */ } else { @@ -6058,7 +6058,7 @@ create_job (GIOSchedulerJob *io_job, filename = g_file_get_basename (job->src); } if (filename == NULL) { - /* localizers: the initial name of a new empty file */ + /* Translators: the initial name of a new empty file */ filename = g_strdup (_("new file")); filename_is_utf8 = TRUE; /* Pass in utf8 */ } diff --git a/libcaja-private/caja-open-with-dialog.c b/libcaja-private/caja-open-with-dialog.c index 24bb8bac..91810f84 100644 --- a/libcaja-private/caja-open-with-dialog.c +++ b/libcaja-private/caja-open-with-dialog.c @@ -1068,13 +1068,13 @@ set_uri_and_type (CajaOpenWithDialog *dialog, emname = g_strdup_printf ("%s", name); if (add_mode) { - /* first %s is a filename and second %s is a file extension */ + /* Translators: first %s is a filename and second %s is a file extension */ label = g_strdup_printf (_("Open %s and other %s document with:"), emname, dialog->details->extension); } else { - /* the %s here is a file name */ + /* Translators: the %s here is a file name */ label = g_strdup_printf (_("Open %s with:"), emname); checkbox_text = g_strdup_printf (_("_Remember this application for %s documents"), dialog->details->extension); @@ -1109,16 +1109,16 @@ set_uri_and_type (CajaOpenWithDialog *dialog, emname = g_strdup_printf ("%s", name); if (add_mode) { - /* First %s is a filename, second is a description + /* Translators: First %s is a filename, second is a description * of the type, eg "plain text document" */ label = g_strdup_printf (_("Open %s and other \"%s\" files with:"), emname, description); } else { - /* %s is a filename */ + /* Translators: %s is a filename */ label = g_strdup_printf (_("Open %s with:"), emname); - /* %s is a file type description */ + /* Translators: %s is a file type description */ checkbox_text = g_strdup_printf (_("_Remember this application for \"%s\" files"), description); diff --git a/po/Makevars b/po/Makevars index fc964c5d..31f6faf1 100644 --- a/po/Makevars +++ b/po/Makevars @@ -8,7 +8,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments +XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments=Translators: # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c index c2e92438..bb0963fc 100644 --- a/src/file-manager/fm-directory-view.c +++ b/src/file-manager/fm-directory-view.c @@ -2329,7 +2329,7 @@ fm_directory_view_display_selection_info (FMDirectoryView *view) if (!folder_item_count_known) { folder_item_count_str = g_strdup (""); } else { - /* translators: this is preceded with a string of form 'N folders' (N more than 1) */ + /* Translators: this is preceded with a string of form 'N folders' (N more than 1) */ folder_item_count_str = g_strdup_printf (ngettext(" (containing a total of %'d item)", " (containing a total of %'d items)", folder_item_count), @@ -2368,7 +2368,7 @@ fm_directory_view_display_selection_info (FMDirectoryView *view) else size_string = g_format_size(non_folder_size); - /* This is marked for translation in case a localiser + /* Translators: This is marked for translation in case a localiser * needs to use something other than parentheses. The * first message gives the number of items selected; * the message in parentheses the size of those items. @@ -7403,7 +7403,7 @@ static const GtkActionEntry directory_view_entries[] = { G_CALLBACK (action_new_folder_callback) }, /* name, icon name, label */ { "No Templates", NULL, N_("No templates installed") }, /* name, icon name */ { "New Empty File", NULL, - /* translators: this is used to indicate that a file doesn't contain anything */ + /* Translators: this is used to indicate that a file doesn't contain anything */ /* label, accelerator */ N_("_Empty File"), NULL, /* tooltip */ N_("Create a new empty file inside this folder"), G_CALLBACK (action_new_empty_file_callback) }, @@ -7441,7 +7441,7 @@ static const GtkActionEntry directory_view_entries[] = { G_CALLBACK (action_other_application_callback) }, /* name, icon name */ { "Open Scripts Folder", NULL, /* label, accelerator */ N_("_Open Scripts Folder"), NULL, - /* tooltip */ N_("Show the folder containing the scripts that appear in this menu"), + /* tooltip */ N_("Show the folder containing the scripts that appear in this menu"), G_CALLBACK (action_open_scripts_folder_callback) }, /* name, icon name */ { "Empty Trash", CAJA_ICON_TRASH, /* label, accelerator */ N_("E_mpty Trash"), NULL, @@ -10897,7 +10897,7 @@ fm_directory_view_handle_text_drop (FMDirectoryView *view, fm_directory_view_new_file_with_initial_contents ( view, target_uri != NULL ? target_uri : container_uri, - /* Translator: This is the filename used for when you dnd text to a directory */ + /* Translators: This is the filename used for when you dnd text to a directory */ _("dropped text.txt"), text, length, &pos); @@ -10941,7 +10941,7 @@ fm_directory_view_handle_raw_drop (FMDirectoryView *view, filename = g_file_get_basename (direct_save_full); } if (filename == NULL) { - /* Translator: This is the filename used for when you dnd raw + /* Translators: This is the filename used for when you dnd raw * data to a directory, if the source didn't supply a name. */ filename = _("dropped data"); diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c index 8ed42cd5..a8008a77 100644 --- a/src/file-manager/fm-icon-view.c +++ b/src/file-manager/fm-icon-view.c @@ -3431,10 +3431,10 @@ fm_icon_view_supports_uri (const char *uri, static CajaViewInfo fm_icon_view = { FM_ICON_VIEW_ID, - /* translators: this is used in the view selection dropdown + /* Translators: this is used in the view selection dropdown * of navigation windows and in the preferences dialog */ N_("Icon View"), - /* translators: this is used in the view menu */ + /* Translators: this is used in the view menu */ N_("_Icons"), N_("The icon view encountered an error."), N_("The icon view encountered an error while starting up."), @@ -3446,10 +3446,10 @@ static CajaViewInfo fm_icon_view = static CajaViewInfo fm_compact_view = { FM_COMPACT_VIEW_ID, - /* translators: this is used in the view selection dropdown + /* Translators: this is used in the view selection dropdown * of navigation windows and in the preferences dialog */ N_("Compact View"), - /* translators: this is used in the view menu */ + /* Translators: this is used in the view menu */ N_("_Compact"), N_("The compact view encountered an error."), N_("The compact view encountered an error while starting up."), diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index 5fbad58e..6b4bda03 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -3493,10 +3493,10 @@ fm_list_view_supports_uri (const char *uri, static CajaViewInfo fm_list_view = { FM_LIST_VIEW_ID, - /* translators: this is used in the view selection dropdown + /* Translators: this is used in the view selection dropdown * of navigation windows and in the preferences dialog */ N_("List View"), - /* translators: this is used in the view menu */ + /* Translators: this is used in the view menu */ N_("_List"), N_("The list view encountered an error."), N_("The list view encountered an error while starting up."), diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c index 24674bea..e5b820b7 100644 --- a/src/file-manager/fm-properties-window.c +++ b/src/file-manager/fm-properties-window.c @@ -4141,7 +4141,7 @@ permission_combo_update (FMPropertiesWindow *window, str = g_string_new (""); if (!(all_perm & PERMISSION_READ)) { - /* translators: this gets concatenated to "no read", + /* Translators: this gets concatenated to "no read", * "no access", etc. (see following strings) */ g_string_append (str, _("no ")); -- cgit v1.2.1