banshee r4757 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp src/Dap/Banshee.Dap/Banshee.Dap.Gui



Author: wbolster
Date: Sat Oct 25 15:22:38 2008
New Revision: 4757
URL: http://svn.gnome.org/viewvc/banshee?rev=4757&view=rev

Log:
2008-10-25  Wouter Bolsterlee  <wbolster svn gnome org>

	* src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs:
	* src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/StatisticsPage.cs:
	* src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs:
	* src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs:

	Added/updated translator comments.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/StatisticsPage.cs
   trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs
   trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs	Sat Oct 25 15:22:38 2008
@@ -36,15 +36,15 @@
 {
     public class BasicTrackDetailsPage : FieldPage, ITrackEditorPage
     {
-        
+
         public int Order {
             get { return 10; }
         }
-                                    
+
         public string Title {
             get { return Catalog.GetString ("Basic Details"); }
         }
-        
+
         public override void LoadTrack (EditorTrackInfo track)
         {
             base.LoadTrack (track);
@@ -55,23 +55,23 @@
             HBox box = new HBox ();
             VBox left = EditorUtilities.CreateVBox ();
             VBox right = EditorUtilities.CreateVBox ();
-            
+
             box.PackStart (left, true, true, 0);
             box.PackStart (new VSeparator (), false, false, 12);
             box.PackStart (right, false, false, 0);
             box.ShowAll ();
-            
+
             PackStart (box, false, false, 0);
-            
+
             // Left
-            
+
             AddField (left, new TitleEntry (Dialog), null,
                 delegate { return Catalog.GetString ("Track Title:"); },
                 delegate (EditorTrackInfo track, Widget widget) { ((TitleEntry)widget).Text = track.TrackTitle; },
                 delegate (EditorTrackInfo track, Widget widget) { track.TrackTitle = ((TitleEntry)widget).Text; },
                 FieldOptions.NoSync
             );
-            
+
             FieldPage.FieldSlot track_artist_slot = AddField (left, new TextEntry ("CoreArtists", "Name"), 
                 Catalog.GetString ("Set all track artists to this value"),
                 delegate { return Catalog.GetString ("Track Artist:"); },
@@ -93,23 +93,24 @@
                     track.AlbumArtist = entry.Text;
                 }
             );
-            
+
             AddField (left, new TextEntry ("CoreAlbums", "Title"), 
                 Catalog.GetString ("Set all album titles to this value"),
                 delegate { return Catalog.GetString ("Album Title:"); },
                 delegate (EditorTrackInfo track, Widget widget) { ((TextEntry)widget).Text = track.AlbumTitle; },
                 delegate (EditorTrackInfo track, Widget widget) { track.AlbumTitle = ((TextEntry)widget).Text; }
             );
-            
+
             AddField (left, new GenreEntry (), 
                 Catalog.GetString ("Set all genres to this value"),
                 delegate { return Catalog.GetString ("Genre:"); },
                 delegate (EditorTrackInfo track, Widget widget) { ((GenreEntry)widget).Value = track.Genre; },
                 delegate (EditorTrackInfo track, Widget widget) { track.Genre = ((GenreEntry)widget).Value; }
             );
-            
+
             // Right
-            
+
+            /* Translators: "of" is the word beteen a track/disc number and the total count. */
             AddField (right, new RangeEntry (Catalog.GetString ("of")), 
                 Catalog.GetString ("Automatically set track number and count"),
                 delegate { return Catalog.GetString ("Track Number:"); },
@@ -125,7 +126,7 @@
                 },
                 FieldOptions.NoSync
             );
-            
+
             AddField (right, new RangeEntry (Catalog.GetString ("of")), 
                 Catalog.GetString ("Automatically set disc number and count"),
                 delegate { return Catalog.GetString ("Disc Number:"); },
@@ -141,7 +142,7 @@
                 },
                 FieldOptions.NoSync
             );
-            
+
             Label year_label = EditorUtilities.CreateLabel (null);
             album_artist_entry.LabelWidget.SizeAllocated += delegate { year_label.HeightRequest = album_artist_entry.LabelWidget.Allocation.Height; };
             SpinButtonEntry year_entry = new SpinButtonEntry (0, 3000, 1);
@@ -153,7 +154,7 @@
                 delegate (EditorTrackInfo track, Widget widget) { track.Year = ((SpinButtonEntry)widget).ValueAsInt; },
                 FieldOptions.Shrink
             );
-            
+
             AddField (right, new RatingEntry (), 
                 Catalog.GetString ("Set all ratings to this value"),
                 delegate { return Catalog.GetString ("Rating:"); },

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/StatisticsPage.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/StatisticsPage.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/StatisticsPage.cs	Sat Oct 25 15:22:38 2008
@@ -127,6 +127,7 @@
                 
                 foreach (TagLib.ICodec codec in file.Properties.Codecs) {
                     if (codec != null) {
+                        /* Translators: {0} is the description of the codec */
                         AddItem (String.Format (Catalog.GetString ("{0} Codec:"), 
                             codec.MediaTypes.ToString ()), codec.Description);
                     }

Modified: trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs	(original)
+++ trunk/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs	Sat Oct 25 15:22:38 2008
@@ -153,15 +153,15 @@
                 List<Track> files = mtp_device.GetAllTracks (delegate (ulong current, ulong total, IntPtr data) {
                     //user_event.Progress = (double)current / total;
                     // Translators: {0} is the name of the MTP audio device (eg Gabe's Zen Player), {1} is the
-                    // current track being loaded, and {2} is the total # of tracks that will be loaded.
+                    // track currently being loaded, and {2} is the total # of tracks that will be loaded.
                     SetStatus (String.Format (Catalog.GetString ("Loading {0} - {1} of {2}"), Name, current, total), false);
                     return 0;
                 });
-                
+
                 /*if (user_event.IsCancelRequested) {
                     return;
                 }*/
-                
+
                 int [] source_ids = new int [] { DbId };
                 foreach (Track mtp_track in files) {
                     int track_id;

Modified: trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs	(original)
+++ trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs	Sat Oct 25 15:22:38 2008
@@ -66,7 +66,7 @@
             if (previous_dap != null) {
                 previous_dap.Sync.Updated -= OnSyncUpdated;
             }
-            
+
             previous_dap = ActiveSource as DapSource;
 
             if (previous_dap != null) {
@@ -84,6 +84,7 @@
             DapSource dap = Dap;
             if (dap != null) {
                 UpdateAction ("SyncDapAction", dap.Sync.Enabled && !dap.Sync.AutoSync);
+                /* Translators: {0} is the name of the digital audio player */
                 this["SyncDapAction"].Label = String.Format (Catalog.GetString ("Synchronize {0}"), dap.Name);
             }
         }



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