f-spot r4120 - trunk/src



Author: sdelcroix
Date: Mon Jun 30 07:52:36 2008
New Revision: 4120
URL: http://svn.gnome.org/viewvc/f-spot?rev=4120&view=rev

Log:
adding notes for translators


Modified:
   trunk/src/PhotoView.cs
   trunk/src/TimeDialog.cs

Modified: trunk/src/PhotoView.cs
==============================================================================
--- trunk/src/PhotoView.cs	(original)
+++ trunk/src/PhotoView.cs	Mon Jun 30 07:52:36 2008
@@ -144,12 +144,9 @@
 		{
 			if (query == null)
 				count_label.Text = String.Empty;
-			else {
-				if (query.Count == 0)
-					count_label.Text = String.Format (Catalog.GetString ("{0} of {1}"), 0, 0);
-				else 
-					count_label.Text = String.Format (Catalog.GetString ("{0} of {1}"), Item.Index + 1, Query.Count);
-			}
+			else
+				// Note for translators: This indicates the current photo is photo {0} of {1} out of photos
+				count_label.Text = String.Format (Catalog.GetString ("{0} of {1}"), query.Count == 0 ? 0 : Item.Index + 1, query.Count == 0 ? 0 : query.Count);
 		}
 	
 		private void UpdateDescriptionEntry ()

Modified: trunk/src/TimeDialog.cs
==============================================================================
--- trunk/src/TimeDialog.cs	(original)
+++ trunk/src/TimeDialog.cs	Mon Jun 30 07:52:36 2008
@@ -138,7 +138,7 @@
 				old_label.Text = item.Time.ToLocalTime ().ToString ();
 				
 				int i = collection.Count > 0 ? Item.Index + 1: 0;
-				// This indicates the current photo is photo {0} of {1} out of photos
+				// Note for translators: This indicates the current photo is photo {0} of {1} out of photos
 				count_label.Text = System.String.Format (Catalog.GetString ("{0} of {1}"), i, collection.Count);
 
 				DateTime actual = item.Time;



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