Merge pull request #4820 from JosJuice/translate-swedish

Translate Swedish in example strings to English
This commit is contained in:
Matthew Parlane 2017-02-06 17:36:41 +13:00 committed by GitHub
commit 516ddc1d0c
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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");