LANGUAGE and env vars should work for stamps too, fallbacks should also work, also on Windows.
This commit is contained in:
parent
3d1f96f294
commit
85082b9092
3 changed files with 110 additions and 17 deletions
14
src/i18n.h
14
src/i18n.h
|
|
@ -178,6 +178,20 @@ extern int need_own_font;
|
|||
extern int need_right_to_left; // Right-justify
|
||||
extern int need_right_to_left_word; // Words need to be reversed, too! (e.g., Hebrew, but not Arabic)
|
||||
extern const char *lang_prefix, *short_lang_prefix;
|
||||
extern int num_wished_langs;
|
||||
|
||||
typedef struct w_langs
|
||||
{
|
||||
int langint;
|
||||
int need_own_font;
|
||||
int need_right_to_left;
|
||||
int need_right_to_left_word;
|
||||
int lang_y_nudge;
|
||||
const char *lang_prefix;
|
||||
const char *short_lang_prefix;
|
||||
} w_langs;
|
||||
|
||||
extern w_langs wished_langs[255];
|
||||
|
||||
/* Function prototypes: */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue