47,13 → 47,17 |
|
/* tries loading lang strings from a file located in the executable's |
* directory that is named like the executable but with an *.LNG extension. |
* this is certainly the most practical way of loading svarlang. |
* selfexe should point to the executable's full filename path (either relative |
* or absolute). You may want to pass argv[0] or __argv[0] there. */ |
* or absolute). You may want to pass argv[0] or __argv[0] there. example: |
* |
* svarlang_autoload_exepath(argv[0], getenv("LANG")); |
*/ |
int svarlang_autoload_exepath(const char *selfexe, const char *lang); |
|
/* this looks in a list of paths separated by ';' to locate a translation file |
* for progname. this is usually called only by "CORE" SvarDOS / FreeDOS |
* programs. typical example: |
* for progname. this might be called by some FreeDOS programs that rely on the |
* NLSPATH environment variable for locating strings. example: |
* |
* svarlang_autoload_pathlist("myprog", getenv("NLSPATH"), getenv("LANG")); |
*/ |