# HG changeset patch # User Ruslan Ermilov # Date 1318928775 0 # Node ID 1d315ef37215f82c2daf09bb6dca3e0a42aa4daf # Parent a10bc0cb0a6a42137bb8f2cbb6c18c10ddd15983 The case is now language-agnostic. diff -r a10bc0cb0a6a -r 1d315ef37215 xml/i18n.xml --- a/xml/i18n.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/i18n.xml Tue Oct 18 09:06:15 2011 +0000 @@ -6,6 +6,11 @@ written by edited by translated by +none + + + +нет diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_access_module.xml --- a/xml/ru/docs/http/ngx_http_access_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_access_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -45,7 +45,7 @@ allow [адрес|CIDR|all] -нет + http, server, location, limit_except @@ -57,7 +57,7 @@ deny [адрес|CIDR|all] -нет + http, server, location, limit_except diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_addition_module.xml --- a/xml/ru/docs/http/ngx_http_addition_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_addition_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -36,7 +36,7 @@ add_before_body uri -нет + location @@ -49,7 +49,7 @@ add_after_body uri -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_auth_basic_module.xml --- a/xml/ru/docs/http/ngx_http_auth_basic_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_auth_basic_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -50,7 +50,7 @@ auth_basic_user_file файл -нет + http, server, location, limit_except diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_browser_module.xml --- a/xml/ru/docs/http/ngx_http_browser_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_browser_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -76,7 +76,7 @@ ancient_browser строка [строка ...] -нет + http, server, location @@ -103,7 +103,7 @@ modern_browser браузер версия|unlisted -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_charset_module.xml --- a/xml/ru/docs/http/ngx_http_charset_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_charset_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -91,7 +91,7 @@ charset_map кодировка1 кодировка2 { ... } -нет + http @@ -188,7 +188,7 @@ source_charset кодировка -нет + http, server, location, if в location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -109,7 +109,7 @@ alias путь -нет + location @@ -351,7 +351,7 @@ error_page код [код ...] [=|=ответ] uri -нет + http, server, location, if в location @@ -435,7 +435,7 @@ internal -нет + location @@ -529,7 +529,7 @@ limit_except методы { ... } -нет + location @@ -554,7 +554,7 @@ limit_rate скорость -нет + http, server, location, if в location @@ -587,7 +587,7 @@ limit_rate_after размер -нет + http, server, location, if в location @@ -735,7 +735,7 @@ location [=|~|~*|^~|@] /uri/ { ... } -нет + server @@ -1112,7 +1112,7 @@ resolver адрес -нет + http, server, location @@ -1236,7 +1236,7 @@ server { ... } -нет + http @@ -1481,7 +1481,7 @@ try_files файл [файл ...] (uri|=код) -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_empty_gif_module.xml --- a/xml/ru/docs/http/ngx_http_empty_gif_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_empty_gif_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -32,7 +32,7 @@ empty_gif -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -86,7 +86,7 @@ fastcgi_cache_bypass строка [...] -нет + http, server, location @@ -105,7 +105,7 @@ fastcgi_cache_key строка -нет + http, server, location @@ -121,7 +121,7 @@ fastcgi_cache_path путь [levels=уровни] keys_zone=название:размер [inactive=время] [max_size=размер] -нет + http @@ -182,7 +182,7 @@ fastcgi_cache_valid ответ [ответ ...] время -нет + http, server, location @@ -251,7 +251,7 @@ fastcgi_index имя -нет + http, server, location @@ -330,7 +330,7 @@ fastcgi_no_cache строка [...] -нет + http, server, location @@ -405,7 +405,7 @@ fastcgi_param параметр значение -нет + http, server, location @@ -451,7 +451,7 @@ fastcgi_pass fastcgi-server -нет + location, if в location @@ -531,7 +531,7 @@ fastcgi_split_path_info regex -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_flv_module.xml --- a/xml/ru/docs/http/ngx_http_flv_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_flv_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -39,7 +39,7 @@ flv -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_geo_module.xml --- a/xml/ru/docs/http/ngx_http_geo_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_geo_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -37,7 +37,7 @@ geo [$адрес] $переменная { ... } -нет + http diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_geoip_module.xml --- a/xml/ru/docs/http/ngx_http_geoip_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_geoip_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -40,7 +40,7 @@ geoip_country база -нет + http @@ -70,7 +70,7 @@ geoip_city база -нет + http diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_gzip_module.xml --- a/xml/ru/docs/http/ngx_http_gzip_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_gzip_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -78,7 +78,7 @@ gzip_disable regex [regex ...] -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_headers_module.xml --- a/xml/ru/docs/http/ngx_http_headers_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_headers_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -36,7 +36,7 @@ add_header название значение -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_image_filter_module.xml --- a/xml/ru/docs/http/ngx_http_image_filter_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_image_filter_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -47,7 +47,7 @@ image_filter (test|size|resize ширина высота|crop ширина высота) -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_limit_req_module.xml --- a/xml/ru/docs/http/ngx_http_limit_req_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -43,7 +43,7 @@ limit_req_zone $переменная zone=название:размер rate=скорость -нет + http @@ -81,7 +81,7 @@ limit_req zone=название burst=число [nodelay] -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_limit_zone_module.xml --- a/xml/ru/docs/http/ngx_http_limit_zone_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_zone_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -42,7 +42,7 @@ limit_zone название $переменная размер -нет + http @@ -71,7 +71,7 @@ limit_conn зона число -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_map_module.xml --- a/xml/ru/docs/http/ngx_http_map_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_map_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -42,7 +42,7 @@ map $переменная1 $переменная2 { ... } -нет + http diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_memcached_module.xml --- a/xml/ru/docs/http/ngx_http_memcached_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_memcached_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -117,7 +117,7 @@ memcached_pass URL -нет + location, if в location, limit_except diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_perl_module.xml --- a/xml/ru/docs/http/ngx_http_perl_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_perl_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -192,7 +192,7 @@ perl модуль::функция|'sub { ... }' -нет + location, limit_except @@ -204,7 +204,7 @@ perl_modules путь -нет + http @@ -216,7 +216,7 @@ perl_require модуль -нет + http @@ -231,7 +231,7 @@ perl_set $переменная модуль::функция|'sub { ... }' -нет + http diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -103,7 +103,7 @@ proxy_cache_bypass строка [...] -нет + http, server, location @@ -142,7 +142,7 @@ proxy_cache_path путь [levels=уровни] keys_zone=название:размер [inactive=время] [max_size=размер] -нет + http @@ -203,7 +203,7 @@ proxy_cache_valid ответ [ответ ...] время -нет + http, server, location @@ -390,7 +390,7 @@ proxy_no_cache строка [...] -нет + http, server, location @@ -409,7 +409,7 @@ proxy_pass URL -нет + location, if в location, limit_except diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_realip_module.xml --- a/xml/ru/docs/http/ngx_http_realip_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_realip_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -35,7 +35,7 @@ set_real_ip_from [адрес|CIDR] -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_referer_module.xml --- a/xml/ru/docs/http/ngx_http_referer_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_referer_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -44,7 +44,7 @@ valid_referers [none|blocked|server_names|строка] ... -нет + server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_rewrite_module.xml --- a/xml/ru/docs/http/ngx_http_rewrite_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -28,7 +28,7 @@ break -нет + server, location, if @@ -51,7 +51,7 @@ if (условие) { ... } -нет + server, location @@ -137,7 +137,7 @@ return код -нет + server, location, if @@ -155,7 +155,7 @@ rewrite regex замена  флаг -нет + server, location, if @@ -237,7 +237,7 @@ set переменная значение -нет + server, location, if diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_secure_link_module.xml --- a/xml/ru/docs/http/ngx_http_secure_link_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_secure_link_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -40,7 +40,7 @@ secure_link_secret слово -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_split_clients_module.xml --- a/xml/ru/docs/http/ngx_http_split_clients_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_split_clients_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -39,7 +39,7 @@ split_clients $переменная1 $переменная2 { ... } -нет + http diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_ssl_module.xml --- a/xml/ru/docs/http/ngx_http_ssl_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_ssl_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -98,7 +98,7 @@ ssl_certificate файл -нет + http, server @@ -138,7 +138,7 @@ ssl_certificate_key файл -нет + http, server @@ -151,7 +151,7 @@ ssl_client_certificate файл -нет + http, server @@ -186,7 +186,7 @@ ssl_crl файл -нет + http, server @@ -199,7 +199,7 @@ ssl_dhparam файл -нет + http, server diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_sub_module.xml --- a/xml/ru/docs/http/ngx_http_sub_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_sub_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -37,7 +37,7 @@ sub_filter строка замена -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_upstream.xml --- a/xml/ru/docs/http/ngx_http_upstream.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_upstream.xml Tue Oct 18 09:06:15 2011 +0000 @@ -46,7 +46,7 @@ ip_hash -нет + upstream @@ -85,7 +85,7 @@ server название [параметры] -нет + upstream @@ -160,7 +160,7 @@ upstream название { ... } -нет + http diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_userid_module.xml --- a/xml/ru/docs/http/ngx_http_userid_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_userid_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -86,7 +86,7 @@ userid_expires [время|max] -нет + http, server, location @@ -112,7 +112,7 @@ userid_p3p строка -нет + http, server, location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/http/ngx_http_xslt_module.xml --- a/xml/ru/docs/http/ngx_http_xslt_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_xslt_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -39,7 +39,7 @@ xml_entities путь -нет + http, server, location @@ -60,7 +60,7 @@ xslt_stylesheet шаблон [параметр ...] -нет + location diff -r a10bc0cb0a6a -r 1d315ef37215 xml/ru/docs/ngx_core_module.xml --- a/xml/ru/docs/ngx_core_module.xml Tue Oct 18 07:52:47 2011 +0000 +++ b/xml/ru/docs/ngx_core_module.xml Tue Oct 18 09:06:15 2011 +0000 @@ -96,7 +96,7 @@ include файл|маска -нет + везде @@ -142,7 +142,7 @@ ssl_engine устройство -нет + main @@ -168,7 +168,7 @@ timer_resolution время -нет + main @@ -211,7 +211,7 @@ worker_rlimit_core размер -нет + main @@ -225,7 +225,7 @@ worker_rlimit_nofile число -нет + main @@ -273,7 +273,7 @@ working_directory путь -нет + main diff -r a10bc0cb0a6a -r 1d315ef37215 xsls/article.xsls --- a/xsls/article.xsls Tue Oct 18 07:52:47 2011 +0000 +++ b/xsls/article.xsls Tue Oct 18 09:06:15 2011 +0000 @@ -13,6 +13,7 @@ X:var SITE = "'http://nginx.org'"; X:var LINK = "/article/@link | /module/@link"; +X:var LANG = "/article/@lang | /module/@lang"; X:include href = "dirname.xslt"; X:include href = "link.xslt"; diff -r a10bc0cb0a6a -r 1d315ef37215 xsls/directive.xsls --- a/xsls/directive.xsls Tue Oct 18 07:52:47 2011 +0000 +++ b/xsls/directive.xsls Tue Oct 18 09:06:15 2011 +0000 @@ -26,7 +26,10 @@ X:template = "default" { default: X:if "count(text()) = 0" { - none + + !{document(concat($XML, '/i18n.xml')) + /i18n/text[@lang = $LANG]/item[@id='none']} + } else { !!; }