mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
trying to fix ru problems
This commit is contained in:
@@ -55,7 +55,7 @@ test:
|
|||||||
# {{{ cleanup
|
# {{{ cleanup
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f Makefile config.* manual.xml configure entities/version.ent *.fot
|
rm -f Makefile config.* manual.xml configure entities/version.ent *.fot dsssl/html-common.dsl
|
||||||
rm -fr autom4te.cache html phpweb
|
rm -fr autom4te.cache html phpweb
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
@@ -222,8 +222,6 @@ dnl {{{ language specific stuff
|
|||||||
|
|
||||||
AC_MSG_CHECKING(for language)
|
AC_MSG_CHECKING(for language)
|
||||||
|
|
||||||
BUILD_DATE=`date '+%Y-%m-%d'`
|
|
||||||
|
|
||||||
AC_ARG_WITH(lang,
|
AC_ARG_WITH(lang,
|
||||||
[ --with-lang=LANG choose a language to work with],[
|
[ --with-lang=LANG choose a language to work with],[
|
||||||
if test "$withval" = "yes"; then
|
if test "$withval" = "yes"; then
|
||||||
@@ -245,7 +243,13 @@ AC_ARG_WITH(lang,
|
|||||||
AC_MSG_RESULT([en (default)])
|
AC_MSG_RESULT([en (default)])
|
||||||
])
|
])
|
||||||
AC_SUBST(LANG)
|
AC_SUBST(LANG)
|
||||||
AC_SUBST(BUILD_DATE)
|
|
||||||
|
case "$LANG" in
|
||||||
|
ru) ENCODING="windows-1251";;
|
||||||
|
*) ENCODING="ISO-8859-1";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
AC_SUBST(ENCODING)
|
||||||
|
|
||||||
dnl }}}
|
dnl }}}
|
||||||
|
|
||||||
|
@@ -249,3 +249,6 @@
|
|||||||
(para-check 'restart)))))
|
(para-check 'restart)))))
|
||||||
|
|
||||||
(define (linebreak) (make element gi: "BR" (empty-sosofo)))
|
(define (linebreak) (make element gi: "BR" (empty-sosofo)))
|
||||||
|
|
||||||
|
(define %html-header-tags%
|
||||||
|
'(("META" ("HTTP-EQUIV" "Content-type") ("CONTENT" "text/html; charset=@ENCODING@"))))
|
@@ -1,3 +1,4 @@
|
|||||||
|
<?xml version='1.0' encoding='@ENCODING@' ?>
|
||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||||
"./dtds/dbxml-4.1.2/docbookx.dtd" [
|
"./dtds/dbxml-4.1.2/docbookx.dtd" [
|
||||||
<!ENTITY % build.version SYSTEM "entities/version.ent">
|
<!ENTITY % build.version SYSTEM "entities/version.ent">
|
||||||
|
Reference in New Issue
Block a user