[f-spot] Mark several strings for translation.



commit 669e12f063dfae77cd80da23a591a2132bb3894d
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Sun Oct 7 22:07:15 2012 -0700

    Mark several strings for translation.
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=654316
    
    updated to latest git by Arun Persaud (only needed line number adjustment, no code changes)

 .../FSpot.UI.Dialog/SelectionRatioDialog.cs        |    2 +-
 src/Clients/MainApp/ui/single_view.ui              |    8 ++++----
 .../FSpot.Exporters.Folder/FolderExport.cs         |    2 +-
 .../Resources/ChangePhotoPath.ui                   |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.UI.Dialog/SelectionRatioDialog.cs b/src/Clients/MainApp/FSpot.UI.Dialog/SelectionRatioDialog.cs
index 4135f6d..75aac83 100644
--- a/src/Clients/MainApp/FSpot.UI.Dialog/SelectionRatioDialog.cs
+++ b/src/Clients/MainApp/FSpot.UI.Dialog/SelectionRatioDialog.cs
@@ -71,7 +71,7 @@ namespace FSpot.UI.Dialog {
 		public SelectionRatioDialog () : base ("SelectionRatioDialog.ui", "customratio_dialog")
 		{
 			close_button.Clicked += delegate (object o, EventArgs e) {SavePrefs (); this.Destroy (); };
-			add_button.Clicked += delegate (object o, EventArgs e) {constraints_store.AppendValues ("New Selection", 1.0);};
+                        add_button.Clicked += delegate (object o, EventArgs e) {constraints_store.AppendValues (Catalog.GetString("New Selection"), 1.0);};
 			delete_button.Clicked += DeleteSelectedRows;
 			up_button.Clicked += MoveUp;
 			down_button.Clicked += MoveDown;
diff --git a/src/Clients/MainApp/ui/single_view.ui b/src/Clients/MainApp/ui/single_view.ui
index 9367680..07c255e 100644
--- a/src/Clients/MainApp/ui/single_view.ui
+++ b/src/Clients/MainApp/ui/single_view.ui
@@ -25,7 +25,7 @@
                   <object class="GtkMenu" id="file2_menu">
                     <child>
                       <object class="GtkImageMenuItem" id="new_window1">
-                        <property name="label">_New Window</property>
+                        <property name="label" translatable="yes">_New Window</property>
                         <property name="visible">True</property>
                         <property name="use_underline">True</property>
                         <property name="use_stock">True</property>
@@ -46,7 +46,7 @@
                     </child>
                     <child>
                       <object class="GtkImageMenuItem" id="open_folder1">
-                        <property name="label">Open _Folder...</property>
+                        <property name="label" translatable="yes">Open _Folder...</property>
                         <property name="visible">True</property>
                         <property name="use_underline">True</property>
                         <property name="use_stock">True</property>
@@ -95,7 +95,7 @@
                   <object class="GtkMenu" id="edit_menu_menu">
                     <child>
                       <object class="GtkImageMenuItem" id="rotate_left">
-                        <property name="label">Rotate _Left</property>
+                        <property name="label" translatable="yes">Rotate _Left</property>
                         <property name="visible">True</property>
                         <property name="use_underline">True</property>
                         <property name="use_stock">True</property>
@@ -106,7 +106,7 @@
                     </child>
                     <child>
                       <object class="GtkImageMenuItem" id="rotate_right">
-                        <property name="label">Rotate _Right</property>
+                        <property name="label"  translatable="yes">Rotate _Right</property>
                         <property name="visible">True</property>
                         <property name="use_underline">True</property>
                         <property name="use_stock">True</property>
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs
index a7ac6d0..e84e50d 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs
+++ b/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs
@@ -113,7 +113,7 @@ namespace FSpot.Exporters.Folder
 		int size;
 
 		string description;
-		string gallery_name = "Gallery";
+		string gallery_name = Catalog.GetString("Gallery");
 		// FIXME: this needs to be a real temp directory
 		string gallery_path = Path.Combine (Path.GetTempPath (), "f-spot-original-" + System.DateTime.Now.Ticks.ToString ());
 
diff --git a/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/Resources/ChangePhotoPath.ui b/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/Resources/ChangePhotoPath.ui
index e367df2..59fb6d0 100644
--- a/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/Resources/ChangePhotoPath.ui
+++ b/src/Extensions/Tools/FSpot.Tools.ChangePhotoPath/Resources/ChangePhotoPath.ui
@@ -144,7 +144,7 @@
                         <child>
                           <object class="GtkLabel" id="label4">
                             <property name="visible">True</property>
-                            <property name="label">_Apply changes</property>
+                            <property name="label" translatable="yes">_Apply changes</property>
                             <property name="use_underline">True</property>
                           </object>
                           <packing>



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