mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[gettext] const in language_to_iso639
This commit is contained in:
parent
b1a368fe76
commit
fc987ca5f4
@ -133,7 +133,7 @@ iso639_to_language(char *iso639)
|
|||||||
|
|
||||||
int system_language = 0;
|
int system_language = 0;
|
||||||
|
|
||||||
char *
|
const char *
|
||||||
language_to_iso639(int language)
|
language_to_iso639(int language)
|
||||||
{
|
{
|
||||||
/* Language is "system", we need to extract the index from
|
/* Language is "system", we need to extract the index from
|
||||||
|
@ -189,7 +189,7 @@ extern int name_to_language(const char *name);
|
|||||||
extern int iso639_to_language(char *iso639);
|
extern int iso639_to_language(char *iso639);
|
||||||
|
|
||||||
extern char *language_to_name(int language);
|
extern char *language_to_name(int language);
|
||||||
extern char *language_to_iso639(int language);
|
extern const char *language_to_iso639(int language);
|
||||||
|
|
||||||
extern int get_system_language_index(void);
|
extern int get_system_language_index(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user