Mercurial > repos > IBBoard
diff Lang/AbstractTranslationSet.cs @ 78:da339d10c5fe
Re #32: Add staged loading of translations
* Add "XML Translation Set" that lazy loads translations from XML
* Extract some methods out to an XML extractor
* Fix header in abstract translation set
* Extract method in Translation class to add a translation set (allows combined file loading and in-code creation)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 09 Apr 2010 19:35:18 +0000 |
parents | eb47e17ec824 |
children |
line wrap: on
line diff
--- a/Lang/AbstractTranslationSet.cs Fri Apr 09 15:12:01 2010 +0000 +++ b/Lang/AbstractTranslationSet.cs Fri Apr 09 19:35:18 2010 +0000 @@ -1,6 +1,6 @@ // This file (AbstractTranslationSet.cs) is a part of the IBBoard project and is copyright 2010 IBBoard // -// The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +// The file and the library/program it is in are licensed and distributed, without warranty, under the GNU LGPL, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. using System; using System.Collections.Generic; @@ -37,7 +37,7 @@ /// <param name="key"> /// The key (ID) of the translation to retrieve /// </param> - public string this[string key] + public virtual string this[string key] { get {