mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(util): add CURRENT_REGION
This commit is contained in:
parent
d9c85862d6
commit
99bc6f46f5
@ -1,3 +1,5 @@
|
|||||||
#include "util/Locale.hpp"
|
#include "util/Locale.hpp"
|
||||||
|
|
||||||
WOW_LOCALE CURRENT_LANGUAGE = DEFAULT_LANGUAGE;
|
WOW_LOCALE CURRENT_LANGUAGE = DEFAULT_LANGUAGE;
|
||||||
|
|
||||||
|
int32_t CURRENT_REGION = 0;
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
#ifndef UTIL_LOCALE_HPP
|
#ifndef UTIL_LOCALE_HPP
|
||||||
#define UTIL_LOCALE_HPP
|
#define UTIL_LOCALE_HPP
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
enum WOW_LOCALE {
|
enum WOW_LOCALE {
|
||||||
LOCALE_en_US = 0,
|
LOCALE_en_US = 0,
|
||||||
LOCALE_ko_KR = 1,
|
LOCALE_ko_KR = 1,
|
||||||
@ -17,4 +19,6 @@ enum WOW_LOCALE {
|
|||||||
|
|
||||||
extern WOW_LOCALE CURRENT_LANGUAGE;
|
extern WOW_LOCALE CURRENT_LANGUAGE;
|
||||||
|
|
||||||
|
extern int32_t CURRENT_REGION;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user