Changed russian to russian-koi8-r.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 29 Jul 2002 21:13:12 +0000
changeset 434 19a16ec64f82
parent 433 b50db51e19b9
child 435 c4daca3b09b9
Changed russian to russian-koi8-r.
configure.in
physfs_internal.h
--- a/configure.in	Mon Jul 29 21:12:49 2002 +0000
+++ b/configure.in	Mon Jul 29 21:13:12 2002 +0000
@@ -232,7 +232,7 @@
 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 @@
   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...
--- a/physfs_internal.h	Mon Jul 29 21:12:49 2002 +0000
+++ b/physfs_internal.h	Mon Jul 29 21:13:12 2002 +0000
@@ -28,8 +28,8 @@
 #  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 @@
  #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 совместимый"