[Xfce4-commits] <parole:master> Fix untranslatable strings (bug #10418)
Sean Davis
noreply at xfce.org
Sun Oct 20 16:32:01 CEST 2013
Updating branch refs/heads/master
to 042ad465534068605a8025e5d71e19342751a619 (commit)
from 0d439ef5d9f572d7716c165f3409faf737a05ab1 (commit)
commit 042ad465534068605a8025e5d71e19342751a619
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Oct 20 10:31:18 2013 -0400
Fix untranslatable strings (bug #10418)
ChangeLog | 3 +++
data/interfaces/parole.ui | 12 ++++++------
src/gst/parole-gst.c | 6 +++---
3 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e44e761..e6f6bc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-10-20: bluesabre at xfce.org
+ * Fix untranslatable strings (bug #10418)"
+
2013-10-19: bluesabre at xfce.org
* Development release 0.5.90
* Completed port to GTK+3
diff --git a/data/interfaces/parole.ui b/data/interfaces/parole.ui
index c13c361..f3472d0 100644
--- a/data/interfaces/parole.ui
+++ b/data/interfaces/parole.ui
@@ -163,7 +163,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkImageMenuItem" id="menu-add">
- <property name="label">_Open…</property>
+ <property name="label" translatable="yes">_Open…</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_underline">True</property>
@@ -217,7 +217,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="menu-open-disc">
- <property name="label">Insert Disk</property>
+ <property name="label" translatable="yes">Insert Disk</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">False</property>
@@ -233,7 +233,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="menu-exit">
- <property name="label">_Quit</property>
+ <property name="label" translatable="yes">_Quit</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_underline">True</property>
@@ -422,8 +422,8 @@
<property name="use_underline">True</property>
<property name="image">image_volume_up</property>
<property name="use_stock">False</property>
- <accelerator key="equal" signal="activate"/>
<accelerator key="plus" signal="activate"/>
+ <accelerator key="equal" signal="activate"/>
<signal name="activate" handler="parole_player_volume_up" swapped="no"/>
</object>
</child>
@@ -467,7 +467,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkImageMenuItem" id="fullscreen-menu">
- <property name="label">_Fullscreen</property>
+ <property name="label" translatable="yes">_Fullscreen</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_underline">True</property>
@@ -672,7 +672,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="about">
- <property name="label">_About</property>
+ <property name="label" translatable="yes">_About</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_underline">True</property>
diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index 878deff..8ca98c9 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -1507,10 +1507,10 @@ parole_gst_missing_codec_dialog(ParoleGst *gst, GstMessage *msg)
gtk_message_dialog_format_secondary_markup(dialog,
#if defined(__linux__)
- "Parole needs <b>%s</b> to play this file.\n"
- "It can be installed automatically.",
+ _("Parole needs <b>%s</b> to play this file.\n"
+ "It can be installed automatically."),
#elif defined(__FreeBSD__)
- "Parole needs <b>%s</b> to play this file.",
+ _("Parole needs <b>%s</b> to play this file."),
#endif
desc);
More information about the Xfce4-commits
mailing list