[banshee] i18n: Add special case for gl language name and update translators.xml



commit 0217fb783b57d121656e4892e6485f74b03fb3d2
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sun Sep 22 19:17:57 2013 +0200

    i18n: Add special case for gl language name and update translators.xml

 build/TranslatorExtractor.cs                    |    4 +++-
 src/Core/Banshee.Core/Resources/translators.xml |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/build/TranslatorExtractor.cs b/build/TranslatorExtractor.cs
index 4e4ffa0..4c801c9 100644
--- a/build/TranslatorExtractor.cs
+++ b/build/TranslatorExtractor.cs
@@ -8,6 +8,7 @@
 //
 
 using System;
+using System.Globalization;
 using System.IO;
 using System.Collections.Generic;
 using System.Text.RegularExpressions;
@@ -114,6 +115,7 @@ public class TranslatorExtractor
             case "fr": language_name = "French"; break;
             case "el": language_name = "Greek"; break;
             case "en_GB": language_name = "British English"; break;
+                   case "gl": language_name = "Galician"; break;
             case "gu": language_name = "Gujarati"; break;
             case "he": language_name = "Hebrew"; break;
             case "id": language_name = "Indonesian"; break;
@@ -125,7 +127,7 @@ public class TranslatorExtractor
             case "zh_TW": language_name = "Chinese (Taiwan)"; break;
             default: break;
         }
-        
+
         Console.WriteLine("  <language code=\"{0}\" name=\"{1}\">", language_code, language_name);
         List<string> sorted_names = new List<string> (names.Values);
         sorted_names.Sort ();
diff --git a/src/Core/Banshee.Core/Resources/translators.xml b/src/Core/Banshee.Core/Resources/translators.xml
index e252d00..1d3c1a1 100644
--- a/src/Core/Banshee.Core/Resources/translators.xml
+++ b/src/Core/Banshee.Core/Resources/translators.xml
@@ -70,7 +70,7 @@
     <person>Gerard BONNER</person>
     <person>Kristjan SCHMIDT</person>
   </language>
-  <language code="es" name="Español; Castellano">
+  <language code="es" name="Español">
     <person>Andrés Herrera</person>
     <person>Benjamín Valero Espinosa</person>
     <person>Daniel Mustieles</person>


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