mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 08:13:50 +03:00
feat(util): add CURRENT_REGION
This commit is contained in:
2 files changed
+6
No files matched your search
@@ -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
|
||||||
Reference in new issue
Block a user