Commit 0fbc413d authored by Piotr Drąg's avatar Piotr Drąg 😐 Committed by Paolo Bacchilega
Browse files
parent 4c1f53ca
......@@ -363,7 +363,7 @@ gth_browser_activate_remove_catalog (GSimpleAction *action,
char *prompt;
GtkWidget *d;
prompt = g_strdup_printf (_("Are you sure you want to remove \"%s\"?"), g_file_info_get_display_name (file_data->info));
prompt = g_strdup_printf (_("Are you sure you want to remove “%s”?"), g_file_info_get_display_name (file_data->info));
d = _gtk_message_dialog_new (GTK_WINDOW (browser),
GTK_DIALOG_MODAL,
_GTK_ICON_NAME_DIALOG_QUESTION,
......
......@@ -950,9 +950,9 @@ copy_catalog_ready_cb (GError *error,
uri = g_file_get_uri (first_file);
extension = _g_uri_get_file_extension (uri);
if ((g_strcmp0 (extension, ".catalog") == 0) || (g_strcmp0 (extension, ".search") == 0))
msg = g_strdup_printf (_("The catalog '%s' already exists, do you want to overwrite it?"), g_file_info_get_display_name (ccd->destination->info));
msg = g_strdup_printf (_("The catalog %s already exists, do you want to overwrite it?"), g_file_info_get_display_name (ccd->destination->info));
else
msg = g_strdup_printf (_("The library '%s' already exists, do you want to overwrite it?"), g_file_info_get_display_name (ccd->destination->info));
msg = g_strdup_printf (_("The library %s already exists, do you want to overwrite it?"), g_file_info_get_display_name (ccd->destination->info));
d = _gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
......@@ -1132,7 +1132,7 @@ gth_file_source_catalogs_copy (GthFileSource *file_source,
if (cod->progress_callback != NULL) {
char *message;
message = g_strdup_printf (_("Copying files to '%s'"), g_file_info_get_display_name (destination->info));
message = g_strdup_printf (_("Copying files to %s"), g_file_info_get_display_name (destination->info));
(cod->progress_callback) (G_OBJECT (file_source), message, NULL, TRUE, 0.0, cod->user_data);
g_free (message);
......
......@@ -31,23 +31,23 @@
</columns>
<data>
<row>
<col id="0" translatable="yes">720 x 720</col>
<col id="0" translatable="yes">720 × 720</col>
<col id="1">720</col>
</row>
<row>
<col id="0" translatable="yes">1024 x 1024</col>
<col id="0" translatable="yes">1024 × 1024</col>
<col id="1">1024</col>
</row>
<row>
<col id="0" translatable="yes">1280 x 1280</col>
<col id="0" translatable="yes">1280 × 1280</col>
<col id="1">1280</col>
</row>
<row>
<col id="0" translatable="yes">1600 x 1600</col>
<col id="0" translatable="yes">1600 × 1600</col>
<col id="1">1600</col>
</row>
<row>
<col id="0" translatable="yes">2048 x 2048</col>
<col id="0" translatable="yes">2048 × 2048</col>
<col id="1">2048</col>
</row>
</data>
......
......@@ -677,7 +677,7 @@ upload_photos_done (FacebookService *self,
GthFileData *file_data = self->priv->post_photos->current->data;
char *msg;
msg = g_strdup_printf (_("Could not upload '%s': %s"), g_file_info_get_display_name (file_data->info), error->message);
msg = g_strdup_printf (_("Could not upload %s: %s"), g_file_info_get_display_name (file_data->info), error->message);
g_free (error->message);
error->message = msg;
}
......@@ -742,7 +742,7 @@ upload_photo_wrote_body_data_cb (SoupMessage *msg,
file_data = self->priv->post_photos->current->data;
/* Translators: %s is a filename */
details = g_strdup_printf (_("Uploading '%s'"), g_file_info_get_display_name (file_data->info));
details = g_strdup_printf (_("Uploading %s"), g_file_info_get_display_name (file_data->info));
current_file_fraction = (double) self->priv->post_photos->wrote_body_data_size / msg->request_body->length;
gth_task_progress (GTH_TASK (self),
NULL,
......
......@@ -776,16 +776,16 @@ fm__gth_browser_folder_tree_drag_data_received_cb (GthBrowser *browser,
if (n_files == 1) {
char *filename = _g_file_get_display_name ((GFile *) file_list->data);
if (action == GDK_ACTION_MOVE)
message = g_strdup_printf (_("Do you want to move \"%s\" to \"%s\"?"), filename, g_file_info_get_display_name (destination->info));
message = g_strdup_printf (_("Do you want to move “%s” to “%s”?"), filename, g_file_info_get_display_name (destination->info));
else
message = g_strdup_printf (_("Do you want to copy \"%s\" to \"%s\"?"), filename, g_file_info_get_display_name (destination->info));
message = g_strdup_printf (_("Do you want to copy “%s” to “%s”?"), filename, g_file_info_get_display_name (destination->info));
g_free (filename);
}
else {
if (action == GDK_ACTION_MOVE)
message = g_strdup_printf (_("Do you want to move the dragged files to \"%s\"?"), g_file_info_get_display_name (destination->info));
message = g_strdup_printf (_("Do you want to move the dragged files to “%s”?"), g_file_info_get_display_name (destination->info));
else
message = g_strdup_printf (_("Do you want to copy the dragged files to \"%s\"?"), g_file_info_get_display_name (destination->info));
message = g_strdup_printf (_("Do you want to copy the dragged files to “%s”?"), g_file_info_get_display_name (destination->info));
}
dialog = _gtk_message_dialog_new (GTK_WINDOW (browser),
GTK_DIALOG_MODAL,
......
......@@ -432,21 +432,21 @@ gth_file_tool_crop_get_options (GthFileTool *base)
self->priv->crop_height_spinbutton = _gtk_builder_get_widget (self->priv->builder, "crop_height_spinbutton");
self->priv->ratio_combobox = _gtk_combo_box_new_with_texts (_("None"), _("Square"), NULL);
text = g_strdup_printf (_("%d x %d (Image)"), self->priv->original_width, self->priv->original_height);
text = g_strdup_printf (_("%d × %d (Image)"), self->priv->original_width, self->priv->original_height);
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (self->priv->ratio_combobox), text);
g_free (text);
text = g_strdup_printf (_("%d x %d (Screen)"), self->priv->screen_width, self->priv->screen_height);
text = g_strdup_printf (_("%d × %d (Screen)"), self->priv->screen_width, self->priv->screen_height);
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (self->priv->ratio_combobox), text);
g_free (text);
_gtk_combo_box_append_texts (GTK_COMBO_BOX_TEXT (self->priv->ratio_combobox),
_("5:4"),
_("4:3 (DVD, Book)"),
_("7:5"),
_("3:2 (Postcard)"),
_("16:10"),
_("16:9 (DVD)"),
_("1.85:1"),
_("2.39:1"),
_("54"),
_("43 (DVD, Book)"),
_("75"),
_("32 (Postcard)"),
_("1610"),
_("169 (DVD)"),
_("1.851"),
_("2.391"),
_("Custom"),
NULL);
gtk_widget_show (self->priv->ratio_combobox);
......
......@@ -579,23 +579,23 @@ gth_file_tool_resize_get_options (GthFileTool *base)
gtk_combo_box_set_active (GTK_COMBO_BOX (GET_WIDGET ("unit_combobox")), self->priv->unit);
self->priv->ratio_combobox = _gtk_combo_box_new_with_texts (_("None"), _("Square"), NULL);
text = g_strdup_printf (_("%d x %d (Image)"), self->priv->original_width, self->priv->original_height);
text = g_strdup_printf (_("%d × %d (Image)"), self->priv->original_width, self->priv->original_height);
gtk_label_set_text (GTK_LABEL (GET_WIDGET ("image_size_label")), text);
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (self->priv->ratio_combobox), text);
g_free (text);
text = g_strdup_printf (_("%d x %d (Screen)"), self->priv->screen_width, self->priv->screen_height);
text = g_strdup_printf (_("%d × %d (Screen)"), self->priv->screen_width, self->priv->screen_height);
gtk_label_set_text (GTK_LABEL (GET_WIDGET ("screen_size_label")), text);
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (self->priv->ratio_combobox), text);
g_free (text);
_gtk_combo_box_append_texts (GTK_COMBO_BOX_TEXT (self->priv->ratio_combobox),
_("5:4"),
_("4:3 (DVD, Book)"),
_("7:5"),
_("3:2 (Postcard)"),
_("16:10"),
_("16:9 (DVD)"),
_("1.85:1"),
_("2.39:1"),
_("54"),
_("43 (DVD, Book)"),
_("75"),
_("32 (Postcard)"),
_("1610"),
_("169 (DVD)"),
_("1.851"),
_("2.391"),
_("Custom"),
NULL);
gtk_widget_show (self->priv->ratio_combobox);
......
......@@ -500,7 +500,7 @@ old_authorization_complete (FlickrService *self)
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), _RESPONSE_CONTINUE, TRUE);
text = g_strdup_printf (_("Return to this window when you have finished the authorization process on %s"), self->priv->server->display_name);
secondary_text = g_strdup (_("Once you're done, click the 'Continue' button below."));
secondary_text = g_strdup (_("Once youre done, click the Continue button below."));
g_object_set (dialog, "text", text, "secondary-text", secondary_text, NULL);
gtk_window_present (GTK_WINDOW (dialog));
......@@ -577,7 +577,7 @@ old_auth_frob_ready_cb (GObject *source_object,
NULL);
text = g_strdup_printf (_("gThumb requires your authorization to upload the photos to %s"), self->priv->server->display_name);
secondary_text = g_strdup_printf (_("Click 'Authorize' to open your web browser and authorize gthumb to upload photos to %s. When you're finished, return to this window to complete the authorization."), self->priv->server->display_name);
secondary_text = g_strdup_printf (_("Click Authorize to open your web browser and authorize gthumb to upload photos to %s. When youre finished, return to this window to complete the authorization."), self->priv->server->display_name);
g_object_set (dialog, "text", text, "secondary-text", secondary_text, NULL);
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), _RESPONSE_AUTHORIZE, TRUE);
......@@ -1182,7 +1182,7 @@ post_photos_done (FlickrService *self,
GthFileData *file_data = self->priv->post_photos->current->data;
char *msg;
msg = g_strdup_printf (_("Could not upload '%s': %s"), g_file_info_get_display_name (file_data->info), error->message);
msg = g_strdup_printf (_("Could not upload %s: %s"), g_file_info_get_display_name (file_data->info), error->message);
g_free (error->message);
error->message = msg;
}
......@@ -1293,7 +1293,7 @@ upload_photo_wrote_body_data_cb (SoupMessage *msg,
file_data = self->priv->post_photos->current->data;
/* Translators: %s is a filename */
details = g_strdup_printf (_("Uploading '%s'"), g_file_info_get_display_name (file_data->info));
details = g_strdup_printf (_("Uploading %s"), g_file_info_get_display_name (file_data->info));
current_file_fraction = (double) self->priv->post_photos->wrote_body_data_size / msg->request_body->length;
gth_task_progress (GTH_TASK (self),
NULL,
......
......@@ -173,7 +173,7 @@
<object class="GtkLabel" id="label_duration">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">--:--</property>
<property name="label" translatable="yes">----</property>
</object>
<packing>
<property name="expand">False</property>
......
......@@ -162,7 +162,7 @@ load_current_image (GthLoadImageInfoTask *self)
image_info = self->priv->images[self->priv->current];
/* translators: %s is a filename */
details = g_strdup_printf (_("Loading \"%s\""), g_file_info_get_display_name (image_info->file_data->info));
details = g_strdup_printf (_("Loading “%s”"), g_file_info_get_display_name (image_info->file_data->info));
gth_task_progress (GTH_TASK (self),
_("Loading images"),
details,
......
......@@ -871,8 +871,8 @@ gth_import_task_check_free_space (GFile *destination,
*error = g_error_new (G_IO_ERROR,
G_IO_ERROR_NO_SPACE,
/* Translators: For example: Not enough free space in '/home/user/Images'.\n1.3 GB of space is required but only 300 MB is available. */
_("Not enough free space in '%s'.\n%s of space is required but only %s is available."),
/* Translators: For example: Not enough free space in /home/user/Images.\n1.3 GB of space is required but only 300 MB is available. */
_("Not enough free space in %s.\n%s of space is required but only %s is available."),
destination_name,
min_free_space_s,
free_space_s);
......
......@@ -31,27 +31,27 @@
</columns>
<data>
<row>
<col id="0" translatable="yes">Tiny ( 100 x 75 )</col>
<col id="0" translatable="yes">Tiny ( 100 × 75 )</col>
<col id="1">100</col>
</row>
<row>
<col id="0" translatable="yes">Small ( 160 x 120 )</col>
<col id="0" translatable="yes">Small ( 160 × 120 )</col>
<col id="1">160</col>
</row>
<row>
<col id="0" translatable="yes">Medium ( 320 x 240 )</col>
<col id="0" translatable="yes">Medium ( 320 × 240 )</col>
<col id="1">320</col>
</row>
<row>
<col id="0" translatable="yes">Large ( 640 x 480 )</col>
<col id="0" translatable="yes">Large ( 640 × 480 )</col>
<col id="1">640</col>
</row>
<row>
<col id="0" translatable="yes">15ʺ screen ( 800 x 600 )</col>
<col id="0" translatable="yes">15ʺ screen ( 800 × 600 )</col>
<col id="1">800</col>
</row>
<row>
<col id="0" translatable="yes">17ʺ screen ( 1024 x 768 )</col>
<col id="0" translatable="yes">17ʺ screen ( 1024 × 768 )</col>
<col id="1">1024</col>
</row>
<row>
......
......@@ -482,7 +482,7 @@ upload_photos_done (PhotobucketService *self,
GthFileData *file_data = self->priv->post_photos->current->data;
char *msg;
msg = g_strdup_printf (_("Could not upload '%s': %s"), g_file_info_get_display_name (file_data->info), error->message);
msg = g_strdup_printf (_("Could not upload %s: %s"), g_file_info_get_display_name (file_data->info), error->message);
g_free (error->message);
error->message = msg;
}
......@@ -539,7 +539,7 @@ upload_photo_wrote_body_data_cb (SoupMessage *msg,
file_data = self->priv->post_photos->current->data;
/* Translators: %s is a filename */
details = g_strdup_printf (_("Uploading '%s'"), g_file_info_get_display_name (file_data->info));
details = g_strdup_printf (_("Uploading %s"), g_file_info_get_display_name (file_data->info));
current_file_fraction = (double) self->priv->post_photos->wrote_body_data_size / msg->request_body->length;
gth_task_progress (GTH_TASK (self),
NULL,
......
......@@ -857,7 +857,7 @@ post_photos_done (PicasaWebService *self,
GthFileData *file_data = self->priv->post_photos->current->data;
char *msg;
msg = g_strdup_printf (_("Could not upload '%s': %s"), g_file_info_get_display_name (file_data->info), error->message);
msg = g_strdup_printf (_("Could not upload %s: %s"), g_file_info_get_display_name (file_data->info), error->message);
g_free (error->message);
error->message = msg;
}
......@@ -914,7 +914,7 @@ upload_photo_wrote_body_data_cb (SoupMessage *msg,
file_data = self->priv->post_photos->current->data;
/* Translators: %s is a filename */
details = g_strdup_printf (_("Uploading '%s'"), g_file_info_get_display_name (file_data->info));
details = g_strdup_printf (_("Uploading %s"), g_file_info_get_display_name (file_data->info));
current_file_fraction = (double) self->priv->post_photos->wrote_body_data_size / msg->request_body->length;
gth_task_progress (GTH_TASK (self),
NULL,
......
......@@ -197,7 +197,7 @@ ok_button_clicked_cb (GtkWidget *widget,
if (uri == NULL) {
char *title;
title = g_strdup_printf (_("Could not load the position \"%s\""), gtk_entry_get_text (GTK_ENTRY (GET_WIDGET ("location_entry"))));
title = g_strdup_printf (_("Could not load the position “%s”"), gtk_entry_get_text (GTK_ENTRY (GET_WIDGET ("location_entry"))));
_gtk_error_dialog_from_gerror_show (GTK_WINDOW (GET_WIDGET ("location_dialog")), title, error);
g_free (title);
......
......@@ -1429,9 +1429,9 @@ _g_copy_file_to_destination (CopyFileData *copy_file_data,
destination_parent = g_file_get_parent (copy_file_data->current_destination);
destination_name = g_file_get_parse_name (destination_parent);
if (copy_file_data->move)
copy_file_data->message = g_strdup_printf (_("Moving \"%s\" to \"%s\""), g_file_info_get_display_name (copy_file_data->source->info), destination_name);
copy_file_data->message = g_strdup_printf (_("Moving “%s” to “%s”"), g_file_info_get_display_name (copy_file_data->source->info), destination_name);
else
copy_file_data->message = g_strdup_printf (_("Copying \"%s\" to \"%s\""), g_file_info_get_display_name (copy_file_data->source->info), destination_name);
copy_file_data->message = g_strdup_printf (_("Copying “%s” to “%s”"), g_file_info_get_display_name (copy_file_data->source->info), destination_name);
copy_file_progress_cb (0, 0, copy_file_data);
......
......@@ -3264,21 +3264,21 @@ _g_format_duration_for_display (gint64 msecs)
if (hour > 0)
{
/* hour:minutes:seconds */
/* Translators: This is a time format, like "9:05:02" for 9
* hours, 5 minutes, and 2 seconds. You may change ":" to
/* Translators: This is a time format, like "90502" for 9
* hours, 5 minutes, and 2 seconds. You may change "" to
* the separator that your locale uses or use "%Id" instead
* of "%d" if your locale uses localized digits.
*/
return g_strdup_printf (C_("long time format", "%d:%02d:%02d"), hour, min, sec);
return g_strdup_printf (C_("long time format", "%d%02d%02d"), hour, min, sec);
}
/* minutes:seconds */
/* Translators: This is a time format, like "5:02" for 5
* minutes and 2 seconds. You may change ":" to the
/* Translators: This is a time format, like "502" for 5
* minutes and 2 seconds. You may change "" to the
* separator that your locale uses or use "%Id" instead of
* "%d" if your locale uses localized digits.
*/
return g_strdup_printf (C_("short time format", "%d:%02d"), min, sec);
return g_strdup_printf (C_("short time format", "%d%02d"), min, sec);
}
......
......@@ -202,7 +202,7 @@ gth_application_create_option_context (void)
GOptionContext *context;
static gsize initialized = FALSE;
context = g_option_context_new (N_("- Image browser and viewer"));
context = g_option_context_new (N_(" Image browser and viewer"));
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
g_option_context_set_ignore_unknown_options (context, TRUE);
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
......
......@@ -1103,7 +1103,7 @@ load_data_done (LoadData *load_data,
}
gth_browser_update_sensitivity (browser);
title = file_format (_("Could not load the position \"%s\""), load_data->requested_folder->file);
title = file_format (_("Could not load the position “%s”"), load_data->requested_folder->file);
_gth_browser_show_error (browser, title, error);
g_free (title);
......@@ -1667,7 +1667,7 @@ mount_volume_ready_cb (GObject *source_object,
if (! g_file_mount_enclosing_volume_finish (G_FILE (source_object), result, &error)) {
char *title;
title = file_format (_("Could not load the position \"%s\""), load_data->requested_folder->file);
title = file_format (_("Could not load the position “%s”"), load_data->requested_folder->file);
_gth_browser_show_error (load_data->browser, title, error);
g_clear_error (&error);
......@@ -1920,12 +1920,12 @@ gth_browser_ask_whether_to_save (GthBrowser *browser,
gtk_window_present (GTK_WINDOW (browser));
title = g_strdup_printf (_("Save changes to file '%s'?"), g_file_info_get_display_name (browser->priv->current_file->info));
title = g_strdup_printf (_("Save changes to file %s?"), g_file_info_get_display_name (browser->priv->current_file->info));
d = _gtk_message_dialog_new (GTK_WINDOW (browser),
GTK_DIALOG_MODAL,
_GTK_ICON_NAME_DIALOG_QUESTION,
title,
_("If you don't save, changes to the file will be permanently lost."),
_("If you dont save, changes to the file will be permanently lost."),
_("Do _Not Save"), RESPONSE_NO_SAVE,
_GTK_LABEL_CANCEL, GTK_RESPONSE_CANCEL,
_GTK_LABEL_SAVE, RESPONSE_SAVE,
......@@ -6546,7 +6546,7 @@ load_file_attributes_ready_cb (GObject *object,
char *title;
GError *error;
title = file_format (_("Could not load the position \"%s\""), data->location_data->file);
title = file_format (_("Could not load the position “%s”"), data->location_data->file);
error = g_error_new (GTH_ERROR, 0, _("File type not supported"));
_gth_browser_show_error (browser, title, error);
g_clear_error (&error);
......@@ -6565,7 +6565,7 @@ load_file_attributes_ready_cb (GObject *object,
else {
char *title;
title = file_format (_("Could not load the position \"%s\""), data->location_data->file);
title = file_format (_("Could not load the position “%s”"), data->location_data->file);
_gth_browser_show_error (browser, title, error);
g_free (title);
......@@ -6589,7 +6589,7 @@ gth_browser_load_location (GthBrowser *browser,
char *title;
GError *error;
title = file_format (_("Could not load the position \"%s\""), data->location_data->file);
title = file_format (_("Could not load the position “%s”"), data->location_data->file);
error = g_error_new (GTH_ERROR, 0, _("No suitable module found"));
_gth_browser_show_error (browser, title, error);
g_clear_error (&error);
......
......@@ -200,7 +200,7 @@ gth_extension_module_real_open (GthExtension *base,
if (self->priv->module == NULL) {
if (error != NULL)
*error = g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED, _("Could not open the module `%s`: %s"), self->priv->module_name, g_module_error ());
*error = g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED, _("Could not open the module %s: %s"), self->priv->module_name, g_module_error ());
}
return self->priv->module != NULL;
......@@ -751,7 +751,7 @@ gth_extension_manager_deactivate (GthExtensionManager *manager,
GthExtensionDescription *child_description = scan->data;
if (gth_extension_description_is_active (child_description)) {
*error = g_error_new (GTH_ERROR, GTH_ERROR_EXTENSION_DEPENDENCY, _("The extension '%1$s' is required by the extension '%2$s'"), description->name, child_description->name);
*error = g_error_new (GTH_ERROR, GTH_ERROR_EXTENSION_DEPENDENCY, _("The extension %1$s is required by the extension %2$s"), description->name, child_description->name);
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment