[gtk+] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix translator comments
- Date: Sat, 28 Jan 2017 00:13:21 +0000 (UTC)
commit bfaed659f195da17b34662ce148ab067e5f5c9b3
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 01:10:12 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
gtk/gtkfilechooserwidget.c | 2 +-
modules/printbackends/cups/gtkprintbackendcups.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 77727be..51c1dcf 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -4771,12 +4771,12 @@ my_g_format_date_for_display (GtkFileChooserWidget *impl,
0, 0, 0);
days_ago = g_date_time_difference (now_date, date) / G_TIME_SPAN_DAY;
- /* Translators: see g_date_time_format() for details on the format */
if (days_ago < 1)
{
if (priv->show_time)
format = "";
else if (clock_format == CLOCK_FORMAT_24)
+ /* Translators: see g_date_time_format() for details on the format */
format = _("%H:%M");
else
format = _("%l:%M %p");
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c
b/modules/printbackends/cups/gtkprintbackendcups.c
index 2056434..9d23bc1 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -5425,10 +5425,10 @@ cups_printer_get_options (GtkPrinter *printer,
"topsecret",
"unclassified"
};
- /* Translators, these strings are names for various 'standard' cover
- * pages that the printing system may support.
- */
char *cover_display_default[] = {
+ /* Translators, these strings are names for various 'standard' cover
+ * pages that the printing system may support.
+ */
NC_("cover page", "None"),
NC_("cover page", "Classified"),
NC_("cover page", "Confidential"),
@@ -5701,8 +5701,8 @@ cups_printer_get_options (GtkPrinter *printer,
cupsFreeOptions (num_opts, opts);
#ifdef HAVE_COLORD
- /* TRANSLATORS: this this the ICC color profile to use for this job */
option = gtk_printer_option_new ("colord-profile",
+ /* TRANSLATORS: this this the ICC color profile to use for this job */
C_("printer option", "Printer Profile"),
GTK_PRINTER_OPTION_TYPE_INFO);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]