[gthumb] Use Unicode in translatable strings



commit 0fbc413d14ee56f046848f572b60fff1d3dedd48
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Tue May 2 01:10:56 2017 +0200

    Use Unicode in translatable strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782038

 extensions/catalogs/actions.c                      |    2 +-
 extensions/catalogs/gth-file-source-catalogs.c     |    6 +++---
 extensions/facebook/data/ui/export-to-facebook.ui  |   10 +++++-----
 extensions/facebook/facebook-service.c             |    4 ++--
 extensions/file_manager/callbacks.c                |    8 ++++----
 extensions/file_tools/gth-file-tool-crop.c         |   20 ++++++++++----------
 extensions/file_tools/gth-file-tool-resize.c       |   20 ++++++++++----------
 extensions/flicker_utils/flickr-service.c          |    8 ++++----
 extensions/gstreamer_tools/data/ui/mediabar.ui     |    2 +-
 extensions/image_print/gth-load-image-info-task.c  |    2 +-
 extensions/importer/gth-import-task.c              |    4 ++--
 .../photobucket/data/ui/export-to-photobucket.ui   |   12 ++++++------
 extensions/photobucket/photobucket-service.c       |    4 ++--
 extensions/picasaweb/picasa-web-service.c          |    4 ++--
 gthumb/dlg-location.c                              |    2 +-
 gthumb/gio-utils.c                                 |    4 ++--
 gthumb/glib-utils.c                                |   12 ++++++------
 gthumb/gth-application.c                           |    2 +-
 gthumb/gth-browser.c                               |   14 +++++++-------
 gthumb/gth-extensions.c                            |    4 ++--
 gthumb/gth-file-source-vfs.c                       |    2 +-
 gthumb/gth-image-saver.c                           |    2 +-
 gthumb/gth-save-image-task.c                       |    2 +-
 gthumb/gth-tags-entry.c                            |    2 +-
 gthumb/gth-test-aspect-ratio.c                     |   16 ++++++++--------
 25 files changed, 84 insertions(+), 84 deletions(-)
---
diff --git a/extensions/catalogs/actions.c b/extensions/catalogs/actions.c
index 83e82f3..41c31fb 100644
--- a/extensions/catalogs/actions.c
+++ b/extensions/catalogs/actions.c
@@ -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,
diff --git a/extensions/catalogs/gth-file-source-catalogs.c b/extensions/catalogs/gth-file-source-catalogs.c
index ed82f20..b17fd7f 100644
--- a/extensions/catalogs/gth-file-source-catalogs.c
+++ b/extensions/catalogs/gth-file-source-catalogs.c
@@ -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);
diff --git a/extensions/facebook/data/ui/export-to-facebook.ui 
b/extensions/facebook/data/ui/export-to-facebook.ui
index 064b0e2..4b2a0dd 100644
--- a/extensions/facebook/data/ui/export-to-facebook.ui
+++ b/extensions/facebook/data/ui/export-to-facebook.ui
@@ -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>
diff --git a/extensions/facebook/facebook-service.c b/extensions/facebook/facebook-service.c
index 689d600..1e41435 100644
--- a/extensions/facebook/facebook-service.c
+++ b/extensions/facebook/facebook-service.c
@@ -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,
diff --git a/extensions/file_manager/callbacks.c b/extensions/file_manager/callbacks.c
index 932854f..f3e257f 100644
--- a/extensions/file_manager/callbacks.c
+++ b/extensions/file_manager/callbacks.c
@@ -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,
diff --git a/extensions/file_tools/gth-file-tool-crop.c b/extensions/file_tools/gth-file-tool-crop.c
index 32586a8..5de968e 100644
--- a/extensions/file_tools/gth-file-tool-crop.c
+++ b/extensions/file_tools/gth-file-tool-crop.c
@@ -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"),
+                                    _("5∶4"),
+                                    _("4∶3 (DVD, Book)"),
+                                    _("7∶5"),
+                                    _("3∶2 (Postcard)"),
+                                    _("16∶10"),
+                                    _("16∶9 (DVD)"),
+                                    _("1.85∶1"),
+                                    _("2.39∶1"),
                                     _("Custom"),
                                     NULL);
        gtk_widget_show (self->priv->ratio_combobox);
