[banshee] Sort the file list for addins-xml-strings.cs



commit 48fe876828405af2ec0eff4bdcd6dc9b6d470d36
Author: Aaron Bockover <abockover novell com>
Date:   Tue Dec 15 18:50:14 2009 -0500

    Sort the file list for addins-xml-strings.cs

 build/AddinXmlStringExtractor.cs |    7 +-
 data/addin-xml-strings.cs        |  234 +++++++++++++++++++-------------------
 2 files changed, 122 insertions(+), 119 deletions(-)
---
diff --git a/build/AddinXmlStringExtractor.cs b/build/AddinXmlStringExtractor.cs
index ec3c3f0..d10a8ac 100644
--- a/build/AddinXmlStringExtractor.cs
+++ b/build/AddinXmlStringExtractor.cs
@@ -1,6 +1,6 @@
 using System;
-using System.Xml;
 using System.Xml.XPath;
+using System.Collections.Generic;
 
 public static class AddinXmlStringExtract
 {
@@ -19,7 +19,10 @@ internal static class AddinXmlStringCatalog
     private static void Strings ()
     {");
 
-        foreach (var path in args) {
+        var paths = new List<string> (args);
+        paths.Sort ();
+
+        foreach (var path in paths) {
             Console.WriteLine ("        // {0}", path);
             var xpath = new XPathDocument (path);
             var nav = xpath.CreateNavigator ();
diff --git a/data/addin-xml-strings.cs b/data/addin-xml-strings.cs
index 64d8d6e..62028df 100644
--- a/data/addin-xml-strings.cs
+++ b/data/addin-xml-strings.cs
@@ -4,177 +4,177 @@ internal static class AddinXmlStringCatalog
 {
     private static void Strings ()
     {
-        // ../src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea.addin.xml
-        Catalog.GetString (@"Notification Area Icon");
-        Catalog.GetString (@"Displays an icon in the notification area and allows Banshee to be controlled through it.");
-        Catalog.GetString (@"User Interface");
+        // ../src/Backends/Banshee.Gio/Banshee.Gio.addin.xml
+        Catalog.GetString (@"GIO IO backend");
 
-        // ../src/Extensions/Banshee.Podcasting/Banshee.Podcasting.addin.xml
-        Catalog.GetString (@"Podcasts");
-        Catalog.GetString (@"Allows subscribing to and managing of Podcasts.");
-        Catalog.GetString (@"User Interface");
+        // ../src/Backends/Banshee.Gnome/Banshee.Gnome.addin.xml
+        Catalog.GetString (@"Backend providers for the GNOME platform. Includes GConf support and general GNOME integration.");
 
-        // ../src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks.addin.xml
-        Catalog.GetString (@"Bookmarks");
-        Catalog.GetString (@"Allows for saving specific positions in tracks so you can resume playback later.");
-        Catalog.GetString (@"User Interface");
+        // ../src/Backends/Banshee.GStreamer/Banshee.GStreamer.addin.xml
+        Catalog.GetString (@"GStreamer multimedia services including playback, CD ripping, and transcoding.");
 
-        // ../src/Extensions/Banshee.MultimediaKeys/Banshee.MultimediaKeys.addin.xml
-        Catalog.GetString (@"Multimedia Keys");
-        Catalog.GetString (@"Provides support for handling playback through the use of keyboard controls.");
-        Catalog.GetString (@"User Interface");
+        // ../src/Backends/Banshee.Hal/Banshee.Hal.addin.xml
+        Catalog.GetString (@"Provides hardware support through HAL.");
 
-        // ../src/Extensions/Banshee.PlayerMigration/Banshee.PlayerMigration.addin.xml
-        Catalog.GetString (@"Importers for Amarok, Rhythmbox and iTunes");
-        Catalog.GetString (@"Import your Amarok, Rhythmbox or iTunes music library");
-        Catalog.GetString (@"Core");
+        // ../src/Backends/Banshee.NowPlaying.X11/Banshee.NowPlaying.X11.addin.xml
+        Catalog.GetString (@"Provides an X11 backend for video support, which enables proper fullscreen support.");
 
-        // ../src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive.addin.xml
-        Catalog.GetString (@"Internet Archive");
-        Catalog.GetString (@"Browse and search the Internet Archive's vast media collection.");
-        Catalog.GetString (@"User Interface");
+        // ../src/Backends/Banshee.Osx/Banshee.Osx.addin.xml
+        Catalog.GetString (@"Backend providers for the OSX platform. Includes general OSX integration.");
 
-        // ../src/Extensions/Banshee.InternetRadio/Banshee.InternetRadio.addin.xml
-        Catalog.GetString (@"Internet Radio");
-        Catalog.GetString (@"Provides an interface for managing Internet Radio stations");
-        Catalog.GetString (@"User Interface");
+        // ../src/Backends/Banshee.Unix/Banshee.Unix.addin.xml
+        Catalog.GetString (@"Provides POSIX/UNIX support, including IO.");
 
-        // ../src/Extensions/Banshee.Torrent/Banshee.Torrent.addin.xml
-        Catalog.GetString (@"Torrent Downloader");
-        Catalog.GetString (@"Adds support for downloading BitTorrent files from podcasts.");
+        // ../src/Core/Banshee.Core/Banshee.Core.addin.xml
+        Catalog.GetString (@"Provides low level non-GUI utilities.");
 
-        // ../src/Extensions/Banshee.BooScript/Banshee.BooScript.addin.xml
-        Catalog.GetString (@"Boo Scripting");
-        Catalog.GetString (@"The Boo Scripting plugin allows users to quickly customize and extend Banshee through the Boo programming language.");
-        Catalog.GetString (@"Developers");
+        // ../src/Core/Banshee.Services/Banshee.Services.addin.xml
+        Catalog.GetString (@"Provides non-GUI utilities and services.");
 
-        // ../src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml
-        Catalog.GetString (@"Audio CD Support");
-        Catalog.GetString (@"Provides support for listening to and ripping Audio CDs.");
+        // ../src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
+        Catalog.GetString (@"Provides GUI utilities and services.");
+
+        // ../src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod.addin.xml
+        Catalog.GetString (@"iPod Support");
+        Catalog.GetString (@"Provides support for most iPod devices.");
         Catalog.GetString (@"Hardware");
 
-        // ../src/Extensions/Template/Template.addin.xml
+        // ../src/Dap/Banshee.Dap.Karma/Banshee.Dap.Karma.addin.xml
+        Catalog.GetString (@"Karma Support");
+        Catalog.GetString (@"Provides support for Rio Karma devices.");
+        Catalog.GetString (@"Hardware");
+
+        // ../src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.addin.xml
+        Catalog.GetString (@"Mass Storage Media Player Support");
+        Catalog.GetString (@"Provides support for media players that use USB Mass Storage without keeping an internal database.");
+        Catalog.GetString (@"Hardware");
+
+        // ../src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp.addin.xml
+        Catalog.GetString (@"MTP Media Player Support");
+        Catalog.GetString (@"Provides support for PlaysForSure digital media players that use MTP.");
+        Catalog.GetString (@"Hardware");
+
+        // ../src/Dap/Banshee.Dap/Banshee.Dap.addin.xml
+        Catalog.GetString (@"Digital Media Player Support");
+        Catalog.GetString (@"Provides general support for many kinds of media player devices.");
+        Catalog.GetString (@"Hardware");
 
         // ../src/Extensions/Banshee.Audiobook/Banshee.Audiobook.addin.xml
         Catalog.GetString (@"Audiobooks Library");
         Catalog.GetString (@"Useful for organizing audiobooks, lectures, etc.");
         Catalog.GetString (@"User Interface");
 
-        // ../src/Extensions/Banshee.Moblin/Banshee.Moblin.addin.xml
-        Catalog.GetString (@"Moblin Support");
-        Catalog.GetString (@"Provides Moblin integration, including a custom media panel.");
+        // ../src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml
+        Catalog.GetString (@"Audio CD Support");
+        Catalog.GetString (@"Provides support for listening to and ripping Audio CDs.");
+        Catalog.GetString (@"Hardware");
+
+        // ../src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks.addin.xml
+        Catalog.GetString (@"Bookmarks");
+        Catalog.GetString (@"Allows for saving specific positions in tracks so you can resume playback later.");
+        Catalog.GetString (@"User Interface");
+
+        // ../src/Extensions/Banshee.BooScript/Banshee.BooScript.addin.xml
+        Catalog.GetString (@"Boo Scripting");
+        Catalog.GetString (@"The Boo Scripting plugin allows users to quickly customize and extend Banshee through the Boo programming language.");
+        Catalog.GetString (@"Developers");
+
+        // ../src/Extensions/Banshee.Bpm/Banshee.Bpm.addin.xml
+        Catalog.GetString (@"BPM Detection");
+        Catalog.GetString (@"Detect the beats per minute (BPM) of your music");
+        Catalog.GetString (@"User Interface");
+
+        // ../src/Extensions/Banshee.CoverArt/Banshee.CoverArt.addin.xml
+        Catalog.GetString (@"Cover Art Fetching");
+        Catalog.GetString (@"Provides UI to enable the user to fetch cover art");
         Catalog.GetString (@"User Interface");
 
         // ../src/Extensions/Banshee.Daap/Banshee.Daap.addin.xml
         Catalog.GetString (@"DAAP");
         Catalog.GetString (@"Browse and listen to music shared over your local network.");
 
-        // ../src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying.addin.xml
-        Catalog.GetString (@"Now Playing");
-        Catalog.GetString (@"Provides a source that displays embedded video and provides fullscreen video playback and controls.");
+        // ../src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue.addin.xml
+        Catalog.GetString (@"File System Queue");
+        Catalog.GetString (@"Provides a source that allows files to be previewed without actually importing to the library.");
+        Catalog.GetString (@"User Interface");
 
-        // ../src/Extensions/Banshee.Wikipedia/Banshee.Wikipedia.addin.xml
-        Catalog.GetString (@"Wikipedia");
-        Catalog.GetString (@"View artist information from Wikipedia in the context pane");
+        // ../src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive.addin.xml
+        Catalog.GetString (@"Internet Archive");
+        Catalog.GetString (@"Browse and search the Internet Archive's vast media collection.");
+        Catalog.GetString (@"User Interface");
+
+        // ../src/Extensions/Banshee.InternetRadio/Banshee.InternetRadio.addin.xml
+        Catalog.GetString (@"Internet Radio");
+        Catalog.GetString (@"Provides an interface for managing Internet Radio stations");
+        Catalog.GetString (@"User Interface");
+
+        // ../src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
+        Catalog.GetString (@"Last.fm Radio and Scrobbling");
+        Catalog.GetString (@"Provides tightly integrated Last.fm streaming radio and community features.");
         Catalog.GetString (@"User Interface");
 
         // ../src/Extensions/Banshee.MiniMode/Banshee.MiniMode.addin.xml
         Catalog.GetString (@"Mini Mode");
         Catalog.GetString (@"Mini Mode allows controlling Banshee through a small window with only playback controls and track information.");
 
-        // ../src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue.addin.xml
-        Catalog.GetString (@"File System Queue");
-        Catalog.GetString (@"Provides a source that allows files to be previewed without actually importing to the library.");
+        // ../src/Extensions/Banshee.Moblin/Banshee.Moblin.addin.xml
+        Catalog.GetString (@"Moblin Support");
+        Catalog.GetString (@"Provides Moblin integration, including a custom media panel.");
         Catalog.GetString (@"User Interface");
 
-        // ../src/Extensions/Banshee.Bpm/Banshee.Bpm.addin.xml
-        Catalog.GetString (@"BPM Detection");
-        Catalog.GetString (@"Detect the beats per minute (BPM) of your music");
+        // ../src/Extensions/Banshee.MultimediaKeys/Banshee.MultimediaKeys.addin.xml
+        Catalog.GetString (@"Multimedia Keys");
+        Catalog.GetString (@"Provides support for handling playback through the use of keyboard controls.");
         Catalog.GetString (@"User Interface");
 
-        // ../src/Extensions/Banshee.Sample/Banshee.Sample.addin.xml
-        Catalog.GetString (@"Sample");
-        Catalog.GetString (@"A sample source useful to developers.");
-        Catalog.GetString (@"Sources");
+        // ../src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea.addin.xml
+        Catalog.GetString (@"Notification Area Icon");
+        Catalog.GetString (@"Displays an icon in the notification area and allows Banshee to be controlled through it.");
+        Catalog.GetString (@"User Interface");
+
+        // ../src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying.addin.xml
+        Catalog.GetString (@"Now Playing");
+        Catalog.GetString (@"Provides a source that displays embedded video and provides fullscreen video playback and controls.");
+
+        // ../src/Extensions/Banshee.PlayerMigration/Banshee.PlayerMigration.addin.xml
+        Catalog.GetString (@"Importers for Amarok, Rhythmbox and iTunes");
+        Catalog.GetString (@"Import your Amarok, Rhythmbox or iTunes music library");
+        Catalog.GetString (@"Core");
 
         // ../src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue.addin.xml
         Catalog.GetString (@"Play Queue");
         Catalog.GetString (@"Provides a source that acts as a queue of playing tracks. When the queue is populated, all playback happens from the queue in a forced order.");
         Catalog.GetString (@"User Interface");
 
-        // ../src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
-        Catalog.GetString (@"Last.fm Radio and Scrobbling");
-        Catalog.GetString (@"Provides tightly integrated Last.fm streaming radio and community features.");
+        // ../src/Extensions/Banshee.Podcasting/Banshee.Podcasting.addin.xml
+        Catalog.GetString (@"Podcasts");
+        Catalog.GetString (@"Allows subscribing to and managing of Podcasts.");
         Catalog.GetString (@"User Interface");
 
         // ../src/Extensions/Banshee.RemoteAudio/Banshee.RemoteAudio.addin.xml
         Catalog.GetString (@"Remote Audio");
         Catalog.GetString (@"Provides support for remote speakers like the Airport Express");
 
-        // ../src/Extensions/Banshee.CoverArt/Banshee.CoverArt.addin.xml
-        Catalog.GetString (@"Cover Art Fetching");
-        Catalog.GetString (@"Provides UI to enable the user to fetch cover art");
-        Catalog.GetString (@"User Interface");
+        // ../src/Extensions/Banshee.Sample/Banshee.Sample.addin.xml
+        Catalog.GetString (@"Sample");
+        Catalog.GetString (@"A sample source useful to developers.");
+        Catalog.GetString (@"Sources");
 
         // ../src/Extensions/Banshee.SqlDebugConsole/Banshee.SqlDebugConsole.addin.xml
         Catalog.GetString (@"SQL Debug Console");
         Catalog.GetString (@"Provides a UI for monitoring Banshee's SQL usage, and running queries.");
         Catalog.GetString (@"Debug");
 
-        // ../src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod.addin.xml
-        Catalog.GetString (@"iPod Support");
-        Catalog.GetString (@"Provides support for most iPod devices.");
-        Catalog.GetString (@"Hardware");
-
-        // ../src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp.addin.xml
-        Catalog.GetString (@"MTP Media Player Support");
-        Catalog.GetString (@"Provides support for PlaysForSure digital media players that use MTP.");
-        Catalog.GetString (@"Hardware");
-
-        // ../src/Dap/Banshee.Dap.Karma/Banshee.Dap.Karma.addin.xml
-        Catalog.GetString (@"Karma Support");
-        Catalog.GetString (@"Provides support for Rio Karma devices.");
-        Catalog.GetString (@"Hardware");
-
-        // ../src/Dap/Banshee.Dap/Banshee.Dap.addin.xml
-        Catalog.GetString (@"Digital Media Player Support");
-        Catalog.GetString (@"Provides general support for many kinds of media player devices.");
-        Catalog.GetString (@"Hardware");
-
-        // ../src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.addin.xml
-        Catalog.GetString (@"Mass Storage Media Player Support");
-        Catalog.GetString (@"Provides support for media players that use USB Mass Storage without keeping an internal database.");
-        Catalog.GetString (@"Hardware");
-
-        // ../src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
-        Catalog.GetString (@"Provides GUI utilities and services.");
-
-        // ../src/Core/Banshee.Services/Banshee.Services.addin.xml
-        Catalog.GetString (@"Provides non-GUI utilities and services.");
-
-        // ../src/Core/Banshee.Core/Banshee.Core.addin.xml
-        Catalog.GetString (@"Provides low level non-GUI utilities.");
-
-        // ../src/Backends/Banshee.NowPlaying.X11/Banshee.NowPlaying.X11.addin.xml
-        Catalog.GetString (@"Provides an X11 backend for video support, which enables proper fullscreen support.");
-
-        // ../src/Backends/Banshee.Unix/Banshee.Unix.addin.xml
-        Catalog.GetString (@"Provides POSIX/UNIX support, including IO.");
-
-        // ../src/Backends/Banshee.Gio/Banshee.Gio.addin.xml
-        Catalog.GetString (@"GIO IO backend");
-
-        // ../src/Backends/Banshee.Osx/Banshee.Osx.addin.xml
-        Catalog.GetString (@"Backend providers for the OSX platform. Includes general OSX integration.");
-
-        // ../src/Backends/Banshee.GStreamer/Banshee.GStreamer.addin.xml
-        Catalog.GetString (@"GStreamer multimedia services including playback, CD ripping, and transcoding.");
+        // ../src/Extensions/Banshee.Torrent/Banshee.Torrent.addin.xml
+        Catalog.GetString (@"Torrent Downloader");
+        Catalog.GetString (@"Adds support for downloading BitTorrent files from podcasts.");
 
-        // ../src/Backends/Banshee.Gnome/Banshee.Gnome.addin.xml
-        Catalog.GetString (@"Backend providers for the GNOME platform. Includes GConf support and general GNOME integration.");
+        // ../src/Extensions/Banshee.Wikipedia/Banshee.Wikipedia.addin.xml
+        Catalog.GetString (@"Wikipedia");
+        Catalog.GetString (@"View artist information from Wikipedia in the context pane");
+        Catalog.GetString (@"User Interface");
 
-        // ../src/Backends/Banshee.Hal/Banshee.Hal.addin.xml
-        Catalog.GetString (@"Provides hardware support through HAL.");
+        // ../src/Extensions/Template/Template.addin.xml
 
     }
 }



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