Skip to content

Commit

Permalink
GameDatabase: Add missing flags
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 24, 2024
1 parent 7b230dc commit 70a4b5c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
File renamed without changes
2 changes: 2 additions & 0 deletions data/resources/images/flags/Russian.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions data/resources/images/flags/Turkish.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion data/resources/images/flags/sources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Czech.svg: https://commons.wikimedia.org/wiki/Flag_of_the_Czech_Republic.svg
Danish.svg: https://commons.wikimedia.org/wiki/Flag_of_Denmark.svg
Dutch.svg: https://commons.wikimedia.org/wiki/Flag_of_the_Netherlands.svg
English.svg: https://commons.wikimedia.org/wiki/Flag_of_the_United_Kingdom_(1-2).svg
Finish.svg: https://commons.wikimedia.org/wiki/File:Flag_of_Finland.svg
Finnish.svg: https://commons.wikimedia.org/wiki/File:Flag_of_Finland.svg
French.svg: https://commons.wikimedia.org/wiki/File:Flag_of_France.svg
German.svg: https://commons.wikimedia.org/wiki/File:Flag_of_Germany.svg
Greek.svg: https://commons.wikimedia.org/wiki/Flag_of_Greece.svg
Expand All @@ -17,4 +17,5 @@ Polish.svg: https://commons.wikimedia.org/wiki/Flag_of_Poland.svg
Portuguese.svg: https://commons.wikimedia.org/wiki/File:Flag_of_Portugal.svg
Spanish.svg: https://commons.wikimedia.org/wiki/File:Flag_of_Spain.svg
Swedish.svg: https://commons.wikimedia.org/wiki/File:Flag_of_Sweden.svg
Russian.svg: https://commons.wikimedia.org/wiki/File:Flag_of_Russia.svg
Other.svg: https://en.wikipedia.org/wiki/File:Flag_with_question_mark.svg
6 changes: 3 additions & 3 deletions src/core/game_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ static constexpr const std::array<const char*, static_cast<size_t>(Trait::MaxCou
}};

static constexpr std::array<const char*, static_cast<size_t>(Language::MaxCount)> s_language_names = {{
"Catalan", "Chinese", "Czech", "Danish", "Dutch", "English", "Finnish",
"French", "German", "Greek", "Hebrew", "Iranian", "Italian", "Japanese",
"Korean", "Norwegian", "Polish", "Portuguese", "Russian", "Spanish", "Swedish",
"Catalan", "Chinese", "Czech", "Danish", "Dutch", "English", "Finnish", "French",
"German", "Greek", "Hebrew", "Iranian", "Italian", "Japanese", "Korean", "Norwegian",
"Polish", "Portuguese", "Russian", "Spanish", "Swedish", "Turkish",
}};

static constexpr const char* GAMEDB_YAML_FILENAME = "gamedb.yaml";
Expand Down
1 change: 1 addition & 0 deletions src/core/game_database.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ enum class Language : u8
Russian,
Spanish,
Swedish,
Turkish,
MaxCount,
};

Expand Down

0 comments on commit 70a4b5c

Please sign in to comment.