From 41d26dcf94c5dde65ae809538f03f82b969bf225 Mon Sep 17 00:00:00 2001 From: Shardul1908 Date: Sun, 1 Oct 2023 15:10:15 -0700 Subject: [PATCH] Added Indian Language Hindi --- include/faker-cxx/types/Language.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/faker-cxx/types/Language.h b/include/faker-cxx/types/Language.h index b666a89e8..4e90567dd 100644 --- a/include/faker-cxx/types/Language.h +++ b/include/faker-cxx/types/Language.h @@ -13,14 +13,15 @@ enum class Language German, Russian, Romanian, + Hindi, }; inline std::string toString(Language language) { std::map languageToStringMapping{ - {Language::English, "English"}, {Language::Polish, "Polish"}, {Language::Italian, "Italian"}, - {Language::French, "French"}, {Language::German, "German"}, {Language::Russian, "Russian"}, - {Language::Romanian, "Romanian"}}; + {Language::English, "English"} , {Language::Polish, "Polish"}, {Language::Italian, "Italian"}, + {Language::French, "French"} , {Language::German, "German"}, {Language::Russian, "Russian"}, + {Language::Romanian, "Romanian"}, {Language::Hindi, "Hindi"}}; return languageToStringMapping.at(language); }