diff --git a/extensions/file_tools/gth-file-tool-resize.c b/extensions/file_tools/gth-file-tool-resize.c
index bfd6371..3208c8c 100644
--- a/extensions/file_tools/gth-file-tool-resize.c
+++ b/extensions/file_tools/gth-file-tool-resize.c
@@ -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"),
+                                    _("5∶4"),
+                                    _("4∶3 (DVD, Book)"),
+                                    _("7∶5"),
+                                    _("3∶2 (Postcard)"),
+                                    _("16∶10"),
+                                    _("16∶9 (DVD)"),
+                                    _("1.85∶1"),
+                                    _("2.39∶1"),
                                     _("Custom"),
                                     NULL);
        gtk_widget_show (self->priv->ratio_combobox);
diff --git a/extensions/flicker_utils/flickr-service.c b/extensions/flicker_utils/flickr-service.c
index 0336fa1..20fa85f 100644
--- a/extensions/flicker_utils/flickr-service.c
+++ b/extensions/flicker_utils/flickr-service.c
@@ -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 you’re 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 you’re 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,
diff --git a/extensions/gstreamer_tools/data/ui/mediabar.ui b/extensions/gstreamer_tools/data/ui/mediabar.ui
index 2faf89d..1e8340a 100644
--- a/extensions/gstreamer_tools/data/ui/mediabar.ui
+++ b/extensions/gstreamer_tools/data/ui/mediabar.ui
@@ -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>
diff --git a/extensions/image_print/gth-load-image-info-task.c 
b/extensions/image_print/gth-load-image-info-task.c
index df353fa..5759617 100644
--- a/extensions/image_print/gth-load-image-info-task.c
+++ b/extensions/image_print/gth-load-image-info-task.c
@@ -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,
diff --git a/extensions/importer/gth-import-task.c b/extensions/importer/gth-import-task.c
index dab3c92..fe2606f 100644
--- a/extensions/importer/gth-import-task.c
+++ b/extensions/importer/gth-import-task.c
@@ -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);
diff --git a/extensions/photobucket/data/ui/export-to-photobucket.ui 
b/extensions/photobucket/data/ui/export-to-photobucket.ui
index 84ff22f..59d02c1 100644
--- a/extensions/photobucket/data/ui/export-to-photobucket.ui
+++ b/extensions/photobucket/data/ui/export-to-photobucket.ui
@@ -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>
diff --git a/extensions/photobucket/photobucket-service.c b/extensions/photobucket/photobucket-service.c
index ba5a0df..415f20e 100644
--- a/extensions/photobucket/photobucket-service.c
+++ b/extensions/photobucket/photobucket-service.c
@@ -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,
diff --git a/extensions/picasaweb/picasa-web-service.c b/extensions/picasaweb/picasa-web-service.c
index 348d146..93959b9 100644
--- a/extensions/picasaweb/picasa-web-service.c
+++ b/extensions/picasaweb/picasa-web-service.c
@@ -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,
diff --git a/gthumb/dlg-location.c b/gthumb/dlg-location.c
index 30ba1d4..f64b259 100644
--- a/gthumb/dlg-location.c
+++ b/gthumb/dlg-location.c
@@ -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);
diff --git a/gthumb/gio-utils.c b/gthumb/gio-utils.c
index 9bb383d..b1e18f4 100644
--- a/gthumb/gio-utils.c
+++ b/gthumb/gio-utils.c
@@ -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);
 
diff --git a/gthumb/glib-utils.c b/gthumb/glib-utils.c
index b40df4b..f564c36 100644
--- a/gthumb/glib-utils.c
+++ b/gthumb/glib-utils.c
@@ -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 "9∶05∶02" 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 "5∶02" 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);
 }
 
 
diff --git a/gthumb/gth-application.c b/gthumb/gth-application.c
index 6a074d7..15a93c9 100644
--- a/gthumb/gth-application.c
+++ b/gthumb/gth-application.c
@@ -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);
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 4479f73..55d99e4 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -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 don’t 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);
diff --git a/gthumb/gth-extensions.c b/gthumb/gth-extensions.c
index 6be1fdc..379df05 100644
--- a/gthumb/gth-extensions.c
+++ b/gthumb/gth-extensions.c
@@ -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;
                }
        }
