Skip to content
Permalink
Browse files
Changed russian to russian-koi8-r.
  • Loading branch information
icculus committed Jul 29, 2002
1 parent ca20919 commit 57747cfd8f748e74ff3b7797c82206db7de3b79d
Showing with 6 additions and 6 deletions.
  1. +3 −3 configure.in
  2. +3 −3 physfs_internal.h
@@ -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...
@@ -28,8 +28,8 @@ extern "C" {
# define PHYSFS_LANG PHYSFS_LANG_ENGLISH
#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_ENGLISH 1 /* English text by Ryan C. Gordon */
#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 ÓÏ×ÍÅÓÔÉÍÙÊ"

0 comments on commit 57747cf

Please sign in to comment.