[pitivi] EncodingDialog: Make strings translatable. Fixes #584123
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] EncodingDialog: Make strings translatable. Fixes #584123
- Date: Fri, 29 May 2009 07:34:39 -0400 (EDT)
commit 55fa21eea6dc3e0e8556b1f47f10243fe6ae869c
Author: Claude Paroz <claude 2xlibre net>
Date: Thu May 28 15:41:17 2009 +0200
EncodingDialog: Make strings translatable. Fixes #584123
---
pitivi/ui/encodingdialog.glade | 4 ++--
pitivi/ui/exportsettingswidget.py | 8 ++++----
pitivi/ui/gstwidget.py | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pitivi/ui/encodingdialog.glade b/pitivi/ui/encodingdialog.glade
index b9c61e1..7c5660a 100644
--- a/pitivi/ui/encodingdialog.glade
+++ b/pitivi/ui/encodingdialog.glade
@@ -10,7 +10,7 @@
<widget class="GtkDialog" id="encodingdialog">
<property name="visible">True</property>
<property name="border_width">5</property>
- <property name="title">Render project</property>
+ <property name="title" translatable="yes">Render project</property>
<property name="modal">True</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<child internal-child="vbox">
@@ -166,7 +166,7 @@
<widget class="GtkProgressBar" id="progressbar">
<property name="visible">True</property>
<property name="pulse_step">0.1</property>
- <property name="text">Please choose an output file</property>
+ <property name="text" translatable="yes">Please choose an output file</property>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/pitivi/ui/exportsettingswidget.py b/pitivi/ui/exportsettingswidget.py
index 64673a7..4e0994e 100644
--- a/pitivi/ui/exportsettingswidget.py
+++ b/pitivi/ui/exportsettingswidget.py
@@ -107,7 +107,7 @@ class ExportSettingsWidget(GladeWidget, Loggable):
fps = preset[3:5]
videolist.append(["%s - %s" % (preset[0], fps_map[fps])])
- videolist.append(["Custom"])
+ videolist.append([_("Custom")])
# find out from the project settings which combo to take
idx = 0
@@ -140,7 +140,7 @@ class ExportSettingsWidget(GladeWidget, Loggable):
audiolist.clear()
for preset in self.audio_presets:
audiolist.append([preset[0]])
- audiolist.append(["Custom"])
+ audiolist.append([_("Custom")])
idx = 0
for preset in self.audio_presets:
@@ -291,7 +291,7 @@ class ExportSettingsWidget(GladeWidget, Loggable):
selected = idx
idx = idx + 1
if muxer_can_sink_raw_video(muxer):
- venclist.append(["Raw Video"])
+ venclist.append([_("Raw Video")])
if prevvenc == None:
selected = idx
self.vcodeccbox.set_active(selected)
@@ -306,7 +306,7 @@ class ExportSettingsWidget(GladeWidget, Loggable):
selected = idx
idx = idx + 1
if muxer_can_sink_raw_audio(muxer):
- aenclist.append(["Raw Audio"])
+ aenclist.append([_("Raw Audio")])
if prevaenc == None:
selected = idx
self.acodeccbox.set_active(selected)
diff --git a/pitivi/ui/gstwidget.py b/pitivi/ui/gstwidget.py
index 1483b7a..4d7f0e4 100644
--- a/pitivi/ui/gstwidget.py
+++ b/pitivi/ui/gstwidget.py
@@ -137,7 +137,7 @@ class GstElementSettingsWidget(gtk.VBox, Loggable):
def _addWidgets(self, properties):
props = [x for x in gobject.list_properties(self.element) if not x.name in self.ignore]
if not props:
- self.pack_start(gtk.Label("No properties..."))
+ self.pack_start(gtk.Label(_("No properties...")))
self.show_all()
return
table = gtk.Table(rows=len(props), columns=2)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]