Line 51... |
Line 51... |
51 |
* or absolute). You may want to pass argv[0] or __argv[0] there. */
|
51 |
* or absolute). You may want to pass argv[0] or __argv[0] there. */
|
52 |
int svarlang_autoload_exepath(const char *selfexe, const char *lang);
|
52 |
int svarlang_autoload_exepath(const char *selfexe, const char *lang);
|
53 |
|
53 |
|
54 |
/* this relies on getenv() to pull LANG and NLSPATH variables and looks
|
54 |
/* this relies on getenv() to pull LANG and NLSPATH variables and looks
|
55 |
* for a translation file named "%NLSPATH%\progname.lng".
|
55 |
* for a translation file named "%NLSPATH%\progname.lng".
|
56 |
* this call should be used only by "CORE" SvarDOS programs. */
|
56 |
* this call should be used only by "CORE" SvarDOS / FreeDOS programs. */
|
57 |
int svarlang_autoload_nlspath(const char *progname);
|
57 |
int svarlang_autoload_nlspath(const char *progname);
|
58 |
|
58 |
|
59 |
/* Returns a pointer to the string "id". Does not require svalang_load() to be
|
59 |
/* Returns a pointer to the string "id". Does not require svalang_load() to be
|
60 |
* executed, but then it will only return the reference language strings.
|
60 |
* executed, but then it will only return the reference language strings.
|
61 |
* a string id is the concatenation of the CATS-style identifiers, for example
|
61 |
* a string id is the concatenation of the CATS-style identifiers, for example
|