|
Player12
An open source football management simulator
|
#include <string>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | ClubArticle |
| Italian definite articles for club names ("il Lecce", "la Roma", "l'Acaya", "lo Stoke City"). | |
Functions | |
| std::string_view | ClubArticle::italian (std::string_view club_name) |
| std::string | ClubArticle::withPreposition (std::string_view club_name, std::string_view preposition) |
club_name preceded by the Italian preposition fused with its article: ("di", "Roma") gives "della Roma", ("a", "Acaya") "all'Acaya", ("il", "Lecce") just "il Lecce". A capitalised preposition ("Il", "Di") capitalises the result for the start of a sentence. Unknown prepositions return the name unchanged. | |