You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/05/02 12:56:50 UTC

[tomcat] branch main updated: Improvements to Chinese translations. (lihan)

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a88e9937c Improvements to Chinese translations. (lihan)
1a88e9937c is described below

commit 1a88e9937c005eb1f06f979ba243cb4574d07754
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 2 13:56:44 2023 +0100

    Improvements to Chinese translations. (lihan)
---
 java/org/apache/catalina/connector/LocalStrings_zh_CN.properties      | 4 ++++
 java/org/apache/catalina/valves/rewrite/LocalStrings_zh_CN.properties | 2 ++
 java/org/apache/coyote/ajp/LocalStrings_zh_CN.properties              | 1 +
 java/org/apache/tomcat/util/http/parser/LocalStrings_zh_CN.properties | 2 ++
 java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties         | 2 ++
 webapps/docs/changelog.xml                                            | 3 +++
 6 files changed, 14 insertions(+)

diff --git a/java/org/apache/catalina/connector/LocalStrings_zh_CN.properties b/java/org/apache/catalina/connector/LocalStrings_zh_CN.properties
index 64c6f8b8ec..2da544fbdb 100644
--- a/java/org/apache/catalina/connector/LocalStrings_zh_CN.properties
+++ b/java/org/apache/catalina/connector/LocalStrings_zh_CN.properties
@@ -19,8 +19,12 @@ coyoteAdapter.authenticate=连接器提供的经过身份验证的用户[{0}]。
 coyoteAdapter.authorize=(:使用Tomcat的领域授权用户[{0}]
 coyoteAdapter.checkRecycled.request=遇到未回收的请求并强制回收。
 coyoteAdapter.checkRecycled.response=遇到非回收的相应并强行回收。
+coyoteAdapter.connect=不支持CONNECT方法的HTTP请求
 coyoteAdapter.debug=变量[{0}]的值为[{1}]。
+coyoteAdapter.invalidURI=无效URI
+coyoteAdapter.invalidURIWithMessage=无效URI:[{0}]
 coyoteAdapter.nullRequest=异步分派只能在现有请求上发生
+coyoteAdapter.trace=不允许使用TRACE方法
 
 coyoteConnector.invalidEncoding=编码 [{0}] 不能被 JRE 识别,Connector 将继续使用 [{1}]
 coyoteConnector.invalidPort=连接器不能启动,因为指定的端口 [{0}]无效
diff --git a/java/org/apache/catalina/valves/rewrite/LocalStrings_zh_CN.properties b/java/org/apache/catalina/valves/rewrite/LocalStrings_zh_CN.properties
index 4d41948cd3..f70440076a 100644
--- a/java/org/apache/catalina/valves/rewrite/LocalStrings_zh_CN.properties
+++ b/java/org/apache/catalina/valves/rewrite/LocalStrings_zh_CN.properties
@@ -16,6 +16,8 @@
 quotedStringTokenizer.tokenizeError=模式[{2}]中[{1}]位置处的文本[{0}]标记错误
 
 rewriteMap.tooManyParameters=对当前map来说参数太多
+rewriteMap.txtInvalidLine=文本文件中[{1}],[{0}]为无效行
+rewriteMap.txtReadError=读取文本文件[{0}]出错
 
 rewriteValve.closeError=关闭配置时出错
 rewriteValve.invalidFlags=[{0}]标志[{1}]中的标志无效
diff --git a/java/org/apache/coyote/ajp/LocalStrings_zh_CN.properties b/java/org/apache/coyote/ajp/LocalStrings_zh_CN.properties
index fea44101c6..ff959172cb 100644
--- a/java/org/apache/coyote/ajp/LocalStrings_zh_CN.properties
+++ b/java/org/apache/coyote/ajp/LocalStrings_zh_CN.properties
@@ -26,6 +26,7 @@ ajpprocessor.header.tooLong=已收到长度为[{0}]的头消息,但packetSize
 ajpprocessor.readtimeout=从Socket读取数据超时
 ajpprocessor.request.prepare=准备请求错误
 ajpprocessor.request.process=处理请求错误
+ajpprocessor.response.invalidHeader=响应头:[{0}] 值:[{1}]无效,已从响应中移除
 ajpprocessor.unknownAttribute=由于请求属性[{0}]接收自反向代理,请求被拒绝
 
 ajpprotocol.noSSL=AJP不支持SSL。[{0}]的SSL主机配置被忽略
diff --git a/java/org/apache/tomcat/util/http/parser/LocalStrings_zh_CN.properties b/java/org/apache/tomcat/util/http/parser/LocalStrings_zh_CN.properties
index 4532e0155c..e9a4412b46 100644
--- a/java/org/apache/tomcat/util/http/parser/LocalStrings_zh_CN.properties
+++ b/java/org/apache/tomcat/util/http/parser/LocalStrings_zh_CN.properties
@@ -50,3 +50,5 @@ sf.boolean.invalidCharacter=[{0}]字符不是有效布尔值
 sf.invalidCharacter=[{0}]字符在这里无效
 sf.numeric.decimalInvalidFinal=十进制最后一个字符必须是数字
 sf.numeric.decimalPartTooLong=小数点后超过3位
+sf.string.invalidCharacter=字符串中[{0}]字符无效
+sf.string.invalidEscape=[{0}]字符不能被转义
diff --git a/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties b/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties
index 59d5e29e86..3bbe3bc3d0 100644
--- a/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties
+++ b/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties
@@ -114,6 +114,8 @@ endpoint.setAttribute=设置. [{0}] 到 [{1}]
 endpoint.setAttributeError=无法将属性[{0}]设置为[{1}]
 endpoint.socketOptionsError=设置套接字选项时出错
 endpoint.timeout.err=处理套接字超时出错
+endpoint.tls.cert.encodingError=证书指纹不可用
+endpoint.tls.cert.noCerts=证书详细信息不可用,因为SSLContext返回的证书链为空
 endpoint.unknownSslHostName=此终结点无法识别SSL主机名[{0}]
 endpoint.warn.executorShutdown=与线程池[{0}]关联的执行程序尚未完全关闭。 某些应用程序线程可能仍在运行。
 endpoint.warn.incorrectConnectionCount=连接数不正确,在同一个套接字上调用多个socket.close。
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 57fe7ed111..12158cd38b 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -180,6 +180,9 @@
       <add>
         Improvements to French translations. (remm)
       </add>
+      <add>
+        Improvements to Chinese translations. (lihan)
+      </add>
     </changelog>
   </subsection>
 </section>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org