[gnome-color-manager] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Fix translator comments
- Date: Thu, 26 Jan 2017 04:20:17 +0000 (UTC)
commit 3cb48a11a2ce7bf6f90417ef646a592a6b96abc6
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Jan 26 05:19:32 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
src/gcm-calibrate-argyll.c | 78 ++++++++++++++++++++++----------------------
src/gcm-calibrate-main.c | 12 +++---
src/gcm-calibrate.c | 14 ++++----
src/gcm-import.c | 10 +++---
src/gcm-picker.c | 4 +-
5 files changed, 59 insertions(+), 59 deletions(-)
---
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index a6bb377..19bd925 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -357,13 +357,13 @@ gcm_calibrate_argyll_display_neutralise (GcmCalibrateArgyll *calibrate_argyll,
/* get l-cd or c-rt */
kind = gcm_calibrate_argyll_get_display_kind (calibrate_argyll);
- /* TRANSLATORS: title, default paramters needed to calibrate_argyll */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, default paramters needed to calibrate_argyll */
_("Getting default parameters"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("This pre-calibrates the screen by sending colored and gray patches to
your screen and measuring them with the hardware device."),
GCM_CALIBRATE_UI_STATUS);
@@ -440,13 +440,13 @@ gcm_calibrate_argyll_display_read_chart (GcmCalibrateArgyll *calibrate_argyll,
if (command == NULL)
return FALSE;
- /* TRANSLATORS: title, patches are specific colours used in calibration */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, patches are specific colours used in calibration */
_("Reading the patches"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Reading the patches using the color measuring instrument."),
GCM_CALIBRATE_UI_STATUS);
@@ -533,13 +533,13 @@ gcm_calibrate_argyll_display_draw_and_measure (GcmCalibrateArgyll *calibrate_arg
/* get l-cd or c-rt */
kind = gcm_calibrate_argyll_get_display_kind (calibrate_argyll);
- /* TRANSLATORS: title, drawing means painting to the screen */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, drawing means painting to the screen */
_("Drawing the patches"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Drawing the generated patches to the screen, which will then be
measured by the hardware device."),
GCM_CALIBRATE_UI_STATUS);
@@ -623,13 +623,13 @@ gcm_calibrate_argyll_display_generate_profile (GcmCalibrateArgyll *calibrate_arg
if (command == NULL)
return FALSE;
- /* TRANSLATORS: title, a profile is a ICC file */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, a profile is a ICC file */
_("Generating the profile"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Generating the ICC color profile that can be used with this screen."),
GCM_CALIBRATE_UI_STATUS);
@@ -768,13 +768,13 @@ gcm_calibrate_argyll_device_copy (GcmCalibrateArgyll *calibrate_argyll,
NULL);
working_path = gcm_calibrate_get_working_path (GCM_CALIBRATE (calibrate_argyll));
- /* TRANSLATORS: title, a profile is a ICC file */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, a profile is a ICC file */
_("Copying files"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Copying source image, chart data and CIE reference values."),
GCM_CALIBRATE_UI_STATUS);
@@ -821,13 +821,13 @@ gcm_calibrate_argyll_device_measure (GcmCalibrateArgyll *calibrate_argyll,
"basename", &basename,
NULL);
- /* TRANSLATORS: title, drawing means painting to the screen */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, drawing means painting to the screen */
_("Measuring the patches"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Detecting the reference patches and measuring them."),
GCM_CALIBRATE_UI_STATUS);
@@ -914,13 +914,13 @@ gcm_calibrate_argyll_device_generate_profile (GcmCalibrateArgyll *calibrate_argy
if (command == NULL)
return FALSE;
- /* TRANSLATORS: title, a profile is a ICC file */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, a profile is a ICC file */
_("Generating the profile"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Generating the ICC color profile that can be used with this device."),
GCM_CALIBRATE_UI_STATUS);
@@ -1231,13 +1231,13 @@ gcm_calibrate_argyll_printer_generate_targets (GcmCalibrateArgyll *calibrate_arg
if (command == NULL)
return FALSE;
- /* TRANSLATORS: title, patches are specific colors used in calibration */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, patches are specific colors used in calibration */
_("Printing patches"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Rendering the patches for the selected paper and ink."),
GCM_CALIBRATE_UI_STATUS);
@@ -1560,13 +1560,13 @@ gcm_calibrate_argyll_printer (GcmCalibrate *calibrate,
/* wait */
if (print_kind == GCM_CALIBRATE_PRINT_KIND_LOCAL) {
- /* TRANSLATORS: title, patches are specific colours used in calibration */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, patches are specific colours used in
calibration */
_("Wait for the ink to dry"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Please wait a few minutes for the ink to dry. Profiling damp
ink will produce a poor profile and may damage your color measuring instrument."),
GCM_CALIBRATE_UI_STATUS);
@@ -1709,13 +1709,13 @@ gcm_calibrate_argyll_device (GcmCalibrate *calibrate,
{
GcmCalibrateArgyll *calibrate_argyll = GCM_CALIBRATE_ARGYLL(calibrate);
- /* TRANSLATORS: title, instrument refers to a calibration device */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, instrument refers to a calibration device */
_("Set up instrument"),
GCM_CALIBRATE_UI_STATUS);
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Setting up the instrument for use…"),
GCM_CALIBRATE_UI_STATUS);
@@ -1891,13 +1891,13 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
/* something went wrong with a measurement */
if (g_strstr_len (line, -1, "Measurement misread") != NULL) {
- /* TRANSLATORS: title, the calibration failed */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, the calibration failed */
_("Calibration error"),
GCM_CALIBRATE_UI_ERROR);
- /* TRANSLATORS: message, the sample was not read correctly */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, the sample was not read correctly */
_("The sample could not be read at this time."),
GCM_CALIBRATE_UI_ERROR);
@@ -1956,30 +1956,30 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
found = g_strstr_len (line, -1, "Error - ");
if (found != NULL) {
- /* TRANSLATORS: title, the calibration failed */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, the calibration failed */
_("Calibration error"),
GCM_CALIBRATE_UI_ERROR);
if (g_strstr_len (line, -1, "No PLD firmware pattern is available") != NULL) {
- /* TRANSLATORS: message, no firmware is available */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, no firmware is available */
_("No firmware is installed for this instrument."),
GCM_CALIBRATE_UI_ERROR);
} else if (g_strstr_len (line, -1, "Pattern match wasn't good enough") != NULL) {
- /* TRANSLATORS: message, the image wasn't good enough */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, the image wasn't good enough */
_("The pattern match wasn’t good enough. Ensure you have
the correct type of target selected."),
GCM_CALIBRATE_UI_ERROR);
} else if (g_strstr_len (line, -1, "Aprox. fwd matrix unexpectedly singular") != NULL ||
g_strstr_len (line, -1, "Inverting aprox. fwd matrix failed") != NULL) {
- /* TRANSLATORS: message, the sensor got no readings */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, the sensor got no readings */
_("The measuring instrument got no valid readings. Please
ensure the aperture is fully open."),
GCM_CALIBRATE_UI_ERROR);
} else if (g_strstr_len (line, -1, "Device or resource busy") != NULL) {
- /* TRANSLATORS: message, the colorimeter has got confused */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, the colorimeter has got confused
*/
_("The measuring instrument is busy and is not starting
up. Please remove the USB plug and re-insert before trying to use this device."),
GCM_CALIBRATE_UI_ERROR);
} else {
@@ -2016,13 +2016,13 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
/* reading strip */
if (g_str_has_prefix (line, "Strip read failed due to misread")) {
- /* TRANSLATORS: dialog title */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog title */
_("Reading target"),
GCM_CALIBRATE_UI_ERROR);
- /* TRANSLATORS: message, no firmware is available */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, no firmware is available */
_("Failed to read the strip correctly."),
GCM_CALIBRATE_UI_ERROR);
@@ -2042,13 +2042,13 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
/* reading sample */
if (g_str_has_prefix (line, "Sample read failed due to misread")) {
- /* TRANSLATORS: dialog title */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog title */
_("Reading sample"),
GCM_CALIBRATE_UI_ERROR);
- /* TRANSLATORS: message, the sample read failed due to misread */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, the sample read failed due to misread */
_("Failed to read the color sample correctly."),
GCM_CALIBRATE_UI_ERROR);
@@ -2106,13 +2106,13 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll,
/* reading strip */
if (g_str_has_prefix (line, "Spot read failed due to misread")) {
- /* TRANSLATORS: title, the calibration failed */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, the calibration failed */
_("Device Error"),
GCM_CALIBRATE_UI_ERROR);
- /* TRANSLATORS: message, the sample was not read correctly */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: message, the sample was not read correctly */
_("The device could not measure the color spot correctly."),
GCM_CALIBRATE_UI_ERROR);
@@ -2236,8 +2236,8 @@ gcm_calibrate_argyll_status_changed_cb (GcmPrint *print,
GtkPrintStatus status,
GcmCalibrateArgyll *calibrate_argyll)
{
- /* TRANSLATORS: title, printing reference files to media */
gcm_calibrate_set_title (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: title, printing reference files to media */
_("Printing"),
GCM_CALIBRATE_UI_STATUS);
@@ -2245,34 +2245,34 @@ gcm_calibrate_argyll_status_changed_cb (GcmPrint *print,
case GTK_PRINT_STATUS_INITIAL:
case GTK_PRINT_STATUS_PREPARING:
case GTK_PRINT_STATUS_GENERATING_DATA:
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Preparing the data for the printer."),
GCM_CALIBRATE_UI_STATUS);
break;
case GTK_PRINT_STATUS_SENDING_DATA:
case GTK_PRINT_STATUS_PENDING:
case GTK_PRINT_STATUS_PENDING_ISSUE:
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Sending the targets to the printer."),
GCM_CALIBRATE_UI_STATUS);
break;
case GTK_PRINT_STATUS_PRINTING:
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("Printing the targets…"),
GCM_CALIBRATE_UI_STATUS);
break;
case GTK_PRINT_STATUS_FINISHED:
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("The printing has finished."),
GCM_CALIBRATE_UI_STATUS);
break;
case GTK_PRINT_STATUS_FINISHED_ABORTED:
- /* TRANSLATORS: dialog message */
gcm_calibrate_set_message (GCM_CALIBRATE (calibrate_argyll),
+ /* TRANSLATORS: dialog message */
_("The print was aborted."),
GCM_CALIBRATE_UI_STATUS);
break;
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index a9a2ed4..f0f6e69 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -139,12 +139,12 @@ gcm_calib_confirm_quit (GcmCalibratePriv *priv)
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s",
_("Are you sure you want to cancel the calibration?"));
- /* TRANSLATORS: button text */
gtk_dialog_add_button (GTK_DIALOG (dialog),
+ /* TRANSLATORS: button text */
_("Continue calibration"),
GTK_RESPONSE_CANCEL);
- /* TRANSLATORS: button text */
gtk_dialog_add_button (GTK_DIALOG (dialog),
+ /* TRANSLATORS: button text */
_("Cancel and close"),
GTK_RESPONSE_CLOSE);
g_signal_connect (dialog, "response",
@@ -995,11 +995,11 @@ gcm_calib_setup_page_install_argyllcms (GcmCalibratePriv *priv)
string = g_string_new ("");
- /* TRANSLATORS: dialog message saying the argyllcms is not installed */
g_string_append_printf (string, "%s\n",
+ /* TRANSLATORS: dialog message saying the argyllcms is not installed */
_("Calibration and profiling software is not installed."));
- /* TRANSLATORS: dialog message saying the color targets are not installed */
g_string_append_printf (string, "%s",
+ /* TRANSLATORS: dialog message saying the color targets are not installed */
_("These tools are required to build color profiles for devices."));
/* TRANSLATORS: this is the page title */
@@ -1628,8 +1628,8 @@ gcm_calib_setup_page_precision (GcmCalibratePriv *priv)
case CD_DEVICE_KIND_PRINTER:
for (i = 0; i < 3; i++) {
g_string_append (labels[i], " ");
- /* TRANSLATORS: radio options for calibration precision */
g_string_append_printf (labels[i], ngettext (
+ /* TRANSLATORS: radio options for calibration precision */
"(about %u sheet of paper)",
"(about %u sheets of paper)",
values_printer[i]),
@@ -1639,8 +1639,8 @@ gcm_calib_setup_page_precision (GcmCalibratePriv *priv)
case CD_DEVICE_KIND_DISPLAY:
for (i = 0; i < 3; i++) {
g_string_append (labels[i], " ");
- /* TRANSLATORS: radio options for calibration precision */
g_string_append_printf (labels[i], ngettext (
+ /* TRANSLATORS: radio options for calibration precision */
"(about %u minute)",
"(about %u minutes)",
values_display[i]),
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index 4ab489a..54b0231 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -343,8 +343,8 @@ gcm_calibrate_interaction_attach (GcmCalibrate *calibrate)
const gchar *filename;
g_autoptr(GString) message = NULL;
- /* TRANSLATORS: title, instrument is a hardware color calibration sensor */
gcm_calibrate_set_title (calibrate,
+ /* TRANSLATORS: title, instrument is a hardware color calibration sensor */
_("Please attach instrument"),
GCM_CALIBRATE_UI_INTERACTION);
@@ -387,8 +387,8 @@ gcm_calibrate_interaction_screen (GcmCalibrate *calibrate)
GcmCalibratePrivate *priv = GET_PRIVATE (calibrate);
const gchar *filename;
- /* TRANSLATORS: title, instrument is a hardware color calibration sensor */
gcm_calibrate_set_title (calibrate,
+ /* TRANSLATORS: title, instrument is a hardware color calibration sensor */
_("Please configure instrument"),
GCM_CALIBRATE_UI_INTERACTION);
@@ -398,13 +398,13 @@ gcm_calibrate_interaction_screen (GcmCalibrate *calibrate)
gcm_calibrate_set_image (calibrate, filename);
gcm_calibrate_interaction_required (calibrate, _("Continue"));
if (filename != NULL) {
- /* TRANSLATORS: this is when the user has to change a setting on the sensor, and we're
showing a picture */
gcm_calibrate_set_message (calibrate,
+ /* TRANSLATORS: this is when the user has to change a setting on
the sensor, and we're showing a picture */
_("Please set the measuring instrument to screen mode like the
image below."),
GCM_CALIBRATE_UI_INTERACTION);
} else {
- /* TRANSLATORS: this is when the user has to change a setting on the sensor */
gcm_calibrate_set_message (calibrate,
+ /* TRANSLATORS: this is when the user has to change a setting on
the sensor */
_("Please set the measuring instrument to screen mode."),
GCM_CALIBRATE_UI_INTERACTION);
}
@@ -423,8 +423,8 @@ gcm_calibrate_interaction_calibrate (GcmCalibrate *calibrate)
GcmCalibratePrivate *priv = GET_PRIVATE (calibrate);
const gchar *filename;
- /* TRANSLATORS: title, instrument is a hardware color calibration sensor */
gcm_calibrate_set_title (calibrate,
+ /* TRANSLATORS: title, instrument is a hardware color calibration sensor */
_("Please configure instrument"),
GCM_CALIBRATE_UI_INTERACTION);
@@ -437,13 +437,13 @@ gcm_calibrate_interaction_calibrate (GcmCalibrate *calibrate)
gcm_calibrate_set_image (calibrate, filename);
gcm_calibrate_interaction_required (calibrate, _("Continue"));
if (filename != NULL) {
- /* TRANSLATORS: this is when the user has to change a setting on the sensor, and we're
showing a picture */
gcm_calibrate_set_message (calibrate,
+ /* TRANSLATORS: this is when the user has to change a setting on
the sensor, and we're showing a picture */
_("Please set the measuring instrument to calibration mode like
the image below."),
GCM_CALIBRATE_UI_INTERACTION);
} else {
- /* TRANSLATORS: this is when the user has to change a setting on the sensor */
gcm_calibrate_set_message (calibrate,
+ /* TRANSLATORS: this is when the user has to change a setting on
the sensor */
_("Please set the measuring instrument to calibration mode."),
GCM_CALIBRATE_UI_INTERACTION);
}
diff --git a/src/gcm-import.c b/src/gcm-import.c
index 1cc1b9a..428d04a 100644
--- a/src/gcm-import.c
+++ b/src/gcm-import.c
@@ -109,11 +109,11 @@ main (int argc, char **argv)
/* nothing sent */
if (files == NULL) {
- /* TRANSLATORS: nothing was specified on the command line */
dialog = gtk_message_dialog_new (NULL,
0,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
+ /* TRANSLATORS: nothing was specified on the command line */
_("No filename specified"));
gtk_window_set_icon_name (GTK_WINDOW (dialog),
GCM_STOCK_ICON);
@@ -129,16 +129,16 @@ main (int argc, char **argv)
CD_ICC_LOAD_FLAGS_FALLBACK_MD5,
NULL, &error);
if (!ret) {
- /* TRANSLATORS: could not read file */
dialog = gtk_message_dialog_new (NULL,
0,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
+ /* TRANSLATORS: could not read file */
_("Failed to open ICC profile"));
gtk_window_set_icon_name (GTK_WINDOW (dialog),
GCM_STOCK_ICON);
- /* TRANSLATORS: parsing error */
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
+ /* TRANSLATORS: parsing error */
_("Failed to parse file: %s"),
error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
@@ -193,11 +193,11 @@ main (int argc, char **argv)
error->message);
return EXIT_FAILURE;
}
- /* TRANSLATORS: color profile already been installed */
dialog = gtk_message_dialog_new (NULL,
0,
GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
+ /* TRANSLATORS: color profile already been installed */
_("Color profile is already imported"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), GCM_STOCK_ICON);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", string->str);
@@ -263,11 +263,11 @@ try_harder:
NULL,
&error);
if (profile_tmp == NULL) {
- /* TRANSLATORS: could not read file */
dialog = gtk_message_dialog_new (NULL,
0,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
+ /* TRANSLATORS: could not read file */
_("Failed to import file"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), GCM_STOCK_ICON);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
diff --git a/src/gcm-picker.c b/src/gcm-picker.c
index bbd05c0..44775ea 100644
--- a/src/gcm-picker.c
+++ b/src/gcm-picker.c
@@ -329,8 +329,8 @@ gcm_picker_sensor_client_setup_ui (GcmPickerPrivate *priv)
goto out;
}
if (sensors->len == 0) {
- /* TRANSLATORS: this is displayed the user has not got suitable hardware */
gtk_label_set_label (GTK_LABEL (priv->info_bar_hardware_label),
+ /* TRANSLATORS: this is displayed the user has not got suitable hardware
*/
_("No colorimeter is attached."));
goto out;
}
@@ -345,8 +345,8 @@ gcm_picker_sensor_client_setup_ui (GcmPickerPrivate *priv)
}
if (!cd_sensor_get_native (priv->sensor)) {
- /* TRANSLATORS: this is displayed if VTE support is not enabled */
gtk_label_set_label (GTK_LABEL (priv->info_bar_hardware_label),
+ /* TRANSLATORS: this is displayed if VTE support is not enabled */
_("The sensor has no native driver."));
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]