mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
add an internationalization constant
gather all ENGLISH|GERMAN|CHINESE etc preprocessor hell into a single library, so to restrict the number of targets that need to be built 8x this still has UB/EDITOR definitions so that still needs to be dealt with before we can build it only 8 times
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
namespace i18n {
|
||||
enum class Lang
|
||||
{
|
||||
en,
|
||||
de,
|
||||
ru,
|
||||
nl,
|
||||
pl,
|
||||
fr,
|
||||
it,
|
||||
zh
|
||||
};
|
||||
}
|
||||
|
||||
extern const i18n::Lang g_lang;
|
||||
Reference in New Issue
Block a user