[cheese/three-point-oh] mark further strings as translatable (mostly .ui files)



commit 4e707a7170d5cfa6cc3f07aecede7ec4c8653305
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Mon Jul 12 02:03:35 2010 +0200

    mark further strings as translatable (mostly .ui files)

 data/cheese-about.ui        |   15 ++++++-------
 data/cheese-actions.ui      |   50 +++++++++++++++++++++---------------------
 data/cheese-main-window.ui  |    2 +-
 data/effects/optv.effect.in |    2 +-
 src/cheese-window.vala      |    2 +-
 5 files changed, 35 insertions(+), 36 deletions(-)
---
diff --git a/data/cheese-about.ui b/data/cheese-about.ui
index 14dd770..ddb8519 100644
--- a/data/cheese-about.ui
+++ b/data/cheese-about.ui
@@ -2,16 +2,15 @@
 <interface>
   <requires lib="gtk+" version="2.16" />
   <object class="GtkAboutDialog" id="aboutdialog">
-    <property name="program_name">Cheese</property>
-    <property name="comments">Take photos and videos with your webcam, with fun graphical effects</property>
-    <property name="copyright">Copyright © 2007 - 2009
-daniel g. siegel &lt;dgsiegel gnome org&gt;</property>
+    <property name="program_name" translatable="yes">Cheese</property>
+    <property name="comments" translatable="yes">Take photos and videos with your webcam, with fun graphical effects</property>
+    <property name="copyright">Copyright © 2007 - 2010 daniel g. siegel &lt;dgsiegel gnome org&gt;</property>
     <property name="website">http://projects.gnome.org/cheese</property>
-    <property name="website-label">Cheese Website</property>
+    <property name="website-label" translatable="yes">Cheese Website</property>
     <property name="wrap-license">True</property>
     <property name="logo-icon-name">cheese</property>
-    <property name="translator-credits" translatable="true">translator-credits</property>
-    <property name="license" translatable="true">This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+    <property name="translator-credits" translatable="yes">translator-credits</property>
+    <property name="license" translatable="yes">This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 
 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 
@@ -54,4 +53,4 @@ Or Dvory &lt;gnudles nana co il&gt;
 Ulisse Perusin &lt;ulisail yahoo it&gt;
     </property>
   </object>
-</interface>
\ No newline at end of file
+</interface>
diff --git a/data/cheese-actions.ui b/data/cheese-actions.ui
index 93fc1f5..bbb941d 100644
--- a/data/cheese-actions.ui
+++ b/data/cheese-actions.ui
@@ -7,25 +7,25 @@
         <child>
           <object class="GtkAction" id="cheese_action">
             <property name="name">Cheese</property>
-            <property name="label">_Cheese</property>
+            <property name="label" translatable="yes">_Cheese</property>
           </object>
         </child>
         <child>
           <object class="GtkAction" id="edit_action">
             <property name="name">Edit</property>
-            <property name="label">_Edit</property>
+            <property name="label" translatable="yes">_Edit</property>
           </object>
         </child>
         <child>
           <object class="GtkAction" id="help_action">
             <property name="name">Help</property>
-            <property name="label">_Help</property>
+            <property name="label" translatable="yes">_Help</property>
           </object>
         </child>
         <child>
           <object class="GtkAction" id="quit">
             <property name="name">Quit</property>
-            <property name="label">_Quit</property>
+            <property name="label" translatable="yes">_Quit</property>
             <signal name="activate" handler="cheese_main_window_on_quit"/>
           </object>
           <accelerator key="q" modifiers="GDK_CONTROL_MASK"/>
@@ -37,7 +37,7 @@
         <child>
           <object class="GtkAction" id="help_contents">
             <property name="name">HelpContents</property>
-            <property name="label">Help _Contents</property>
+            <property name="label" translatable="yes">Help _Contents</property>
             <property name="stock_id">gtk-help</property>
             <signal name="activate" handler="cheese_main_window_on_help_contents"/>
           </object>
@@ -46,7 +46,7 @@
         <child>
           <object class="GtkAction" id="about">
             <property name="name">About</property>
