Ver Fonte

chore: prepare v2.0.0

Jacky há 5 dias atrás
pai
commit
91c0743d6e
3 ficheiros alterados com 36 adições e 36 exclusões
  1. 1 1
      app/package.json
  2. 34 34
      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.8",
+  "version": "2.0.0",
   "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
   "scripts": {
     "dev": "vite --host",

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

@@ -1,52 +1,52 @@
 // This file is auto-generated. DO NOT EDIT MANUALLY.
 
 export const msg = [
+  $gettext('[Nginx UI] Issued certificate successfully'),
+  $gettext('[Nginx UI] Preparing lego configurations'),
   $gettext('[Nginx UI] Writing certificate private key to disk'),
-  $gettext('Nginx.conf includes sites-enabled directory'),
-  $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('Nginx error log path exists'),
+  $gettext('Check if the nginx configuration entry file exists'),
   $gettext('Check if the streams-available and streams-enabled directories are under the nginx configuration directory'),
-  $gettext('[Nginx UI] Setting environment variables'),
-  $gettext('Certificate not found: %{error}'),
-  $gettext('Certificate revoked successfully'),
-  $gettext('[Nginx UI] Preparing lego configurations'),
-  $gettext('[Nginx UI] ACME User: %{name}, Email: %{email}, CA Dir: %{caDir}'),
+  $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('[Nginx UI] Obtaining certificate'),
-  $gettext('Check if the nginx configuration entry file exists'),
-  $gettext('Nginx access log path exists'),
-  $gettext('[Nginx UI] Finished'),
-  $gettext('[Nginx UI] Certificate renewed successfully'),
-  $gettext('Check if the nginx.conf includes the sites-enabled directory'),
-  $gettext('Nginx.conf includes streams-enabled directory'),
-  $gettext('Check if the nginx.conf includes the streams-enabled directory'),
+  $gettext('[Nginx UI] Writing certificate to disk'),
+  $gettext('Sites directory exists'),
+  $gettext('Nginx.conf includes conf.d directory'),
+  $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] Creating client facilitates communication with the CA server'),
+  $gettext('[Nginx UI] Reloading nginx'),
+  $gettext('Streams directory exists'),
+  $gettext('Nginx.conf includes streams-enabled directory'),
+  $gettext('Failed to revoke certificate: %{error}'),
+  $gettext('[Nginx UI] Setting DNS01 challenge provider'),
+  $gettext('[Nginx UI] Environment variables cleaned'),
+  $gettext('[Nginx UI] Backing up current certificate for later revocation'),
+  $gettext('[Nginx UI] Finished'),
+  $gettext('Check if the sites-available and sites-enabled directories are under the nginx configuration directory'),
   $gettext('Nginx configuration directory exists'),
   $gettext('Check if the nginx configuration directory exists'),
-  $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('Failed to revoke certificate: %{error}'),
+  $gettext('[Nginx UI] ACME User: %{name}, Email: %{email}, CA Dir: %{caDir}'),
+  $gettext('[Nginx UI] Setting environment variables'),
   $gettext('[Nginx UI] Certificate was used for server, reloading server TLS certificate'),
-  $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 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('Nginx error log path exists'),
+  $gettext('Check if the nginx.conf includes the streams-enabled directory'),
   $gettext('Failed to delete certificate from database: %{error}'),
-  $gettext('[Nginx UI] Setting DNS01 challenge provider'),
-  $gettext('Nginx.conf includes conf.d directory'),
-  $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('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] Setting HTTP01 challenge provider'),
   $gettext('[Nginx UI] Revoking old certificate'),
-  $gettext('[Nginx UI] Writing certificate to disk'),
   $gettext('[Nginx UI] Preparing for certificate revocation'),
-  $gettext('Sites directory exists'),
-  $gettext('Nginx PID path exists'),
-  $gettext('Streams directory exists'),
-  $gettext('[Nginx UI] Setting HTTP01 challenge provider'),
-  $gettext('[Nginx UI] Reloading nginx'),
-  $gettext('[Nginx UI] Revocation completed'),
   $gettext('[Nginx UI] Revoking certificate'),
   $gettext('[Nginx UI] Certificate successfully revoked'),
-  $gettext('Check if the sites-available and sites-enabled directories are under the nginx configuration directory'),
+  $gettext('Nginx.conf includes sites-enabled directory'),
   $gettext('Check if the nginx.conf includes the conf.d directory'),
+  $gettext('Certificate not found: %{error}'),
+  $gettext('Certificate revoked successfully'),
+  $gettext('[Nginx UI] Certificate renewed successfully'),
+  $gettext('[Nginx UI] Revocation completed'),
   $gettext('Nginx configuration entry file exists'),
-  $gettext('[Nginx UI] Issued certificate successfully'),
-  $gettext('[Nginx UI] Environment variables cleaned'),
-  $gettext('[Nginx UI] Backing up current certificate for later revocation'),
+  $gettext('Nginx PID 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('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('Check if the nginx.conf includes the sites-enabled directory'),
 ]

+ 1 - 1
app/src/version.json

@@ -1 +1 @@
-{"version":"2.0.0-rc.8","build_id":1,"total_build":420}
+{"version":"2.0.0","build_id":1,"total_build":421}