diff --git a/app/src/language/constants.ts b/app/src/language/constants.ts index 43b9b8d9..d3948e9b 100644 --- a/app/src/language/constants.ts +++ b/app/src/language/constants.ts @@ -36,4 +36,10 @@ export const msg = [ $gettext('Sync Certificate Success'), $gettext('Sync Certificate Error'), + + $gettext('Rename Remote Config Success'), + $gettext('Rename Remote Config Error'), + + $gettext('Sync Config Success'), + $gettext('Sync Config Error'), ] diff --git a/app/src/language/en/app.po b/app/src/language/en/app.po index d79eba6d..f5567caf 100644 --- a/app/src/language/en/app.po +++ b/app/src/language/en/app.po @@ -36,7 +36,7 @@ msgstr "Username" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -52,8 +52,8 @@ msgstr "Action" msgid "Add" msgstr "" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 #, fuzzy msgid "Add Configuration" msgstr "Edit Configuration" @@ -116,7 +116,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "Are you sure you want to remove this directive?" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 #, fuzzy msgid "Are you sure you want to clear all notifications?" msgstr "Are you sure you want to remove this directive?" @@ -126,12 +126,12 @@ msgstr "Are you sure you want to remove this directive?" msgid "Are you sure you want to clear the record of chat?" msgstr "Are you sure you want to remove this directive?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 #, fuzzy msgid "Are you sure you want to delete this item permanently?" msgstr "Are you sure you want to remove this directive?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 #, fuzzy msgid "Are you sure you want to delete this item?" msgstr "Are you sure you want to remove this directive?" @@ -141,7 +141,7 @@ msgstr "Are you sure you want to remove this directive?" msgid "Are you sure you want to delete?" msgstr "Are you sure you want to remove this directive?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 #, fuzzy msgid "Are you sure you want to recover this item?" msgstr "Are you sure you want to remove this directive?" @@ -194,7 +194,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "Auto-renewal enabled for %{name}" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -225,7 +225,7 @@ msgstr "" msgid "Base information" msgstr "Base information" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -238,7 +238,7 @@ msgid "Basic Mode" msgstr "Basic Mode" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 #, fuzzy msgid "Batch Modify" msgstr "Modify Config" @@ -315,7 +315,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Certificate is valid" msgstr[1] "Certificate is valid" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "Changed Path" msgstr "Certificate is valid" @@ -334,12 +334,12 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 #, fuzzy msgid "Cleared successfully" msgstr "Disabled successfully" @@ -425,16 +425,17 @@ msgstr "Create Another" msgid "Create File" msgstr "Created at" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 #, fuzzy msgid "Create Folder" msgstr "Create Another" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "Created at" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 #, fuzzy msgid "Created successfully" msgstr "Disabled successfully" @@ -474,8 +475,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "Dashboard" @@ -487,7 +488,7 @@ msgstr "Database (Optional, default: database)" msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -495,7 +496,7 @@ msgstr "" msgid "Delete" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -507,11 +508,12 @@ msgstr "" msgid "Delete stream: %{stream_name}" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 #, fuzzy msgid "Deleted successfully" msgstr "Disabled successfully" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -540,7 +542,7 @@ msgstr "Saved successfully" msgid "Description" msgstr "" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "" @@ -711,7 +713,7 @@ msgstr "Saved successfully" msgid "Edit %{n}" msgstr "Edit %{n}" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "Edit Configuration" @@ -803,10 +805,6 @@ msgstr "Enabled successfully" msgid "Encrypt website with Let's Encrypt" msgstr "Encrypt website with Let's Encrypt" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "" @@ -821,6 +819,7 @@ msgid "Environments" msgstr "Comments" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "" @@ -903,16 +902,16 @@ msgstr "Finished" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 #, fuzzy msgid "Format error %{msg}" msgstr "Save error %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 #, fuzzy msgid "Format successfully" msgstr "Saved successfully" @@ -1002,7 +1001,7 @@ msgstr "Certificate Status" msgid "Incorrect username or password" msgstr "" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "" @@ -1045,17 +1044,17 @@ msgstr "Invalid E-mail!" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 #, fuzzy msgid "Invalid filename" msgstr "Invalid E-mail!" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1195,8 +1194,8 @@ msgstr "" "Make sure you have configured a reverse proxy for .well-known directory to " "HTTPChallengePort (default: 9180) before getting the certificate." -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "Manage Configs" @@ -1242,7 +1241,7 @@ msgstr "Advance Mode" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 #, fuzzy msgid "Modify" @@ -1271,8 +1270,8 @@ msgstr "Single Directive" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1300,12 +1299,12 @@ msgstr "Network Total Receive" msgid "Network Total Send" msgstr "Network Total Send" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 #, fuzzy msgid "New name" msgstr "Username" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "New Path" msgstr "Path" @@ -1357,13 +1356,13 @@ msgstr "Saved successfully" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1391,7 +1390,7 @@ msgstr "Not Valid Before: %{date}" msgid "Note" msgstr "" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 #, fuzzy msgid "Notification" msgstr "Certificate is valid" @@ -1434,9 +1433,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1444,7 +1443,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1466,7 +1465,7 @@ msgstr "" msgid "OpenAI" msgstr "" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1479,11 +1478,13 @@ msgstr "OS:" msgid "OS:" msgstr "OS:" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1501,7 +1502,7 @@ msgstr "Password" msgid "Password (*)" msgstr "Password (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1539,13 +1540,13 @@ msgid "" "select one of the credentialsbelow to request the API of the DNS provider." msgstr "" -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Please input a filename" msgstr "Please input your username!" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 #, fuzzy msgid "Please input a folder name" msgstr "Please input your username!" @@ -1620,11 +1621,11 @@ msgstr "Reads" msgid "Receive" msgstr "Receive" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 #, fuzzy msgid "Recovered Successfully" msgstr "Saved successfully" @@ -1708,14 +1709,42 @@ msgstr "Saved successfully" msgid "Removed successfully" msgstr "Saved successfully" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 #, fuzzy msgid "Rename" msgstr "Username" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "Saved successfully" + +#: src/components/Notification/config.ts:35 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "Saved successfully" + +#: src/components/Notification/config.ts:23 +#, fuzzy +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "Saved successfully" + +#: src/language/constants.ts:41 +#, fuzzy +msgid "Rename Remote Config Error" +msgstr "Certificate is valid" + +#: src/language/constants.ts:40 +#, fuzzy +msgid "Rename Remote Config Success" +msgstr "Certificate is valid" + +#: src/views/config/components/Rename.vue:41 #, fuzzy msgid "Rename successfully" msgstr "Enabled successfully" @@ -1746,7 +1775,7 @@ msgstr "Enabled successfully" msgid "Requested with wrong parameters" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "" @@ -1773,7 +1802,7 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1783,7 +1812,7 @@ msgstr "Save" msgid "Save Directive" msgstr "Save Directive" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "Save error %{msg}" @@ -1796,7 +1825,7 @@ msgstr "Save error %{msg}" msgid "Save successfully" msgstr "Saved successfully" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1825,11 +1854,11 @@ msgstr "Send" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1940,7 +1969,7 @@ msgstr "" msgid "Storage" msgstr "Storage" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "" @@ -1957,24 +1986,28 @@ msgstr "" msgid "Switch to light theme" msgstr "" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 #, fuzzy msgid "Sync Certificate" msgstr "Certificate is valid" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 #, fuzzy msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" msgstr "Saved successfully" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "Saved successfully" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Saved successfully" @@ -1989,6 +2022,33 @@ msgstr "Certificate is valid" msgid "Sync Certificate Success" msgstr "Certificate is valid" +#: src/components/Notification/config.ts:12 +#, fuzzy +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "Saved successfully" + +#: src/components/Notification/config.ts:16 +#, fuzzy +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "Saved successfully" + +#: src/components/Notification/config.ts:4 +#, fuzzy +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "Saved successfully" + +#: src/language/constants.ts:44 +#, fuzzy +msgid "Sync Config Error" +msgstr "Certificate is valid" + +#: src/language/constants.ts:43 +#, fuzzy +msgid "Sync Config Success" +msgstr "Certificate is valid" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2121,7 +2181,7 @@ msgstr "" msgid "Tips" msgstr "" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "" @@ -2157,19 +2217,19 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2248,7 +2308,7 @@ msgstr "" msgid "Version" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "" @@ -2269,6 +2329,7 @@ msgstr "Basic Mode" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "Warning" diff --git a/app/src/language/es/app.po b/app/src/language/es/app.po index d5a21a61..1125bc8e 100644 --- a/app/src/language/es/app.po +++ b/app/src/language/es/app.po @@ -41,7 +41,7 @@ msgstr "Usuario" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -57,8 +57,8 @@ msgstr "Acción" msgid "Add" msgstr "Agregar" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 #, fuzzy msgid "Add Configuration" msgstr "Editar Configuración" @@ -119,7 +119,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "¿Está seguro de que quiere borrar?" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 msgid "Are you sure you want to clear all notifications?" msgstr "¿Está seguro de que desea borrar todas las notificaciones?" @@ -127,12 +127,12 @@ msgstr "¿Está seguro de que desea borrar todas las notificaciones?" msgid "Are you sure you want to clear the record of chat?" msgstr "¿Está seguro de que desea borrar el registro del chat?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 #, fuzzy msgid "Are you sure you want to delete this item permanently?" msgstr "¿Está seguro de que quiere borrar?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 #, fuzzy msgid "Are you sure you want to delete this item?" msgstr "¿Está seguro de que quiere borrar?" @@ -141,7 +141,7 @@ msgstr "¿Está seguro de que quiere borrar?" msgid "Are you sure you want to delete?" msgstr "¿Está seguro de que quiere borrar?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 #, fuzzy msgid "Are you sure you want to recover this item?" msgstr "¿Está seguro de que quiere borrar esta directiva?" @@ -194,7 +194,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "Renovación automática habilitada por %{name}" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -224,7 +224,7 @@ msgstr "" msgid "Base information" msgstr "Información general" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -236,7 +236,7 @@ msgid "Basic Mode" msgstr "Modo Básico" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 msgid "Batch Modify" msgstr "Modificar por lotes" @@ -310,7 +310,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Cambiar Certificado" msgstr[1] "Cambiar Certificado" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "Changed Path" msgstr "Cambiar Certificado" @@ -329,12 +329,12 @@ msgstr "Borrar las variables de entorno" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "Borrar" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 msgid "Cleared successfully" msgstr "Limpiado exitoso" @@ -417,16 +417,17 @@ msgstr "Crear otro" msgid "Create File" msgstr "Crear" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 #, fuzzy msgid "Create Folder" msgstr "Crear otro" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "Creado el" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 #, fuzzy msgid "Created successfully" msgstr "Limpiado exitoso" @@ -466,8 +467,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "Panel" @@ -479,7 +480,7 @@ msgstr "Base de datos (Opcional, default: database)" msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -487,7 +488,7 @@ msgstr "" msgid "Delete" msgstr "Eliminar" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -499,10 +500,11 @@ msgstr "Eliminar sitio: %{site_name}" msgid "Delete stream: %{stream_name}" msgstr "Eliminar stream: %{site_name}" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 msgid "Deleted successfully" msgstr "Borrado exitoso" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -530,7 +532,7 @@ msgstr "Desplegado con éxito" msgid "Description" msgstr "Descripción" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "Detalles" @@ -689,7 +691,7 @@ msgstr "Duplicado con éxito a local" msgid "Edit %{n}" msgstr "Editar %{n}" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "Editar Configuración" @@ -778,10 +780,6 @@ msgstr "Habilitado con éxito" msgid "Encrypt website with Let's Encrypt" msgstr "Encriptar sitio web con Let's Encrypt" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "Entorno" @@ -796,6 +794,7 @@ msgid "Environments" msgstr "Entornos" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "Error" @@ -877,15 +876,15 @@ msgstr "Terminado" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "Para usuario chino: https://mirror.ghproxy.com/" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "Código de formato" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 msgid "Format error %{msg}" msgstr "Error de formato %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 msgid "Format successfully" msgstr "Formateado correctamente" @@ -972,7 +971,7 @@ msgstr "Importar Certificado" msgid "Incorrect username or password" msgstr "El nombre de usuario o contraseña son incorrectos" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "Información" @@ -1014,17 +1013,17 @@ msgstr "Válido" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 #, fuzzy msgid "Invalid filename" msgstr "Válido" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1156,8 +1155,8 @@ msgstr "" "Asegúrese de haber configurado un proxy reverso para el directorio .well-" "known en HTTPChallengePort antes de obtener el certificado." -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "Administrar configuraciones" @@ -1201,7 +1200,7 @@ msgstr "Modo de ejecución" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 msgid "Modify" msgstr "Modificar" @@ -1227,8 +1226,8 @@ msgstr "Directiva multilínea" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1256,12 +1255,12 @@ msgstr "Total recibido por la red" msgid "Network Total Send" msgstr "Total enviado por la red" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 #, fuzzy msgid "New name" msgstr "Renombrar" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "New Path" msgstr "Ruta" @@ -1310,13 +1309,13 @@ msgstr "Nginx reiniciado con éxito" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1344,7 +1343,7 @@ msgstr "No válido antes: %{date}" msgid "Note" msgstr "Nota" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 msgid "Notification" msgstr "Notificación" @@ -1384,9 +1383,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1394,7 +1393,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1416,7 +1415,7 @@ msgstr "En línea" msgid "OpenAI" msgstr "OpenAI" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1428,11 +1427,13 @@ msgstr "SO" msgid "OS:" msgstr "SO:" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "Sobrescribir" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1450,7 +1451,7 @@ msgstr "Contraseña" msgid "Password (*)" msgstr "Contraseña (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1493,13 +1494,13 @@ msgstr "" "luego seleccione una de las credenciales de aquí debajo para llamar a la API " "del proveedor de DNS." -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Please input a filename" msgstr "¡Por favor ingrese su nombre de usuario!" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 #, fuzzy msgid "Please input a folder name" msgstr "¡Por favor ingrese su nombre de usuario!" @@ -1577,11 +1578,11 @@ msgstr "Lecturas" msgid "Receive" msgstr "Recibido" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 #, fuzzy msgid "Recovered Successfully" msgstr "Eliminado con éxito" @@ -1665,13 +1666,41 @@ msgstr "Eliminado con éxito" msgid "Removed successfully" msgstr "Eliminado con éxito" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 msgid "Rename" msgstr "Renombrar" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" + +#: src/components/Notification/config.ts:35 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" + +#: src/components/Notification/config.ts:23 +#, fuzzy +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" + +#: src/language/constants.ts:41 +#, fuzzy +msgid "Rename Remote Config Error" +msgstr "Error al renovar el Certificado" + +#: src/language/constants.ts:40 +#, fuzzy +msgid "Rename Remote Config Success" +msgstr "Renovado de Certificado exitoso" + +#: src/views/config/components/Rename.vue:41 #, fuzzy msgid "Rename successfully" msgstr "Renovado con éxito" @@ -1698,7 +1727,7 @@ msgstr "Renovado con éxito" msgid "Requested with wrong parameters" msgstr "Pedido con parámetros incorrectos" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "Limpiar" @@ -1725,7 +1754,7 @@ msgstr "Corriendo" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1735,7 +1764,7 @@ msgstr "Guardar" msgid "Save Directive" msgstr "Guardar Directiva" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "Error al guardar %{msg}" @@ -1747,7 +1776,7 @@ msgstr "Error al guardar %{msg}" msgid "Save successfully" msgstr "Guardado con éxito" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1776,11 +1805,11 @@ msgstr "Enviado" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1884,7 +1913,7 @@ msgstr "Detenido" msgid "Storage" msgstr "Almacenamiento" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "Éxito" @@ -1901,24 +1930,28 @@ msgstr "Cambiar al tema oscuro" msgid "Switch to light theme" msgstr "Cambiar al tema claro" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 #, fuzzy msgid "Sync Certificate" msgstr "Renovar Certificado" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 #, fuzzy msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" @@ -1933,6 +1966,33 @@ msgstr "Error al renovar el Certificado" msgid "Sync Certificate Success" msgstr "Renovado de Certificado exitoso" +#: src/components/Notification/config.ts:12 +#, fuzzy +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" + +#: src/components/Notification/config.ts:16 +#, fuzzy +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" + +#: src/components/Notification/config.ts:4 +#, fuzzy +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" + +#: src/language/constants.ts:44 +#, fuzzy +msgid "Sync Config Error" +msgstr "Error al renovar el Certificado" + +#: src/language/constants.ts:43 +#, fuzzy +msgid "Sync Config Success" +msgstr "Renovado de Certificado exitoso" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2066,7 +2126,7 @@ msgstr "" msgid "Tips" msgstr "" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "Título" @@ -2106,19 +2166,19 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "Tipo" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2195,7 +2255,7 @@ msgstr "Válido" msgid "Version" msgstr "Versión actual" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "Ver" @@ -2216,6 +2276,7 @@ msgstr "Modo Básico" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "Advertencia" diff --git a/app/src/language/fr_FR/app.po b/app/src/language/fr_FR/app.po index 643d53db..46f72fa1 100644 --- a/app/src/language/fr_FR/app.po +++ b/app/src/language/fr_FR/app.po @@ -38,7 +38,7 @@ msgstr "Nom d'utilisateur" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -54,8 +54,8 @@ msgstr "Action" msgid "Add" msgstr "Ajouter" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 #, fuzzy msgid "Add Configuration" msgstr "Modifier la configuration" @@ -120,7 +120,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "Etes-vous sûr que vous voulez supprimer ?" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 #, fuzzy msgid "Are you sure you want to clear all notifications?" msgstr "Voulez-vous vraiment effacer l'historique du chat ?" @@ -129,12 +129,12 @@ msgstr "Voulez-vous vraiment effacer l'historique du chat ?" msgid "Are you sure you want to clear the record of chat?" msgstr "Voulez-vous vraiment effacer l'historique du chat ?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 #, fuzzy msgid "Are you sure you want to delete this item permanently?" msgstr "Etes-vous sûr que vous voulez supprimer ?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 #, fuzzy msgid "Are you sure you want to delete this item?" msgstr "Etes-vous sûr que vous voulez supprimer ?" @@ -143,7 +143,7 @@ msgstr "Etes-vous sûr que vous voulez supprimer ?" msgid "Are you sure you want to delete?" msgstr "Etes-vous sûr que vous voulez supprimer ?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 #, fuzzy msgid "Are you sure you want to recover this item?" msgstr "Voulez-vous vraiment supprimer cette directive ?" @@ -197,7 +197,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "Renouvellement automatique activé pour %{name}" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -227,7 +227,7 @@ msgstr "" msgid "Base information" msgstr "Information générale" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -239,7 +239,7 @@ msgid "Basic Mode" msgstr "Mode simple" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 #, fuzzy msgid "Batch Modify" msgstr "Batch Modify" @@ -316,7 +316,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Changer de certificat" msgstr[1] "Changer de certificat" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "Changed Path" msgstr "Changer de certificat" @@ -335,12 +335,12 @@ msgstr "Nettoyage des variables d'environnement" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "Effacer" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 #, fuzzy msgid "Cleared successfully" msgstr "Désactivé avec succès" @@ -425,16 +425,17 @@ msgstr "Créer un autre" msgid "Create File" msgstr "Créé le" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 #, fuzzy msgid "Create Folder" msgstr "Créer un autre" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "Créé le" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 #, fuzzy msgid "Created successfully" msgstr "Désactivé avec succès" @@ -474,8 +475,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "Dashboard" @@ -487,7 +488,7 @@ msgstr "Base de données (Facultatif, par défaut : database)" msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -495,7 +496,7 @@ msgstr "" msgid "Delete" msgstr "Supprimer" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -508,11 +509,12 @@ msgstr "Supprimer le site : %{site_name}" msgid "Delete stream: %{stream_name}" msgstr "Supprimer le site : %{site_name}" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 #, fuzzy msgid "Deleted successfully" msgstr "Désactivé avec succès" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -541,7 +543,7 @@ msgstr "Sauvegarde réussie" msgid "Description" msgstr "Description" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "" @@ -711,7 +713,7 @@ msgstr "Dupliqué avec succès" msgid "Edit %{n}" msgstr "Modifier %{n}" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "Modifier la configuration" @@ -803,10 +805,6 @@ msgstr "Activé avec succès" msgid "Encrypt website with Let's Encrypt" msgstr "Crypter le site Web avec Let's Encrypt" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "" @@ -822,6 +820,7 @@ msgid "Environments" msgstr "Commentaires" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "Erreur" @@ -907,15 +906,15 @@ msgstr "Finie" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "Utilisateur chinois : https://mirror.ghproxy.com/" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "Code de formatage" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 msgid "Format error %{msg}" msgstr "Erreur de format %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 msgid "Format successfully" msgstr "Formaté avec succès" @@ -1005,7 +1004,7 @@ msgstr "État du certificat" msgid "Incorrect username or password" msgstr "Le pseudo ou mot de passe est incorect" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "" @@ -1046,16 +1045,16 @@ msgstr "" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 msgid "Invalid filename" msgstr "" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1197,8 +1196,8 @@ msgstr "" "Assurez vous d'avoir configuré un reverse proxy pour le répertoire .well-" "known vers HTTPChallengePort avant d'obtenir le certificat." -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "Gérer les configurations" @@ -1244,7 +1243,7 @@ msgstr "Mode d'exécution" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 msgid "Modify" msgstr "Modifier" @@ -1271,8 +1270,8 @@ msgstr "Directive multiligne" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1300,12 +1299,12 @@ msgstr "Réception totale du réseau" msgid "Network Total Send" msgstr "Envoi total réseau" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 #, fuzzy msgid "New name" msgstr "Nom d'utilisateur" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "New Path" msgstr "Chemin" @@ -1355,13 +1354,13 @@ msgstr "Nginx a redémarré avec succès" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1390,7 +1389,7 @@ msgstr "Non valide avant : %{date}" msgid "Note" msgstr "Note" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 #, fuzzy msgid "Notification" msgstr "Certification" @@ -1432,9 +1431,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1442,7 +1441,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1464,7 +1463,7 @@ msgstr "" msgid "OpenAI" msgstr "OpenAI" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1476,11 +1475,13 @@ msgstr "OS" msgid "OS:" msgstr "OS :" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1498,7 +1499,7 @@ msgstr "Mot de passe" msgid "Password (*)" msgstr "Mot de passe (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1541,13 +1542,13 @@ msgstr "" "des informations d'identification ci-dessous pour demander l'API du " "fournisseur DNS." -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Please input a filename" msgstr "Veuillez saisir votre nom d'utilisateur !" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 #, fuzzy msgid "Please input a folder name" msgstr "Veuillez saisir votre nom d'utilisateur !" @@ -1626,11 +1627,11 @@ msgstr "Lectures" msgid "Receive" msgstr "Recevoir" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 #, fuzzy msgid "Recovered Successfully" msgstr "Enregistré avec succès" @@ -1715,14 +1716,42 @@ msgstr "Enregistré avec succès" msgid "Removed successfully" msgstr "Enregistré avec succès" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 #, fuzzy msgid "Rename" msgstr "Nom d'utilisateur" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/config.ts:35 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/config.ts:23 +#, fuzzy +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "Dupliqué avec succès" + +#: src/language/constants.ts:41 +#, fuzzy +msgid "Rename Remote Config Error" +msgstr "Changer de certificat" + +#: src/language/constants.ts:40 +#, fuzzy +msgid "Rename Remote Config Success" +msgstr "Changer de certificat" + +#: src/views/config/components/Rename.vue:41 #, fuzzy msgid "Rename successfully" msgstr "Activé avec succès" @@ -1753,7 +1782,7 @@ msgstr "Activé avec succès" msgid "Requested with wrong parameters" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "Réinitialiser" @@ -1780,7 +1809,7 @@ msgstr "En cours d'éxécution" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1790,7 +1819,7 @@ msgstr "Enregistrer" msgid "Save Directive" msgstr "Enregistrer la directive" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "Enregistrer l'erreur %{msg}" @@ -1802,7 +1831,7 @@ msgstr "Enregistrer l'erreur %{msg}" msgid "Save successfully" msgstr "Sauvegarde réussie" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1831,11 +1860,11 @@ msgstr "Envoyer" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1945,7 +1974,7 @@ msgstr "Arrêté" msgid "Storage" msgstr "Stockage" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "" @@ -1963,24 +1992,28 @@ msgstr "" msgid "Switch to light theme" msgstr "" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 #, fuzzy msgid "Sync Certificate" msgstr "Changer de certificat" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 #, fuzzy msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" msgstr "Dupliqué avec succès" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "Dupliqué avec succès" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Dupliqué avec succès" @@ -1995,6 +2028,33 @@ msgstr "Changer de certificat" msgid "Sync Certificate Success" msgstr "Changer de certificat" +#: src/components/Notification/config.ts:12 +#, fuzzy +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/config.ts:16 +#, fuzzy +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/config.ts:4 +#, fuzzy +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "Dupliqué avec succès" + +#: src/language/constants.ts:44 +#, fuzzy +msgid "Sync Config Error" +msgstr "Changer de certificat" + +#: src/language/constants.ts:43 +#, fuzzy +msgid "Sync Config Success" +msgstr "Changer de certificat" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2131,7 +2191,7 @@ msgstr "" msgid "Tips" msgstr "" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "" @@ -2171,19 +2231,19 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "Type" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2261,7 +2321,7 @@ msgstr "" msgid "Version" msgstr "Version actuelle" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "Voir" @@ -2282,6 +2342,7 @@ msgstr "Mode simple" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "Avertissement" diff --git a/app/src/language/ko_KR/app.po b/app/src/language/ko_KR/app.po index 29f58c54..9e91dea4 100644 --- a/app/src/language/ko_KR/app.po +++ b/app/src/language/ko_KR/app.po @@ -40,7 +40,7 @@ msgstr "사용자 이름" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -56,8 +56,8 @@ msgstr "작업" msgid "Add" msgstr "추가" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 #, fuzzy msgid "Add Configuration" msgstr "구성 편집" @@ -118,7 +118,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "정말 삭제하시겠습니까?" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 msgid "Are you sure you want to clear all notifications?" msgstr "모든 알림을 지우시겠습니까?" @@ -126,12 +126,12 @@ msgstr "모든 알림을 지우시겠습니까?" msgid "Are you sure you want to clear the record of chat?" msgstr "기록을 지우시겠습니까?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 #, fuzzy msgid "Are you sure you want to delete this item permanently?" msgstr "정말 삭제하시겠습니까?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 #, fuzzy msgid "Are you sure you want to delete this item?" msgstr "정말 삭제하시겠습니까?" @@ -140,7 +140,7 @@ msgstr "정말 삭제하시겠습니까?" msgid "Are you sure you want to delete?" msgstr "정말 삭제하시겠습니까?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 #, fuzzy msgid "Are you sure you want to recover this item?" msgstr "이 지시문을 정말로 제거하시겠습니까?" @@ -193,7 +193,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "%{name}에 대한 자동 갱신 활성화됨" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -223,7 +223,7 @@ msgstr "" msgid "Base information" msgstr "기본 정보" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -235,7 +235,7 @@ msgid "Basic Mode" msgstr "기본 모드" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 msgid "Batch Modify" msgstr "일괄 수정" @@ -309,7 +309,7 @@ msgid_plural "Changed Certificates" msgstr[0] "인증서 변경" msgstr[1] "인증서 변경" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "Changed Path" msgstr "인증서 변경" @@ -328,12 +328,12 @@ msgstr "환경 변수 정리" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "클리어" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 msgid "Cleared successfully" msgstr "성공적으로 제거됨" @@ -415,16 +415,17 @@ msgstr "다른 것 생성하기" msgid "Create File" msgstr "생성" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 #, fuzzy msgid "Create Folder" msgstr "다른 것 생성하기" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "생성 시간" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 #, fuzzy msgid "Created successfully" msgstr "성공적으로 제거됨" @@ -464,8 +465,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "대시보드" @@ -477,7 +478,7 @@ msgstr "데이터베이스 (선택사항, 기본값: database)" msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -485,7 +486,7 @@ msgstr "" msgid "Delete" msgstr "삭제" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -497,10 +498,11 @@ msgstr "사이트 삭제: %{site_name}" msgid "Delete stream: %{stream_name}" msgstr "스트림 삭제: %{stream_name}" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 msgid "Deleted successfully" msgstr "성공적으로 삭제됨" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -528,7 +530,7 @@ msgstr "성공적으로 배포됨" msgid "Description" msgstr "설명" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "세부 사항" @@ -687,7 +689,7 @@ msgstr "로컬로 성공적으로 복제됨" msgid "Edit %{n}" msgstr "%{n} 편집" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "구성 편집" @@ -776,11 +778,6 @@ msgstr "성공적으로 활성화됨" msgid "Encrypt website with Let's Encrypt" msgstr "Let's Encrypt로 웹사이트 암호화" -#: src/views/config/ConfigList.vue:151 -#, fuzzy -msgid "Enter" -msgstr "간격" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "환경" @@ -795,6 +792,7 @@ msgid "Environments" msgstr "환경" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "오류" @@ -877,16 +875,16 @@ msgstr "완료됨" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "중국 사용자를 위해: https://mirror.ghproxy.com/" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "코드 형식" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 #, fuzzy msgid "Format error %{msg}" msgstr "형식 오류 %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 #, fuzzy msgid "Format successfully" msgstr "성공적으로 형식 지정됨" @@ -977,7 +975,7 @@ msgstr "인증서 상태" msgid "Incorrect username or password" msgstr "사용자 이름 또는 비밀번호가 올바르지 않습니다" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "정보" @@ -1020,17 +1018,17 @@ msgstr "유효함" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 #, fuzzy msgid "Invalid filename" msgstr "Invalid E-mail!" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1175,8 +1173,8 @@ msgstr "" "인증서를 획득하기 전에 .well-known 디렉토리에 대한역방향 프록시를 " "HTTPChallengePort(기본값: 9180)로 구성했는지 확인하세요." -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "구성 관리" @@ -1222,7 +1220,7 @@ msgstr "실행 모드" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 #, fuzzy msgid "Modify" @@ -1251,8 +1249,8 @@ msgstr "단일 지시문" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1280,12 +1278,12 @@ msgstr "네트워크 총 수신" msgid "Network Total Send" msgstr "네트워크 총 송신" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 #, fuzzy msgid "New name" msgstr "이름 변경" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "New Path" msgstr "경로" @@ -1337,13 +1335,13 @@ msgstr "Nginx가 성공적으로 재시작됨" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1371,7 +1369,7 @@ msgstr "유효 시작일: %{date}" msgid "Note" msgstr "참고" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 #, fuzzy msgid "Notification" msgstr "알림" @@ -1414,9 +1412,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1424,7 +1422,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1446,7 +1444,7 @@ msgstr "온라인" msgid "OpenAI" msgstr "오픈AI" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1459,11 +1457,13 @@ msgstr "OS" msgid "OS:" msgstr "OS:" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "덮어쓰기" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1481,7 +1481,7 @@ msgstr "비밀번호" msgid "Password (*)" msgstr "비밀번호 (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1521,13 +1521,13 @@ msgstr "" "먼저 인증서 > DNS 자격 증명에 자격 증명을 추가한 다음,DNS 제공자의 API를 요청" "하려면 아래 자격 증명 중 하나를 선택해주세요." -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Please input a filename" msgstr "사용자 이름을 입력해주세요!" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 #, fuzzy msgid "Please input a folder name" msgstr "사용자 이름을 입력해주세요!" @@ -1602,11 +1602,11 @@ msgstr "읽기" msgid "Receive" msgstr "수신" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 #, fuzzy msgid "Recovered Successfully" msgstr "성공적으로 제거됨" @@ -1692,14 +1692,42 @@ msgstr "성공적으로 제거됨" msgid "Removed successfully" msgstr "성공적으로 제거됨" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 #, fuzzy msgid "Rename" msgstr "이름 변경" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" + +#: src/components/Notification/config.ts:35 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" + +#: src/components/Notification/config.ts:23 +#, fuzzy +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" + +#: src/language/constants.ts:41 +#, fuzzy +msgid "Rename Remote Config Error" +msgstr "인증서 갱신 오류" + +#: src/language/constants.ts:40 +#, fuzzy +msgid "Rename Remote Config Success" +msgstr "인증서 갱신 성공" + +#: src/views/config/components/Rename.vue:41 #, fuzzy msgid "Rename successfully" msgstr "성공적으로 갱신됨" @@ -1730,7 +1758,7 @@ msgstr "성공적으로 갱신됨" msgid "Requested with wrong parameters" msgstr "잘못된 매개변수로 요청됨" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "재설정" @@ -1758,7 +1786,7 @@ msgstr "실행 중" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1768,7 +1796,7 @@ msgstr "저장" msgid "Save Directive" msgstr "지시문 저장" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "저장 오류 %{msg}" @@ -1781,7 +1809,7 @@ msgstr "저장 오류 %{msg}" msgid "Save successfully" msgstr "성공적으로 저장됨" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1810,11 +1838,11 @@ msgstr "보내기" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1924,7 +1952,7 @@ msgstr "정지됨" msgid "Storage" msgstr "저장소" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "성공" @@ -1941,24 +1969,28 @@ msgstr "다크 테마로 변경" msgid "Switch to light theme" msgstr "라이트 테마로 변경" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 #, fuzzy msgid "Sync Certificate" msgstr "인증서 갱신" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 #, fuzzy msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" @@ -1973,6 +2005,33 @@ msgstr "인증서 갱신 오류" msgid "Sync Certificate Success" msgstr "인증서 갱신 성공" +#: src/components/Notification/config.ts:12 +#, fuzzy +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" + +#: src/components/Notification/config.ts:16 +#, fuzzy +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" + +#: src/components/Notification/config.ts:4 +#, fuzzy +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" + +#: src/language/constants.ts:44 +#, fuzzy +msgid "Sync Config Error" +msgstr "인증서 갱신 오류" + +#: src/language/constants.ts:43 +#, fuzzy +msgid "Sync Config Success" +msgstr "인증서 갱신 성공" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2107,7 +2166,7 @@ msgstr "" msgid "Tips" msgstr "팁" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "제목" @@ -2146,19 +2205,19 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "유형" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2238,7 +2297,7 @@ msgstr "유효함" msgid "Version" msgstr "현재 버전" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "보기" @@ -2260,6 +2319,7 @@ msgstr "기본 모드" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "경고" @@ -2307,6 +2367,10 @@ msgstr "최신 버전을 사용하고 있습니다" msgid "You can check Nginx UI upgrade at this page." msgstr "이 페이지에서 Nginx UI 업그레이드를 확인할 수 있습니다." +#, fuzzy +#~ msgid "Enter" +#~ msgstr "간격" + #, fuzzy #~ msgid "Rename " #~ msgstr "이름 변경" diff --git a/app/src/language/messages.pot b/app/src/language/messages.pot index 22886512..66a56bd4 100644 --- a/app/src/language/messages.pot +++ b/app/src/language/messages.pot @@ -31,7 +31,7 @@ msgstr "" #: src/views/config/configColumns.ts:38 #: src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 #: src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 @@ -49,8 +49,8 @@ msgid "Add" msgstr "" #: src/routes/index.ts:112 -#: src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 msgid "Add Configuration" msgstr "" @@ -110,7 +110,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 msgid "Are you sure you want to clear all notifications?" msgstr "" @@ -118,11 +118,11 @@ msgstr "" msgid "Are you sure you want to clear the record of chat?" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 msgid "Are you sure you want to delete this item permanently?" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 msgid "Are you sure you want to delete this item?" msgstr "" @@ -131,7 +131,7 @@ msgstr "" msgid "Are you sure you want to delete?" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 msgid "Are you sure you want to recover this item?" msgstr "" @@ -181,7 +181,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 +#: src/views/config/ConfigEditor.vue:205 #: src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 #: src/views/domain/DomainEdit.vue:253 @@ -214,7 +214,7 @@ msgstr "" msgid "Base information" msgstr "" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -227,7 +227,7 @@ msgid "Basic Mode" msgstr "" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 msgid "Batch Modify" msgstr "" @@ -297,7 +297,7 @@ msgid_plural "Changed Certificates" msgstr[0] "" msgstr[1] "" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 msgid "Changed Path" msgstr "" @@ -316,12 +316,12 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 msgid "Cleared successfully" msgstr "" @@ -402,17 +402,17 @@ msgstr "" msgid "Create File" msgstr "" -#: src/views/config/components/Mkdir.vue:50 +#: src/views/config/components/Mkdir.vue:48 #: src/views/config/ConfigList.vue:116 msgid "Create Folder" msgstr "" -#: src/views/notification/Notification.vue:31 +#: src/views/notification/notificationColumns.tsx:48 #: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 msgid "Created successfully" msgstr "" @@ -450,8 +450,8 @@ msgid "Customize the name of local server to be displayed in the environment ind msgstr "" #: src/routes/index.ts:39 -#: src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 +#: src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 #: src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "" @@ -464,7 +464,7 @@ msgstr "" msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -472,7 +472,7 @@ msgstr "" msgid "Delete" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -484,10 +484,11 @@ msgstr "" msgid "Delete stream: %{stream_name}" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 msgid "Deleted successfully" msgstr "" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -515,7 +516,7 @@ msgstr "" msgid "Description" msgstr "" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "" @@ -680,7 +681,7 @@ msgid "Edit %{n}" msgstr "" #: src/routes/index.ts:122 -#: src/views/config/ConfigEditor.vue:187 +#: src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "" @@ -769,10 +770,6 @@ msgstr "" msgid "Encrypt website with Let's Encrypt" msgstr "" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "" - #: src/routes/index.ts:228 #: src/views/environment/Environment.vue:34 msgid "Environment" @@ -788,6 +785,7 @@ msgstr "" #: src/constants/index.ts:16 #: src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "" @@ -870,15 +868,15 @@ msgstr "" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 msgid "Format error %{msg}" msgstr "" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 msgid "Format successfully" msgstr "" @@ -961,6 +959,7 @@ msgid "Incorrect username or password" msgstr "" #: src/constants/index.ts:18 +#: src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "" @@ -1002,16 +1001,16 @@ msgstr "" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 msgid "Invalid filename" msgstr "" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1134,8 +1133,8 @@ msgid "Make sure you have configured a reverse proxy for .well-known directory t msgstr "" #: src/routes/index.ts:102 -#: src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 +#: src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 #: src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "" @@ -1182,7 +1181,7 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 msgid "Modify" msgstr "" @@ -1208,9 +1207,9 @@ msgstr "" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 +#: src/views/config/components/Mkdir.vue:65 #: src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1239,11 +1238,11 @@ msgstr "" msgid "Network Total Send" msgstr "" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 msgid "New name" msgstr "" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 msgid "New Path" msgstr "" @@ -1293,13 +1292,13 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1327,7 +1326,7 @@ msgstr "" msgid "Note" msgstr "" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 msgid "Notification" msgstr "" @@ -1366,9 +1365,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1376,7 +1375,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1398,7 +1397,7 @@ msgstr "" msgid "OpenAI" msgstr "" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1410,11 +1409,13 @@ msgstr "" msgid "OS:" msgstr "" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1433,7 +1434,7 @@ msgstr "" msgid "Password (*)" msgstr "" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1467,12 +1468,12 @@ msgstr "" msgid "Please first add credentials in Certification > DNS Credentials, and then select one of the credentialsbelow to request the API of the DNS provider." msgstr "" -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 msgid "Please input a filename" msgstr "" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 msgid "Please input a folder name" msgstr "" @@ -1546,11 +1547,11 @@ msgstr "" msgid "Receive" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 msgid "Recovered Successfully" msgstr "" @@ -1628,13 +1629,33 @@ msgstr "" msgid "Removed successfully" msgstr "" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 msgid "Rename" msgstr "" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the remote Nginx UI to the latest version" +msgstr "" + +#: src/components/Notification/config.ts:35 +msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "" + +#: src/components/Notification/config.ts:23 +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "" + +#: src/language/constants.ts:41 +msgid "Rename Remote Config Error" +msgstr "" + +#: src/language/constants.ts:40 +msgid "Rename Remote Config Success" +msgstr "" + +#: src/views/config/components/Rename.vue:41 msgid "Rename successfully" msgstr "" @@ -1660,7 +1681,7 @@ msgstr "" msgid "Requested with wrong parameters" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "" @@ -1686,7 +1707,7 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 +#: src/views/config/ConfigEditor.vue:214 #: src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 @@ -1698,7 +1719,7 @@ msgstr "" msgid "Save Directive" msgstr "" -#: src/views/config/ConfigEditor.vue:154 +#: src/views/config/ConfigEditor.vue:163 #: src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" @@ -1711,7 +1732,7 @@ msgstr "" msgid "Save successfully" msgstr "" -#: src/views/config/ConfigEditor.vue:150 +#: src/views/config/ConfigEditor.vue:159 #: src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 @@ -1741,11 +1762,11 @@ msgstr "" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 #: src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 @@ -1853,6 +1874,7 @@ msgid "Storage" msgstr "" #: src/constants/index.ts:19 +#: src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "" @@ -1869,19 +1891,23 @@ msgstr "" msgid "Switch to light theme" msgstr "" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 msgid "Sync Certificate" msgstr "" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 msgid "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the remote Nginx UI to the latest version" msgstr "" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "" @@ -1893,6 +1919,26 @@ msgstr "" msgid "Sync Certificate Success" msgstr "" +#: src/components/Notification/config.ts:12 +msgid "Sync config %{cert_name} to %{env_name} failed, please upgrade the remote Nginx UI to the latest version" +msgstr "" + +#: src/components/Notification/config.ts:16 +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "" + +#: src/components/Notification/config.ts:4 +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "" + +#: src/language/constants.ts:44 +msgid "Sync Config Error" +msgstr "" + +#: src/language/constants.ts:43 +msgid "Sync Config Success" +msgstr "" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2004,7 +2050,7 @@ msgstr "" msgid "Tips" msgstr "" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "" @@ -2032,20 +2078,20 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 #: src/views/config/configColumns.ts:31 -#: src/views/config/ConfigEditor.vue:258 +#: src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 #: src/views/environment/envColumns.tsx:124 @@ -2126,7 +2172,7 @@ msgstr "" msgid "Version" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "" @@ -2146,6 +2192,7 @@ msgstr "" #: src/constants/index.ts:17 #: src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "" diff --git a/app/src/language/ru_RU/app.po b/app/src/language/ru_RU/app.po index fda952cc..1b8a0404 100644 --- a/app/src/language/ru_RU/app.po +++ b/app/src/language/ru_RU/app.po @@ -36,7 +36,7 @@ msgstr "Пользователь" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -52,8 +52,8 @@ msgstr "Действие" msgid "Add" msgstr "Добавить" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 #, fuzzy msgid "Add Configuration" msgstr "Редактировать Конфигурацию" @@ -116,7 +116,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "Вы уверены, что хотите удалить?" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 #, fuzzy msgid "Are you sure you want to clear all notifications?" msgstr "Вы уверены, что хотите удалить все уведомления?" @@ -126,12 +126,12 @@ msgstr "Вы уверены, что хотите удалить все увед msgid "Are you sure you want to clear the record of chat?" msgstr "Вы уверены, что хотите очистить сообщения чата?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 #, fuzzy msgid "Are you sure you want to delete this item permanently?" msgstr "Вы уверены, что хотите удалить?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 #, fuzzy msgid "Are you sure you want to delete this item?" msgstr "Вы уверены, что хотите удалить?" @@ -141,7 +141,7 @@ msgstr "Вы уверены, что хотите удалить?" msgid "Are you sure you want to delete?" msgstr "Вы уверены, что хотите удалить?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 #, fuzzy msgid "Are you sure you want to recover this item?" msgstr "Вы уверены, что хотите удалить эту директиву?" @@ -195,7 +195,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "Автообновление включено для %{name}" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -226,7 +226,7 @@ msgstr "" msgid "Base information" msgstr "Основная информация" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -239,7 +239,7 @@ msgid "Basic Mode" msgstr "Простой режим" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 #, fuzzy msgid "Batch Modify" msgstr "Изменение конфигурации" @@ -317,7 +317,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Сертификат действителен" msgstr[1] "Сертификат действителен" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "Changed Path" msgstr "Сертификат действителен" @@ -336,12 +336,12 @@ msgstr "Очистка переменных среды" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "Очистить" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 #, fuzzy msgid "Cleared successfully" msgstr "Отключено успешно" @@ -427,16 +427,17 @@ msgstr "Создать еще" msgid "Create File" msgstr "Создан в" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 #, fuzzy msgid "Create Folder" msgstr "Создать еще" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "Создан в" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 #, fuzzy msgid "Created successfully" msgstr "Отключено успешно" @@ -476,8 +477,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "Доска" @@ -489,7 +490,7 @@ msgstr "База данных (Опционально, по умолчанию: msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -497,7 +498,7 @@ msgstr "" msgid "Delete" msgstr "Удалить" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -509,11 +510,12 @@ msgstr "" msgid "Delete stream: %{stream_name}" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 #, fuzzy msgid "Deleted successfully" msgstr "Отключено успешно" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -542,7 +544,7 @@ msgstr "Saved successfully" msgid "Description" msgstr "Описание" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "" @@ -715,7 +717,7 @@ msgstr "Saved successfully" msgid "Edit %{n}" msgstr "Редактировать %{n}" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "Редактировать Конфигурацию" @@ -807,10 +809,6 @@ msgstr "Активировано успешно" msgid "Encrypt website with Let's Encrypt" msgstr "Использовать для сайта Let's Encrypt" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "Окружение" @@ -826,6 +824,7 @@ msgid "Environments" msgstr "Комментарии" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "Ошибка" @@ -908,16 +907,16 @@ msgstr "Готово" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "Форматировать код" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 #, fuzzy msgid "Format error %{msg}" msgstr "Ошибка форматирования %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 #, fuzzy msgid "Format successfully" msgstr "Форматирование успешно" @@ -1009,7 +1008,7 @@ msgstr "Статус сертификата" msgid "Incorrect username or password" msgstr "Имя пользователя или пароль неверны" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "" @@ -1052,17 +1051,17 @@ msgstr "Действительный" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 #, fuzzy msgid "Invalid filename" msgstr "Invalid E-mail!" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1203,8 +1202,8 @@ msgstr "" "Убедитесь, что вы настроили обратный прокси-сервер для каталога .well-known " "на HTTPChallengePort перед получением сертификата»." -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "Конфигурации" @@ -1250,7 +1249,7 @@ msgstr "Расширенный режим" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 #, fuzzy msgid "Modify" @@ -1279,8 +1278,8 @@ msgstr "Одиночная директива" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1308,12 +1307,12 @@ msgstr "Всего получено" msgid "Network Total Send" msgstr "Всего отправлено" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 #, fuzzy msgid "New name" msgstr "Имя пользователя" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "New Path" msgstr "Путь" @@ -1366,13 +1365,13 @@ msgstr "Nginx успешно перезапущен" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1400,7 +1399,7 @@ msgstr "Недействительно до: %{date}" msgid "Note" msgstr "Заметка" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 #, fuzzy msgid "Notification" msgstr "Сертификат" @@ -1443,9 +1442,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1453,7 +1452,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1475,7 +1474,7 @@ msgstr "" msgid "OpenAI" msgstr "" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1488,11 +1487,13 @@ msgstr "OS:" msgid "OS:" msgstr "OS:" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1510,7 +1511,7 @@ msgstr "Пароль" msgid "Password (*)" msgstr "Пароль (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1548,13 +1549,13 @@ msgid "" "select one of the credentialsbelow to request the API of the DNS provider." msgstr "" -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Please input a filename" msgstr "Введите ваше имя пользователя!" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 #, fuzzy msgid "Please input a folder name" msgstr "Введите ваше имя пользователя!" @@ -1631,11 +1632,11 @@ msgstr "Чтение" msgid "Receive" msgstr "Принято" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 #, fuzzy msgid "Recovered Successfully" msgstr "Успешно сохранено" @@ -1721,14 +1722,42 @@ msgstr "Успешно сохранено" msgid "Removed successfully" msgstr "Успешно сохранено" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 #, fuzzy msgid "Rename" msgstr "Имя пользователя" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "Продублированно %{conf_name} в %{node_name}" + +#: src/components/Notification/config.ts:35 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "Продублированно %{conf_name} в %{node_name}" + +#: src/components/Notification/config.ts:23 +#, fuzzy +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "Продублированно %{conf_name} в %{node_name}" + +#: src/language/constants.ts:41 +#, fuzzy +msgid "Rename Remote Config Error" +msgstr "Сертификат действителен" + +#: src/language/constants.ts:40 +#, fuzzy +msgid "Rename Remote Config Success" +msgstr "Сертификат действителен" + +#: src/views/config/components/Rename.vue:41 #, fuzzy msgid "Rename successfully" msgstr "Активировано успешно" @@ -1759,7 +1788,7 @@ msgstr "Активировано успешно" msgid "Requested with wrong parameters" msgstr "Запрос с неправильными параметрами" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "Сброс" @@ -1787,7 +1816,7 @@ msgstr "Выполняется" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1797,7 +1826,7 @@ msgstr "Сохранить" msgid "Save Directive" msgstr "Сохранить директиву" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "Ошибка сохранения %{msg}" @@ -1810,7 +1839,7 @@ msgstr "Ошибка сохранения %{msg}" msgid "Save successfully" msgstr "Успешно сохранено" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1839,11 +1868,11 @@ msgstr "Отправлено" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1954,7 +1983,7 @@ msgstr "Остановлен" msgid "Storage" msgstr "Хранилище" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "" @@ -1971,24 +2000,28 @@ msgstr "" msgid "Switch to light theme" msgstr "" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 #, fuzzy msgid "Sync Certificate" msgstr "Сертификат действителен" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 #, fuzzy msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" msgstr "Продублированно %{conf_name} в %{node_name}" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "Продублированно %{conf_name} в %{node_name}" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Продублированно %{conf_name} в %{node_name}" @@ -2003,6 +2036,33 @@ msgstr "Сертификат действителен" msgid "Sync Certificate Success" msgstr "Сертификат действителен" +#: src/components/Notification/config.ts:12 +#, fuzzy +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "Продублированно %{conf_name} в %{node_name}" + +#: src/components/Notification/config.ts:16 +#, fuzzy +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "Продублированно %{conf_name} в %{node_name}" + +#: src/components/Notification/config.ts:4 +#, fuzzy +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "Продублированно %{conf_name} в %{node_name}" + +#: src/language/constants.ts:44 +#, fuzzy +msgid "Sync Config Error" +msgstr "Сертификат действителен" + +#: src/language/constants.ts:43 +#, fuzzy +msgid "Sync Config Success" +msgstr "Сертификат действителен" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2138,7 +2198,7 @@ msgstr "" msgid "Tips" msgstr "" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "Заголовок" @@ -2174,19 +2234,19 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "Тип" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2266,7 +2326,7 @@ msgstr "Действительный" msgid "Version" msgstr "Текущяя версия" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "Просмотр" @@ -2287,6 +2347,7 @@ msgstr "Простой режим" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "Внимание" diff --git a/app/src/language/vi_VN/app.po b/app/src/language/vi_VN/app.po index 60b20cf5..8f12dcac 100644 --- a/app/src/language/vi_VN/app.po +++ b/app/src/language/vi_VN/app.po @@ -36,7 +36,7 @@ msgstr "Người dùng" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -52,8 +52,8 @@ msgstr "Hành động" msgid "Add" msgstr "Thêm" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 #, fuzzy msgid "Add Configuration" msgstr "Sửa cấu hình" @@ -116,7 +116,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "Bạn chắc chắn muốn xóa nó " #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 #, fuzzy msgid "Are you sure you want to clear all notifications?" msgstr "Bạn có chắc chắn muốn xóa tất cả thông báo không ?" @@ -126,12 +126,12 @@ msgstr "Bạn có chắc chắn muốn xóa tất cả thông báo không ?" msgid "Are you sure you want to clear the record of chat?" msgstr "Bạn có chắc chắn muốn xóa lịch sử trò chuyện không ?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 #, fuzzy msgid "Are you sure you want to delete this item permanently?" msgstr "Bạn chắc chắn muốn xóa nó " -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 #, fuzzy msgid "Are you sure you want to delete this item?" msgstr "Bạn chắc chắn muốn xóa nó " @@ -141,7 +141,7 @@ msgstr "Bạn chắc chắn muốn xóa nó " msgid "Are you sure you want to delete?" msgstr "Bạn chắc chắn muốn xóa nó " -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 #, fuzzy msgid "Are you sure you want to recover this item?" msgstr "Bạn chắc chắn muốn xoá directive này ?" @@ -195,7 +195,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "Đã bật tự động gia hạn SSL cho %{name}" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -226,7 +226,7 @@ msgstr "" msgid "Base information" msgstr "Thông tin" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -239,7 +239,7 @@ msgid "Basic Mode" msgstr "Cơ bản" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 #, fuzzy msgid "Batch Modify" msgstr "Sửa đổi cấu hình" @@ -317,7 +317,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Thay đổi chứng chỉ" msgstr[1] "Thay đổi chứng chỉ" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "Changed Path" msgstr "Thay đổi chứng chỉ" @@ -336,12 +336,12 @@ msgstr "Xoá các biến môi trường" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "Xoá" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 #, fuzzy msgid "Cleared successfully" msgstr "Đã xóa thành công" @@ -427,16 +427,17 @@ msgstr "Tạo thêm" msgid "Create File" msgstr "Ngày tạo" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 #, fuzzy msgid "Create Folder" msgstr "Tạo thêm" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "Ngày tạo" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 #, fuzzy msgid "Created successfully" msgstr "Đã xóa thành công" @@ -476,8 +477,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "Bảng điều khiển" @@ -489,7 +490,7 @@ msgstr "Tên cơ sở dữ liệu (Tuỳ chọn, Mặc định là: database)" msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -497,7 +498,7 @@ msgstr "" msgid "Delete" msgstr "Xoá" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -510,11 +511,12 @@ msgstr "Xoá trang web: %{site_name}" msgid "Delete stream: %{stream_name}" msgstr "Xoá trang web: %{site_name}" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 #, fuzzy msgid "Deleted successfully" msgstr "Đã xoá thành công" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -543,7 +545,7 @@ msgstr "Triển khai thành công" msgid "Description" msgstr "Mô tả" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "Chi tiết" @@ -716,7 +718,7 @@ msgstr "Đã sao chép thành công vào máy cục bộ" msgid "Edit %{n}" msgstr "Sửa %{n}" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "Sửa cấu hình" @@ -808,10 +810,6 @@ msgstr "Đã bật" msgid "Encrypt website with Let's Encrypt" msgstr "Bảo mật trang web với Let's Encrypt" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "Environment" @@ -827,6 +825,7 @@ msgid "Environments" msgstr "Environments" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "Lỗi" @@ -910,16 +909,16 @@ msgstr "Đã hoàn thành" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "Người dùng Trung Quốc: https://mirror.ghproxy.com/" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "Định dạng code" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 #, fuzzy msgid "Format error %{msg}" msgstr "Lưu lỗi %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 #, fuzzy msgid "Format successfully" msgstr "Định dạng thành công" @@ -1011,7 +1010,7 @@ msgstr "Chứng chỉ" msgid "Incorrect username or password" msgstr "Tên người dùng hoặc mật khẩu không chính xác" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "Thông tin" @@ -1054,17 +1053,17 @@ msgstr "Hợp lệ" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 #, fuzzy msgid "Invalid filename" msgstr "E-mail không chính xác!" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1205,8 +1204,8 @@ msgstr "" "Đảm bảo rằng bạn đã định cấu hình proxy ngược (reverse proxy) thư mục .well-" "known tới HTTPChallengePort (default: 9180) trước khi ký chứng chỉ SSL." -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "Quản lý cấu hình" @@ -1251,7 +1250,7 @@ msgstr "Run Mode" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 #, fuzzy msgid "Modify" @@ -1280,8 +1279,8 @@ msgstr "Single Directive" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1309,12 +1308,12 @@ msgstr "Tổng lưu lượng mạng đã nhận" msgid "Network Total Send" msgstr "Tổng lưu lượng mạng đã gửi" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 #, fuzzy msgid "New name" msgstr "Username" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "New Path" msgstr "Đường dẫn" @@ -1366,13 +1365,13 @@ msgstr "Restart Nginx thành công" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1400,7 +1399,7 @@ msgstr "Không hợp lệ trước: %{date}" msgid "Note" msgstr "Ghi chú" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 #, fuzzy msgid "Notification" msgstr "Thông báo" @@ -1443,9 +1442,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1453,7 +1452,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1475,7 +1474,7 @@ msgstr "Trực tuyến" msgid "OpenAI" msgstr "" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1488,11 +1487,13 @@ msgstr "Hệ điều hành" msgid "OS:" msgstr "Hệ điều hành:" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "Ghi đè" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1510,7 +1511,7 @@ msgstr "Mật khẩu" msgid "Password (*)" msgstr "Mật khẩu (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1551,13 +1552,13 @@ msgstr "" "Trước tiên, vui lòng thêm thông tin xác thực trong Chứng chỉ > Thông tin xác " "thực DNS, sau đó chọn nhà cung cấp DNS" -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Please input a filename" msgstr "Vui lòng nhập username!" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 #, fuzzy msgid "Please input a folder name" msgstr "Vui lòng nhập username!" @@ -1633,11 +1634,11 @@ msgstr "Đọc" msgid "Receive" msgstr "Nhận" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 #, fuzzy msgid "Recovered Successfully" msgstr "Xoá thành công" @@ -1723,14 +1724,42 @@ msgstr "Xoá thành công" msgid "Removed successfully" msgstr "Xoá thành công" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 #, fuzzy msgid "Rename" msgstr "Username" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" + +#: src/components/Notification/config.ts:35 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" + +#: src/components/Notification/config.ts:23 +#, fuzzy +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" + +#: src/language/constants.ts:41 +#, fuzzy +msgid "Rename Remote Config Error" +msgstr "Gia hạn chứng chỉ SSL thất bại" + +#: src/language/constants.ts:40 +#, fuzzy +msgid "Rename Remote Config Success" +msgstr "Gia hạn chứng chỉ SSL thành công" + +#: src/views/config/components/Rename.vue:41 #, fuzzy msgid "Rename successfully" msgstr "Gia hạn chứng chỉ SSL" @@ -1761,7 +1790,7 @@ msgstr "Gia hạn chứng chỉ SSL" msgid "Requested with wrong parameters" msgstr "Yêu cầu có chứa tham số sai" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "Đặt lại" @@ -1789,7 +1818,7 @@ msgstr "Running" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1799,7 +1828,7 @@ msgstr "Lưu" msgid "Save Directive" msgstr "Lưu Directive" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "Đã xảy ra lỗi khi lưu %{msg}" @@ -1812,7 +1841,7 @@ msgstr "Đã xảy ra lỗi khi lưu %{msg}" msgid "Save successfully" msgstr "Lưu thành công" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1841,11 +1870,11 @@ msgstr "Gửi" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1952,7 +1981,7 @@ msgstr "Đã dừng" msgid "Storage" msgstr "Storage" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "Thành công" @@ -1969,24 +1998,28 @@ msgstr "Sử dụng Dark theme" msgid "Switch to light theme" msgstr "Sử dụng Light theme" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 #, fuzzy msgid "Sync Certificate" msgstr "Gia hạn chứng chỉ SSL" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 #, fuzzy msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" @@ -2001,6 +2034,33 @@ msgstr "Gia hạn chứng chỉ SSL thất bại" msgid "Sync Certificate Success" msgstr "Gia hạn chứng chỉ SSL thành công" +#: src/components/Notification/config.ts:12 +#, fuzzy +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" + +#: src/components/Notification/config.ts:16 +#, fuzzy +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" + +#: src/components/Notification/config.ts:4 +#, fuzzy +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" + +#: src/language/constants.ts:44 +#, fuzzy +msgid "Sync Config Error" +msgstr "Gia hạn chứng chỉ SSL thất bại" + +#: src/language/constants.ts:43 +#, fuzzy +msgid "Sync Config Success" +msgstr "Gia hạn chứng chỉ SSL thành công" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2130,7 +2190,7 @@ msgstr "" msgid "Tips" msgstr "" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "Tiêu đề" @@ -2170,19 +2230,19 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "Loại" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2262,7 +2322,7 @@ msgstr "Hợp lệ" msgid "Version" msgstr "Phiên bản hiện tại" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "Xem" @@ -2284,6 +2344,7 @@ msgstr "Cơ bản" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "Lưu ý" diff --git a/app/src/language/zh_CN/app.mo b/app/src/language/zh_CN/app.mo index 73077a87..76030127 100644 Binary files a/app/src/language/zh_CN/app.mo and b/app/src/language/zh_CN/app.mo differ diff --git a/app/src/language/zh_CN/app.po b/app/src/language/zh_CN/app.po index 9b3737a0..b68e0cdd 100644 --- a/app/src/language/zh_CN/app.po +++ b/app/src/language/zh_CN/app.po @@ -39,7 +39,7 @@ msgstr "ACME 用户" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -55,8 +55,8 @@ msgstr "操作" msgid "Add" msgstr "添加" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 msgid "Add Configuration" msgstr "添加配置" @@ -114,7 +114,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "您确定要立即删除这个被禁用的 IP 吗?" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 msgid "Are you sure you want to clear all notifications?" msgstr "您确定要清除所有通知吗?" @@ -122,11 +122,11 @@ msgstr "您确定要清除所有通知吗?" msgid "Are you sure you want to clear the record of chat?" msgstr "你确定你要清除聊天记录吗?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 msgid "Are you sure you want to delete this item permanently?" msgstr "您确定要永久删除此项目吗?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 msgid "Are you sure you want to delete this item?" msgstr "你确定要删除这个项目吗?" @@ -134,7 +134,7 @@ msgstr "你确定要删除这个项目吗?" msgid "Are you sure you want to delete?" msgstr "您确定要删除吗?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 msgid "Are you sure you want to recover this item?" msgstr "您确定要恢复这个项目吗?" @@ -184,7 +184,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "成功启用 %{name} 自动续签" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -214,7 +214,7 @@ msgstr "禁用至" msgid "Base information" msgstr "基本信息" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -226,7 +226,7 @@ msgid "Basic Mode" msgstr "基本模式" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 msgid "Batch Modify" msgstr "批量修改" @@ -294,7 +294,7 @@ msgid "Changed Certificate" msgid_plural "Changed Certificates" msgstr[0] "变更证书" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 msgid "Changed Path" msgstr "变更后的路径" @@ -312,12 +312,12 @@ msgstr "正在清理环境变量" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "清空" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 msgid "Cleared successfully" msgstr "清除成功" @@ -398,15 +398,16 @@ msgstr "再创建一个" msgid "Create File" msgstr "创建文件" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 msgid "Create Folder" msgstr "创建文件夹" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "创建时间" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 msgid "Created successfully" msgstr "创建成功" @@ -445,8 +446,8 @@ msgid "" "indicator." msgstr "自定义显示在环境指示器中的本地服务器名称。" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "仪表盘" @@ -458,7 +459,7 @@ msgstr "数据库 (可选,默认: database)" msgid "Days" msgstr "天" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -466,7 +467,7 @@ msgstr "天" msgid "Delete" msgstr "删除" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "彻底删除" @@ -478,10 +479,11 @@ msgstr "删除站点: %{site_name}" msgid "Delete stream: %{stream_name}" msgstr "删除 Stream: %{stream_name}" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 msgid "Deleted successfully" msgstr "删除成功" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -509,7 +511,7 @@ msgstr "部署成功" msgid "Description" msgstr "描述" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "详情" @@ -665,7 +667,7 @@ msgstr "成功复制到本地" msgid "Edit %{n}" msgstr "编辑 %{n}" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "编辑配置" @@ -751,10 +753,6 @@ msgstr "启用成功" msgid "Encrypt website with Let's Encrypt" msgstr "用 Let's Encrypt 对网站进行加密" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "进入" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "环境" @@ -768,6 +766,7 @@ msgid "Environments" msgstr "环境" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "错误" @@ -847,15 +846,15 @@ msgstr "完成" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "中国用户:https://mirror.ghproxy.com/" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "代码格式化" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 msgid "Format error %{msg}" msgstr "保存错误 %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 msgid "Format successfully" msgstr "格式化成功" @@ -943,7 +942,7 @@ msgstr "导入证书" msgid "Incorrect username or password" msgstr "用户名或密码错误" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "信息" @@ -984,16 +983,16 @@ msgstr "无效的" msgid "Invalid 2FA or recovery code" msgstr "无效的二步验证码或恢复密码" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 msgid "Invalid filename" msgstr "文件名无效" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "无效文件夹名" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "二次验证码或恢复代码无效" @@ -1127,8 +1126,8 @@ msgstr "" "在获取签发证书前,请确保配置文件中已将 .well-known 目录反向代理到 " "HTTPChallengePort。" -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "配置管理" @@ -1171,7 +1170,7 @@ msgstr "模型" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 msgid "Modify" msgstr "修改" @@ -1196,8 +1195,8 @@ msgstr "多行指令" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1225,11 +1224,11 @@ msgstr "下载流量" msgid "Network Total Send" msgstr "上传流量" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 msgid "New name" msgstr "新名称" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 msgid "New Path" msgstr "新路径" @@ -1277,13 +1276,13 @@ msgstr "Nginx 重启成功" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1311,7 +1310,7 @@ msgstr "此前无效: %{date}" msgid "Note" msgstr "注意" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 msgid "Notification" msgstr "通知" @@ -1351,9 +1350,9 @@ msgstr "确定" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1361,7 +1360,7 @@ msgstr "确定" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1383,7 +1382,7 @@ msgstr "在线" msgid "OpenAI" msgstr "OpenAI" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "原名" @@ -1395,11 +1394,13 @@ msgstr "OS" msgid "OS:" msgstr "OS:" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "覆盖" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1417,7 +1418,7 @@ msgstr "密码" msgid "Password (*)" msgstr "密码 (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1457,12 +1458,12 @@ msgstr "" "请首先在 “证书”> “DNS 凭证” 中添加凭证,然后在下方选择一个凭证,请求 DNS 提供" "商的 API。" -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 msgid "Please input a filename" msgstr "请输入文件名" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 msgid "Please input a folder name" msgstr "请输入文件夹名称" @@ -1535,11 +1536,11 @@ msgstr "读" msgid "Receive" msgstr "下载" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "恢复" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 msgid "Recovered Successfully" msgstr "恢复成功" @@ -1617,13 +1618,39 @@ msgstr "移除成功" msgid "Removed successfully" msgstr "删除成功" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 msgid "Rename" msgstr "重命名" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "" +"将 %{env_name} 上的 %{orig_path} 重命名为 %{new_path} 失败,请将远程 Nginx " +"UI 升级到最新版本" + +#: src/components/Notification/config.ts:35 +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "" +"将 %{env_name} 上的 %{orig_path} 重命名为 %{new_path} 失败,响应:%{resp}" + +#: src/components/Notification/config.ts:23 +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "成功将 %{env_name} 上的 %{orig_path} 重命名为 %{new_path}" + +#: src/language/constants.ts:41 +msgid "Rename Remote Config Error" +msgstr "远程配置重命名错误" + +#: src/language/constants.ts:40 +msgid "Rename Remote Config Success" +msgstr "重命名远程配置成功" + +#: src/views/config/components/Rename.vue:41 msgid "Rename successfully" msgstr "重命名成功" @@ -1649,7 +1676,7 @@ msgstr "更新成功" msgid "Requested with wrong parameters" msgstr "请求参数错误" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "重置" @@ -1675,7 +1702,7 @@ msgstr "运行中" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1685,7 +1712,7 @@ msgstr "保存" msgid "Save Directive" msgstr "保存指令" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "保存错误 %{msg}" @@ -1697,7 +1724,7 @@ msgstr "保存错误 %{msg}" msgid "Save successfully" msgstr "保存成功" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1726,11 +1753,11 @@ msgstr "上传" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1833,7 +1860,7 @@ msgstr "已停止" msgid "Storage" msgstr "存储" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "成功" @@ -1850,11 +1877,15 @@ msgstr "切换到深色主题" msgid "Switch to light theme" msgstr "切换到浅色" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "同步" + #: src/views/certificate/CertificateList/certColumns.tsx:30 msgid "Sync Certificate" msgstr "同步证书" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" @@ -1862,11 +1893,11 @@ msgstr "" "同步证书 %{cert_name} 到 %{env_name} 失败,请先将远程的 Nginx UI 升级到最新版" "本" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "同步证书 %{cert_name} 到 %{env_name} 失败,响应:%{resp}" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "证书 %{cert_name} 已成功同步到 %{env_name}" @@ -1878,6 +1909,29 @@ msgstr "同步证书错误" msgid "Sync Certificate Success" msgstr "同步证书成功" +#: src/components/Notification/config.ts:12 +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "" +"同步配置 %{cert_name} 到 %{env_name} 失败,请将远程 Nginx UI 升级到最新版本" + +#: src/components/Notification/config.ts:16 +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "同步配置 %{config_name} 到 %{env_name} 失败,响应:%{resp}" + +#: src/components/Notification/config.ts:4 +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "配置 %{config_name} 成功同步到 %{env_name}" + +#: src/language/constants.ts:44 +msgid "Sync Config Error" +msgstr "同步配置错误" + +#: src/language/constants.ts:43 +msgid "Sync Config Success" +msgstr "同步配置成功" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "同步到" @@ -2006,7 +2060,7 @@ msgstr "将 %{nodeNames} 上的 Nginx UI 升级或重新安装到 %{version} 版 msgid "Tips" msgstr "提示" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "标题" @@ -2045,19 +2099,19 @@ msgstr "TOTP 是一种使用基于时间的一次性密码算法的双因素身 msgid "Trash" msgstr "回收站" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "需要两步验证" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "类型" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2132,7 +2186,7 @@ msgstr "有效的" msgid "Version" msgstr "版本" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "查看" @@ -2151,6 +2205,7 @@ msgstr "预览模式" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "警告" @@ -2195,6 +2250,9 @@ msgstr "您使用的是最新版本" msgid "You can check Nginx UI upgrade at this page." msgstr "你可以在这个页面检查Nginx UI的升级。" +#~ msgid "Enter" +#~ msgstr "进入" + #, fuzzy #~ msgid "Rename " #~ msgstr "重命名" diff --git a/app/src/language/zh_TW/app.po b/app/src/language/zh_TW/app.po index 5ab91071..50828f14 100644 --- a/app/src/language/zh_TW/app.po +++ b/app/src/language/zh_TW/app.po @@ -41,7 +41,7 @@ msgstr "使用者名稱" #: src/views/certificate/DNSCredential.vue:33 #: src/views/config/configColumns.ts:38 src/views/domain/DomainList.vue:47 #: src/views/environment/envColumns.tsx:131 -#: src/views/notification/Notification.vue:37 +#: src/views/notification/notificationColumns.tsx:54 #: src/views/preference/AuthSettings.vue:26 src/views/stream/StreamList.vue:47 #: src/views/user/userColumns.tsx:60 msgid "Action" @@ -57,8 +57,8 @@ msgstr "操作" msgid "Add" msgstr "新增" -#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:128 -#: src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:112 src/views/config/ConfigEditor.vue:135 +#: src/views/config/ConfigEditor.vue:196 #, fuzzy msgid "Add Configuration" msgstr "編輯設定" @@ -121,7 +121,7 @@ msgid "Are you sure to delete this banned IP immediately?" msgstr "您確定要刪除嗎?" #: src/components/Notification/Notification.vue:86 -#: src/views/notification/Notification.vue:72 +#: src/views/notification/Notification.vue:40 #, fuzzy msgid "Are you sure you want to clear all notifications?" msgstr "您確定要清除聊天記錄嗎?" @@ -130,12 +130,12 @@ msgstr "您確定要清除聊天記錄嗎?" msgid "Are you sure you want to clear the record of chat?" msgstr "您確定要清除聊天記錄嗎?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:578 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 #, fuzzy msgid "Are you sure you want to delete this item permanently?" msgstr "您確定要刪除嗎?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:550 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 #, fuzzy msgid "Are you sure you want to delete this item?" msgstr "您確定要刪除嗎?" @@ -144,7 +144,7 @@ msgstr "您確定要刪除嗎?" msgid "Are you sure you want to delete?" msgstr "您確定要刪除嗎?" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:564 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 #, fuzzy msgid "Are you sure you want to recover this item?" msgstr "您確定要刪除這條指令嗎?" @@ -197,7 +197,7 @@ msgid "Auto-renewal enabled for %{name}" msgstr "已啟用 %{name} 的自動續簽" #: src/views/certificate/CertificateEditor.vue:247 -#: src/views/config/ConfigEditor.vue:196 src/views/config/ConfigList.vue:173 +#: src/views/config/ConfigEditor.vue:205 src/views/config/ConfigList.vue:173 #: src/views/config/ConfigList.vue:99 src/views/domain/DomainEdit.vue:253 #: src/views/nginx_log/NginxLog.vue:168 src/views/stream/StreamEdit.vue:245 msgid "Back" @@ -227,7 +227,7 @@ msgstr "" msgid "Base information" msgstr "基本資訊" -#: src/views/config/ConfigEditor.vue:224 +#: src/views/config/ConfigEditor.vue:233 #: src/views/domain/components/RightSettings.vue:75 #: src/views/preference/Preference.vue:110 #: src/views/stream/components/RightSettings.vue:74 @@ -239,7 +239,7 @@ msgid "Basic Mode" msgstr "基本模式" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:54 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:486 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:485 msgid "Batch Modify" msgstr "批次修改" @@ -313,7 +313,7 @@ msgid "Changed Certificate" msgid_plural "Changed Certificates" msgstr[0] "更換憑證" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "Changed Path" msgstr "更換憑證" @@ -332,12 +332,12 @@ msgstr "清理環境變數" #: src/components/ChatGPT/ChatGPT.vue:275 #: src/components/Notification/Notification.vue:91 -#: src/views/notification/Notification.vue:77 +#: src/views/notification/Notification.vue:45 msgid "Clear" msgstr "清除" #: src/components/Notification/Notification.vue:42 -#: src/views/notification/Notification.vue:46 +#: src/views/notification/Notification.vue:13 #, fuzzy msgid "Cleared successfully" msgstr "成功停用" @@ -422,16 +422,17 @@ msgstr "再建立一個" msgid "Create File" msgstr "建立時間" -#: src/views/config/components/Mkdir.vue:50 src/views/config/ConfigList.vue:116 +#: src/views/config/components/Mkdir.vue:48 src/views/config/ConfigList.vue:116 #, fuzzy msgid "Create Folder" msgstr "再建立一個" -#: src/views/notification/Notification.vue:31 src/views/user/userColumns.tsx:48 +#: src/views/notification/notificationColumns.tsx:48 +#: src/views/user/userColumns.tsx:48 msgid "Created at" msgstr "建立時間" -#: src/views/config/components/Mkdir.vue:35 +#: src/views/config/components/Mkdir.vue:34 #, fuzzy msgid "Created successfully" msgstr "成功停用" @@ -471,8 +472,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:118 -#: src/views/config/ConfigEditor.vue:79 src/views/config/ConfigList.vue:57 +#: src/routes/index.ts:39 src/views/config/ConfigEditor.vue:125 +#: src/views/config/ConfigEditor.vue:86 src/views/config/ConfigList.vue:57 msgid "Dashboard" msgstr "儀表板" @@ -484,7 +485,7 @@ msgstr "資料庫 (可選,預設: database)" msgid "Days" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:557 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:556 #: src/views/domain/DomainList.vue:155 #: src/views/domain/ngx_conf/NgxServer.vue:110 #: src/views/domain/ngx_conf/NgxUpstream.vue:126 @@ -492,7 +493,7 @@ msgstr "" msgid "Delete" msgstr "刪除" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:585 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:584 msgid "Delete Permanently" msgstr "" @@ -505,11 +506,12 @@ msgstr "刪除網站:%{site_name}" msgid "Delete stream: %{stream_name}" msgstr "刪除網站:%{site_name}" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:202 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:201 #, fuzzy msgid "Deleted successfully" msgstr "成功停用" +#: src/views/config/ConfigEditor.vue:276 #: src/views/domain/components/Deploy.vue:104 #: src/views/domain/components/RightSettings.vue:93 #: src/views/stream/components/Deploy.vue:103 @@ -537,7 +539,7 @@ msgstr "部署成功" msgid "Description" msgstr "描述" -#: src/views/notification/Notification.vue:26 +#: src/views/notification/notificationColumns.tsx:43 msgid "Details" msgstr "" @@ -698,7 +700,7 @@ msgstr "成功複製至本機" msgid "Edit %{n}" msgstr "編輯 %{n}" -#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:187 +#: src/routes/index.ts:122 src/views/config/ConfigEditor.vue:196 msgid "Edit Configuration" msgstr "編輯設定" @@ -788,10 +790,6 @@ msgstr "成功啟用" msgid "Encrypt website with Let's Encrypt" msgstr "用 Let's Encrypt 對網站進行加密" -#: src/views/config/ConfigList.vue:151 -msgid "Enter" -msgstr "" - #: src/routes/index.ts:228 src/views/environment/Environment.vue:34 msgid "Environment" msgstr "環境" @@ -806,6 +804,7 @@ msgid "Environments" msgstr "環境" #: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/views/notification/notificationColumns.tsx:14 msgid "Error" msgstr "錯誤" @@ -889,15 +888,15 @@ msgstr "完成" msgid "For Chinese user: https://mirror.ghproxy.com/" msgstr "中國使用者:https://mirror.ghproxy.com/" -#: src/views/config/ConfigEditor.vue:199 +#: src/views/config/ConfigEditor.vue:208 msgid "Format Code" msgstr "格式化程式碼" -#: src/views/config/ConfigEditor.vue:166 +#: src/views/config/ConfigEditor.vue:175 msgid "Format error %{msg}" msgstr "格式錯誤 %{msg}" -#: src/views/config/ConfigEditor.vue:164 +#: src/views/config/ConfigEditor.vue:173 msgid "Format successfully" msgstr "成功格式化" @@ -987,7 +986,7 @@ msgstr "憑證狀態" msgid "Incorrect username or password" msgstr "使用者名稱或密碼不正確" -#: src/constants/index.ts:18 +#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:24 msgid "Info" msgstr "" @@ -1029,17 +1028,17 @@ msgstr "無效的郵箱!" msgid "Invalid 2FA or recovery code" msgstr "" -#: src/views/config/components/Rename.vue:62 -#: src/views/config/ConfigEditor.vue:233 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:242 #, fuzzy msgid "Invalid filename" msgstr "無效的郵箱!" -#: src/views/config/components/Mkdir.vue:60 +#: src/views/config/components/Mkdir.vue:58 msgid "Invalid folder name" msgstr "" -#: src/components/OTP/useOTPModal.ts:64 +#: src/components/OTP/useOTPModal.ts:61 msgid "Invalid passcode or recovery code" msgstr "" @@ -1176,8 +1175,8 @@ msgid "" msgstr "" "在取得憑證前,請確保您已將 .well-known 目錄反向代理到 HTTPChallengePort。" -#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:123 -#: src/views/config/ConfigEditor.vue:84 src/views/config/ConfigList.vue:62 +#: src/routes/index.ts:102 src/views/config/ConfigEditor.vue:130 +#: src/views/config/ConfigEditor.vue:91 src/views/config/ConfigList.vue:62 msgid "Manage Configs" msgstr "管理設定" @@ -1223,7 +1222,7 @@ msgstr "執行模式" #: src/components/ChatGPT/ChatGPT.vue:248 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:181 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:532 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:531 #: src/views/config/ConfigList.vue:151 msgid "Modify" msgstr "修改" @@ -1250,8 +1249,8 @@ msgstr "多行指令" #: src/views/certificate/CertificateEditor.vue:152 #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 -#: src/views/config/components/Mkdir.vue:67 src/views/config/configColumns.ts:8 -#: src/views/config/ConfigEditor.vue:239 +#: src/views/config/components/Mkdir.vue:65 src/views/config/configColumns.ts:8 +#: src/views/config/ConfigEditor.vue:248 #: src/views/domain/components/RightSettings.vue:83 #: src/views/domain/components/SiteDuplicate.vue:129 #: src/views/domain/DomainList.vue:13 @@ -1279,12 +1278,12 @@ msgstr "下載流量" msgid "Network Total Send" msgstr "上傳流量" -#: src/views/config/components/Rename.vue:70 +#: src/views/config/components/Rename.vue:73 #, fuzzy msgid "New name" msgstr "使用者名稱" -#: src/views/config/ConfigEditor.vue:251 +#: src/views/config/ConfigEditor.vue:260 #, fuzzy msgid "New Path" msgstr "路徑" @@ -1333,13 +1332,13 @@ msgstr "Nginx 重啟成功" #: src/components/ChatGPT/ChatGPT.vue:269 #: src/components/Notification/Notification.vue:84 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:547 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:561 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:575 #: src/views/domain/DomainList.vue:144 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:90 #: src/views/domain/ngx_conf/LocationEditor.vue:70 -#: src/views/notification/Notification.vue:70 +#: src/views/notification/Notification.vue:38 #: src/views/preference/AuthSettings.vue:98 #: src/views/preference/BasicSettings.vue:101 #: src/views/stream/StreamList.vue:165 @@ -1367,7 +1366,7 @@ msgstr "此前無效: %{date}" msgid "Note" msgstr "備註" -#: src/views/notification/Notification.vue:62 +#: src/views/notification/Notification.vue:29 #, fuzzy msgid "Notification" msgstr "憑證" @@ -1409,9 +1408,9 @@ msgstr "" #: src/components/ChatGPT/ChatGPT.vue:270 #: src/components/Notification/Notification.vue:85 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:56 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:549 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:563 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:577 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:548 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:562 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:576 #: src/views/domain/cert/components/ObtainCert.vue:136 #: src/views/domain/components/Deploy.vue:20 #: src/views/domain/components/RightSettings.vue:50 @@ -1419,7 +1418,7 @@ msgstr "" #: src/views/domain/ngx_conf/NgxConfigEditor.vue:49 #: src/views/domain/ngx_conf/NgxServer.vue:79 #: src/views/domain/ngx_conf/NgxUpstream.vue:32 -#: src/views/notification/Notification.vue:71 +#: src/views/notification/Notification.vue:39 #: src/views/stream/components/Deploy.vue:20 #: src/views/stream/components/RightSettings.vue:50 #: src/views/stream/StreamList.vue:166 @@ -1441,7 +1440,7 @@ msgstr "線上" msgid "OpenAI" msgstr "OpenAI" -#: src/views/config/components/Rename.vue:66 +#: src/views/config/components/Rename.vue:69 msgid "Original name" msgstr "" @@ -1453,11 +1452,13 @@ msgstr "作業系統" msgid "OS:" msgstr "作業系統:" +#: src/views/config/ConfigEditor.vue:285 #: src/views/domain/components/Deploy.vue:88 #: src/views/stream/components/Deploy.vue:87 msgid "Overwrite" msgstr "覆蓋" +#: src/views/config/ConfigEditor.vue:289 #: src/views/domain/components/Deploy.vue:92 #: src/views/stream/components/Deploy.vue:91 msgid "Overwrite exist file" @@ -1475,7 +1476,7 @@ msgstr "密碼" msgid "Password (*)" msgstr "密碼 (*)" -#: src/views/config/ConfigEditor.vue:245 +#: src/views/config/ConfigEditor.vue:254 #: src/views/domain/ngx_conf/LocationEditor.vue:118 #: src/views/domain/ngx_conf/LocationEditor.vue:90 msgid "Path" @@ -1516,13 +1517,13 @@ msgstr "" "請先在 Certification > DNS Credentials 中新增認證,然後選擇以下認證之一以請" "求 DNS 供應商的 API。" -#: src/views/config/components/Rename.vue:61 -#: src/views/config/ConfigEditor.vue:232 +#: src/views/config/components/Rename.vue:64 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Please input a filename" msgstr "請輸入您的使用者名稱!" -#: src/views/config/components/Mkdir.vue:59 +#: src/views/config/components/Mkdir.vue:57 #, fuzzy msgid "Please input a folder name" msgstr "請輸入您的使用者名稱!" @@ -1596,11 +1597,11 @@ msgstr "讀取" msgid "Receive" msgstr "接收" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:571 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:570 msgid "Recover" msgstr "" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:210 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:209 #, fuzzy msgid "Recovered Successfully" msgstr "儲存成功" @@ -1686,14 +1687,42 @@ msgstr "儲存成功" msgid "Removed successfully" msgstr "儲存成功" -#: src/views/config/components/Rename.vue:52 +#: src/views/config/components/Rename.vue:55 #: src/views/config/ConfigList.vue:159 #: src/views/domain/ngx_conf/NgxUpstream.vue:123 #, fuzzy msgid "Rename" msgstr "使用者名稱" -#: src/views/config/components/Rename.vue:37 +#: src/components/Notification/config.ts:31 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, please upgrade the " +"remote Nginx UI to the latest version" +msgstr "成功複製 %{conf_name} 到 %{node_name}" + +#: src/components/Notification/config.ts:35 +#, fuzzy +msgid "" +"Rename %{orig_path} to %{new_path} on %{env_name} failed, response: %{resp}" +msgstr "成功複製 %{conf_name} 到 %{node_name}" + +#: src/components/Notification/config.ts:23 +#, fuzzy +msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" +msgstr "成功複製 %{conf_name} 到 %{node_name}" + +#: src/language/constants.ts:41 +#, fuzzy +msgid "Rename Remote Config Error" +msgstr "更換憑證" + +#: src/language/constants.ts:40 +#, fuzzy +msgid "Rename Remote Config Success" +msgstr "更換憑證" + +#: src/views/config/components/Rename.vue:41 #, fuzzy msgid "Rename successfully" msgstr "啟用成功" @@ -1724,7 +1753,7 @@ msgstr "啟用成功" msgid "Requested with wrong parameters" msgstr "請求參數錯誤" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:480 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:479 msgid "Reset" msgstr "重設" @@ -1751,7 +1780,7 @@ msgstr "執行中" #: src/components/ChatGPT/ChatGPT.vue:251 #: src/views/certificate/CertificateEditor.vue:254 -#: src/views/config/ConfigEditor.vue:205 src/views/domain/DomainEdit.vue:260 +#: src/views/config/ConfigEditor.vue:214 src/views/domain/DomainEdit.vue:260 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:120 #: src/views/preference/Preference.vue:145 src/views/stream/StreamEdit.vue:252 msgid "Save" @@ -1761,7 +1790,7 @@ msgstr "儲存" msgid "Save Directive" msgstr "儲存指令" -#: src/views/config/ConfigEditor.vue:154 src/views/domain/DomainAdd.vue:46 +#: src/views/config/ConfigEditor.vue:163 src/views/domain/DomainAdd.vue:46 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41 msgid "Save error %{msg}" msgstr "儲存錯誤 %{msg}" @@ -1773,7 +1802,7 @@ msgstr "儲存錯誤 %{msg}" msgid "Save successfully" msgstr "儲存成功" -#: src/views/config/ConfigEditor.vue:150 src/views/domain/DomainAdd.vue:37 +#: src/views/config/ConfigEditor.vue:159 src/views/domain/DomainAdd.vue:37 #: src/views/domain/DomainEdit.vue:143 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/stream/StreamEdit.vue:138 @@ -1802,11 +1831,11 @@ msgstr "傳送" #: src/components/StdDesign/StdDataDisplay/methods/exportCsv.ts:46 #: src/components/StdDesign/StdDataDisplay/methods/sortable.ts:126 #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:42 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:213 -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:253 -#: src/views/config/components/Mkdir.vue:38 -#: src/views/config/components/Rename.vue:40 -#: src/views/config/ConfigEditor.vue:93 src/views/domain/DomainList.vue:81 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:212 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:252 +#: src/views/config/components/Mkdir.vue:37 +#: src/views/config/components/Rename.vue:44 +#: src/views/config/ConfigEditor.vue:100 src/views/domain/DomainList.vue:81 #: src/views/environment/BatchUpgrader.vue:57 #: src/views/environment/Environment.vue:15 src/views/other/Install.vue:68 #: src/views/preference/AuthSettings.vue:49 @@ -1915,7 +1944,7 @@ msgstr "已停止" msgid "Storage" msgstr "儲存空間" -#: src/constants/index.ts:19 +#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:29 msgid "Success" msgstr "" @@ -1932,24 +1961,28 @@ msgstr "" msgid "Switch to light theme" msgstr "" +#: src/views/config/components/Rename.vue:80 +msgid "Sync" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:30 #, fuzzy msgid "Sync Certificate" msgstr "更換憑證" -#: src/components/Notification/detailRender.ts:25 +#: src/components/Notification/cert.ts:12 #, fuzzy msgid "" "Sync Certificate %{cert_name} to %{env_name} failed, please upgrade the " "remote Nginx UI to the latest version" msgstr "成功複製 %{conf_name} 到 %{node_name}" -#: src/components/Notification/detailRender.ts:29 +#: src/components/Notification/cert.ts:16 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed, response: %{resp}" msgstr "成功複製 %{conf_name} 到 %{node_name}" -#: src/components/Notification/detailRender.ts:17 +#: src/components/Notification/cert.ts:4 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "成功複製 %{conf_name} 到 %{node_name}" @@ -1964,6 +1997,33 @@ msgstr "更換憑證" msgid "Sync Certificate Success" msgstr "更換憑證" +#: src/components/Notification/config.ts:12 +#, fuzzy +msgid "" +"Sync config %{cert_name} to %{env_name} failed, please upgrade the remote " +"Nginx UI to the latest version" +msgstr "成功複製 %{conf_name} 到 %{node_name}" + +#: src/components/Notification/config.ts:16 +#, fuzzy +msgid "Sync config %{config_name} to %{env_name} failed, response: %{resp}" +msgstr "成功複製 %{conf_name} 到 %{node_name}" + +#: src/components/Notification/config.ts:4 +#, fuzzy +msgid "Sync Config %{config_name} to %{env_name} successfully" +msgstr "成功複製 %{conf_name} 到 %{node_name}" + +#: src/language/constants.ts:44 +#, fuzzy +msgid "Sync Config Error" +msgstr "更換憑證" + +#: src/language/constants.ts:43 +#, fuzzy +msgid "Sync Config Success" +msgstr "更換憑證" + #: src/views/certificate/CertificateEditor.vue:196 msgid "Sync to" msgstr "" @@ -2097,7 +2157,7 @@ msgstr "" msgid "Tips" msgstr "" -#: src/views/notification/Notification.vue:19 +#: src/views/notification/notificationColumns.tsx:36 msgid "Title" msgstr "" @@ -2135,19 +2195,19 @@ msgstr "" msgid "Trash" msgstr "" -#: src/components/OTP/useOTPModal.ts:70 +#: src/components/OTP/useOTPModal.ts:67 msgid "Two-factor authentication required" msgstr "" #: src/views/certificate/CertificateList/certColumns.tsx:25 #: src/views/config/configColumns.ts:16 -#: src/views/notification/Notification.vue:13 +#: src/views/notification/notificationColumns.tsx:9 msgid "Type" msgstr "類型" #: src/views/certificate/ACMEUser.vue:53 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:258 +#: src/views/config/configColumns.ts:31 src/views/config/ConfigEditor.vue:267 #: src/views/domain/components/RightSettings.vue:86 #: src/views/domain/DomainList.vue:41 src/views/environment/envColumns.tsx:124 #: src/views/stream/components/RightSettings.vue:85 @@ -2224,7 +2284,7 @@ msgstr "" msgid "Version" msgstr "目前版本" -#: src/components/StdDesign/StdDataDisplay/StdTable.vue:518 +#: src/components/StdDesign/StdDataDisplay/StdTable.vue:517 #: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:103 msgid "View" msgstr "檢視" @@ -2245,6 +2305,7 @@ msgstr "基本模式" #: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 #: src/views/domain/DomainAdd.vue:112 +#: src/views/notification/notificationColumns.tsx:19 msgid "Warning" msgstr "警告"