mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01: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;
|
IniFile ini;
|
||||||
ini.Load("my.ini");
|
ini.Load("my.ini");
|
||||||
ini.Set("Hej", "A", "amaskdfl");
|
ini.Set("Hello", "A", "amaskdfl");
|
||||||
ini.Set("Mossa", "A", "amaskdfl");
|
ini.Set("Moss", "A", "amaskdfl");
|
||||||
ini.Set("Aissa", "A", "amaskdfl");
|
ini.Set("Aissa", "A", "amaskdfl");
|
||||||
//ini.Read("my.ini");
|
//ini.Read("my.ini");
|
||||||
std::string x;
|
std::string x;
|
||||||
ini.Get("Hej", "B", &x, "boo");
|
ini.Get("Hello", "B", &x, "boo");
|
||||||
ini.DeleteKey("Mossa", "A");
|
ini.DeleteKey("Moss", "A");
|
||||||
ini.DeleteSection("Mossa");
|
ini.DeleteSection("Moss");
|
||||||
ini.SortSections();
|
ini.SortSections();
|
||||||
ini.Save("my.ini");
|
ini.Save("my.ini");
|
||||||
//UpdateVars(ini);
|
//UpdateVars(ini);
|
||||||
|
@ -201,7 +201,7 @@ std::string ArrayToString(const u8* data, u32 size, int line_len, bool spaces)
|
|||||||
return oss.str();
|
return oss.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Turns " hej " into "hej". Also handles tabs.
|
// Turns " hello " into "hello". Also handles tabs.
|
||||||
std::string StripSpaces(const std::string& str)
|
std::string StripSpaces(const std::string& str)
|
||||||
{
|
{
|
||||||
const size_t s = str.find_first_not_of(" \t\r\n");
|
const size_t s = str.find_first_not_of(" \t\r\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user