diff options
Diffstat (limited to 'applications/luci-app-uhttpd')
-rw-r--r-- | applications/luci-app-uhttpd/Makefile | 7 | ||||
-rw-r--r-- | applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua | 9 | ||||
-rw-r--r-- | applications/luci-app-uhttpd/po/ja/uhttpd.po | 41 | ||||
-rw-r--r-- | applications/luci-app-uhttpd/po/pt-br/uhttpd.po | 208 | ||||
-rw-r--r-- | applications/luci-app-uhttpd/po/ru/uhttpd.po | 219 |
5 files changed, 451 insertions, 33 deletions
diff --git a/applications/luci-app-uhttpd/Makefile b/applications/luci-app-uhttpd/Makefile index 9a2cf462e5..3014770665 100644 --- a/applications/luci-app-uhttpd/Makefile +++ b/applications/luci-app-uhttpd/Makefile @@ -11,16 +11,9 @@ LUCI_TITLE:=uHTTPd Webserver Configuration LUCI_DEPENDS:=+uhttpd LUCI_PKGARCH:=all -PKG_NAME:=luci-app-uhttpd -PKG_VERSION:=1.0.0 -PKG_RELEASE:=1 PKG_LICENSE:=Apache-2.0 PKG_MAINTAINER:=Daniel Dickinson <openwrt@daniel.thecshore.com> -PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) - -include $(INCLUDE_DIR)/package.mk - LUA_TARGET:=source include ../../luci.mk diff --git a/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua b/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua index 03821ad9b5..883e1bb631 100644 --- a/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua +++ b/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua @@ -202,14 +202,17 @@ o = ucs:taboption("advanced", Value, "max_requests", translate("Maximum number o o.optional = true o.datatype = "uinteger" -local s = m:section(NamedSection, "px5g", "cert", translate("uHTTPd Self-signed Certificate Parameters")) +local s = m:section(TypedSection, "cert", translate("uHTTPd Self-signed Certificate Parameters")) + +s.template = "cbi/tsection" +s.anonymous = true o = s:option(Value, "days", translate("Valid for # of Days")) o.default = 730 o.datatype = "uinteger" o = s:option(Value, "bits", translate("Length of key in bits")) -o.default = 1024 +o.default = 2048 o.datatype = "min(1024)" o = s:option(Value, "commonname", translate("Server Hostname"), translate("a.k.a CommonName")) @@ -222,6 +225,6 @@ o = s:option(Value, "state", translate("State")) o.default = "Unknown" o = s:option(Value, "location", translate("Location")) -o.default = "Somewhere" +o.default = "Unknown" return m diff --git a/applications/luci-app-uhttpd/po/ja/uhttpd.po b/applications/luci-app-uhttpd/po/ja/uhttpd.po index 5729034046..75bad24976 100644 --- a/applications/luci-app-uhttpd/po/ja/uhttpd.po +++ b/applications/luci-app-uhttpd/po/ja/uhttpd.po @@ -2,14 +2,14 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2017-01-01 18:11+0900\n" +"PO-Revision-Date: 2018-02-05 14:54+0900\n" "Last-Translator: INAGAKI Hiroshi <musashino.open@gmail.com>\n" "Language-Team: \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.11\n" +"X-Generator: Poedit 2.0.6\n" "X-Poedit-Basepath: .\n" "Plural-Forms: nplurals=1; plural=0;\n" @@ -36,8 +36,8 @@ msgstr "サーバーがホストするファイルのベースディレクトリ msgid "Bind to specific interface:port (by specifying interface address" msgstr "" -"インターフェースのアドレスを使用して、特定のインターフェースとポートに関連付" -"けます。" +"インターフェースのアドレスを用いて、特定の インターフェース:ポート にバイン" +"ドします。" msgid "CGI filetype handler" msgstr "CGIファイル形式 ハンドラー" @@ -70,7 +70,7 @@ msgid "E.g specify with index.html and index.php when using PHP" msgstr "index.html や、PHPを使用しているときは index.php を設定します。" msgid "Embedded Lua interpreter is disabled if not present." -msgstr "指定しない場合、組込みLua インタープリタは無効になります。" +msgstr "指定しない場合、組込 Lua インタープリタは無効になります。" msgid "Enable JSON-RPC Cross-Origin Resource Support" msgstr "" @@ -82,7 +82,7 @@ msgid "Full Web Server Settings" msgstr "完全なWebサーバー設定" msgid "Full real path to handler for Lua scripts" -msgstr "Lua スクリプトへの絶対パス" +msgstr "Lua スクリプト用ハンドラへの絶対パス" msgid "General Settings" msgstr "一般設定" @@ -109,14 +109,14 @@ msgid "" "Interpreter to associate with file endings ('suffix=handler', e.g. '.php=/" "usr/bin/php-cgi')" msgstr "" -"ファイル拡張子に関連付けるインタープリタです。('suffix=handler'、例: '.php=/" -"usr/bin/php-cgi')" +"ファイル拡張子に関連付けるインタープリタです。('suffix=handler'、例: '." +"php=/usr/bin/php-cgi')" msgid "Length of key in bits" msgstr "鍵のビット数" msgid "Location" -msgstr "場所" +msgstr "市区町村" msgid "Maximum number of connections" msgstr "最大接続数" @@ -140,14 +140,14 @@ msgid "" "Prevent access from private (RFC1918) IPs on an interface if it has an " "public IP address" msgstr "" -"グローバル IPアドレスを持つインターフェースでは、プライベート IP (RFC1918) か" -"らのアクセスをブロックします。" +"グローバル IPアドレスを持つインターフェースでは、プライベート IP (RFC1918) " +"からのアクセスをブロックします。" msgid "Realm for Basic Auth" msgstr "基本認証の領域名" msgid "Redirect all HTTP to HTTPS" -msgstr "全てのHTTPをHTTPSにリダイレクトする" +msgstr "全ての HTTP を HTTPS にリダイレクトする" msgid "Remove configuration for certificate and key" msgstr "証明書と鍵の設定を削除する" @@ -160,10 +160,10 @@ msgstr "サーバー ホスト名" msgid "" "Settings which are either rarely needed or which affect serving the WebUI" -msgstr "まれに必要とされる設定、またはWeb UIに影響する設定です。" +msgstr "まれに必要とされる設定、または Web UI の提供に影響する設定です。" msgid "State" -msgstr "ステータス" +msgstr "都道府県" msgid "TCP Keepalive" msgstr "TCP キープアライブ" @@ -178,6 +178,8 @@ msgid "" "Virtual URL or CGI script to display on status '404 Not Found'. Must begin " "with '/'" msgstr "" +"'404 Not Found' ステータスを表示するための仮想 URL または CGI スクリプトで" +"す。 '/' から始まる必要があります。" msgid "Virtual path prefix for Lua scripts" msgstr "Lua スクリプトへの仮想パスプレフィクス" @@ -200,14 +202,7 @@ msgstr "uHTTPd 自己署名証明書 パラメーター" msgid "" "uHTTPd will generate a new self-signed certificate using the configuration " "shown below." -msgstr "uHTTPd は、以下に表示した設定で新しい自己署名証明書を生成します。" +msgstr "uHTTPd は、下に表示されている設定で新しい自己署名証明書を生成します。" msgid "ubus integration is disabled if not present" -msgstr "" - -#~ msgid "" -#~ "Virtual URL or CGI script to display on status '404 Not Found'. Must " -#~ "begin with '/'" -#~ msgstr "" -#~ "'404 Not Found' ステータスを表示する、仮想URLまたはCGIスクリプトです。'/' " -#~ "から始まる必要があります。" +msgstr "指定しない場合、ubus 統合は無効になります。" diff --git a/applications/luci-app-uhttpd/po/pt-br/uhttpd.po b/applications/luci-app-uhttpd/po/pt-br/uhttpd.po new file mode 100644 index 0000000000..af68b9e140 --- /dev/null +++ b/applications/luci-app-uhttpd/po/pt-br/uhttpd.po @@ -0,0 +1,208 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.11\n" +"Last-Translator: Luiz Angelo Daros de Luca <luizluca@gmail.com>\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Language: pt_BR\n" + +msgid "" +"(/old/path=/new/path) or (just /old/path which becomes /cgi-prefix/old/path)" +msgstr "" +"(/old/path=/new/path) ou (just /old/path que se torna /cgi-prefix/old/path)" + +msgid "404 Error" +msgstr "Erro 404" + +msgid "A lightweight single-threaded HTTP(S) server" +msgstr "Um servidor HTTP(S) leve de únida thread." + +msgid "Advanced Settings" +msgstr "Opções Avançadas" + +msgid "Aliases" +msgstr "Pseudônimos (Aliases)" + +msgid "Base directory for files to be served" +msgstr "Diretório Base para publicar arquivos" + +msgid "Bind to specific interface:port (by specifying interface address" +msgstr "" +"Escute em uma interface:porta específica (especificando o endereço da " +"interface" + +msgid "CGI filetype handler" +msgstr "Interpretador de tipo de arquivo CGI" + +msgid "CGI is disabled if not present." +msgstr "O CGI estará desabilitado se não presente." + +msgid "Config file (e.g. for credentials for Basic Auth)" +msgstr "Arquivo de configuração (ex: credenciais para autenticação básica)" + +msgid "Connection reuse" +msgstr "Reutilizar conexão" + +msgid "Country" +msgstr "País" + +msgid "Disable JSON-RPC authorization via ubus session API" +msgstr "Desabilita a autorização JSON-RPC através da API de sessão ubus" + +msgid "Do not follow symlinks outside document root" +msgstr "Não siga ligações simbólicas (symlinks) para fora do documento raiz" + +msgid "Do not generate directory listings." +msgstr "Não gere listagens de diretórios" + +msgid "Document root" +msgstr "Documento Raiz" + +msgid "E.g specify with index.html and index.php when using PHP" +msgstr "Ex: use index.html e index.php quando usar PHP" + +msgid "Embedded Lua interpreter is disabled if not present." +msgstr "O interpretador Lua embutido será desabilitado se não presente." + +msgid "Enable JSON-RPC Cross-Origin Resource Support" +msgstr "Habilite o suporte para recursos JSON-RPC de origem cruzada" + +msgid "For settings primarily geared to serving more than the web UI" +msgstr "Para ajustes envolvidos com mais do que prover a interface web" + +msgid "Full Web Server Settings" +msgstr "Configurações Completas do Servidor Web" + +msgid "Full real path to handler for Lua scripts" +msgstr "Caminho completo para o interpretador de scripts Lua" + +msgid "General Settings" +msgstr "Configurações Gerais" + +msgid "HTTP listeners (address:port)" +msgstr "Escutas do HTTP (endereço:porta)" + +msgid "HTTPS Certificate (DER Encoded)" +msgstr "Certificado do HTTPS (codificado em formato PEM)" + +msgid "HTTPS Private Key (DER Encoded)" +msgstr "Chave Privada do HTTPS (codificado como DER)" + +msgid "HTTPS listener (address:port)" +msgstr "Escuta do HTTPS (endereço:porta)" + +msgid "Ignore private IPs on public interface" +msgstr "Ignore endereços IP privados na interface pública" + +msgid "Index page(s)" +msgstr "Página(s) Índice(s)" + +msgid "" +"Interpreter to associate with file endings ('suffix=handler', e.g. '.php=/" +"usr/bin/php-cgi')" +msgstr "" +"Interpretador para associar com extensões de arquivos " +"('extensão=interpretador', ex: '.php=/usr/bin/php-cgi')" + +msgid "Length of key in bits" +msgstr "Comprimento da chave em bits" + +msgid "Location" +msgstr "Localização" + +msgid "Maximum number of connections" +msgstr "Número máximo de requisições para script" + +msgid "Maximum number of script requests" +msgstr "Número máximo de requisições para script" + +msgid "Maximum wait time for Lua, CGI, or ubus execution" +msgstr "Tempo máximo de espera para execuções de Lua, CGI ou ubus" + +msgid "Maximum wait time for network activity" +msgstr "Tempo máximo de espera para atividade na rede" + +msgid "Override path for ubus socket" +msgstr "Sobrescrever o caminho do socket ubus" + +msgid "Path prefix for CGI scripts" +msgstr "Prefixo do caminho para scripts CGI" + +msgid "" +"Prevent access from private (RFC1918) IPs on an interface if it has an " +"public IP address" +msgstr "" +"Evite acesso de endereços privados (RFC1918) na interface que tem um " +"endereço IP público" + +msgid "Realm for Basic Auth" +msgstr "Reino para Autenticação Simples" + +msgid "Redirect all HTTP to HTTPS" +msgstr "Redirecionar todo tráfego HTTP para HTTPS" + +msgid "Remove configuration for certificate and key" +msgstr "Remove a configuração para o certificado e chave" + +msgid "Remove old certificate and key" +msgstr "Remove os certificados e chaves antigas" + +msgid "Server Hostname" +msgstr "Nome do Servidor" + +msgid "" +"Settings which are either rarely needed or which affect serving the WebUI" +msgstr "Ajustes que são raramente usadas ou que afetam a interface web" + +msgid "State" +msgstr "Estado" + +msgid "TCP Keepalive" +msgstr "Manter conexões TCP abertas (Keepalive)" + +msgid "This permanently deletes the cert, key, and configuration to use same." +msgstr "Isto apaga permanentemente o certificado, a chave e a configuração." + +msgid "Valid for # of Days" +msgstr "Valido por # dias" + +msgid "" +"Virtual URL or CGI script to display on status '404 Not Found'. Must begin " +"with '/'" +msgstr "" +"URL virtual ou script CGI para mostrar quando ocorrer erro '404 Não " +"Encontrado'. Deve começar com '/'" + +msgid "Virtual path prefix for Lua scripts" +msgstr "Prefixo do caminho virtual para scripts Lua" + +msgid "Virtual path prefix for ubus via JSON-RPC integration" +msgstr "Prefixo do caminho virtual para o ubus através da integração JSON-RPC" + +msgid "Will not use HTTP authentication if not present" +msgstr "Não usar autenticação HTTP se não presente" + +msgid "a.k.a CommonName" +msgstr "também conhecido como Nome Comum" + +msgid "uHTTPd" +msgstr "uHTTPd" + +msgid "uHTTPd Self-signed Certificate Parameters" +msgstr "Parâmetros do Certificado Auto-assinado do uHTTPd" + +msgid "" +"uHTTPd will generate a new self-signed certificate using the configuration " +"shown below." +msgstr "" +"o uHTTPd gerará um certificado auto-assinado usando a configuração mostrada " +"abaixo." + +msgid "ubus integration is disabled if not present" +msgstr "A integração com o ubus será desativada se não presente" diff --git a/applications/luci-app-uhttpd/po/ru/uhttpd.po b/applications/luci-app-uhttpd/po/ru/uhttpd.po new file mode 100644 index 0000000000..7f97d9aa28 --- /dev/null +++ b/applications/luci-app-uhttpd/po/ru/uhttpd.po @@ -0,0 +1,219 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: LuCI: uhttpd\n" +"POT-Creation-Date: 2017-12-06 22:30+0300\n" +"PO-Revision-Date: 2018-01-24 15:00+0300\n" +"Language-Team: http://cyber-place.ru\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7.1\n" +"Last-Translator: Vladimir aka sunny <picfun@ya.ru>\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: ru\n" +"Project-Info: Это технический перевод, не дословный. Главное-удобный русский " +"интерфейс, все проверялось в графическом режиме, совместим с другими apps\n" + +msgid "" +"(/old/path=/new/path) or (just /old/path which becomes /cgi-prefix/old/path)" +msgstr "" +"(/старый/путь=/новый/путь) или (просто /старый/путь становится /cgi-prefix/" +"старый/путь)." + +msgid "404 Error" +msgstr "Ошибка 404" + +msgid "A lightweight single-threaded HTTP(S) server" +msgstr "Легкий однопоточный HTTP(S) сервер." + +msgid "Advanced Settings" +msgstr "Дополнительные настройки" + +msgid "Aliases" +msgstr "Псевдонимы (Aliases)" + +msgid "Base directory for files to be served" +msgstr "Основная папка для файлов, которые будут обслуживаться сервером." + +msgid "Bind to specific interface:port (by specifying interface address" +msgstr "" +"Привязка к конкретному интерфейсу:порту (путем указания адреса интерфейса)." + +msgid "CGI filetype handler" +msgstr "Обработчик<br />типа файла CGI" + +msgid "CGI is disabled if not present." +msgstr "CGI отключается, если он отсутствует." + +msgid "Config file (e.g. for credentials for Basic Auth)" +msgstr "Config файл" + +msgid "Connection reuse" +msgstr "Повторное использование соединения" + +msgid "Country" +msgstr "Страна" + +msgid "Disable JSON-RPC authorization via ubus session API" +msgstr "Отключение авторизации<br />JSON-RPC через API<br />в систему ubus" + +msgid "Do not follow symlinks outside document root" +msgstr "" +"Не следовать по символическим ссылкам<br />вне корневого каталога документов" + +msgid "Do not generate directory listings." +msgstr "Не создавать списки папок" + +msgid "Document root" +msgstr "Основная папка" + +msgid "E.g specify with index.html and index.php when using PHP" +msgstr "Например, укажите index.html и index.php если использовуется PHP." + +msgid "Embedded Lua interpreter is disabled if not present." +msgstr "" +"Встроенный обработчик скриптов Lua отключается, если скрипт отсутствует." + +msgid "Enable JSON-RPC Cross-Origin Resource Support" +msgstr "Включение поддержки JSON-RPC разных источников" + +msgid "For settings primarily geared to serving more than the web UI" +msgstr "" +"Страница в основном предназначена для настройки параметров обслуживания " +"сервера, а не веб-интерфейса." + +msgid "Full Web Server Settings" +msgstr "Полные настройки web сервера" + +msgid "Full real path to handler for Lua scripts" +msgstr "Полный путь<br />к обработчику<br />скриптов Lua" + +msgid "General Settings" +msgstr "Основные настройки" + +msgid "HTTP listeners (address:port)" +msgstr "Входящие HTTP<br />(адрес:порт)" + +msgid "HTTPS Certificate (DER Encoded)" +msgstr "Сертификат HTTPS (кодировка DER)" + +msgid "HTTPS Private Key (DER Encoded)" +msgstr "Приватный ключ HTTPS (кодировка DER)" + +msgid "HTTPS listener (address:port)" +msgstr "Входящие HTTPS<br />(адрес:порт)" + +msgid "Ignore private IPs on public interface" +msgstr "Игнорировать приватные<br />IP-адреса на<br />публичном интерфейсе" + +msgid "Index page(s)" +msgstr "Страница(ы) индекса" + +msgid "" +"Interpreter to associate with file endings ('suffix=handler', e.g. '.php=/" +"usr/bin/php-cgi')" +msgstr "" +"Обработчик для сопоставления расширений файлов ('суффикс=обработчик', " +"например: '.php=/usr/bin/php-cgi')." + +msgid "Length of key in bits" +msgstr "Длина ключа в битах" + +msgid "Location" +msgstr "Расположение" + +msgid "Maximum number of connections" +msgstr "Максимальное количество соединений" + +msgid "Maximum number of script requests" +msgstr "Максимальное количество запросов скрипта" + +msgid "Maximum wait time for Lua, CGI, or ubus execution" +msgstr "Максимальное время ожидания для Lua, CGI,<br />или выполнение ubus" + +msgid "Maximum wait time for network activity" +msgstr "Максимальное время ожидания сетевой активности" + +msgid "Override path for ubus socket" +msgstr "Переопределить<br />путь для сокета ubus" + +msgid "Path prefix for CGI scripts" +msgstr "Префикс пути<br />для CGI скриптов" + +msgid "" +"Prevent access from private (RFC1918) IPs on an interface if it has an " +"public IP address" +msgstr "" +"Запретить доступ к приватному интерфейсу IPS (RFC1918), если он имеет " +"публичный IP-адрес." + +msgid "Realm for Basic Auth" +msgstr "Хост для аутентификации" + +msgid "Redirect all HTTP to HTTPS" +msgstr "Перенаправление всех<br />HTTP на HTTPS" + +msgid "Remove configuration for certificate and key" +msgstr "Удалить настройки для сертификата и ключа" + +msgid "Remove old certificate and key" +msgstr "Удалить старый сертификат и ключ" + +msgid "Server Hostname" +msgstr "Имя хоста" + +msgid "" +"Settings which are either rarely needed or which affect serving the WebUI" +msgstr "" +"Страница содержит параметры, которые редко используются или влияют на " +"обслуживание веб-интерфейса." + +msgid "State" +msgstr "Указывать" + +msgid "TCP Keepalive" +msgstr "TCP активность" + +msgid "This permanently deletes the cert, key, and configuration to use same." +msgstr "Полное удаление сертификата, ключа и настроек вкладки меню cнизу." + +msgid "Valid for # of Days" +msgstr "Действителен в течение указанного кол-ва дней" + +msgid "" +"Virtual URL or CGI script to display on status '404 Not Found'. Must begin " +"with '/'" +msgstr "" +"Виртуальный URL-адрес или CGI скрипт для отображения статуса '404 не " +"найдено'. Надо начинать с '/'." + +msgid "Virtual path prefix for Lua scripts" +msgstr "Виртуальный путь<br />префикса<br />для скриптов Lua" + +msgid "Virtual path prefix for ubus via JSON-RPC integration" +msgstr "Виртуальный префикс<br />пути для ubus через<br />интеграцию JSON-RPC" + +msgid "Will not use HTTP authentication if not present" +msgstr "" +"Например, учетные данные для основной авторизации.<br />Не будет " +"использоваться проверка подлинности HTTP, если она отсутствует." + +msgid "a.k.a CommonName" +msgstr "Имя хоста сервера, так называемое - 'CommonName'." + +msgid "uHTTPd" +msgstr "uHTTPd" + +msgid "uHTTPd Self-signed Certificate Parameters" +msgstr "Параметры самозаверяющего сертификата uHTTPd" + +msgid "" +"uHTTPd will generate a new self-signed certificate using the configuration " +"shown below." +msgstr "" +"uHTTPd создаст самозаверяющий сертификат используя вкладку расположенную " +"ниже." + +msgid "ubus integration is disabled if not present" +msgstr "Интеграция с ubus будет отключена, если она отсутствует." |