[goobox/wip/piotrdrag/unicode-typography: 7/8] Use Unicode typography in translatable strings
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox/wip/piotrdrag/unicode-typography: 7/8] Use Unicode typography in translatable strings
- Date: Mon, 27 Aug 2018 07:43:35 +0000 (UTC)
commit 6acf8a3347394808ca774982ccc9ba2c912f6db1
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sun Aug 19 20:19:40 2018 +0200
Use Unicode typography in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
data/org.gnome.Goobox.gschema.xml | 4 ++--
src/dlg-ripper.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/org.gnome.Goobox.gschema.xml b/data/org.gnome.Goobox.gschema.xml
index 50bfd88..e7a2c1b 100644
--- a/data/org.gnome.Goobox.gschema.xml
+++ b/data/org.gnome.Goobox.gschema.xml
@@ -56,8 +56,8 @@
</key>
<key name="cover-path" type="s">
<default>'~'</default>
- <summary>'Choose cover' location</summary>
- <description>Default location for the 'Choose cover' dialog.</description>
+ <summary>“Choose cover” location</summary>
+ <description>Default location for the “Choose cover” dialog.</description>
</key>
<key name="use-sound-juicer" type="b">
<default>false</default>
diff --git a/src/dlg-ripper.c b/src/dlg-ripper.c
index ab6b762..34f1883 100644
--- a/src/dlg-ripper.c
+++ b/src/dlg-ripper.c
@@ -162,9 +162,9 @@ update_ui (gpointer callback_data)
&& ( fabs (data->prev_remaining_time - remaining_time) > 20.0))
time_left = NULL;
else if (minutes > 59)
- time_left = g_strdup_printf (_("(%d:%02d:%02d Remaining)"), minutes / 60, minutes %
60, seconds);
+ time_left = g_strdup_printf (_("(%d∶%02d∶%02d Remaining)"), minutes / 60, minutes %
60, seconds);
else
- time_left = g_strdup_printf (_("(%d:%02d Remaining)"), minutes, seconds);
+ time_left = g_strdup_printf (_("(%d∶%02d Remaining)"), minutes, seconds);
data->prev_remaining_time = remaining_time;
}
@@ -609,7 +609,7 @@ rip_current_track (DialogData *data)
track = data->current_track->data;
- msg = g_strdup_printf (_("Extracting \"%s\""), track->title);
+ msg = g_strdup_printf (_("Extracting “%s”"), track->title);
escaped = g_markup_printf_escaped ("<i>%s</i>", msg);
gtk_label_set_markup (GTK_LABEL (GET_WIDGET ("track_label")), escaped);
g_free (escaped);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]