-            <property name="label">_About</property>
+            <property name="label" translatable="yes">_About</property>
             <property name="stock_id">gtk-about</property>
             <signal name="activate" handler="cheese_main_window_on_help_about"/>
           </object>
@@ -58,7 +58,7 @@
         <child>
           <object class="GtkAction" id="open">
             <property name="name">Open</property>
-            <property name="label">_Open</property>
+            <property name="label" translatable="yes">_Open</property>
             <property name="stock_id">gtk-open</property>
             <signal name="activate" handler="cheese_main_window_on_file_open"/>
           </object>
@@ -67,7 +67,7 @@
         <child>
           <object class="GtkAction" id="save_as">
             <property name="name">SaveAs</property>
-            <property name="label">Save _As</property>
+            <property name="label" translatable="yes">Save _As</property>
             <property name="stock_id">gtk-save-as</property>
             <signal name="activate" handler="cheese_main_window_on_file_save_as"/>
           </object>
@@ -76,7 +76,7 @@
         <child>
           <object class="GtkAction" id="move_to_trash">
             <property name="name">MoveToTrash</property>
-            <property name="label">Move to _Trash</property>
+            <property name="label" translatable="yes">Move to _Trash</property>
             <property name="icon_name">user-trash</property>
             <signal name="activate" handler="cheese_main_window_on_file_move_to_trash"/>
           </object>
@@ -85,7 +85,7 @@
         <child>
           <object class="GtkAction" id="delete">
             <property name="name">Delete</property>
-            <property name="label">_Delete</property>
+            <property name="label" translatable="yes">_Delete</property>
             <signal name="activate" handler="cheese_main_window_on_file_delete"/>
           </object>
           <accelerator key="Delete" modifiers="GDK_SHIFT_MASK"/>
@@ -93,7 +93,7 @@
         <child>
           <object class="GtkAction" id="move_all_to_trash">
             <property name="name">RemoveAll</property>
-            <property name="label">Move All to Trash</property>
+            <property name="label" translatable="yes">Move All to Trash</property>
             <signal name="activate" handler="cheese_main_window_on_file_delete"/>
           </object>
         </child>
@@ -104,7 +104,7 @@
         <child>
           <object class="GtkToggleAction" id="fullscreen">
             <property name="name">Fullscreen</property>
-            <property name="label">Fullscreen</property>
+            <property name="label" translatable="yes">Fullscreen</property>
             <property name="stock_id">gtk-fullscreen</property>
             <signal name="toggled" handler="cheese_main_window_on_layout_fullscreen"/>
           </object>
@@ -113,7 +113,7 @@
         <child>
           <object class="GtkToggleAction" id="wide_mode">
             <property name="name">WideMode</property>
-            <property name="label">_Wide Mode</property>
+            <property name="label" translatable="yes">_Wide Mode</property>
             <signal name="toggled" handler="cheese_main_window_on_layout_wide_mode"/>
           </object>
         </child>
@@ -124,7 +124,7 @@
         <child>
           <object class="GtkAction" id="take_photo">
             <property name="name">TakePhoto</property>
-            <property name="label">_Take a Photo</property>
+            <property name="label" translatable="yes">_Take a Photo</property>
             <signal name="activate" handler="cheese_main_window_on_take_action"/>
           </object>
           <accelerator key="space" modifiers=""/>
@@ -132,7 +132,7 @@
         <child>
           <object class="GtkAction" id="take_video">
             <property name="name">TakeVideo</property>
-            <property name="label">_Record a Video</property>
+            <property name="label" translatable="yes">_Record a Video</property>
             <signal name="activate" handler="cheese_main_window_on_take_action"/>
           </object>
           <accelerator key="space" modifiers=""/>
@@ -140,7 +140,7 @@
         <child>
           <object class="GtkAction" id="take_burst">
             <property name="name">TakeBurst</property>
-            <property name="label">Take _Multiple Photos</property>
+            <property name="label" translatable="yes">Take _Multiple Photos</property>
             <signal name="activate" handler="cheese_main_window_on_take_action"/>
           </object>
           <accelerator key="space" modifiers=""/>
