[totem] Fix Bug 672616. Mark messages as translatable.
- From: Jiro Matsuzawa <jmatsuzawa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Fix Bug 672616. Mark messages as translatable.
- Date: Thu, 22 Mar 2012 23:18:28 +0000 (UTC)
commit 14e4dae61302049cc62e0c8c58b169c1223d2574
Author: Jiro Matsuzawa <jmatsuzawa src gnome org>
Date: Thu Mar 22 20:29:44 2012 +0900
Fix Bug 672616. Mark messages as translatable.
po/POTFILES.in | 1 +
src/plugins/chapters/totem-edit-chapter.c | 3 ++-
src/plugins/grilo/grilo.ui | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3f4c9a8..f003bbc 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -44,6 +44,7 @@ src/plugins/brasero-disc-recorder/totem-disc-recorder.c
[type: gettext/glade]src/plugins/chapters/chapters-list.ui
src/plugins/chapters/totem-chapters.c
src/plugins/chapters/totem-cmml-parser.c
+src/plugins/chapters/totem-edit-chapter.c
[type: gettext/ini]src/plugins/dbusservice/dbusservice.plugin.in
src/plugins/dbusservice/dbusservice.py
[type: gettext/ini]src/plugins/im-status/totem-im-status.plugin.in
diff --git a/src/plugins/chapters/totem-edit-chapter.c b/src/plugins/chapters/totem-edit-chapter.c
index eb81b28..ba5af5c 100644
--- a/src/plugins/chapters/totem-edit-chapter.c
+++ b/src/plugins/chapters/totem-edit-chapter.c
@@ -32,6 +32,7 @@
*/
#include <gtk/gtk.h>
+#include <glib/gi18n.h>
#include "totem.h"
#include "totem-interface.h"
@@ -91,7 +92,7 @@ totem_edit_chapter_new (void)
return NULL;
}
- gtk_window_set_title (GTK_WINDOW (edit_chapter), "Add Chapter");
+ gtk_window_set_title (GTK_WINDOW (edit_chapter), _("Add Chapter"));
gtk_dialog_add_buttons (GTK_DIALOG (edit_chapter),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
diff --git a/src/plugins/grilo/grilo.ui b/src/plugins/grilo/grilo.ui
index e3ecda7..0bbd660 100644
--- a/src/plugins/grilo/grilo.ui
+++ b/src/plugins/grilo/grilo.ui
@@ -2,12 +2,12 @@
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkAction" id="add-to-playlist">
- <property name="label">Add to Playlist</property>
+ <property name="label" translatable="yes">Add to Playlist</property>
<property name="tooltip">add media to playlist</property>
<property name="stock_id">gtk-add</property>
</object>
<object class="GtkAction" id="copy-location">
- <property name="label">Copy Location</property>
+ <property name="label" translatable="yes">Copy Location</property>
<property name="tooltip">copy media location</property>
<property name="stock_id">gtk-copy</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]