Jacky 2 дней назад
Родитель
Сommit
af84b85b34
3 измененных файлов с 38 добавлено и 38 удалено
  1. 1 1
      app/package.json
  2. 36 36
      app/src/language/generate.ts
  3. 1 1
      app/src/version.json

+ 1 - 1
app/package.json

@@ -1,7 +1,7 @@
 {
   "name": "nginx-ui-app-next",
   "type": "module",
-  "version": "2.0.0-rc.6",
+  "version": "2.0.0-rc.7",
   "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
   "scripts": {
     "dev": "vite --host",

+ 36 - 36
app/src/language/generate.ts

@@ -1,52 +1,52 @@
 // This file is auto-generated. DO NOT EDIT MANUALLY.
 
 export const msg = [
-  $gettext('[Nginx UI] Reloading nginx'),
   $gettext('[Nginx UI] Finished'),
-  $gettext('[Nginx UI] Obtaining certificate'),
-  $gettext('[Nginx UI] Revoking certificate'),
+  $gettext('[Nginx UI] Writing certificate private key to disk'),
+  $gettext('[Nginx UI] Certificate was used for server, reloading server TLS certificate'),
+  $gettext('Nginx configuration directory exists'),
+  $gettext('Check if the nginx configuration directory exists'),
+  $gettext('Failed to delete certificate from database: %{error}'),
+  $gettext('[Nginx UI] Environment variables cleaned'),
+  $gettext('[Nginx UI] Backing up current certificate for later revocation'),
+  $gettext('[Nginx UI] Revoking old certificate'),
+  $gettext('[Nginx UI] Preparing for certificate revocation'),
   $gettext('[Nginx UI] Certificate successfully revoked'),
+  $gettext('Streams directory exists'),
+  $gettext('Certificate revoked successfully'),
+  $gettext('Log file %{log_path} is not a regular file. If you are using nginx-ui in docker container, please refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information.'),
+  $gettext('[Nginx UI] ACME User: %{name}, Email: %{email}, CA Dir: %{caDir}'),
+  $gettext('[Nginx UI] Creating client facilitates communication with the CA server'),
+  $gettext('[Nginx UI] Writing certificate to disk'),
   $gettext('Nginx configuration entry file exists'),
-  $gettext('Check if the nginx PID path exists. By default, this path is obtained from \'nginx -V\'. If it cannot be obtained, an error will be reported. In this case, you need to modify the configuration file to specify the Nginx PID path.Refer to the docs for more details: https://nginxui.com/zh_CN/guide/config-nginx.html#pidpath'),
   $gettext('Nginx.conf includes streams-enabled directory'),
-  $gettext('[Nginx UI] Preparing lego configurations'),
-  $gettext('[Nginx UI] Setting HTTP01 challenge provider'),
-  $gettext('Nginx configuration directory exists'),
-  $gettext('Check if the nginx error log path exists. By default, this path is obtained from \'nginx -V\'. If it cannot be obtained or the obtained path does not point to a valid, existing file, an error will be reported. In this case, you need to modify the configuration file to specify the error log path.Refer to the docs for more details: https://nginxui.com/zh_CN/guide/config-nginx.html#errorlogpath'),
-  $gettext('Docker socket exists'),
-  $gettext('Check if /var/run/docker.sock exists. If you are using Nginx UI Official Docker Image, please make sure the docker socket is mounted like this: `-v /var/run/docker.sock:/var/run/docker.sock`. Nginx UI official image uses /var/run/docker.sock to communicate with the host Docker Engine via Docker Client API. This feature is used to control Nginx in another container and perform container replacement rather than binary replacement during OTA upgrades of Nginx UI to ensure container dependencies are also upgraded. If you don\'t need this feature, please add the environment variable NGINX_UI_IGNORE_DOCKER_SOCKET=true to the container.'),
+  $gettext('Check if the nginx.conf includes the streams-enabled directory'),
+  $gettext('[Nginx UI] Issued certificate successfully'),
   $gettext('Certificate not found: %{error}'),
-  $gettext('Failed to delete certificate from database: %{error}'),
-  $gettext('[Nginx UI] Revocation completed'),
-  $gettext('Check if the sites-available and sites-enabled directories are under the nginx configuration directory'),
-  $gettext('Check if the nginx.conf includes the conf.d directory'),
-  $gettext('Check if the streams-available and streams-enabled directories are under the nginx configuration directory'),
+  $gettext('Nginx.conf includes sites-enabled directory'),
+  $gettext('Nginx error log path exists'),
   $gettext('Failed to revoke certificate: %{error}'),
-  $gettext('Log file %{log_path} is not a regular file. If you are using nginx-ui in docker container, please refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information.'),
-  $gettext('[Nginx UI] Backing up current certificate for later revocation'),
-  $gettext('[Nginx UI] Certificate was used for server, reloading server TLS certificate'),
+  $gettext('[Nginx UI] Revocation completed'),
   $gettext('Sites directory exists'),
-  $gettext('Nginx.conf includes sites-enabled directory'),
-  $gettext('Check if the nginx configuration entry file exists'),
-  $gettext('[Nginx UI] Setting environment variables'),
-  $gettext('[Nginx UI] Writing certificate private key to disk'),
   $gettext('Check if the nginx.conf includes the sites-enabled directory'),
-  $gettext('Check if the nginx configuration directory exists'),
-  $gettext('Nginx PID path exists'),
-  $gettext('Nginx access log path exists'),
-  $gettext('Streams directory exists'),
   $gettext('Nginx.conf includes conf.d directory'),
-  $gettext('Certificate revoked successfully'),
-  $gettext('[Nginx UI] ACME User: %{name}, Email: %{email}, CA Dir: %{caDir}'),
-  $gettext('[Nginx UI] Creating client facilitates communication with the CA server'),
-  $gettext('[Nginx UI] Environment variables cleaned'),
+  $gettext('Check if the nginx.conf includes the conf.d directory'),
+  $gettext('Check if the streams-available and streams-enabled directories are under the nginx configuration directory'),
+  $gettext('Check if /var/run/docker.sock exists. If you are using Nginx UI Official Docker Image, please make sure the docker socket is mounted like this: `-v /var/run/docker.sock:/var/run/docker.sock`. Nginx UI official image uses /var/run/docker.sock to communicate with the host Docker Engine via Docker Client API. This feature is used to control Nginx in another container and perform container replacement rather than binary replacement during OTA upgrades of Nginx UI to ensure container dependencies are also upgraded. If you don\'t need this feature, please add the environment variable NGINX_UI_IGNORE_DOCKER_SOCKET=true to the container.'),
+  $gettext('[Nginx UI] Reloading nginx'),
+  $gettext('[Nginx UI] Obtaining certificate'),
   $gettext('[Nginx UI] Certificate renewed successfully'),
-  $gettext('[Nginx UI] Preparing for certificate revocation'),
+  $gettext('[Nginx UI] Revoking certificate'),
+  $gettext('Docker socket exists'),
+  $gettext('[Nginx UI] Setting HTTP01 challenge provider'),
+  $gettext('[Nginx UI] Setting environment variables'),
+  $gettext('Check if the sites-available and sites-enabled directories are under the nginx configuration directory'),
+  $gettext('Check if the nginx configuration entry file exists'),
+  $gettext('Nginx PID path exists'),
   $gettext('Check if the nginx access log path exists. By default, this path is obtained from \'nginx -V\'. If it cannot be obtained or the obtained path does not point to a valid, existing file, an error will be reported. In this case, you need to modify the configuration file to specify the access log path.Refer to the docs for more details: https://nginxui.com/zh_CN/guide/config-nginx.html#accesslogpath'),
-  $gettext('Check if the nginx.conf includes the streams-enabled directory'),
-  $gettext('[Nginx UI] Issued certificate successfully'),
+  $gettext('[Nginx UI] Preparing lego configurations'),
   $gettext('[Nginx UI] Setting DNS01 challenge provider'),
-  $gettext('[Nginx UI] Revoking old certificate'),
-  $gettext('[Nginx UI] Writing certificate to disk'),
-  $gettext('Nginx error log path exists'),
+  $gettext('Check if the nginx PID path exists. By default, this path is obtained from \'nginx -V\'. If it cannot be obtained, an error will be reported. In this case, you need to modify the configuration file to specify the Nginx PID path.Refer to the docs for more details: https://nginxui.com/zh_CN/guide/config-nginx.html#pidpath'),
+  $gettext('Nginx access log path exists'),
+  $gettext('Check if the nginx error log path exists. By default, this path is obtained from \'nginx -V\'. If it cannot be obtained or the obtained path does not point to a valid, existing file, an error will be reported. In this case, you need to modify the configuration file to specify the error log path.Refer to the docs for more details: https://nginxui.com/zh_CN/guide/config-nginx.html#errorlogpath'),
 ]

+ 1 - 1
app/src/version.json

@@ -1 +1 @@
-{"version":"2.0.0-rc.6","build_id":2,"total_build":418}
+{"version":"2.0.0-rc.7","build_id":1,"total_build":419}