Browse Source

chore: update zh_CN translations for templates

0xJacky 1 year ago
parent
commit
4984771c7d

+ 2 - 2
template/block/drupal_security.conf

@@ -1,7 +1,7 @@
 # Nginx UI Template Start
 # Nginx UI Template Start
 name = "Drupal Security"
 name = "Drupal Security"
 author = "@sanvu88"
 author = "@sanvu88"
-description = { en = "Drupal Security Config", vi_VN = "Cấu hình bảo mật cho Drupal"}
+description = { en = "Drupal Security Config", zh_CN = "Drupal 安全配置", vi_VN = "Cấu hình bảo mật cho Drupal"}
 # Nginx UI Template End
 # Nginx UI Template End
 
 
 location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\.php$) {
 location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\.php$) {
@@ -14,4 +14,4 @@ location ~ ^/sites/[^/]+/files/.*\.php$ {
 
 
 location ~ /vendor/.*\.php$ {
 location ~ /vendor/.*\.php$ {
     return 444;
     return 444;
-}
+}

+ 1 - 1
template/block/joomla_security.conf

@@ -1,7 +1,7 @@
 # Nginx UI Template Start
 # Nginx UI Template Start
 name = "Joomla Security"
 name = "Joomla Security"
 author = "@sanvu88"
 author = "@sanvu88"
-description = { en = "Joomla Security Config", vi_VN = "Cấu hình bảo mật cho Joomla"}
+description = { en = "Joomla Security Config", zh_CN = "Joomla 安全配置", vi_VN = "Cấu hình bảo mật cho Joomla"}
 # Nginx UI Template End
 # Nginx UI Template End
 
 
 location ~* /(images|cache|media|logs|tmp)/.*\.(gz|tar|bzip2|7z|php|php5|php7|log|error|py|pl|kid|love|cgi|shtml|phps|pht|jsp|asp|sh|bash)$ {
 location ~* /(images|cache|media|logs|tmp)/.*\.(gz|tar|bzip2|7z|php|php5|php7|log|error|py|pl|kid|love|cgi|shtml|phps|pht|jsp|asp|sh|bash)$ {

+ 2 - 2
template/block/security_headers.conf

@@ -1,7 +1,7 @@
 # Nginx UI Template Start
 # Nginx UI Template Start
 name = "Nginx Security Headers"
 name = "Nginx Security Headers"
 author = "@sanvu88"
 author = "@sanvu88"
-description = { en = "Nginx Security Headers Config", vi_VN = "Cấu hình Headers tăng cường bảo mật"}
+description = { en = "Nginx Security Headers Config", zh_CN = "Nginx Headers 安全配置", vi_VN = "Cấu hình Headers tăng cường bảo mật"}
 # Nginx UI Template End
 # Nginx UI Template End
 
 
 add_header X-XSS-Protection          "1; mode=block" always;
 add_header X-XSS-Protection          "1; mode=block" always;
@@ -9,4 +9,4 @@ add_header X-Content-Type-Options    "nosniff" always;
 add_header Referrer-Policy           "no-referrer-when-downgrade" always;
 add_header Referrer-Policy           "no-referrer-when-downgrade" always;
 add_header Content-Security-Policy   "default-src 'self' http: https: ws: wss: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
 add_header Content-Security-Policy   "default-src 'self' http: https: ws: wss: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
 add_header Permissions-Policy        "interest-cohort=()" always;
 add_header Permissions-Policy        "interest-cohort=()" always;
-add_header X-Frame-Options "SAMEORIGIN";
+add_header X-Frame-Options "SAMEORIGIN";

+ 3 - 3
template/block/wordpress_security.conf

@@ -1,16 +1,16 @@
 # Nginx UI Template Start
 # Nginx UI Template Start
 name = "WordPress Security"
 name = "WordPress Security"
 author = "@sanvu88"
 author = "@sanvu88"
-description = { en = "WordPress Security Config", vi_VN = "Cấu hình bảo mật cho WordPress"}
+description = { en = "WordPress Security Config", zh_CN = "WordPress 安全配置", vi_VN = "Cấu hình bảo mật cho WordPress"}
 
 
 [variables.blockUserAPI]
 [variables.blockUserAPI]
 type = "boolean"
 type = "boolean"
-name = { en = "Block WordPress User API", vi_VN = "Chặn truy cập danh sách user"}
+name = { en = "Block WordPress User API", zh_CN = "禁用用户 API", vi_VN = "Chặn truy cập danh sách user"}
 value = true
 value = true
 
 
 [variables.blockXMLRPC]
 [variables.blockXMLRPC]
 type = "boolean"
 type = "boolean"
-name = { en = "Block WordPress XMLRPC", vi_VN = "Chặn truy cập xmlrpc.php"}
+name = { en = "Block WordPress XMLRPC", zh_CN = "禁用 XMLRPC", vi_VN = "Chặn truy cập xmlrpc.php"}
 value = true
 value = true
 # Nginx UI Template End
 # Nginx UI Template End