Changed russian to russian-koi8-r.

This commit is contained in:
Ryan C. Gordon 2002-07-29 21:13:12 +00:00
parent ca209195cb
commit 57747cfd8f
2 changed files with 6 additions and 6 deletions

View File

@ -232,7 +232,7 @@ fi
dnl determine language.
physfslang=english
AC_ARG_ENABLE(language,
[ --enable-language=lang english, russian. [default=english]],
[ --enable-language=lang english, russian-koi8-r. [default=english]],
physfslang=`echo $enable_language |tr A-Z a-z`)
AC_MSG_CHECKING([if language choice is supported])
@ -242,9 +242,9 @@ if test x$physfslang = xenglish; then
AC_DEFINE([PHYSFS_LANG], PHYSFS_LANG_ENGLISH, [define desired natural language])
fi
if test x$physfslang = xrussian; then
if test x$physfslang = xrussian-koi8-r; then
physfs_valid_lang=yes
AC_DEFINE([PHYSFS_LANG], PHYSFS_LANG_RUSSIAN, [define desired natural language])
AC_DEFINE([PHYSFS_LANG], PHYSFS_LANG_RUSSIAN_KOI8_R, [define desired natural language])
fi
dnl Add other language checks here...

View File

@ -29,7 +29,7 @@ extern "C" {
#endif
#define PHYSFS_LANG_ENGLISH 1 /* English text by Ryan C. Gordon */
#define PHYSFS_LANG_RUSSIAN 2 /* Russian text by Ed Sinjiashvili */
#define PHYSFS_LANG_RUSSIAN_KOI8_R 2 /* Russian text by Ed Sinjiashvili */
#if (PHYSFS_LANG == PHYSFS_LANG_ENGLISH)
@ -126,7 +126,7 @@ extern "C" {
#define ERR_PROT_VIOLATION "Protection violation"
#define ERR_BROKEN_PIPE "Broken pipe"
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN)
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_KOI8_R)
#define DIR_ARCHIVE_DESCRIPTION "îÅ ÁÒÈÉ×, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÙÊ ××ÏÄ/×Ù×ÏÄ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ"
#define GRP_ARCHIVE_DESCRIPTION "æÏÒÍÁÔ ÇÒÕÐÐÏ×ÏÇÏ ÆÁÊÌÁ Build engine"
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip ÓÏ×ÍÅÓÔÉÍÙÊ"