fixed handling of null strings in CLanguage.cs
This commit is contained in:
1 parent
e3955685a3
commit
19276c7a32
1 file changed
+3
@@ -77,6 +77,9 @@ namespace Vocaluxe.Base
|
||||
|
||||
public static string Translate(string KeyWord)
|
||||
{
|
||||
if (KeyWord == null)
|
||||
return null;
|
||||
|
||||
if (KeyWord.Length < 3)
|
||||
return KeyWord;
|
||||
|
||||
|
||||
Reference in new issue
Block a user