# HG changeset patch # User IBBoard # Date 1271617296 0 # Node ID 5182df00c5588e7cfe64d57c22a07316e2eb6b71 # Parent 09f71d10c249a3293a0838bc60bb5ee3d00346df Fixes #36: Remove specialist "divider" handling from Translations * Remove special handling (shouldn't be needed anyway as we have IBBMenuItems that identify what a translatable item is) Also: * Remove unnecessary log4net library diff -r 09f71d10c249 -r 5182df00c558 IBBoard.csproj --- a/IBBoard.csproj Sun Apr 18 14:09:16 2010 +0000 +++ b/IBBoard.csproj Sun Apr 18 19:01:36 2010 +0000 @@ -56,10 +56,6 @@ prompt - - False - libs\log4net.dll - @@ -142,9 +138,6 @@ - - - diff -r 09f71d10c249 -r 5182df00c558 Lang/Translation.cs --- a/Lang/Translation.cs Sun Apr 18 14:09:16 2010 +0000 +++ b/Lang/Translation.cs Sun Apr 18 19:01:36 2010 +0000 @@ -25,7 +25,6 @@ /// public class Translation { - private static readonly string DIVIDER_STRING = "-"; private static AbstractTranslationSet currentTranslations; private static Dictionary langToTranslationMap; public static event MethodInvoker TranslationChanged; @@ -272,7 +271,7 @@ /// public static void Translate(ITranslatable item, string defaultText, params object[] replacements) { - if (item.Text == "" || item.Text == DIVIDER_STRING) + if (item.Text == "") { //it doesn't need translating - either there is no text from the developer or it's a hyphen for a divider return; diff -r 09f71d10c249 -r 5182df00c558 libs/log4net.dll Binary file libs/log4net.dll has changed