[pitivi: 57/94] Replaced "No Preset" with _("No Preset")
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 57/94] Replaced "No Preset" with _("No Preset")
- Date: Sun, 11 Sep 2011 16:17:14 +0000 (UTC)
commit 32275b1fdbb4782699e87e62b8cd90df91888540
Author: Feroze Naina <ferozenaina gmail com>
Date: Thu Aug 25 16:17:46 2011 +0530
Replaced "No Preset" with _("No Preset")
pitivi/ui/encodingdialog.py | 2 +-
pitivi/ui/projectsettings.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index 51e00be..5f7febd 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -222,7 +222,7 @@ class EncodingDialog(Renderer, Loggable):
self.createNoPreset(self.render_presets)
def createNoPreset(self, mgr):
- mgr.prependPreset("No Preset", {
+ mgr.prependPreset(_("No Preset"), {
"depth": int(get_combo_value(self.sample_depth_combo)),
"channels": int(get_combo_value(self.channels_combo)),
"sample-rate": int(get_combo_value(self.sample_rate_combo)),
diff --git a/pitivi/ui/projectsettings.py b/pitivi/ui/projectsettings.py
index 08b66c7..360adc1 100644
--- a/pitivi/ui/projectsettings.py
+++ b/pitivi/ui/projectsettings.py
@@ -288,13 +288,13 @@ class ProjectSettingsDialog():
treeview.connect("focus-out-event", self._treeviewDefocusedCb, mgr)
def createAudioNoPreset(self, mgr):
- mgr.prependPreset("No Preset", {
+ mgr.prependPreset(_("No Preset"), {
"depth": int(get_combo_value(self.sample_depth_combo)),
"channels": int(get_combo_value(self.channels_combo)),
"sample-rate": int(get_combo_value(self.sample_rate_combo))})
def createVideoNoPreset(self, mgr):
- mgr.prependPreset("No Preset", {
+ mgr.prependPreset(_("No Preset"), {
"par": gst.Fraction(int(get_combo_value(self.par_combo).num),
int(get_combo_value(self.par_combo).denom)),
"frame-rate": gst.Fraction(int(get_combo_value(self.frame_rate_combo).num),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]