diff options
Diffstat (limited to 'src/Main')
-rw-r--r-- | src/Main/LanguageStrings.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Main/LanguageStrings.cpp b/src/Main/LanguageStrings.cpp index 43ac7a1d..93f9823b 100644 --- a/src/Main/LanguageStrings.cpp +++ b/src/Main/LanguageStrings.cpp @@ -40,14 +40,7 @@ namespace VeraCrypt void LanguageStrings::Init () { - foreach (XmlNode node, XmlParser (Resources::GetLanguageXml()).GetNodes (L"string")) - { - wxString text = node.InnerText; - text.Replace (L"\\n", L"\n"); - Map[StringConverter::ToSingle (wstring (node.Attributes[L"key"]))] = text; - } - - foreach (XmlNode node, XmlParser (Resources::GetLanguageXml()).GetNodes (L"control")) + foreach (XmlNode node, XmlParser (Resources::GetLanguageXml()).GetNodes (L"entry")) { wxString text = node.InnerText; text.Replace (L"\\n", L"\n"); |