mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Translate Swedish in example strings to English
This commit is contained in:
parent
3be364073d
commit
bc2b9f4c3c
@ -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);
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user