#include "locale.hpp" #include #include #include extern "C" const uint8_t L_en_US[]; extern "C" size_t L_en_US_SZ; extern "C" const uint8_t L_en_GB[]; extern "C" size_t L_en_GB_SZ; extern "C" const uint8_t L_ja_JP[]; extern "C" size_t L_ja_JP_SZ; namespace URDE { static const specter::Locale Locales[] = { {"en_US", "US English", L_en_US, L_en_US_SZ}, {"en_GB", "British English", L_en_GB, L_en_GB_SZ}, {"ja_JP", "Japanese", L_ja_JP, L_ja_JP_SZ} }; std::vector> ListLocales() { constexpr size_t localeCount = std::extent::value; std::vector> ret; ret.reserve(localeCount); for (size_t i=0 ; i::value; for (size_t i=0 ; i::value; for (size_t i=0 ; i