From 57747cfd8f748e74ff3b7797c82206db7de3b79d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 29 Jul 2002 21:13:12 +0000 Subject: [PATCH] Changed russian to russian-koi8-r. --- configure.in | 6 +++--- physfs_internal.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index c9a9785..1036577 100644 --- a/configure.in +++ b/configure.in @@ -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... diff --git a/physfs_internal.h b/physfs_internal.h index 9f87c7d..5d73669 100644 --- a/physfs_internal.h +++ b/physfs_internal.h @@ -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 совместимый"