From bc2b9f4c3cce949d50974bb0ee15e288b96ab5ff Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 4 Feb 2017 22:51:01 +0100 Subject: [PATCH] Translate Swedish in example strings to English --- Source/Core/Common/IniFile.cpp | 10 +++++----- Source/Core/Common/StringUtil.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index 1383f04c10..e45ae15729 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -434,14 +434,14 @@ bool IniFile::Save(const std::string& filename) { IniFile ini; ini.Load("my.ini"); - ini.Set("Hej", "A", "amaskdfl"); - ini.Set("Mossa", "A", "amaskdfl"); + ini.Set("Hello", "A", "amaskdfl"); + ini.Set("Moss", "A", "amaskdfl"); ini.Set("Aissa", "A", "amaskdfl"); //ini.Read("my.ini"); std::string x; - ini.Get("Hej", "B", &x, "boo"); - ini.DeleteKey("Mossa", "A"); - ini.DeleteSection("Mossa"); + ini.Get("Hello", "B", &x, "boo"); + ini.DeleteKey("Moss", "A"); + ini.DeleteSection("Moss"); ini.SortSections(); ini.Save("my.ini"); //UpdateVars(ini); diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 95cc3b1586..67f88be160 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -201,7 +201,7 @@ std::string ArrayToString(const u8* data, u32 size, int line_len, bool spaces) return oss.str(); } -// Turns " hej " into "hej". Also handles tabs. +// Turns " hello " into "hello". Also handles tabs. std::string StripSpaces(const std::string& str) { const size_t s = str.find_first_not_of(" \t\r\n");