Skip to content

Commit 4984771

Browse files
committed
chore: update zh_CN translations for templates
1 parent 9a6900b commit 4984771

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

template/block/drupal_security.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Nginx UI Template Start
22
name = "Drupal Security"
33
author = "@sanvu88"
4-
description = { en = "Drupal Security Config", vi_VN = "Cấu hình bảo mật cho Drupal"}
4+
description = { en = "Drupal Security Config", zh_CN = "Drupal 安全配置", vi_VN = "Cấu hình bảo mật cho Drupal"}
55
# Nginx UI Template End
66

77
location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\.php$) {
@@ -14,4 +14,4 @@ location ~ ^/sites/[^/]+/files/.*\.php$ {
1414

1515
location ~ /vendor/.*\.php$ {
1616
return 444;
17-
}
17+
}

template/block/joomla_security.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Nginx UI Template Start
22
name = "Joomla Security"
33
author = "@sanvu88"
4-
description = { en = "Joomla Security Config", vi_VN = "Cấu hình bảo mật cho Joomla"}
4+
description = { en = "Joomla Security Config", zh_CN = "Joomla 安全配置", vi_VN = "Cấu hình bảo mật cho Joomla"}
55
# Nginx UI Template End
66

77
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)$ {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Nginx UI Template Start
22
name = "Nginx Security Headers"
33
author = "@sanvu88"
4-
description = { en = "Nginx Security Headers Config", vi_VN = "Cấu hình Headers tăng cường bảo mật"}
4+
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"}
55
# Nginx UI Template End
66

77
add_header X-XSS-Protection "1; mode=block" always;
88
add_header X-Content-Type-Options "nosniff" always;
99
add_header Referrer-Policy "no-referrer-when-downgrade" always;
1010
add_header Content-Security-Policy "default-src 'self' http: https: ws: wss: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
1111
add_header Permissions-Policy "interest-cohort=()" always;
12-
add_header X-Frame-Options "SAMEORIGIN";
12+
add_header X-Frame-Options "SAMEORIGIN";

template/block/wordpress_security.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Nginx UI Template Start
22
name = "WordPress Security"
33
author = "@sanvu88"
4-
description = { en = "WordPress Security Config", vi_VN = "Cấu hình bảo mật cho WordPress"}
4+
description = { en = "WordPress Security Config", zh_CN = "WordPress 安全配置", vi_VN = "Cấu hình bảo mật cho WordPress"}
55

66
[variables.blockUserAPI]
77
type = "boolean"
8-
name = { en = "Block WordPress User API", vi_VN = "Chặn truy cập danh sách user"}
8+
name = { en = "Block WordPress User API", zh_CN = "禁用用户 API", vi_VN = "Chặn truy cập danh sách user"}
99
value = true
1010

1111
[variables.blockXMLRPC]
1212
type = "boolean"
13-
name = { en = "Block WordPress XMLRPC", vi_VN = "Chặn truy cập xmlrpc.php"}
13+
name = { en = "Block WordPress XMLRPC", zh_CN = "禁用 XMLRPC", vi_VN = "Chặn truy cập xmlrpc.php"}
1414
value = true
1515
# Nginx UI Template End
1616

0 commit comments

Comments
 (0)