diff --git a/gthumb/gth-file-source-vfs.c b/gthumb/gth-file-source-vfs.c
index eb189fe..043c3cd 100644
--- a/gthumb/gth-file-source-vfs.c
+++ b/gthumb/gth-file-source-vfs.c
@@ -834,7 +834,7 @@ gth_file_mananger_delete_files (GtkWindow *window,
                file_count = g_list_length (file_list);
                if (file_count == 1) {
                        GthFileData *file_data = file_list->data;
-                       prompt = g_strdup_printf (_("Are you sure you want to permanently delete \"%s\"?"), 
g_file_info_get_display_name (file_data->info));
+                       prompt = g_strdup_printf (_("Are you sure you want to permanently delete “%s”?"), 
g_file_info_get_display_name (file_data->info));
                }
                else
                        prompt = g_strdup_printf (ngettext("Are you sure you want to permanently delete "
diff --git a/gthumb/gth-image-saver.c b/gthumb/gth-image-saver.c
index c2436ae..ba1c42d 100644
--- a/gthumb/gth-image-saver.c
+++ b/gthumb/gth-image-saver.c
@@ -182,7 +182,7 @@ _gth_image_save_to_buffer_common (GthImage      *image,
        saver = gth_main_get_image_saver (mime_type);
        if (saver == NULL) {
                if (p_error != NULL)
-                       *p_error = g_error_new (GTH_ERROR, GTH_ERROR_GENERIC, _("Could not find a suitable 
module to save the image as \"%s\""), mime_type);
+                       *p_error = g_error_new (GTH_ERROR, GTH_ERROR_GENERIC, _("Could not find a suitable 
module to save the image as “%s”"), mime_type);
                return NULL;
        }
 
diff --git a/gthumb/gth-save-image-task.c b/gthumb/gth-save-image-task.c
index 4e5c54c..191f5a4 100644
--- a/gthumb/gth-save-image-task.c
+++ b/gthumb/gth-save-image-task.c
@@ -155,7 +155,7 @@ save_image (GthSaveImageTask *self)
 
        filename = g_file_get_parse_name (self->priv->file_data->file);
        /* Translators: %s is a filename */
-       description = g_strdup_printf (_("Saving '%s'"), filename);
+       description = g_strdup_printf (_("Saving “%s”"), filename);
        gth_task_progress (GTH_TASK (self), description, NULL, TRUE, 0.0);
 
        gth_image_save_to_file (gth_image_task_get_source (GTH_IMAGE_TASK (self)),
diff --git a/gthumb/gth-tags-entry.c b/gthumb/gth-tags-entry.c
index 5e1ac3a..a47be82 100644
--- a/gthumb/gth-tags-entry.c
+++ b/gthumb/gth-tags-entry.c
@@ -478,7 +478,7 @@ text_changed_cb (GtkEntry     *entry,
        if (can_create_tag (self, self->priv->new_tag)) {
                char *action_text;
 
-               action_text = g_strdup_printf (_("Create tag «%s»"), self->priv->new_tag);
+               action_text = g_strdup_printf (_("Create tag “%s”"), self->priv->new_tag);
                gtk_entry_completion_insert_action_text (self->priv->completion, 0, action_text);
                self->priv->action_create = TRUE;
 
diff --git a/gthumb/gth-test-aspect-ratio.c b/gthumb/gth-test-aspect-ratio.c
index 0cbd9e2..1bbba2e 100644
--- a/gthumb/gth-test-aspect-ratio.c
+++ b/gthumb/gth-test-aspect-ratio.c
@@ -45,14 +45,14 @@ static struct {
        double      value;
 } aspect_ratio_values[] = {
        { N_("Square"), 1.0 },
-       { N_("5:4"), 5.0 / 4.0 },
-       { N_("4:3 (DVD, Book)"), 4.0 / 3.0 },
-       { N_("7:5"), 7.0 / 5.0 },
-       { N_("3:2 (Postcard)"), 3.0 / 2.0 },
-       { N_("16:10"), 16.0 / 10.0 },
-       { N_("16:9 (DVD)"), 16.0 / 9.0 },
-       { N_("1.85:1"), 1.85 },
-       { N_("2.39:1"), 2.39 }
+       { N_("5∶4"), 5.0 / 4.0 },
+       { N_("4∶3 (DVD, Book)"), 4.0 / 3.0 },
+       { N_("7∶5"), 7.0 / 5.0 },
+       { N_("3∶2 (Postcard)"), 3.0 / 2.0 },
+       { N_("16∶10"), 16.0 / 10.0 },
+       { N_("16∶9 (DVD)"), 16.0 / 9.0 },
+       { N_("1.85∶1"), 1.85 },
+       { N_("2.39∶1"), 2.39 }
 };
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]