=?utf-8?q?=5Btotem=5D_strings=3A_Use_Unicode_ratio_symbol_=28=E2=80=98?= =?utf-8?q?=E2=88=B6=E2=80=99=29_instead_of_colons_in_time_strings?=
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] strings: Use Unicode ratio symbol (âââ) instead of colons in time strings
- Date: Tue, 4 Dec 2012 12:21:50 +0000 (UTC)
commit f2688ae996ea5bf7657d70f84c721ffaefb5f4a3
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Dec 4 12:11:30 2012 +0000
strings: Use Unicode ratio symbol (âââ) instead of colons in time strings
See: https://mail.gnome.org/archives/desktop-devel-list/2012-December/msg00015.html
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=621639
data/totem.ui | 18 +++++++++---------
src/gst/totem-time-helpers.c | 12 ++++++------
src/plugins/skipto/totem-time-entry.c | 2 +-
3 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/data/totem.ui b/data/totem.ui
index 0c78397..01337dc 100644
--- a/data/totem.ui
+++ b/data/totem.ui
@@ -118,21 +118,21 @@
</child>
<child>
<object class="GtkAction" id="zoom-1-2">
- <property name="label" translatable="yes">_Resize 1:2</property>
+ <property name="label" translatable="yes">_Resize 1â2</property>
<property name="tooltip" translatable="yes">Resize to half the original video size</property>
<signal name="activate" handler="zoom_1_2_action_callback"/>
</object>
</child>
<child>
<object class="GtkAction" id="zoom-1-1">
- <property name="label" translatable="yes">Resize _1:1</property>
+ <property name="label" translatable="yes">Resize _1â1</property>
<property name="tooltip" translatable="yes">Resize to the original video size</property>
<signal name="activate" handler="zoom_1_1_action_callback"/>
</object>
</child>
<child>
<object class="GtkAction" id="zoom-2-1">
- <property name="label" translatable="yes">Resize _2:1</property>
+ <property name="label" translatable="yes">Resize _2â1</property>
<property name="tooltip" translatable="yes">Resize to double the original video size</property>
<signal name="activate" handler="zoom_2_1_action_callback"/>
</object>
@@ -302,8 +302,8 @@
</child>
<child>
<object class="GtkRadioAction" id="aspect-ratio-fbt">
- <property name="label" translatable="yes">4:3 (TV)</property>
- <property name="tooltip" translatable="yes">Sets 4:3 (TV) aspect ratio</property>
+ <property name="label" translatable="yes">4â3 (TV)</property>
+ <property name="tooltip" translatable="yes">Sets 4â3 (TV) aspect ratio</property>
<!-- BVW_RATIO_FOURBYTHREE -->
<property name="group">aspect-ratio-auto</property>
<property name="value">2</property>
@@ -311,8 +311,8 @@
</child>
<child>
<object class="GtkRadioAction" id="aspect-ratio-anamorphic">
- <property name="label" translatable="yes">16:9 (Widescreen)</property>
- <property name="tooltip" translatable="yes">Sets 16:9 (widescreen) aspect ratio</property>
+ <property name="label" translatable="yes">16â9 (Widescreen)</property>
+ <property name="tooltip" translatable="yes">Sets 16â9 (widescreen) aspect ratio</property>
<!-- BVW_RATIO_ANAMORPHIC -->
<property name="group">aspect-ratio-auto</property>
<property name="value">3</property>
@@ -320,8 +320,8 @@
</child>
<child>
<object class="GtkRadioAction" id="aspect-ratio-dvb">
- <property name="label" translatable="yes">2.11:1 (DVB)</property>
- <property name="tooltip" translatable="yes">Sets 2.11:1 (DVB) aspect ratio</property>
+ <property name="label" translatable="yes">2.11â1 (DVB)</property>
+ <property name="tooltip" translatable="yes">Sets 2.11â1 (DVB) aspect ratio</property>
<!-- BVW_RATIO_DVB -->
<property name="group">aspect-ratio-auto</property>
<property name="value">4</property>
diff --git a/src/gst/totem-time-helpers.c b/src/gst/totem-time-helpers.c
index 71e9e82..9537580 100644
--- a/src/gst/totem-time-helpers.c
+++ b/src/gst/totem-time-helpers.c
@@ -48,19 +48,19 @@ totem_time_to_string (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/src/plugins/skipto/totem-time-entry.c b/src/plugins/skipto/totem-time-entry.c
index 7b2e97b..cdda6dc 100644
--- a/src/plugins/skipto/totem-time-entry.c
+++ b/src/plugins/skipto/totem-time-entry.c
@@ -54,7 +54,7 @@ totem_string_to_time (const char *time_string)
{
int sec, min, hour, args;
- args = sscanf (time_string, C_("long time format", "%d:%02d:%02d"), &hour, &min, &sec);
+ args = sscanf (time_string, C_("long time format", "%dâ%02dâ%02d"), &hour, &min, &sec);
if (args == 3) {
/* Parsed all three arguments successfully */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]