@@ -152,7 +152,7 @@
         <child>
           <object class="GtkRadioAction" id="photo_mode">
             <property name="name">Photo</property>
-            <property name="label">_Photo</property>
+            <property name="label" translatable="yes">_Photo</property>
             <property name="group">photo_mode</property>
             <property name="value">0</property>
             <property name="active">True</property>
@@ -162,7 +162,7 @@
         <child>
           <object class="GtkRadioAction" id="video_mode">
             <property name="name">Video</property>
-            <property name="label">_Video</property>
+            <property name="label" translatable="yes">_Video</property>
             <property name="group">photo_mode</property>
             <property name="value">1</property>
             <signal name="activate" handler="cheese_main_window_on_mode_change"/>
@@ -171,7 +171,7 @@
         <child>
           <object class="GtkRadioAction" id="burst_mode">
             <property name="name">Burst</property>
-            <property name="label">Burst</property>
+            <property name="label" translatable="yes">Burst</property>
             <property name="group">photo_mode</property>
             <property name="value">2</property>
             <signal name="activate" handler="cheese_main_window_on_mode_change"/>
@@ -184,14 +184,14 @@
         <child>
           <object class="GtkToggleAction" id="effects_toggle">
             <property name="name">Effects</property>
-            <property name="label">_Effects</property>
+            <property name="label" translatable="yes">_Effects</property>
             <signal name="toggled" handler="cheese_main_window_on_effects_toggle"/>
           </object>
         </child>
         <child>
           <object class="GtkAction" id="effects_page_prev">
-            <property name="name">Previous Effects Page</property>
-            <property name="label">Previous Effects Page</property>
+            <property name="name">Previous Effects</property>
+            <property name="label" translatable="yes">Previous Effects</property>
             <property name="sensitive">false</property>
             <signal name="activate" handler="cheese_main_window_on_prev_effects_page"/>
           </object>
@@ -199,8 +199,8 @@
         </child>
         <child>
           <object class="GtkAction" id="effects_page_next">
-            <property name="name">Next Effects Page</property>
-            <property name="label">Next Effects Page</property>
+            <property name="name">Next Effects</property>
+            <property name="label" translatable="yes">Next Effects</property>
             <property name="sensitive">false</property>
             <signal name="activate" handler="cheese_main_window_on_next_effects_page"/>
           </object>
@@ -213,7 +213,7 @@
         <child>
           <object class="GtkAction" id="preferences">
             <property name="name">Preferences</property>
-            <property name="label">_Preferences</property>
+            <property name="label" translatable="yes">_Preferences</property>
             <signal name="activate" handler="cheese_main_window_on_preferences_dialog"/>
           </object>
         </child>
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index db0871a..99d059c 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -95,7 +95,7 @@
                                 </child>
                                 <child>
                                   <object class="GtkLabel" id="take_action_button_internal_label">
-                                    <property name="label" translatable="yes">&lt;b&gt;_Take a Photo&lt;/b&gt;</property>
+                                    <property name="label" translatable="yes">_Take a Photo</property>
                                     <property name="use-underline">True</property>
                                     <property name="use-markup">True</property>
                                   </object>
diff --git a/data/effects/optv.effect.in b/data/effects/optv.effect.in
index 328d988..b40c8c2 100644
--- a/data/effects/optv.effect.in
+++ b/data/effects/optv.effect.in
@@ -1,4 +1,4 @@
 [Cheese Effect]
 Encoding=UTF-8
-_Name=Optical Animation
+_Name=Optical Illusion
 PipelineDescription=optv
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 4c7445a..405c7c5 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -495,7 +495,7 @@ public class Cheese.MainWindow : Gtk.Window
       if (!is_recording)
       {
         camera.start_video_recording (fileutil.get_new_media_filename (this.current_mode));
-        take_action_button_label.label = "<b>Stop _Recording</b>";
+        take_action_button_label.label = "<b>" + _("Stop _Recording") + "</b>;
         take_action_button_image.set_from_stock (Gtk.STOCK_MEDIA_STOP, Gtk.IconSize.BUTTON);
         this.is_recording = true;
         this.disable_mode_change ();



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