[pitivi] MainWindow: Make button labels translatable. Fixes #584086



commit 39ea55705dbd5ac852c0551bb0b79a88e6792dad
Author: Claude Paroz <claude 2xlibre net>
Date:   Thu May 28 09:57:33 2009 +0200

    MainWindow: Make button labels translatable. Fixes #584086
---
 pitivi/ui/mainwindow.py |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 302c6a1..85bd75d 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -110,12 +110,14 @@ def supported(info):
 def create_stock_icons():
     """ Creates the pitivi-only stock icons """
     gtk.stock_add([
-            ('pitivi-render', 'Render', 0, 0, 'pitivi'),
-            ('pitivi-split', 'Split', 0, 0, 'pitivi'),
-            ('pitivi-unlink', 'Unlink', 0, 0, 'pitivi'),
-            ('pitivi-link', 'Link', 0, 0, 'pitivi'),
-            ('pitivi-ungroup', 'Ungroup', 0, 0, 'pitivi'),
-            ('pitivi-group', 'Group', 0, 0, 'pitivi'),
+            ('pitivi-render', _('Render'), 0, 0, 'pitivi'),
+            ('pitivi-split', _('Split'), 0, 0, 'pitivi'),
+            ('pitivi-unlink', _('Unlink'), 0, 0, 'pitivi'),
+            # Translators: This is an action, the title of a button
+            ('pitivi-link', _('Link'), 0, 0, 'pitivi'),
+            ('pitivi-ungroup', _('Ungroup'), 0, 0, 'pitivi'),
+            # Translators: This is an action, the title of a button
+            ('pitivi-group', _('Group'), 0, 0, 'pitivi'),
             ])
     pixmaps = {
         "pitivi-render" : "pitivi-render-24.png",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]