From 5d3f47808659a785aecad862720795add6e4db2e Mon Sep 17 00:00:00 2001 From: Jacky Date: Mon, 7 Apr 2025 18:38:04 +0800 Subject: [PATCH] feat: maintenance mode #739 --- api/pages/maintenance.go | 78 ++++ api/pages/maintenance.tmpl | 89 ++++ api/pages/router.go | 11 + api/sites/list.go | 34 +- api/sites/router.go | 4 + api/sites/site.go | 24 + api/streams/streams.go | 20 +- app/src/api/site.ts | 9 + .../components/Notification/notifications.ts | 28 +- app/src/constants/errors/cert.ts | 1 + app/src/constants/index.ts | 6 + app/src/language/ar/app.po | 427 ++++++++++------- app/src/language/de_DE/app.po | 427 ++++++++++------- app/src/language/en/app.po | 427 ++++++++++------- app/src/language/es/app.po | 427 ++++++++++------- app/src/language/fr_FR/app.po | 427 ++++++++++------- app/src/language/ko_KR/app.po | 427 ++++++++++------- app/src/language/messages.pot | 430 +++++++++-------- app/src/language/ru_RU/app.po | 427 ++++++++++------- app/src/language/tr_TR/app.po | 435 +++++++++++------- app/src/language/vi_VN/app.po | 427 ++++++++++------- app/src/language/zh_CN/app.po | 418 +++++++++-------- app/src/language/zh_TW/app.po | 427 ++++++++++------- app/src/views/site/site_list/SiteList.vue | 41 +- app/src/views/site/site_list/columns.tsx | 16 +- app/src/views/stream/StreamList.vue | 7 +- internal/config/config.go | 10 +- internal/config/config_list.go | 4 +- internal/site/maintenance.go | 371 +++++++++++++++ query/config_backups.gen.go | 6 +- query/env_groups.gen.go | 22 +- router/routers.go | 5 +- router/routers_embed.go | 8 +- 33 files changed, 3698 insertions(+), 2222 deletions(-) create mode 100644 api/pages/maintenance.go create mode 100644 api/pages/maintenance.tmpl create mode 100644 api/pages/router.go create mode 100644 internal/site/maintenance.go diff --git a/api/pages/maintenance.go b/api/pages/maintenance.go new file mode 100644 index 00000000..0e97bcde --- /dev/null +++ b/api/pages/maintenance.go @@ -0,0 +1,78 @@ +package pages + +import ( + "embed" + "html/template" + "net/http" + "strings" + + "github.com/0xJacky/Nginx-UI/settings" + "github.com/gin-gonic/gin" +) + +//go:embed *.tmpl +var tmplFS embed.FS + +// MaintenancePageData maintenance page data structure +type MaintenancePageData struct { + Title string `json:"title"` + Message string `json:"message"` + Description string `json:"description"` + ICPNumber string `json:"icp_number"` + PublicSecurityNumber string `json:"public_security_number"` +} + +const ( + Title = "System Maintenance" + Message = "We are currently performing system maintenance to improve your experience." + Description = "Please check back later. Thank you for your understanding and patience." +) + +// MaintenancePage returns a maintenance page +func MaintenancePage(c *gin.Context) { + // Prepare template data + data := MaintenancePageData{ + Title: Title, + Message: Message, + Description: Description, + ICPNumber: settings.NodeSettings.ICPNumber, + PublicSecurityNumber: settings.NodeSettings.PublicSecurityNumber, + } + + // Check User-Agent + userAgent := c.GetHeader("User-Agent") + isBrowser := len(userAgent) > 0 && (contains(userAgent, "Mozilla") || + contains(userAgent, "Chrome") || + contains(userAgent, "Safari") || + contains(userAgent, "Edge") || + contains(userAgent, "Firefox") || + contains(userAgent, "Opera")) + + if !isBrowser { + c.JSON(http.StatusServiceUnavailable, data) + return + } + + // Parse template + tmpl, err := template.ParseFS(tmplFS, "maintenance.tmpl") + if err != nil { + c.String(http.StatusInternalServerError, "503 Service Unavailable") + return + } + + // Set content type + c.Header("Content-Type", "text/html; charset=utf-8") + c.Status(http.StatusServiceUnavailable) + + // Render template + err = tmpl.Execute(c.Writer, data) + if err != nil { + c.String(http.StatusInternalServerError, "503 Service Unavailable") + return + } +} + +// Helper function to check if a string contains a substring +func contains(s, substr string) bool { + return strings.Contains(s, substr) +} diff --git a/api/pages/maintenance.tmpl b/api/pages/maintenance.tmpl new file mode 100644 index 00000000..19483d15 --- /dev/null +++ b/api/pages/maintenance.tmpl @@ -0,0 +1,89 @@ + + + + + + {{.Title}} | Nginx UI + + + +
+
+
🛠️
+

{{.Title}}

+

{{.Message}}

+

{{.Description}}

+ +
+
+ {{if .ICPNumber}} +

{{.ICPNumber}}

+ {{end}} + {{if .PublicSecurityNumber}} +

公安备案{{.PublicSecurityNumber}}

+ {{end}} +
+
+ + diff --git a/api/pages/router.go b/api/pages/router.go new file mode 100644 index 00000000..80696060 --- /dev/null +++ b/api/pages/router.go @@ -0,0 +1,11 @@ +package pages + +import ( + "github.com/gin-gonic/gin" +) + +// InitRouter initializes the pages routes +func InitRouter(r *gin.Engine) { + // Register maintenance page route + r.GET("/pages/maintenance", MaintenancePage) +} diff --git a/api/sites/list.go b/api/sites/list.go index c267a888..b61aa451 100644 --- a/api/sites/list.go +++ b/api/sites/list.go @@ -19,7 +19,7 @@ import ( func GetSiteList(c *gin.Context) { name := c.Query("name") - enabled := c.Query("enabled") + status := c.Query("status") orderBy := c.Query("sort_by") sort := c.DefaultQuery("order", "desc") queryEnvGroupId := cast.ToUint64(c.Query("env_group_id")) @@ -50,9 +50,23 @@ func GetSiteList(c *gin.Context) { return filepath.Base(item.Path), item }) - enabledConfigMap := make(map[string]bool) - for i := range enabledConfig { - enabledConfigMap[enabledConfig[i].Name()] = true + configStatusMap := make(map[string]config.ConfigStatus) + for _, site := range configFiles { + configStatusMap[site.Name()] = config.StatusDisabled + } + + // Check for enabled sites and maintenance mode sites + for _, enabledSite := range enabledConfig { + name := enabledSite.Name() + + // Check if this is a maintenance mode configuration + if strings.HasSuffix(name, site.MaintenanceSuffix) { + // Extract the original site name by removing maintenance suffix + originalName := strings.TrimSuffix(name, site.MaintenanceSuffix) + configStatusMap[originalName] = config.StatusMaintenance + } else { + configStatusMap[name] = config.StatusEnabled + } } var configs []config.Config @@ -68,14 +82,10 @@ func GetSiteList(c *gin.Context) { continue } // status filter - if enabled != "" { - if enabled == "true" && !enabledConfigMap[file.Name()] { - continue - } - if enabled == "false" && enabledConfigMap[file.Name()] { - continue - } + if status != "" && configStatusMap[file.Name()] != config.ConfigStatus(status) { + continue } + var ( envGroupId uint64 envGroup *model.EnvGroup @@ -98,7 +108,7 @@ func GetSiteList(c *gin.Context) { ModifiedAt: fileInfo.ModTime(), Size: fileInfo.Size(), IsDir: fileInfo.IsDir(), - Enabled: enabledConfigMap[file.Name()], + Status: configStatusMap[file.Name()], EnvGroupID: envGroupId, EnvGroup: envGroup, Urls: indexedSite.Urls, diff --git a/api/sites/router.go b/api/sites/router.go index 10394d32..d3fde897 100644 --- a/api/sites/router.go +++ b/api/sites/router.go @@ -22,4 +22,8 @@ func InitRouter(r *gin.RouterGroup) { r.DELETE("sites/:name", DeleteSite) // duplicate site r.POST("sites/:name/duplicate", DuplicateSite) + // enable maintenance mode for site + r.POST("sites/:name/maintenance/enable", EnableMaintenanceSite) + // disable maintenance mode for site + r.POST("sites/:name/maintenance/disable", DisableMaintenanceSite) } diff --git a/api/sites/site.go b/api/sites/site.go index a05c25e9..f187f07b 100644 --- a/api/sites/site.go +++ b/api/sites/site.go @@ -215,3 +215,27 @@ func BatchUpdateSites(c *gin.Context) { ctx.BatchEffectedIDs = effectedPath }).BatchModify() } + +func EnableMaintenanceSite(c *gin.Context) { + err := site.EnableMaintenance(c.Param("name")) + if err != nil { + cosy.ErrHandler(c, err) + return + } + + c.JSON(http.StatusOK, gin.H{ + "message": "ok", + }) +} + +func DisableMaintenanceSite(c *gin.Context) { + err := site.DisableMaintenance(c.Param("name")) + if err != nil { + cosy.ErrHandler(c, err) + return + } + + c.JSON(http.StatusOK, gin.H{ + "message": "ok", + }) +} diff --git a/api/streams/streams.go b/api/streams/streams.go index 63603a73..dfaad58e 100644 --- a/api/streams/streams.go +++ b/api/streams/streams.go @@ -36,7 +36,7 @@ type Stream struct { func GetStreams(c *gin.Context) { name := c.Query("name") - enabled := c.Query("enabled") + status := c.Query("status") orderBy := c.Query("order_by") sort := c.DefaultQuery("sort", "desc") queryEnvGroupId := cast.ToUint64(c.Query("env_group_id")) @@ -53,9 +53,12 @@ func GetStreams(c *gin.Context) { return } - enabledConfigMap := make(map[string]bool) + enabledConfigMap := make(map[string]config.ConfigStatus) + for _, file := range configFiles { + enabledConfigMap[file.Name()] = config.StatusDisabled + } for i := range enabledConfig { - enabledConfigMap[enabledConfig[i].Name()] = true + enabledConfigMap[enabledConfig[i].Name()] = config.StatusEnabled } var configs []config.Config @@ -107,13 +110,8 @@ func GetStreams(c *gin.Context) { } // Apply enabled status filter if specified - if enabled != "" { - if enabled == "true" && !enabledConfigMap[file.Name()] { - continue - } - if enabled == "false" && enabledConfigMap[file.Name()] { - continue - } + if status != "" && enabledConfigMap[file.Name()] != config.ConfigStatus(status) { + continue } var ( @@ -138,7 +136,7 @@ func GetStreams(c *gin.Context) { ModifiedAt: fileInfo.ModTime(), Size: fileInfo.Size(), IsDir: fileInfo.IsDir(), - Enabled: enabledConfigMap[file.Name()], + Status: enabledConfigMap[file.Name()], EnvGroupID: envGroupId, EnvGroup: envGroup, }) diff --git a/app/src/api/site.ts b/app/src/api/site.ts index 34a740d1..cb95df11 100644 --- a/app/src/api/site.ts +++ b/app/src/api/site.ts @@ -23,6 +23,7 @@ export interface Site extends ModelBase { env_group?: EnvGroup sync_node_ids: number[] urls?: string[] + status: string } export interface AutoCertRequest { @@ -65,6 +66,14 @@ class SiteCurd extends Curd { advance_mode(name: string, data: { advanced: boolean }) { return http.post(`${this.baseUrl}/${encodeURIComponent(name)}/advance`, data) } + + enableMaintenance(name: string) { + return http.post(`${this.baseUrl}/${encodeURIComponent(name)}/maintenance/enable`) + } + + disableMaintenance(name: string) { + return http.post(`${this.baseUrl}/${encodeURIComponent(name)}/maintenance/disable`) + } } const site = new SiteCurd('/sites') diff --git a/app/src/components/Notification/notifications.ts b/app/src/components/Notification/notifications.ts index 4b5b38e2..04e7bce0 100644 --- a/app/src/components/Notification/notifications.ts +++ b/app/src/components/Notification/notifications.ts @@ -4,12 +4,6 @@ const notifications: Record string, content: (args: any) => string }> = { - // user module notifications - 'All Recovery Codes Have Been Used': { - title: () => $gettext('All Recovery Codes Have Been Used'), - content: (args: any) => $gettext('Please generate new recovery codes in the preferences immediately to prevent lockout.', args), - }, - // cluster module notifications 'Reload Remote Nginx Error': { title: () => $gettext('Reload Remote Nginx Error'), @@ -81,6 +75,22 @@ const notifications: Record string, content: (args: any) title: () => $gettext('Enable Remote Site Success'), content: (args: any) => $gettext('Enable site %{name} on %{node} successfully', args), }, + 'Enable Remote Site Maintenance Error': { + title: () => $gettext('Enable Remote Site Maintenance Error'), + content: (args: any) => $gettext('Enable site %{name} maintenance on %{node} failed', args), + }, + 'Enable Remote Site Maintenance Success': { + title: () => $gettext('Enable Remote Site Maintenance Success'), + content: (args: any) => $gettext('Enable site %{name} maintenance on %{node} successfully', args), + }, + 'Disable Remote Site Maintenance Error': { + title: () => $gettext('Disable Remote Site Maintenance Error'), + content: (args: any) => $gettext('Disable site %{name} maintenance on %{node} failed', args), + }, + 'Disable Remote Site Maintenance Success': { + title: () => $gettext('Disable Remote Site Maintenance Success'), + content: (args: any) => $gettext('Disable site %{name} maintenance on %{node} successfully', args), + }, 'Rename Remote Site Error': { title: () => $gettext('Rename Remote Site Error'), content: (args: any) => $gettext('Rename site %{name} to %{new_name} on %{node} failed', args), @@ -139,6 +149,12 @@ const notifications: Record string, content: (args: any) title: () => $gettext('Save Remote Stream Success'), content: (args: any) => $gettext('Save stream %{name} to %{node} successfully', args), }, + + // user module notifications + 'All Recovery Codes Have Been Used': { + title: () => $gettext('All Recovery Codes Have Been Used'), + content: (args: any) => $gettext('Please generate new recovery codes in the preferences immediately to prevent lockout.', args), + }, } export default notifications diff --git a/app/src/constants/errors/cert.ts b/app/src/constants/errors/cert.ts index 96a16b9d..611531b8 100644 --- a/app/src/constants/errors/cert.ts +++ b/app/src/constants/errors/cert.ts @@ -5,4 +5,5 @@ export default { 50004: () => $gettext('Certificate parse error'), 50005: () => $gettext('Payload resource is nil'), 50006: () => $gettext('Path: {0} is not under the nginx conf dir: {1}'), + 50007: () => $gettext('Certificate path is empty'), } diff --git a/app/src/constants/index.ts b/app/src/constants/index.ts index df305401..afc27ef3 100644 --- a/app/src/constants/index.ts +++ b/app/src/constants/index.ts @@ -1,5 +1,11 @@ export const DATE_FORMAT = 'YYYY-MM-DD' +export enum ConfigStatus { + Enabled = 'enabled', + Disabled = 'disabled', + Maintenance = 'maintenance', +} + export enum AutoCertState { Disable = 0, Enable = 1, diff --git a/app/src/language/ar/app.po b/app/src/language/ar/app.po index f4565053..0ed77e69 100644 --- a/app/src/language/ar/app.po +++ b/app/src/language/ar/app.po @@ -42,13 +42,13 @@ msgstr "مستخدم ACME" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "إجراء" @@ -59,7 +59,7 @@ msgstr "إجراء" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "إضافة" @@ -68,8 +68,8 @@ msgstr "إضافة" msgid "Add a passkey" msgstr "أضف مفتاح مرور" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "إضافة تكوين" @@ -86,11 +86,11 @@ msgstr "أضف مكان" msgid "Add Site" msgstr "أضف موقع" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "أضف Stream" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "تمت الإضافة بنجاح" @@ -99,7 +99,7 @@ msgid "Additional" msgstr "إضافي" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "الوضع المتقدم" @@ -112,7 +112,8 @@ msgstr "بعد ذلك، قم بتحديث هذه الصفحة وانقر فوق msgid "All" msgstr "الكل" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -194,8 +195,8 @@ msgstr "هل أنت متأكد أنك تريد حذف هذا العنصر نها msgid "Are you sure you want to delete this item?" msgstr "هل أنت متأكد أنك تريد حذف هذا العنصر؟" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "هل أنت متأكد أنك تريد الحذف؟" @@ -280,10 +281,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "رجوع" @@ -330,14 +331,14 @@ msgstr "محظور حتى" msgid "Base information" msgstr "المعلومات الأساسية" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "أساسي" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "الوضع الأساسي" @@ -394,8 +395,8 @@ msgstr "إلغاء" msgid "Cannot change initial user password in demo mode" msgstr "حظر تغيير كلمة مرور root في العرض التوضيحي" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -422,6 +423,11 @@ msgstr "خطأ في مزامنة الشهادة" msgid "Certificate parse error" msgstr "خطأ في مزامنة الشهادة" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "نماذج التكوين" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "الفاصل الزمني لتجديد الشهادة" @@ -470,7 +476,7 @@ msgstr[3] "الشهادات المعدلة" msgstr[4] "الشهادات المعدلة" msgstr[5] "الشهادات المعدلة" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "Changed Path" msgstr "المسار المتغير" @@ -537,7 +543,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -552,20 +558,20 @@ msgstr "أمر" msgid "Comments" msgstr "تعليقات" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "التكوينات" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -582,7 +588,7 @@ msgstr "نماذج التكوين" msgid "Configuration file is test successful" msgstr "تم اختبار ملف التكوين بنجاح" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "التكوينات" @@ -591,7 +597,7 @@ msgstr "التكوينات" msgid "Configuration Name" msgstr "اسم التكوين" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "التكوينات" @@ -659,11 +665,11 @@ msgstr "إنشاء آخر" msgid "Create Backup" msgstr "تم الإنشاء في" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 msgid "Create File" msgstr "إنشاء ملف" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 msgid "Create Folder" msgstr "إنشاء مجلد" @@ -704,7 +710,7 @@ msgstr "TOTP مفعل للحساب الحالي." msgid "Current account is not enabled TOTP." msgstr "TOTP معطل للحساب الحالي." -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "الإصدار الحالي" @@ -724,8 +730,8 @@ msgid "" "indicator." msgstr "قم بتخصيص اسم العقدة المحلية ليتم عرضها في مؤشر البيئة." -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "لوحة المعلومات" @@ -746,8 +752,8 @@ msgstr "وصف" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "حذف" @@ -756,49 +762,49 @@ msgstr "حذف" msgid "Delete Permanently" msgstr "حذف نهائي" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 msgid "Delete Remote Site Error" msgstr "خطأ حذف الموقع البعيد" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 msgid "Delete Remote Site Success" msgstr "نجح حذف الموقع البعيد" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "خطأ حذف الموقع البعيد" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "نجح حذف الموقع البعيد" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "فشل نشر {conf_name}% إلى {node_name}%" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "تمت إزالة الموقع %{site} من %{node} بنجاح" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "حذف الموقع: ‎%{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "فشل نشر {conf_name}% إلى {node_name}%" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "تمت إزالة الموقع %{site} من %{node} بنجاح" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "حذف البث: ‎%{stream_name}" @@ -810,7 +816,7 @@ msgstr "تم الحذف بنجاح" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "نشر" @@ -851,8 +857,8 @@ msgstr "" msgid "Directives" msgstr "توجيهات" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "تعطيل" @@ -860,40 +866,60 @@ msgstr "تعطيل" msgid "Disable auto-renewal failed for %{name}" msgstr "فشل تعطيل التجديد التلقائي لـ {name}%" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 msgid "Disable Remote Site Error" msgstr "خطأ في تعطيل الموقع البعيد" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "خطأ في تعطيل الموقع البعيد" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "تعطيل الموقع البعيد بنجاح" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 msgid "Disable Remote Site Success" msgstr "تعطيل الموقع البعيد بنجاح" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "خطأ في تعطيل الموقع البعيد" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "تعطيل الموقع البعيد بنجاح" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "تم تعطيل الموقع %{site} على %{node} بنجاح" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "تم تعطيل الموقع %{site} على %{node} بنجاح" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "تم تعطيل الموقع %{site} على %{node} بنجاح" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "تم تعطيل الموقع %{site} على %{node} بنجاح" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "فشل تفعيل %{conf_name} في %{node_name}" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "تم تعطيل الموقع %{site} على %{node} بنجاح" @@ -904,16 +930,16 @@ msgstr "تم تعطيل الموقع %{site} على %{node} بنجاح" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "معطل" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "تم التعطيل بنجاح" @@ -1013,9 +1039,9 @@ msgstr "" "الويب غير HTTPS، إلا عند التشغيل على localhost." #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "مكرر" @@ -1030,11 +1056,11 @@ msgid "Edit" msgstr "تعديل %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "تعديل %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "تعديل التكوين" @@ -1055,8 +1081,8 @@ msgstr "بريد إلكتروني" msgid "Email (*)" msgstr "البريد الإلكتروني (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "تفعيل" @@ -1077,40 +1103,60 @@ msgstr "فشل التفعيل" msgid "Enable HTTPS" msgstr "تفعيل TOTP" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 msgid "Enable Remote Site Error" msgstr "خطأ في تفعيل الموقع البعيد" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "خطأ في تفعيل الموقع البعيد" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "نجح تفعيل الموقع البعيد" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 msgid "Enable Remote Site Success" msgstr "نجح تفعيل الموقع البعيد" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "خطأ في تفعيل الموقع البعيد" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "نجح تفعيل الموقع البعيد" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "فشل تفعيل %{conf_name} في %{node_name}" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "تم تفعيل الموقع %{site} على %{node} بنجاح" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "فشل تفعيل %{conf_name} في %{node_name}" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "تم تفعيل الموقع %{site} على %{node} بنجاح" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "فشل تفعيل %{conf_name} في %{node_name}" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "تم تفعيل الموقع %{site} على %{node} بنجاح" @@ -1131,19 +1177,19 @@ msgstr "تفعيل TOTP" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "مفعل" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "تم التفعيل بنجاح" @@ -1151,6 +1197,10 @@ msgstr "تم التفعيل بنجاح" msgid "Encrypt website with Let's Encrypt" msgstr "تشفير الموقع باستخدام Let's Encrypt" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "تم تنظيف متغيرات البيئة" @@ -1161,12 +1211,12 @@ msgstr "تم تنظيف متغيرات البيئة" msgid "Environments" msgstr "البيئات" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "خطأ" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1179,7 +1229,7 @@ msgstr "سجلات الأخطاء" msgid "Error Logs" msgstr "سجلات الأخطاء" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1187,6 +1237,10 @@ msgstr "" msgid "Executable Path" msgstr "مسار الملف التنفيذي" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1340,16 +1394,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "فشل في تعطيل %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "فشل في التفعيل %{msg}" @@ -1395,7 +1447,7 @@ msgstr "فشل في الحصول على معلومات الشهادة" msgid "Failed to get certificate information" msgstr "فشل في الحصول على معلومات الشهادة" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "فشل في التفعيل %{msg}" @@ -1454,7 +1506,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "فشل في الحفظ، تم اكتشاف خطأ(أخطاء) في بناء الجملة في التكوين." @@ -1519,15 +1571,15 @@ msgstr "للمستخدمين الصين: /https://mirror.ghproxy.com" msgid "Form parse failed" msgstr "فشل التكرار" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "تنسيق الكود" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "خطأ في التنسيق %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "تم التنسيق بنجاح" @@ -1580,9 +1632,9 @@ msgstr "" msgid "Hide" msgstr "إخفاء" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "مجلد" @@ -1657,17 +1709,17 @@ msgid "Import Certificate" msgstr "استيراد شهادة" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "معلومات" @@ -1737,8 +1789,8 @@ msgstr "اسم ملف غير صالح" msgid "Invalid file path: {0}" msgstr "رمز 2FA أو الاسترداد غير صالح" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "اسم ملف غير صالح" @@ -1925,6 +1977,21 @@ msgstr "" "مجدول المهام crontab الخاص بواجهة Nginx UI بتنفيذ أمر تدوير السجلات في " "الفاصل الزمني الذي تحدده بالدقائق." +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "تم التعطيل بنجاح" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "تم التفعيل بنجاح" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 msgid "" "Make sure you have configured a reverse proxy for .well-known directory to " @@ -1933,16 +2000,16 @@ msgstr "" "تأكد من تكوين وكيل عكسي لدليل .well-known إلى HTTPChallengePort قبل الحصول " "على الشهادة." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "إدارة التكوينات" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "إدارة المواقع" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 msgid "Manage Streams" msgstr "إدارة التدفقات" @@ -1975,14 +2042,14 @@ msgstr "دقائق" msgid "Model" msgstr "نموذج" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 msgid "Modify" msgstr "تعديل" @@ -2008,18 +2075,18 @@ msgstr "توجيه متعدد الأسطر" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "اسم" @@ -2044,11 +2111,11 @@ msgstr "إجمالي إرسال الشبكة" msgid "New Installation" msgstr "تثبيت" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 msgid "New name" msgstr "اسم جديد" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "New Path" msgstr "مسار جديد" @@ -2105,7 +2172,7 @@ msgid "Nginx configuration has been restored" msgstr "خطأ في تحليل تكوين Nginx" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 msgid "Nginx Configuration Parse Error" msgstr "خطأ في تحليل تكوين Nginx" @@ -2202,8 +2269,8 @@ msgstr "خطأ في تحليل تكوين Nginx" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "لا" @@ -2213,7 +2280,7 @@ msgstr "لا" msgid "No Action" msgstr "إجراء" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2223,9 +2290,9 @@ msgid "Node" msgstr "اسم العقدة" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "بيئة" @@ -2328,9 +2395,9 @@ msgstr "حسنًا" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "حسنًا" @@ -2363,7 +2430,7 @@ msgstr "أو" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "الاسم الأصلي" @@ -2380,11 +2447,11 @@ msgstr "نظام التشغيل:" msgid "Otp or recovery code empty" msgstr "استخدم رمز الاسترداد" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "الكتابة فوق" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "الكتابة فوق الملف الموجود" @@ -2428,7 +2495,7 @@ msgstr "اسم المستخدم أو كلمة المرور غير صحيحة" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2498,14 +2565,15 @@ msgstr "" "يرجى أولاً إضافة بيانات الاعتماد في الشهادات > بيانات اعتماد DNS، ثم اختيار " "أحد بيانات الاعتماد أدناه لطلب API لمزود DNS." -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 msgid "Please input a filename" msgstr "يرجى إدخال اسم الملف" @@ -2722,22 +2790,22 @@ msgstr "إعادة تحميل" msgid "Reload Nginx" msgstr "إعادة تحميل nginx" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "خطأ في إزالة الموقع %{site} من %{node}، الاستجابة: %{resp}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "تمت ترقية Nginx UI على %{node} بنجاح 🎉" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "خطأ في إعادة تسمية الموقع البعيد" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "تم إعادة تسمية الموقع البعيد بنجاح" @@ -2767,71 +2835,71 @@ msgstr "إزالة بنجاح" msgid "Removed successfully" msgstr "تمت الإزالة بنجاح" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 msgid "Rename" msgstr "إعادة تسمية" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "تم إعادة تسمية %{orig_path} إلى %{new_path} على %{env_name} بنجاح" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "تم إعادة تسمية %{orig_path} إلى %{new_path} على %{env_name} بنجاح" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 msgid "Rename Remote Config Error" msgstr "خطأ في إعادة تسمية التكوين البعيد" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 msgid "Rename Remote Config Success" msgstr "إعادة تسمية تكوين البعيد بنجاح" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 msgid "Rename Remote Site Error" msgstr "خطأ في إعادة تسمية الموقع البعيد" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 msgid "Rename Remote Site Success" msgstr "تم إعادة تسمية الموقع البعيد بنجاح" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "خطأ في إعادة تسمية الموقع البعيد" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "تم إعادة تسمية الموقع البعيد بنجاح" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "إعادة تسمية الموقع %{site} إلى %{new_site} على %{node} بنجاح" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "إعادة تسمية الموقع %{site} إلى %{new_site} على %{node} بنجاح" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "إعادة تسمية الموقع %{site} إلى %{new_site} على %{node} بنجاح" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "إعادة تسمية الموقع %{site} إلى %{new_site} على %{node} بنجاح" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 msgid "Rename successfully" msgstr "إعادة التسمية بنجاح" @@ -2886,22 +2954,22 @@ msgstr "إعادة تشغيل" msgid "Restart Nginx" msgstr "إعادة التشغيل" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "خطأ في تفعيل الموقع %{site} على %{node}، الاستجابة: %{resp}" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "تمت ترقية Nginx UI على %{node} بنجاح 🎉" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "خطأ في إعادة تسمية الموقع البعيد" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "تم إعادة تسمية الموقع البعيد بنجاح" @@ -2936,8 +3004,8 @@ msgstr "مجلد تكوينات Nginx" msgid "Restore Nginx UI Configuration" msgstr "مجلد تكوينات Nginx" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -2965,15 +3033,15 @@ msgstr "يعمل" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "حفظ" @@ -2981,46 +3049,47 @@ msgstr "حفظ" msgid "Save Directive" msgstr "حفظ التوجيه" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "خطأ في الحفظ %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 msgid "Save Remote Site Error" msgstr "خطأ في حفظ الموقع البعيد" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 msgid "Save Remote Site Success" msgstr "حفظ الموقع البعيد بنجاح" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "خطأ في حفظ الموقع البعيد" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "حفظ الموقع البعيد بنجاح" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "تم حفظ الموقع %{site} إلى %{node} بنجاح" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "تم حفظ الموقع %{site} إلى %{node} بنجاح" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "فشل نشر {conf_name}% إلى {node_name}%" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "تم حفظ الموقع %{site} إلى %{node} بنجاح" @@ -3032,11 +3101,11 @@ msgstr "تم حفظ الموقع %{site} إلى %{node} بنجاح" msgid "Save successfully" msgstr "تم الحفظ بنجاح" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "تم الحفظ بنجاح" @@ -3254,7 +3323,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "الحالة" @@ -3292,7 +3361,7 @@ msgstr "مجلد" msgid "Streams-enabled directory not exist" msgstr "مجلد" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "نجاح" @@ -3322,7 +3391,7 @@ msgstr "التبديل إلى الوضع الداكن" msgid "Switch to light theme" msgstr "التبديل إلى الوضع الفاتح" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "مزامنة" @@ -3330,38 +3399,38 @@ msgstr "مزامنة" msgid "Sync Certificate" msgstr "مزامنة الشهادة" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "نجح مزامنة الشهادة %{cert_name} إلى %{env_name}" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "نجح مزامنة الشهادة %{cert_name} إلى %{env_name}" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 msgid "Sync Certificate Error" msgstr "خطأ في مزامنة الشهادة" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 msgid "Sync Certificate Success" msgstr "تمت مزامنة الشهادة بنجاح" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "تمت مزامنة التكوين %{config_name} إلى %{env_name} بنجاح" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "تمت مزامنة التكوين %{config_name} إلى %{env_name} بنجاح" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 msgid "Sync Config Error" msgstr "خطأ في تزامن التكوين" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 msgid "Sync Config Success" msgstr "تمت مزامنة التكوين بنجاح" @@ -3698,13 +3767,13 @@ msgstr "تم التحديث بنجاح" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "محدث في" @@ -3744,7 +3813,7 @@ msgstr "مدة التشغيل:" msgid "URL" msgstr "عنوان URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3820,7 +3889,7 @@ msgstr "رمز الاسترداد" msgid "Viewed" msgstr "عرض" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/de_DE/app.po b/app/src/language/de_DE/app.po index 8ddb1569..9374b6d2 100644 --- a/app/src/language/de_DE/app.po +++ b/app/src/language/de_DE/app.po @@ -39,13 +39,13 @@ msgstr "Benutzername" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "Aktion" @@ -56,7 +56,7 @@ msgstr "Aktion" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "Hinzufügen" @@ -65,8 +65,8 @@ msgstr "Hinzufügen" msgid "Add a passkey" msgstr "Passkey hinzufügen" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Add Configuration" msgstr "Konfiguration bearbeiten" @@ -84,12 +84,12 @@ msgstr "Ort hinzufügen" msgid "Add Site" msgstr "Seite hinzufügen" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 #, fuzzy msgid "Add Stream" msgstr "Seite hinzufügen" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 #, fuzzy msgid "Added successfully" msgstr "Speichern erfolgreich" @@ -100,7 +100,7 @@ msgid "Additional" msgstr "Ort hinzufügen" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "Erweiterter Modus" @@ -115,7 +115,8 @@ msgstr "" msgid "All" msgstr "Alle" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -203,8 +204,8 @@ msgstr "Bist du sicher, dass du diese Richtlinie löschen möchtest?" msgid "Are you sure you want to delete this item?" msgstr "Bist du sicher, dass du diese Richtlinie löschen möchtest?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 #, fuzzy msgid "Are you sure you want to delete?" msgstr "Bist du sicher, dass du diese Richtlinie löschen möchtest?" @@ -294,10 +295,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "Zurück" @@ -345,7 +346,7 @@ msgstr "Gesperrt bis" msgid "Base information" msgstr "Basisinformationen" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 #, fuzzy @@ -353,7 +354,7 @@ msgid "Basic" msgstr "Basic-Modus" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "Basic-Modus" @@ -412,8 +413,8 @@ msgstr "Abbrechen" msgid "Cannot change initial user password in demo mode" msgstr "Verhindere das Ändern des Root-Passworts in der Demo" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -440,6 +441,11 @@ msgstr "Zertifikat ist gültig" msgid "Certificate parse error" msgstr "Certificate has expired" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "Konfigurationen" + #: src/views/preference/CertSettings.vue:27 #, fuzzy msgid "Certificate Renewal Interval" @@ -486,7 +492,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Zertifikat ist gültig" msgstr[1] "Zertifikat ist gültig" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "Changed Path" msgstr "Zertifikat ist gültig" @@ -555,7 +561,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -571,20 +577,20 @@ msgstr "Kommando" msgid "Comments" msgstr "Kom" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "Konfigurationen" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -602,7 +608,7 @@ msgstr "Konfigurationen" msgid "Configuration file is test successful" msgstr "Konfigurationsdatei erfolgreich getestet" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "Konfigurationen" @@ -611,7 +617,7 @@ msgstr "Konfigurationen" msgid "Configuration Name" msgstr "Konf" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "Konfigurationen" @@ -680,12 +686,12 @@ msgstr "Weiteres erstellen" msgid "Create Backup" msgstr "Erstellt" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 #, fuzzy msgid "Create File" msgstr "Erstellt" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 #, fuzzy msgid "Create Folder" msgstr "Weiteres erstellen" @@ -728,7 +734,7 @@ msgstr "Aktuelles Konto ist TOTP aktiviert." msgid "Current account is not enabled TOTP." msgstr "Aktuelles Konto ist nicht TOTP aktiviert." -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "Aktuelle Version" @@ -749,8 +755,8 @@ msgid "" msgstr "" "Name des lokalen Knotens anpassen, der im Umgebungsindikator angezeigt wird." -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "Übersicht" @@ -771,8 +777,8 @@ msgstr "Beschreibung" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "Löschen" @@ -781,51 +787,51 @@ msgstr "Löschen" msgid "Delete Permanently" msgstr "Permanent löschen" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 #, fuzzy msgid "Delete Remote Site Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 #, fuzzy msgid "Delete Remote Site Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "Ausführen von %{conf_name} auf %{node_name} fehlgeschlagen" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "Speichern erfolgreich" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "Seite löschen: %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "Ausführen von %{conf_name} auf %{node_name} fehlgeschlagen" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "Speichern erfolgreich" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "Stream löschen: %{stream_name}" @@ -838,7 +844,7 @@ msgstr "Erfolgreich deaktiviert" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "Ausführen" @@ -879,8 +885,8 @@ msgstr "" msgid "Directives" msgstr "Anweisung" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 #, fuzzy msgid "Disable" msgstr "Deaktiviert" @@ -889,42 +895,62 @@ msgstr "Deaktiviert" msgid "Disable auto-renewal failed for %{name}" msgstr "Automatische Verlängerung deaktiviert für %{name}" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 #, fuzzy msgid "Disable Remote Site Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "Zertifikat ist gültig" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "Zertifikat ist gültig" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 #, fuzzy msgid "Disable Remote Site Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "Speichern erfolgreich" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "Speichern erfolgreich" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "Aktivieren von %{conf_name} in %{node_name} fehlgeschlagen" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "Speichern erfolgreich" @@ -935,16 +961,16 @@ msgstr "Speichern erfolgreich" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "Deaktiviert" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "Erfolgreich deaktiviert" @@ -1052,9 +1078,9 @@ msgstr "" "werden." #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "Duplizieren" @@ -1070,11 +1096,11 @@ msgid "Edit" msgstr "Bearbeiten %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "Bearbeiten %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "Konfiguration bearbeiten" @@ -1097,8 +1123,8 @@ msgstr "Email (*)" msgid "Email (*)" msgstr "Email (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 #, fuzzy msgid "Enable" msgstr "Aktivieren" @@ -1121,42 +1147,62 @@ msgstr "Aktivieren fehlgeschlagen" msgid "Enable HTTPS" msgstr "Aktiviere TLS" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "Zertifikat ist gültig" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "Zertifikat ist gültig" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "Aktivieren von %{conf_name} in %{node_name} fehlgeschlagen" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "Erfolgreich gespeichert" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "Aktivieren von %{conf_name} in %{node_name} fehlgeschlagen" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "Erfolgreich gespeichert" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "Aktivieren von %{conf_name} in %{node_name} fehlgeschlagen" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "Erfolgreich gespeichert" @@ -1178,19 +1224,19 @@ msgstr "Aktiviere TLS" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "Aktiviert" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "Erfolgreich aktiviert" @@ -1198,6 +1244,10 @@ msgstr "Erfolgreich aktiviert" msgid "Encrypt website with Let's Encrypt" msgstr "Webseite mit Let's Encrypt verschlüsseln" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "Umgebungsvariablen gesäubert" @@ -1209,12 +1259,12 @@ msgstr "Umgebungsvariablen gesäubert" msgid "Environments" msgstr "Kommentare" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "Fehler" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1227,7 +1277,7 @@ msgstr "Feherlogs" msgid "Error Logs" msgstr "Feherlogs" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1235,6 +1285,10 @@ msgstr "" msgid "Executable Path" msgstr "Ausführbarer Pfad" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1389,16 +1443,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "Deaktivierung von %{msg} fehlgeschlagen" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "Aktiviern von %{msg} fehlgeschlagen" @@ -1444,7 +1496,7 @@ msgstr "Fehler beim Abrufen von Zertifikatsinformationen" msgid "Failed to get certificate information" msgstr "Fehler beim Abrufen von Zertifikatsinformationen" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "Aktiviern von %{msg} fehlgeschlagen" @@ -1499,7 +1551,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "" "Fehler beim Speichern, Syntaxfehler wurden in der Konfiguration erkannt." @@ -1567,16 +1619,16 @@ msgstr "Für chinesische Benutzer: https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "Anlegen fehlgeschlagen" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "Formatcode" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 #, fuzzy msgid "Format error %{msg}" msgstr "Fehler beim Speichern %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 #, fuzzy msgid "Format successfully" msgstr "Speichern erfolgreich" @@ -1632,9 +1684,9 @@ msgstr "" msgid "Hide" msgstr "Verstecken" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 msgid "History" msgstr "" @@ -1710,17 +1762,17 @@ msgid "Import Certificate" msgstr "Zertifikatsstatus" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "Information" @@ -1790,8 +1842,8 @@ msgstr "Ungültige E-Mail!" msgid "Invalid file path: {0}" msgstr "Ungültige E-Mail!" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 #, fuzzy msgid "Invalid filename" msgstr "Ungültige E-Mail!" @@ -1990,6 +2042,21 @@ msgstr "" "Der Crontab-Aufgabenplaner von Nginx UI führt den Logrotate-Befehl in dem " "von dir in Minuten festgelegten Intervall aus." +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "Erfolgreich deaktiviert" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "Erfolgreich aktiviert" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 #, fuzzy msgid "" @@ -2000,16 +2067,16 @@ msgstr "" "zum HTTPChallengePort (Standard: 9180) konfiguriert hast, bevor du das " "Zertifikat erhältst." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "Verwalte Konfigurationen" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "Verwalte Seiten" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 #, fuzzy msgid "Manage Streams" msgstr "Verwalte Seiten" @@ -2045,14 +2112,14 @@ msgstr "Minuten" msgid "Model" msgstr "Erweiterter Modus" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 #, fuzzy msgid "Modify" msgstr "Konfiguration bearbeiten" @@ -2082,18 +2149,18 @@ msgstr "Einzelne Anweisung" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "Name" @@ -2118,12 +2185,12 @@ msgstr "Gesamter Netzwerkversand" msgid "New Installation" msgstr "Installieren" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 #, fuzzy msgid "New name" msgstr "Benutzername" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "New Path" msgstr "Pfad" @@ -2181,7 +2248,7 @@ msgid "Nginx configuration has been restored" msgstr "Name der Konfiguration" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 #, fuzzy msgid "Nginx Configuration Parse Error" msgstr "Name der Konfiguration" @@ -2282,8 +2349,8 @@ msgstr "Name der Konfiguration" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "Nein" @@ -2293,7 +2360,7 @@ msgstr "Nein" msgid "No Action" msgstr "Aktion" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2303,9 +2370,9 @@ msgid "Node" msgstr "Benuztername" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "Umgebung" @@ -2413,9 +2480,9 @@ msgstr "OK" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "OK" @@ -2449,7 +2516,7 @@ msgstr "Oder" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "Originalname" @@ -2467,11 +2534,11 @@ msgstr "OS:" msgid "Otp or recovery code empty" msgstr "Benuzte Wiederherstellungscode" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "Überschreiben" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "Zu überschreibende Datei existiert" @@ -2515,7 +2582,7 @@ msgstr "Benuztername oder Passwort ist falsch" msgid "Password length cannot exceed 20 characters" msgstr "Passwort darf nicht länger als 20 Zeichen sein" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2589,14 +2656,15 @@ msgstr "" "Anmeldeinformationen hinzu und wähle dann eine der unten aufgeführten " "Anmeldeinformationen aus, um die API des DNS-Anbieters anzufordern." -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 #, fuzzy msgid "Please input a filename" msgstr "Bitte Benutzernamen eingeben!" @@ -2828,22 +2896,22 @@ msgstr "Neu laden" msgid "Reload Nginx" msgstr "Lade Nginx neu" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "Zertifikat ist gültig" @@ -2875,9 +2943,9 @@ msgstr "Speichern erfolgreich" msgid "Removed successfully" msgstr "Speichern erfolgreich" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 @@ -2885,67 +2953,67 @@ msgstr "Speichern erfolgreich" msgid "Rename" msgstr "Benuztername" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 #, fuzzy msgid "Rename Remote Config Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 #, fuzzy msgid "Rename Remote Config Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "Speichern erfolgreich" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 #, fuzzy msgid "Rename successfully" msgstr "Aktivierung erfolgreich" @@ -3006,22 +3074,22 @@ msgstr "Neustart" msgid "Restart Nginx" msgstr "Starte neu" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "Erfolgreich gespeichert" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "Zertifikat ist gültig" @@ -3056,8 +3124,8 @@ msgstr "Name der Konfiguration" msgid "Restore Nginx UI Configuration" msgstr "Name der Konfiguration" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -3086,15 +3154,15 @@ msgstr "Arbeite" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "Speichern" @@ -3102,48 +3170,49 @@ msgstr "Speichern" msgid "Save Directive" msgstr "Anweisung speichern" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "Fehler beim Speichern %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "Ausführen von %{conf_name} auf %{node_name} fehlgeschlagen" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "Speichern erfolgreich" @@ -3156,11 +3225,11 @@ msgstr "Speichern erfolgreich" msgid "Save successfully" msgstr "Speichern erfolgreich" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "Speichern erfolgreich" @@ -3384,7 +3453,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "Status" @@ -3420,7 +3489,7 @@ msgstr "" msgid "Streams-enabled directory not exist" msgstr "" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "Erfolg" @@ -3450,7 +3519,7 @@ msgstr "Zum dunklen Thema wechseln" msgid "Switch to light theme" msgstr "Zum hellen Thema wechseln" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "Synchronisieren" @@ -3459,42 +3528,42 @@ msgstr "Synchronisieren" msgid "Sync Certificate" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 #, fuzzy msgid "Sync Certificate Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 #, fuzzy msgid "Sync Certificate Success" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "Speichern erfolgreich" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 #, fuzzy msgid "Sync Config Error" msgstr "Zertifikat ist gültig" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 #, fuzzy msgid "Sync Config Success" msgstr "Zertifikat ist gültig" @@ -3836,13 +3905,13 @@ msgstr "Speichern erfolgreich" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "Aktualisiert am" @@ -3885,7 +3954,7 @@ msgstr "Uptime:" msgid "URL" msgstr "URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3964,7 +4033,7 @@ msgstr "Wiederherstellungscode" msgid "Viewed" msgstr "Anzeigen" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/en/app.po b/app/src/language/en/app.po index c630d24b..1cfaccd8 100644 --- a/app/src/language/en/app.po +++ b/app/src/language/en/app.po @@ -40,13 +40,13 @@ msgstr "Username" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "Action" @@ -57,7 +57,7 @@ msgstr "Action" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "" @@ -66,8 +66,8 @@ msgstr "" msgid "Add a passkey" msgstr "" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Add Configuration" msgstr "Edit Configuration" @@ -85,12 +85,12 @@ msgstr "Add Location" msgid "Add Site" msgstr "Add Site" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 #, fuzzy msgid "Add Stream" msgstr "Add Site" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 #, fuzzy msgid "Added successfully" msgstr "Saved successfully" @@ -101,7 +101,7 @@ msgid "Additional" msgstr "Add Location" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "Advance Mode" @@ -114,7 +114,8 @@ msgstr "" msgid "All" msgstr "" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -202,8 +203,8 @@ msgstr "Are you sure you want to remove this directive?" msgid "Are you sure you want to delete this item?" msgstr "Are you sure you want to remove this directive?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 #, fuzzy msgid "Are you sure you want to delete?" msgstr "Are you sure you want to remove this directive?" @@ -291,10 +292,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "Back" @@ -342,7 +343,7 @@ msgstr "" msgid "Base information" msgstr "Base information" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 #, fuzzy @@ -350,7 +351,7 @@ msgid "Basic" msgstr "Basic Mode" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "Basic Mode" @@ -407,8 +408,8 @@ msgstr "Cancel" msgid "Cannot change initial user password in demo mode" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -434,6 +435,11 @@ msgstr "Certificate is valid" msgid "Certificate parse error" msgstr "Certificate has expired" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "Configurations" + #: src/views/preference/CertSettings.vue:27 #, fuzzy msgid "Certificate Renewal Interval" @@ -480,7 +486,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Certificate is valid" msgstr[1] "Certificate is valid" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "Changed Path" msgstr "Certificate is valid" @@ -549,7 +555,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -565,20 +571,20 @@ msgstr "Comments" msgid "Comments" msgstr "Comments" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "Configurations" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -596,7 +602,7 @@ msgstr "Configurations" msgid "Configuration file is test successful" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "Configurations" @@ -605,7 +611,7 @@ msgstr "Configurations" msgid "Configuration Name" msgstr "Configuration Name" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "Configurations" @@ -672,12 +678,12 @@ msgstr "Create Another" msgid "Create Backup" msgstr "Created at" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 #, fuzzy msgid "Create File" msgstr "Created at" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 #, fuzzy msgid "Create Folder" msgstr "Create Another" @@ -720,7 +726,7 @@ msgstr "" msgid "Current account is not enabled TOTP." msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "Content" @@ -740,8 +746,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "Dashboard" @@ -762,8 +768,8 @@ msgstr "Enable failed" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "" @@ -772,51 +778,51 @@ msgstr "" msgid "Delete Permanently" msgstr "" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 #, fuzzy msgid "Delete Remote Site Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 #, fuzzy msgid "Delete Remote Site Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "Saved successfully" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "Saved successfully" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "" @@ -829,7 +835,7 @@ msgstr "Disabled successfully" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "" @@ -870,8 +876,8 @@ msgstr "" msgid "Directives" msgstr "Directives" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 #, fuzzy msgid "Disable" msgstr "Disabled" @@ -880,42 +886,62 @@ msgstr "Disabled" msgid "Disable auto-renewal failed for %{name}" msgstr "Disable auto-renewal failed for %{name}" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 #, fuzzy msgid "Disable Remote Site Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "Certificate is valid" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "Certificate is valid" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 #, fuzzy msgid "Disable Remote Site Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "Saved successfully" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "Saved successfully" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "Saved successfully" @@ -926,16 +952,16 @@ msgstr "Saved successfully" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "Disabled" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "Disabled successfully" @@ -1037,9 +1063,9 @@ msgid "" msgstr "" #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 #, fuzzy msgid "Duplicate" msgstr "Enable failed" @@ -1056,11 +1082,11 @@ msgid "Edit" msgstr "Edit %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "Edit %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "Edit Configuration" @@ -1083,8 +1109,8 @@ msgstr "Email (*)" msgid "Email (*)" msgstr "Email (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 #, fuzzy msgid "Enable" msgstr "Enabled" @@ -1107,42 +1133,62 @@ msgstr "Enable failed" msgid "Enable HTTPS" msgstr "Enable TLS" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "Certificate is valid" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "Certificate is valid" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "Saved successfully" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "Saved successfully" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "Saved successfully" @@ -1164,19 +1210,19 @@ msgstr "Enable TLS" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "Enabled" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "Enabled successfully" @@ -1184,6 +1230,10 @@ msgstr "Enabled successfully" msgid "Encrypt website with Let's Encrypt" msgstr "Encrypt website with Let's Encrypt" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "" @@ -1195,12 +1245,12 @@ msgstr "" msgid "Environments" msgstr "Comments" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1212,7 +1262,7 @@ msgstr "" msgid "Error Logs" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1220,6 +1270,10 @@ msgstr "" msgid "Executable Path" msgstr "" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1375,16 +1429,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "Failed to disable %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "Failed to enable %{msg}" @@ -1431,7 +1483,7 @@ msgstr "Certificate is valid" msgid "Failed to get certificate information" msgstr "Certificate is valid" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "Failed to enable %{msg}" @@ -1490,7 +1542,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "" @@ -1555,16 +1607,16 @@ msgstr "" msgid "Form parse failed" msgstr "Enable failed" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 #, fuzzy msgid "Format error %{msg}" msgstr "Save error %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 #, fuzzy msgid "Format successfully" msgstr "Saved successfully" @@ -1619,9 +1671,9 @@ msgstr "" msgid "Hide" msgstr "" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "Directive" @@ -1691,17 +1743,17 @@ msgid "Import Certificate" msgstr "Certificate Status" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "" @@ -1773,8 +1825,8 @@ msgstr "Invalid E-mail!" msgid "Invalid file path: {0}" msgstr "Invalid E-mail!" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 #, fuzzy msgid "Invalid filename" msgstr "Invalid E-mail!" @@ -1969,6 +2021,21 @@ msgid "" "minutes." msgstr "" +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "Disabled successfully" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "Enabled successfully" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 #, fuzzy msgid "" @@ -1978,16 +2045,16 @@ msgstr "" "Make sure you have configured a reverse proxy for .well-known directory to " "HTTPChallengePort (default: 9180) before getting the certificate." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "Manage Configs" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "Manage Sites" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 #, fuzzy msgid "Manage Streams" msgstr "Manage Sites" @@ -2023,14 +2090,14 @@ msgstr "" msgid "Model" msgstr "Advance Mode" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 #, fuzzy msgid "Modify" msgstr "Modify Config" @@ -2060,18 +2127,18 @@ msgstr "Single Directive" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "Name" @@ -2096,12 +2163,12 @@ msgstr "Network Total Send" msgid "New Installation" msgstr "Install" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 #, fuzzy msgid "New name" msgstr "Username" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "New Path" msgstr "Path" @@ -2159,7 +2226,7 @@ msgid "Nginx configuration has been restored" msgstr "Configuration Name" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 #, fuzzy msgid "Nginx Configuration Parse Error" msgstr "Configuration Name" @@ -2259,8 +2326,8 @@ msgstr "Configuration Name" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "No" @@ -2270,7 +2337,7 @@ msgstr "No" msgid "No Action" msgstr "Action" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2280,9 +2347,9 @@ msgid "Node" msgstr "Username" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "Comments" @@ -2387,9 +2454,9 @@ msgstr "" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "" @@ -2422,7 +2489,7 @@ msgstr "" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "" @@ -2439,11 +2506,11 @@ msgstr "OS:" msgid "Otp or recovery code empty" msgstr "" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "" @@ -2484,7 +2551,7 @@ msgstr "Password" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2551,14 +2618,15 @@ msgid "" "select one of the credentialsbelow to request the API of the DNS provider." msgstr "" -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 #, fuzzy msgid "Please input a filename" msgstr "Please input your username!" @@ -2781,22 +2849,22 @@ msgstr "" msgid "Reload Nginx" msgstr "" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "Certificate is valid" @@ -2828,9 +2896,9 @@ msgstr "Saved successfully" msgid "Removed successfully" msgstr "Saved successfully" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 @@ -2838,67 +2906,67 @@ msgstr "Saved successfully" msgid "Rename" msgstr "Username" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 #, fuzzy msgid "Rename Remote Config Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 #, fuzzy msgid "Rename Remote Config Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "Saved successfully" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 #, fuzzy msgid "Rename successfully" msgstr "Enabled successfully" @@ -2958,22 +3026,22 @@ msgstr "" msgid "Restart Nginx" msgstr "" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "Certificate is valid" @@ -3008,8 +3076,8 @@ msgstr "Configuration Name" msgid "Restore Nginx UI Configuration" msgstr "Configuration Name" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -3038,15 +3106,15 @@ msgstr "" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "Save" @@ -3054,48 +3122,49 @@ msgstr "Save" msgid "Save Directive" msgstr "Save Directive" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "Save error %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "Saved successfully" @@ -3108,11 +3177,11 @@ msgstr "Saved successfully" msgid "Save successfully" msgstr "Saved successfully" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "Saved successfully" @@ -3336,7 +3405,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "Status" @@ -3374,7 +3443,7 @@ msgstr "Directive" msgid "Streams-enabled directory not exist" msgstr "Directive" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "" @@ -3404,7 +3473,7 @@ msgstr "" msgid "Switch to light theme" msgstr "" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "" @@ -3413,42 +3482,42 @@ msgstr "" msgid "Sync Certificate" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 #, fuzzy msgid "Sync Certificate Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 #, fuzzy msgid "Sync Certificate Success" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "Saved successfully" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 #, fuzzy msgid "Sync Config Error" msgstr "Certificate is valid" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 #, fuzzy msgid "Sync Config Success" msgstr "Certificate is valid" @@ -3766,13 +3835,13 @@ msgstr "Saved successfully" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "Updated at" @@ -3815,7 +3884,7 @@ msgstr "Uptime:" msgid "URL" msgstr "" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3896,7 +3965,7 @@ msgstr "Invalid E-mail!" msgid "Viewed" msgstr "Basic Mode" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/es/app.po b/app/src/language/es/app.po index 323cb984..1c12c112 100644 --- a/app/src/language/es/app.po +++ b/app/src/language/es/app.po @@ -45,13 +45,13 @@ msgstr "Usuario ACME" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "Acción" @@ -62,7 +62,7 @@ msgstr "Acción" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "Agregar" @@ -71,8 +71,8 @@ msgstr "Agregar" msgid "Add a passkey" msgstr "Agregar una llave de acceso" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "Agregar configuración" @@ -89,11 +89,11 @@ msgstr "Agregar Ubicación" msgid "Add Site" msgstr "Agregar Sitio" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "Agregar Stream" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "Agregado exitoso" @@ -102,7 +102,7 @@ msgid "Additional" msgstr "Adicional" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "Modo avanzado" @@ -117,7 +117,8 @@ msgstr "" msgid "All" msgstr "Todo" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -199,8 +200,8 @@ msgstr "¿Está seguro de que desea eliminar este elemento de forma permanente?" msgid "Are you sure you want to delete this item?" msgstr "¿Está seguro de que quiere borrar este elemento?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "¿Está seguro de que quiere borrar?" @@ -285,10 +286,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "Volver" @@ -335,14 +336,14 @@ msgstr "Bloqueado hasta" msgid "Base information" msgstr "Información general" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "Básico" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "Modo Básico" @@ -401,8 +402,8 @@ msgstr "Cancelar" msgid "Cannot change initial user password in demo mode" msgstr "Prohibir cambiar la contraseña de root en la demostración" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -429,6 +430,11 @@ msgstr "Error de Certificado de Sincronización" msgid "Certificate parse error" msgstr "El certificado expiró" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "Plantillas de configuración" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "Intervalo de renovación del Certificado" @@ -469,7 +475,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Cambiar Certificado" msgstr[1] "Cambiar Certificados" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "Changed Path" msgstr "Ruta cambiada" @@ -536,7 +542,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -551,20 +557,20 @@ msgstr "Comando" msgid "Comments" msgstr "Comentarios" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "Configuraciones" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -581,7 +587,7 @@ msgstr "Plantillas de configuración" msgid "Configuration file is test successful" msgstr "El archivo de configuración se probó exitosamente" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "Configuraciones" @@ -590,7 +596,7 @@ msgstr "Configuraciones" msgid "Configuration Name" msgstr "Nombre de la configuración" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "Configuraciones" @@ -658,11 +664,11 @@ msgstr "Crear otro" msgid "Create Backup" msgstr "Creado el" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 msgid "Create File" msgstr "Crear Archivo" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 msgid "Create Folder" msgstr "Crear carpeta" @@ -703,7 +709,7 @@ msgstr "La cuenta actual tiene habilitada TOTP." msgid "Current account is not enabled TOTP." msgstr "La cuenta actual no tiene habilitada TOTP." -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "Versión actual" @@ -725,8 +731,8 @@ msgstr "" "Personalice el nombre del servidor local para mostrarlo en el indicador de " "entorno." -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "Panel" @@ -747,8 +753,8 @@ msgstr "Descripción" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "Eliminar" @@ -757,49 +763,49 @@ msgstr "Eliminar" msgid "Delete Permanently" msgstr "Eliminar Permanentemente" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 msgid "Delete Remote Site Error" msgstr "Error al eliminar sitio remoto" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 msgid "Delete Remote Site Success" msgstr "Borrado del sitio remoto correcto" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "Error al eliminar sitio remoto" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "Borrado del sitio remoto correcto" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "Falló el desplegado de %{conf_name} a %{node_name}" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "Eliminar sitio: %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "Falló el desplegado de %{conf_name} a %{node_name}" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "Eliminar stream: %{site_name}" @@ -811,7 +817,7 @@ msgstr "Borrado exitoso" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "Desplegar" @@ -852,8 +858,8 @@ msgstr "" msgid "Directives" msgstr "Directivas" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "Desactivar" @@ -861,40 +867,60 @@ msgstr "Desactivar" msgid "Disable auto-renewal failed for %{name}" msgstr "No se pudo desactivar la renovación automática por %{name}" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 msgid "Disable Remote Site Error" msgstr "Error al deshabilitar el sitio remoto" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "Error al deshabilitar el sitio remoto" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "Deshabilitado de sitio remoto exitoso" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 msgid "Disable Remote Site Success" msgstr "Deshabilitado de sitio remoto exitoso" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "Error al deshabilitar el sitio remoto" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "Deshabilitado de sitio remoto exitoso" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "Falló el habilitado de %{conf_name} en %{node_name}" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" @@ -905,16 +931,16 @@ msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "Desactivado" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "Desactivado con éxito" @@ -1013,9 +1039,9 @@ msgstr "" "ejecutan en el host local." #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "Duplicar" @@ -1030,11 +1056,11 @@ msgid "Edit" msgstr "Editar %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "Editar %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "Editar Configuración" @@ -1055,8 +1081,8 @@ msgstr "Correo" msgid "Email (*)" msgstr "Correo (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "Habilitar" @@ -1077,42 +1103,62 @@ msgstr "Falló la habilitación" msgid "Enable HTTPS" msgstr "Habilitar TLS" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "Error al renombrar la configuración remota" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "Renombrar Configuración Remota Exitosa" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "Renombrar Configuración Remota Exitosa" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "Renombrar Configuración Remota Exitosa" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "Falló el habilitado de %{conf_name} en %{node_name}" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "Falló el habilitado de %{conf_name} en %{node_name}" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "Falló el habilitado de %{conf_name} en %{node_name}" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" @@ -1134,19 +1180,19 @@ msgstr "Habilitar TLS" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "Habilitado" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "Habilitado con éxito" @@ -1154,6 +1200,10 @@ msgstr "Habilitado con éxito" msgid "Encrypt website with Let's Encrypt" msgstr "Encriptar sitio web con Let's Encrypt" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "Variables de entorno limpiadas" @@ -1164,12 +1214,12 @@ msgstr "Variables de entorno limpiadas" msgid "Environments" msgstr "Entornos" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "Error" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1182,7 +1232,7 @@ msgstr "Logs de error" msgid "Error Logs" msgstr "Logs de error" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1190,6 +1240,10 @@ msgstr "" msgid "Executable Path" msgstr "Ruta ejecutable" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1342,16 +1396,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "Error al deshabilitar %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "Error al habilitar %{msg}" @@ -1397,7 +1449,7 @@ msgstr "No se pudo obtener la información del certificado" msgid "Failed to get certificate information" msgstr "No se pudo obtener la información del certificado" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "Error al habilitar %{msg}" @@ -1452,7 +1504,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "" "No se pudo guardar, se detectó un error(es) de sintaxis en la configuración." @@ -1520,15 +1572,15 @@ msgstr "Para usuario chino: https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "Duplicado fallido" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "Código de formato" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "Error de formato %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "Formateado correctamente" @@ -1581,9 +1633,9 @@ msgstr "" msgid "Hide" msgstr "Ocultar" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "Directorio" @@ -1660,17 +1712,17 @@ msgid "Import Certificate" msgstr "Importar Certificado" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "Información" @@ -1738,8 +1790,8 @@ msgstr "Nombre de archivo inválido" msgid "Invalid file path: {0}" msgstr "Nombre de archivo inválido" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "Nombre de archivo inválido" @@ -1928,6 +1980,21 @@ msgstr "" "de Nginx UI ejecutará el comando logrotate en el intervalo que establezca en " "minutos." +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "Desactivado con éxito" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "Habilitado con éxito" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 msgid "" "Make sure you have configured a reverse proxy for .well-known directory to " @@ -1936,16 +2003,16 @@ msgstr "" "Asegúrese de haber configurado un proxy reverso para el directorio .well-" "known en HTTPChallengePort antes de obtener el certificado." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "Administrar configuraciones" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "Administrar sitios" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 msgid "Manage Streams" msgstr "Administrar Transmisiones" @@ -1978,14 +2045,14 @@ msgstr "Minutos" msgid "Model" msgstr "Modelo" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 msgid "Modify" msgstr "Modificar" @@ -2011,18 +2078,18 @@ msgstr "Directiva multilínea" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "Nombre" @@ -2047,11 +2114,11 @@ msgstr "Total enviado por la red" msgid "New Installation" msgstr "Instalar" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 msgid "New name" msgstr "Nuevo nombre" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "New Path" msgstr "Nueva ruta" @@ -2108,7 +2175,7 @@ msgid "Nginx configuration has been restored" msgstr "Error de análisis de configuración de Nginx" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 msgid "Nginx Configuration Parse Error" msgstr "Error de análisis de configuración de Nginx" @@ -2208,8 +2275,8 @@ msgstr "Error de análisis de configuración de Nginx" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "No" @@ -2219,7 +2286,7 @@ msgstr "No" msgid "No Action" msgstr "Acción" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2229,9 +2296,9 @@ msgid "Node" msgstr "Nuevo nombre" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "Entorno" @@ -2336,9 +2403,9 @@ msgstr "Ok" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "OK" @@ -2371,7 +2438,7 @@ msgstr "O" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "Nombre original" @@ -2388,11 +2455,11 @@ msgstr "SO:" msgid "Otp or recovery code empty" msgstr "Usar código de recuperación" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "Sobrescribir" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "Sobrescribir archivo existente" @@ -2437,7 +2504,7 @@ msgstr "El nombre de usuario o contraseña son incorrectos" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2512,14 +2579,15 @@ msgstr "" "luego seleccione una de las credenciales de aquí debajo para llamar a la API " "del proveedor de DNS." -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 msgid "Please input a filename" msgstr "Por favor, ingrese un nombre de archivo" @@ -2747,22 +2815,22 @@ msgstr "Recargar" msgid "Reload Nginx" msgstr "Recargando Nginx" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "Eliminar sitio: %{site_name}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "Interfaz de usuario de Nginx actualizada en %{node} con éxito 🎉" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "Renombrar Configuración Remota Exitosa" @@ -2792,73 +2860,73 @@ msgstr "Eliminado con éxito" msgid "Removed successfully" msgstr "Eliminado con éxito" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 msgid "Rename" msgstr "Renombrar" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "Renombrar %{orig_path} a %{new_path} en %{env_name} con éxito" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "Renombrar %{orig_path} a %{new_path} en %{env_name} con éxito" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 msgid "Rename Remote Config Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 msgid "Rename Remote Config Success" msgstr "Renombrar Configuración Remota Exitosa" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "Renombrar Configuración Remota Exitosa" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "Renombrar Configuración Remota Exitosa" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "Renombrar %{orig_path} a %{new_path} en %{env_name} con éxito" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "Renombrar %{orig_path} a %{new_path} en %{env_name} con éxito" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "Renombrar %{orig_path} a %{new_path} en %{env_name} con éxito" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "Renombrar %{orig_path} a %{new_path} en %{env_name} con éxito" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 msgid "Rename successfully" msgstr "Renombrado con éxito" @@ -2914,22 +2982,22 @@ msgstr "Reiniciar" msgid "Restart Nginx" msgstr "Reiniciando" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "Habilitado exitoso de %{conf_name} en %{node_name}" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "Interfaz de usuario de Nginx actualizada en %{node} con éxito 🎉" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "Renombrar Configuración Remota Exitosa" @@ -2964,8 +3032,8 @@ msgstr "Error de análisis de configuración de Nginx" msgid "Restore Nginx UI Configuration" msgstr "Error de análisis de configuración de Nginx" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -2993,15 +3061,15 @@ msgstr "Corriendo" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "Guardar" @@ -3009,48 +3077,49 @@ msgstr "Guardar" msgid "Save Directive" msgstr "Guardar Directiva" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "Error al guardar %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "Renombrar Configuración Remota Exitosa" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "Error al renombrar la configuración remota" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "Renombrar Configuración Remota Exitosa" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "Falló el desplegado de %{conf_name} a %{node_name}" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" @@ -3062,11 +3131,11 @@ msgstr "Duplicado con éxito de %{conf_name} a %{node_name}" msgid "Save successfully" msgstr "Guardado con éxito" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "Guardado con éxito" @@ -3284,7 +3353,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "Estado" @@ -3321,7 +3390,7 @@ msgstr "" msgid "Streams-enabled directory not exist" msgstr "Directorio" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "Éxito" @@ -3351,7 +3420,7 @@ msgstr "Cambiar al tema oscuro" msgid "Switch to light theme" msgstr "Cambiar al tema claro" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "Sincronizar" @@ -3359,38 +3428,38 @@ msgstr "Sincronizar" msgid "Sync Certificate" msgstr "Sincronizar Certificado" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "Sincronización del Certificado %{cert_name} a %{env_name} exitosa" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Sincronización del Certificado %{cert_name} a %{env_name} exitosa" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 msgid "Sync Certificate Error" msgstr "Error de Certificado de Sincronización" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 msgid "Sync Certificate Success" msgstr "Sincronización del Certificado exitosa" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "Sincronizar configuración %{config_name} con %{env_name} exitosamente" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "Sincronizar configuración %{config_name} con %{env_name} exitosamente" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 msgid "Sync Config Error" msgstr "Error de Configuración de Sincronización" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 msgid "Sync Config Success" msgstr "Configuración de sincronización exitosa" @@ -3740,13 +3809,13 @@ msgstr "Actualización exitosa" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "Actualizado a" @@ -3786,7 +3855,7 @@ msgstr "Tiempo encendido:" msgid "URL" msgstr "URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3862,7 +3931,7 @@ msgstr "Código de Recuperación" msgid "Viewed" msgstr "Ver" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/fr_FR/app.po b/app/src/language/fr_FR/app.po index cdffb87e..5fb21fc3 100644 --- a/app/src/language/fr_FR/app.po +++ b/app/src/language/fr_FR/app.po @@ -44,13 +44,13 @@ msgstr "Nom d'utilisateur" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "Action" @@ -61,7 +61,7 @@ msgstr "Action" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "Ajouter" @@ -70,8 +70,8 @@ msgstr "Ajouter" msgid "Add a passkey" msgstr "Ajouter une clé d'accès" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Add Configuration" msgstr "Modifier la configuration" @@ -89,12 +89,12 @@ msgstr "Ajouter une localisation" msgid "Add Site" msgstr "Ajouter un site" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 #, fuzzy msgid "Add Stream" msgstr "Ajouter un site" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 #, fuzzy msgid "Added successfully" msgstr "Mis à jour avec succés" @@ -105,7 +105,7 @@ msgid "Additional" msgstr "Supplémentaire" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "Mode avancé" @@ -119,7 +119,8 @@ msgstr "" msgid "All" msgstr "Tous" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "Tous les codes de récupération ont été utilisés" @@ -209,8 +210,8 @@ msgstr "Etes-vous sûr que vous voulez supprimer ?" msgid "Are you sure you want to delete this item?" msgstr "Etes-vous sûr que vous voulez supprimer ?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "Etes-vous sûr que vous voulez supprimer ?" @@ -298,10 +299,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "Retour" @@ -348,14 +349,14 @@ msgstr "Banni durant" msgid "Base information" msgstr "Information générale" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "Basique" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "Mode simple" @@ -415,8 +416,8 @@ msgstr "Annuler" msgid "Cannot change initial user password in demo mode" msgstr "Interdire la modification du mot de passe root dans la démo" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -443,6 +444,11 @@ msgstr "Changer de certificat" msgid "Certificate parse error" msgstr "Le certificat a expiré" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "Modèles de configuration" + #: src/views/preference/CertSettings.vue:27 #, fuzzy msgid "Certificate Renewal Interval" @@ -488,7 +494,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Changer de certificat" msgstr[1] "Changer de certificat" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "Changed Path" msgstr "Changer de certificat" @@ -561,7 +567,7 @@ msgstr "" msgid "Click to copy" msgstr "Clique pour copier" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -577,20 +583,20 @@ msgstr "Commentaires" msgid "Comments" msgstr "Commentaires" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "Configurations" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -607,7 +613,7 @@ msgstr "Modèles de configuration" msgid "Configuration file is test successful" msgstr "Le fichier de configuration est testé avec succès" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "Configurations" @@ -616,7 +622,7 @@ msgstr "Configurations" msgid "Configuration Name" msgstr "Nom de la configuration" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "Configurations" @@ -684,12 +690,12 @@ msgstr "Créer un autre" msgid "Create Backup" msgstr "Créé le" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 #, fuzzy msgid "Create File" msgstr "Créé le" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 #, fuzzy msgid "Create Folder" msgstr "Créer un autre" @@ -732,7 +738,7 @@ msgstr "Le compte actuel a le TOTP d'activé." msgid "Current account is not enabled TOTP." msgstr "Le compte actuel n'a pas le TOTP d'activé." -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "Version actuelle" @@ -754,8 +760,8 @@ msgid "" msgstr "" "Personnaliser le nom du nœud local affiché dans l'indicateur d'environnement" -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "Dashboard" @@ -776,8 +782,8 @@ msgstr "Description" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "Supprimer" @@ -786,51 +792,51 @@ msgstr "Supprimer" msgid "Delete Permanently" msgstr "Supprimer définitivement" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 #, fuzzy msgid "Delete Remote Site Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 #, fuzzy msgid "Delete Remote Site Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "Dupliqué avec succès" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "Supprimer le site : %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "Dupliqué avec succès" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 #, fuzzy msgid "Delete stream: %{stream_name}" msgstr "Supprimer le site : %{site_name}" @@ -844,7 +850,7 @@ msgstr "Désactivé avec succès" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "Déployer" @@ -886,8 +892,8 @@ msgstr "DirectiveIdx hors limite" msgid "Directives" msgstr "Directives" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 #, fuzzy msgid "Disable" msgstr "Désactivé" @@ -896,42 +902,62 @@ msgstr "Désactivé" msgid "Disable auto-renewal failed for %{name}" msgstr "La désactivation du renouvellement automatique a échoué pour %{name}" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 #, fuzzy msgid "Disable Remote Site Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "Changer de certificat" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "Changer de certificat" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 #, fuzzy msgid "Disable Remote Site Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "Dupliqué avec succès" @@ -942,16 +968,16 @@ msgstr "Dupliqué avec succès" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "Désactivé" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "Désactivé avec succès" @@ -1056,9 +1082,9 @@ msgstr "" "exécuté sur localhost." #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "Dupliquer" @@ -1074,11 +1100,11 @@ msgid "Edit" msgstr "Modifier %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "Modifier %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "Modifier la configuration" @@ -1101,8 +1127,8 @@ msgstr "Email (*)" msgid "Email (*)" msgstr "Email (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 #, fuzzy msgid "Enable" msgstr "Activé" @@ -1125,42 +1151,62 @@ msgstr "Échec de l'activation" msgid "Enable HTTPS" msgstr "Activer TLS" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "Changer de certificat" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "Changer de certificat" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "Dupliqué avec succès" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "Dupliqué avec succès" @@ -1182,19 +1228,19 @@ msgstr "Activer TLS" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "Activé" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "Activé avec succès" @@ -1202,6 +1248,10 @@ msgstr "Activé avec succès" msgid "Encrypt website with Let's Encrypt" msgstr "Crypter le site Web avec Let's Encrypt" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 #, fuzzy msgid "Environment variables cleaned" @@ -1214,12 +1264,12 @@ msgstr "Définition des variables d'environnement" msgid "Environments" msgstr "Commentaires" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "Erreur" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1232,7 +1282,7 @@ msgstr "Journaux d'erreurs" msgid "Error Logs" msgstr "Journaux d'erreurs" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1240,6 +1290,10 @@ msgstr "" msgid "Executable Path" msgstr "Chemin exécutable" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1395,16 +1449,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "Impossible de désactiver %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "Impossible d'activer %{msg}" @@ -1450,7 +1502,7 @@ msgstr "Échec de l'obtention des informations sur le certificat" msgid "Failed to get certificate information" msgstr "Échec de l'obtention des informations sur le certificat" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "Impossible d'activer %{msg}" @@ -1511,7 +1563,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "Erreur lecture nginx.conf" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "" "Échec de l'enregistrement, une ou plusieurs erreurs de syntaxe ont été " @@ -1582,15 +1634,15 @@ msgstr "Utilisateur chinois : https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "Dupliquer" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "Code de formatage" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "Erreur de format %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "Formaté avec succès" @@ -1642,9 +1694,9 @@ msgstr "" msgid "Hide" msgstr "Cacher" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "Directive" @@ -1726,17 +1778,17 @@ msgid "Import Certificate" msgstr "État du certificat" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "Info" @@ -1806,8 +1858,8 @@ msgstr "Nom de fichier invalide" msgid "Invalid file path: {0}" msgstr "Format de la requête invalide" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "Nom de fichier invalide" @@ -2002,6 +2054,21 @@ msgid "" "minutes." msgstr "" +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "Désactivé avec succès" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "Activé avec succès" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 #, fuzzy msgid "" @@ -2011,16 +2078,16 @@ msgstr "" "Assurez vous d'avoir configuré un reverse proxy pour le répertoire .well-" "known vers HTTPChallengePort avant d'obtenir le certificat." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "Gérer les configurations" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "Gérer les sites" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 #, fuzzy msgid "Manage Streams" msgstr "Gérer les sites" @@ -2056,14 +2123,14 @@ msgstr "" msgid "Model" msgstr "Mode d'exécution" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 msgid "Modify" msgstr "Modifier" @@ -2091,18 +2158,18 @@ msgstr "Directive multiligne" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "Nom" @@ -2127,12 +2194,12 @@ msgstr "Envoi total réseau" msgid "New Installation" msgstr "Installer" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 #, fuzzy msgid "New name" msgstr "Nom d'utilisateur" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "New Path" msgstr "Chemin" @@ -2191,7 +2258,7 @@ msgid "Nginx configuration has been restored" msgstr "Erreur d'analyse de configuration Nginx" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 msgid "Nginx Configuration Parse Error" msgstr "Erreur d'analyse de configuration Nginx" @@ -2292,8 +2359,8 @@ msgstr "Erreur d'analyse de configuration Nginx" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "Non" @@ -2303,7 +2370,7 @@ msgstr "Non" msgid "No Action" msgstr "Action" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2313,9 +2380,9 @@ msgid "Node" msgstr "Nom d'utilisateur" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "Commentaires" @@ -2418,9 +2485,9 @@ msgstr "" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "OK" @@ -2453,7 +2520,7 @@ msgstr "" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "" @@ -2469,11 +2536,11 @@ msgstr "OS :" msgid "Otp or recovery code empty" msgstr "" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "" @@ -2514,7 +2581,7 @@ msgstr "Le pseudo ou mot de passe est incorect" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2585,14 +2652,15 @@ msgstr "" "des informations d'identification ci-dessous pour demander l'API du " "fournisseur DNS." -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 msgid "Please input a filename" msgstr "Veuillez renseigner un nom de fichier" @@ -2821,22 +2889,22 @@ msgstr "Recharger" msgid "Reload Nginx" msgstr "Rechargement de nginx" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "Supprimer le site : %{site_name}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "Mise à niveau réussie" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "Changer de certificat" @@ -2868,9 +2936,9 @@ msgstr "Enregistré avec succès" msgid "Removed successfully" msgstr "Enregistré avec succès" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 @@ -2878,67 +2946,67 @@ msgstr "Enregistré avec succès" msgid "Rename" msgstr "Nom d'utilisateur" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 #, fuzzy msgid "Rename Remote Config Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 #, fuzzy msgid "Rename Remote Config Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "Dupliqué avec succès" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 #, fuzzy msgid "Rename successfully" msgstr "Activé avec succès" @@ -3000,22 +3068,22 @@ msgstr "Redémarrer" msgid "Restart Nginx" msgstr "Redémarrage" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "Mise à niveau réussie" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "Changer de certificat" @@ -3050,8 +3118,8 @@ msgstr "Erreur d'analyse de configuration Nginx" msgid "Restore Nginx UI Configuration" msgstr "Erreur d'analyse de configuration Nginx" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -3079,15 +3147,15 @@ msgstr "En cours d'éxécution" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "Enregistrer" @@ -3095,48 +3163,49 @@ msgstr "Enregistrer" msgid "Save Directive" msgstr "Enregistrer la directive" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "Enregistrer l'erreur %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "Dupliqué avec succès" @@ -3148,11 +3217,11 @@ msgstr "Dupliqué avec succès" msgid "Save successfully" msgstr "Sauvegarde réussie" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "Enregistré avec succès" @@ -3374,7 +3443,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "Statut" @@ -3412,7 +3481,7 @@ msgstr "Directive" msgid "Streams-enabled directory not exist" msgstr "Directive" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "" @@ -3443,7 +3512,7 @@ msgstr "" msgid "Switch to light theme" msgstr "" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "" @@ -3452,42 +3521,42 @@ msgstr "" msgid "Sync Certificate" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 #, fuzzy msgid "Sync Certificate Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 #, fuzzy msgid "Sync Certificate Success" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "Dupliqué avec succès" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 #, fuzzy msgid "Sync Config Error" msgstr "Changer de certificat" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 #, fuzzy msgid "Sync Config Success" msgstr "Changer de certificat" @@ -3814,13 +3883,13 @@ msgstr "Mis à jour avec succés" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "Mis à jour le" @@ -3861,7 +3930,7 @@ msgstr "Disponibilité :" msgid "URL" msgstr "" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3940,7 +4009,7 @@ msgstr "" msgid "Viewed" msgstr "Voir" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/ko_KR/app.po b/app/src/language/ko_KR/app.po index 00391c8d..30af8b07 100644 --- a/app/src/language/ko_KR/app.po +++ b/app/src/language/ko_KR/app.po @@ -43,13 +43,13 @@ msgstr "ACME 사용자" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "작업" @@ -60,7 +60,7 @@ msgstr "작업" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "추가" @@ -69,8 +69,8 @@ msgstr "추가" msgid "Add a passkey" msgstr "" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "구성 추가" @@ -87,11 +87,11 @@ msgstr "위치 추가" msgid "Add Site" msgstr "사이트 추가" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "스트림 추가" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "성공적으로 추가됨" @@ -100,7 +100,7 @@ msgid "Additional" msgstr "추가적인" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "고급 모드" @@ -113,7 +113,8 @@ msgstr "" msgid "All" msgstr "" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -196,8 +197,8 @@ msgstr "이 항목을 영구적으로 삭제하시겠습니까?" msgid "Are you sure you want to delete this item?" msgstr "이 항목을 삭제하시겠습니까?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "정말 삭제하시겠습니까?" @@ -282,10 +283,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "뒤로" @@ -332,14 +333,14 @@ msgstr "차단될 시간" msgid "Base information" msgstr "기본 정보" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "기본" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "기본 모드" @@ -396,8 +397,8 @@ msgstr "취소" msgid "Cannot change initial user password in demo mode" msgstr "데모에서 루트 비밀번호 변경 금지" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -424,6 +425,11 @@ msgstr "인증서 갱신 오류" msgid "Certificate parse error" msgstr "인증서가 만료되었습니다" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "구성 템플릿" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "인증서 갱신 간격" @@ -465,7 +471,7 @@ msgid_plural "Changed Certificates" msgstr[0] "인증서 변경" msgstr[1] "인증서 변경" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "Changed Path" msgstr "인증서 변경" @@ -533,7 +539,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -548,20 +554,20 @@ msgstr "명령어" msgid "Comments" msgstr "댓글" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "구성들" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -578,7 +584,7 @@ msgstr "구성 템플릿" msgid "Configuration file is test successful" msgstr "구성 파일 테스트 성공" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "구성들" @@ -587,7 +593,7 @@ msgstr "구성들" msgid "Configuration Name" msgstr "구성 이름" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "구성들" @@ -653,12 +659,12 @@ msgstr "다른 것 생성하기" msgid "Create Backup" msgstr "생성 시간" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 #, fuzzy msgid "Create File" msgstr "생성" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 #, fuzzy msgid "Create Folder" msgstr "다른 것 생성하기" @@ -701,7 +707,7 @@ msgstr "" msgid "Current account is not enabled TOTP." msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "현재 버전" @@ -721,8 +727,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "대시보드" @@ -743,8 +749,8 @@ msgstr "설명" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "삭제" @@ -753,51 +759,51 @@ msgstr "삭제" msgid "Delete Permanently" msgstr "" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 #, fuzzy msgid "Delete Remote Site Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 #, fuzzy msgid "Delete Remote Site Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 배포 실패" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "사이트 삭제: %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 배포 실패" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "스트림 삭제: %{stream_name}" @@ -809,7 +815,7 @@ msgstr "성공적으로 삭제됨" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "배포" @@ -850,8 +856,8 @@ msgstr "" msgid "Directives" msgstr "지시문들" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "비활성화" @@ -859,42 +865,62 @@ msgstr "비활성화" msgid "Disable auto-renewal failed for %{name}" msgstr "%{name}의 자동 갱신 비활성화 실패" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 #, fuzzy msgid "Disable Remote Site Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "인증서 갱신 오류" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "인증서 갱신 성공" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 #, fuzzy msgid "Disable Remote Site Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "%{node_name}에서 %{conf_name} 활성화 실패" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" @@ -905,16 +931,16 @@ msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "비활성화됨" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "성공적으로 비활성화됨" @@ -1009,9 +1035,9 @@ msgid "" msgstr "" #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "복제" @@ -1026,11 +1052,11 @@ msgid "Edit" msgstr "%{n} 편집" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "%{n} 편집" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "구성 편집" @@ -1052,8 +1078,8 @@ msgstr "이메일 (*)" msgid "Email (*)" msgstr "이메일 (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "활성화" @@ -1075,42 +1101,62 @@ msgstr "활성화 실패" msgid "Enable HTTPS" msgstr "TLS 활성화" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "인증서 갱신 오류" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "인증서 갱신 성공" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "%{node_name}에서 %{conf_name} 활성화 실패" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "%{node_name}에서 %{conf_name} 활성화 실패" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "%{node_name}에서 %{conf_name} 활성화 실패" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" @@ -1132,19 +1178,19 @@ msgstr "TLS 활성화" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "활성화됨" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "성공적으로 활성화됨" @@ -1152,6 +1198,10 @@ msgstr "성공적으로 활성화됨" msgid "Encrypt website with Let's Encrypt" msgstr "Let's Encrypt로 웹사이트 암호화" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 #, fuzzy msgid "Environment variables cleaned" @@ -1163,12 +1213,12 @@ msgstr "환경 변수 설정" msgid "Environments" msgstr "환경" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "오류" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1181,7 +1231,7 @@ msgstr "오류 로그" msgid "Error Logs" msgstr "오류 로그" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1189,6 +1239,10 @@ msgstr "" msgid "Executable Path" msgstr "실행 가능 경로" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1343,16 +1397,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "%{msg} 비활성화 실패" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "%{msg} 활성화 실패" @@ -1398,7 +1450,7 @@ msgstr "인증서 정보 가져오기 실패" msgid "Failed to get certificate information" msgstr "인증서 정보 가져오기 실패" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "%{msg} 활성화 실패" @@ -1453,7 +1505,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "저장 실패, 구성에서 구문 오류가 감지되었습니다." @@ -1518,16 +1570,16 @@ msgstr "중국 사용자를 위해: https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "복제 실패" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "코드 형식" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 #, fuzzy msgid "Format error %{msg}" msgstr "형식 오류 %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 #, fuzzy msgid "Format successfully" msgstr "성공적으로 형식 지정됨" @@ -1581,9 +1633,9 @@ msgstr "" msgid "Hide" msgstr "" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "디렉토리" @@ -1655,17 +1707,17 @@ msgid "Import Certificate" msgstr "인증서 상태" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "정보" @@ -1735,8 +1787,8 @@ msgstr "Invalid E-mail!" msgid "Invalid file path: {0}" msgstr "Invalid E-mail!" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 #, fuzzy msgid "Invalid filename" msgstr "Invalid E-mail!" @@ -1931,6 +1983,21 @@ msgstr "" "동으로 활성화할 수 있습니다. Nginx UI의 크론탭 작업 스케줄러는설정한 간격 " "(분 단위)에서 logrotate 명령을 실행합니다." +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "성공적으로 비활성화됨" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "성공적으로 활성화됨" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 #, fuzzy msgid "" @@ -1940,16 +2007,16 @@ msgstr "" "인증서를 획득하기 전에 .well-known 디렉토리에 대한역방향 프록시를 " "HTTPChallengePort(기본값: 9180)로 구성했는지 확인하세요." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "구성 관리" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "사이트 관리" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 #, fuzzy msgid "Manage Streams" msgstr "스트림 관리" @@ -1985,14 +2052,14 @@ msgstr "분" msgid "Model" msgstr "실행 모드" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 #, fuzzy msgid "Modify" msgstr "설정 수정" @@ -2022,18 +2089,18 @@ msgstr "단일 지시문" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "이름" @@ -2058,12 +2125,12 @@ msgstr "네트워크 총 송신" msgid "New Installation" msgstr "설치" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 #, fuzzy msgid "New name" msgstr "이름 변경" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "New Path" msgstr "경로" @@ -2121,7 +2188,7 @@ msgid "Nginx configuration has been restored" msgstr "Nginx 구성 오류름" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 #, fuzzy msgid "Nginx Configuration Parse Error" msgstr "Nginx 구성 오류름" @@ -2223,8 +2290,8 @@ msgstr "Nginx 구성 오류름" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "아니요" @@ -2234,7 +2301,7 @@ msgstr "아니요" msgid "No Action" msgstr "작업" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2244,9 +2311,9 @@ msgid "Node" msgstr "이름 변경" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "환경" @@ -2349,9 +2416,9 @@ msgstr "" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "확인" @@ -2384,7 +2451,7 @@ msgstr "" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "" @@ -2401,11 +2468,11 @@ msgstr "OS:" msgid "Otp or recovery code empty" msgstr "" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "덮어쓰기" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "기존 파일 덮어쓰기" @@ -2446,7 +2513,7 @@ msgstr "사용자 이름 또는 비밀번호가 올바르지 않습니다" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2514,14 +2581,15 @@ msgstr "" "먼저 인증서 > DNS 자격 증명에 자격 증명을 추가한 다음,DNS 제공자의 API를 요청" "하려면 아래 자격 증명 중 하나를 선택해주세요." -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 #, fuzzy msgid "Please input a filename" msgstr "사용자 이름을 입력해주세요!" @@ -2751,22 +2819,22 @@ msgstr "리로드" msgid "Reload Nginx" msgstr "Nginx 리로딩 중" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "사이트 삭제: %{site_name}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "성공적으로 저장되었습니다" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "인증서 갱신 성공" @@ -2798,9 +2866,9 @@ msgstr "성공적으로 제거됨" msgid "Removed successfully" msgstr "성공적으로 제거됨" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 @@ -2808,67 +2876,67 @@ msgstr "성공적으로 제거됨" msgid "Rename" msgstr "이름 변경" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 #, fuzzy msgid "Rename Remote Config Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 #, fuzzy msgid "Rename Remote Config Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 #, fuzzy msgid "Rename successfully" msgstr "성공적으로 갱신됨" @@ -2930,22 +2998,22 @@ msgstr "재시작" msgid "Restart Nginx" msgstr "재시작 중" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "%{node_name}에서 %{conf_name} 성공적으로 활성화됨" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "성공적으로 저장되었습니다" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "인증서 갱신 성공" @@ -2980,8 +3048,8 @@ msgstr "Nginx 구성 오류름" msgid "Restore Nginx UI Configuration" msgstr "Nginx 구성 오류름" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -3010,15 +3078,15 @@ msgstr "실행 중" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "저장" @@ -3026,48 +3094,49 @@ msgstr "저장" msgid "Save Directive" msgstr "지시문 저장" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "저장 오류 %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 배포 실패" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" @@ -3080,11 +3149,11 @@ msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" msgid "Save successfully" msgstr "성공적으로 저장됨" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "성공적으로 저장됨" @@ -3303,7 +3372,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "상태" @@ -3340,7 +3409,7 @@ msgstr "" msgid "Streams-enabled directory not exist" msgstr "디렉토리" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "성공" @@ -3370,7 +3439,7 @@ msgstr "다크 테마로 변경" msgid "Switch to light theme" msgstr "라이트 테마로 변경" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "" @@ -3379,42 +3448,42 @@ msgstr "" msgid "Sync Certificate" msgstr "인증서 갱신" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 #, fuzzy msgid "Sync Certificate Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 #, fuzzy msgid "Sync Certificate Success" msgstr "인증서 갱신 성공" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 #, fuzzy msgid "Sync Config Error" msgstr "인증서 갱신 오류" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 #, fuzzy msgid "Sync Config Success" msgstr "인증서 갱신 성공" @@ -3736,13 +3805,13 @@ msgstr "성공적으로 저장되었습니다" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "업데이트됨" @@ -3785,7 +3854,7 @@ msgstr "가동 시간:" msgid "URL" msgstr "URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3865,7 +3934,7 @@ msgstr "" msgid "Viewed" msgstr "보기" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/messages.pot b/app/src/language/messages.pot index 66c62d7a..984785ef 100644 --- a/app/src/language/messages.pot +++ b/app/src/language/messages.pot @@ -32,14 +32,14 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 -#: src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 +#: src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "" @@ -50,7 +50,7 @@ msgstr "" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "" @@ -60,8 +60,8 @@ msgid "Add a passkey" msgstr "" #: src/routes/modules/config.ts:20 -#: src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "" @@ -79,11 +79,11 @@ msgstr "" msgid "Add Site" msgstr "" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "" @@ -92,7 +92,7 @@ msgid "Additional" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "" @@ -105,7 +105,7 @@ msgstr "" msgid "All" msgstr "" -#: src/components/Notification/notifications.ts:9 +#: src/components/Notification/notifications.ts:155 #: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -183,8 +183,8 @@ msgstr "" msgid "Are you sure you want to delete this item?" msgstr "" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "" @@ -266,12 +266,12 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 -#: src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 +#: src/views/config/ConfigEditor.vue:262 +#: src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 #: src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "" @@ -315,14 +315,14 @@ msgstr "" msgid "Base information" msgstr "" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "" @@ -377,8 +377,8 @@ msgstr "" msgid "Cannot change initial user password in demo mode" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -402,6 +402,10 @@ msgstr "" msgid "Certificate parse error" msgstr "" +#: src/constants/errors/cert.ts:8 +msgid "Certificate path is empty" +msgstr "" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "" @@ -441,7 +445,7 @@ msgid_plural "Changed Certificates" msgstr[0] "" msgstr[1] "" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "Changed Path" msgstr "" @@ -502,7 +506,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -517,19 +521,19 @@ msgstr "" msgid "Comments" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 msgid "Compare Configurations" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -545,7 +549,7 @@ msgstr "" msgid "Configuration file is test successful" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 msgid "Configuration History" msgstr "" @@ -553,7 +557,7 @@ msgstr "" msgid "Configuration Name" msgstr "" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "" @@ -618,12 +622,12 @@ msgstr "" msgid "Create Backup" msgstr "" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 msgid "Create File" msgstr "" #: src/views/config/components/Mkdir.vue:47 -#: src/views/config/ConfigList.vue:123 +#: src/views/config/ConfigList.vue:129 msgid "Create Folder" msgstr "" @@ -662,7 +666,7 @@ msgstr "" msgid "Current account is not enabled TOTP." msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 msgid "Current Content" msgstr "" @@ -680,9 +684,9 @@ msgid "Customize the name of local node to be displayed in the environment indic msgstr "" #: src/routes/modules/dashboard.ts:10 -#: src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 -#: src/views/config/ConfigList.vue:64 +#: src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 +#: src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "" @@ -702,8 +706,8 @@ msgstr "" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "" @@ -712,45 +716,45 @@ msgstr "" msgid "Delete Permanently" msgstr "" -#: src/components/Notification/notifications.ts:61 +#: src/components/Notification/notifications.ts:55 #: src/language/constants.ts:50 msgid "Delete Remote Site Error" msgstr "" -#: src/components/Notification/notifications.ts:65 +#: src/components/Notification/notifications.ts:59 #: src/language/constants.ts:49 msgid "Delete Remote Site Success" msgstr "" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 msgid "Delete Remote Stream Error" msgstr "" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 msgid "Delete Remote Stream Success" msgstr "" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 msgid "Delete site %{name} from %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 msgid "Delete site %{name} from %{node} successfully" msgstr "" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 msgid "Delete stream %{name} from %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 msgid "Delete stream %{name} from %{node} successfully" msgstr "" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "" @@ -762,7 +766,7 @@ msgstr "" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "" @@ -804,8 +808,8 @@ msgstr "" msgid "Directives" msgstr "" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "" @@ -813,37 +817,53 @@ msgstr "" msgid "Disable auto-renewal failed for %{name}" msgstr "" -#: src/components/Notification/notifications.ts:69 +#: src/components/Notification/notifications.ts:63 #: src/language/constants.ts:52 msgid "Disable Remote Site Error" msgstr "" -#: src/components/Notification/notifications.ts:73 +#: src/components/Notification/notifications.ts:87 +msgid "Disable Remote Site Maintenance Error" +msgstr "" + +#: src/components/Notification/notifications.ts:91 +msgid "Disable Remote Site Maintenance Success" +msgstr "" + +#: src/components/Notification/notifications.ts:67 #: src/language/constants.ts:51 msgid "Disable Remote Site Success" msgstr "" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 msgid "Disable Remote Stream Error" msgstr "" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 msgid "Disable Remote Stream Success" msgstr "" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 msgid "Disable site %{name} from %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 msgid "Disable site %{name} from %{node} successfully" msgstr "" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "" + +#: src/components/Notification/notifications.ts:92 +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "" + +#: src/components/Notification/notifications.ts:122 msgid "Disable stream %{name} from %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 msgid "Disable stream %{name} from %{node} successfully" msgstr "" @@ -853,18 +873,18 @@ msgstr "" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 -#: src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 +#: src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 #: src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "" @@ -955,9 +975,9 @@ msgid "Due to the security policies of some browsers, you cannot use passkeys on msgstr "" #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "" @@ -971,12 +991,12 @@ msgid "Edit" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "" #: src/routes/modules/config.ts:30 -#: src/views/config/ConfigEditor.vue:210 +#: src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "" @@ -997,8 +1017,8 @@ msgstr "" msgid "Email (*)" msgstr "" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "" @@ -1018,37 +1038,53 @@ msgstr "" msgid "Enable HTTPS" msgstr "" -#: src/components/Notification/notifications.ts:77 +#: src/components/Notification/notifications.ts:71 #: src/language/constants.ts:54 msgid "Enable Remote Site Error" msgstr "" -#: src/components/Notification/notifications.ts:81 +#: src/components/Notification/notifications.ts:79 +msgid "Enable Remote Site Maintenance Error" +msgstr "" + +#: src/components/Notification/notifications.ts:83 +msgid "Enable Remote Site Maintenance Success" +msgstr "" + +#: src/components/Notification/notifications.ts:75 #: src/language/constants.ts:53 msgid "Enable Remote Site Success" msgstr "" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 msgid "Enable Remote Stream Error" msgstr "" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 msgid "Enable Remote Stream Success" msgstr "" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "" + +#: src/components/Notification/notifications.ts:84 +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "" + +#: src/components/Notification/notifications.ts:72 msgid "Enable site %{name} on %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 msgid "Enable site %{name} on %{node} successfully" msgstr "" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 msgid "Enable stream %{name} on %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 msgid "Enable stream %{name} on %{node} successfully" msgstr "" @@ -1068,20 +1104,20 @@ msgstr "" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 -#: src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 +#: src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "" @@ -1089,6 +1125,10 @@ msgstr "" msgid "Encrypt website with Let's Encrypt" msgstr "" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "" @@ -1099,13 +1139,13 @@ msgstr "" msgid "Environments" msgstr "" -#: src/constants/index.ts:16 +#: src/constants/index.ts:22 #: src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1118,7 +1158,7 @@ msgstr "" msgid "Error Logs" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1126,6 +1166,10 @@ msgstr "" msgid "Executable Path" msgstr "" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1260,16 +1304,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "" @@ -1309,7 +1351,7 @@ msgstr "" msgid "Failed to get certificate information" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 msgid "Failed to load history records" msgstr "" @@ -1358,7 +1400,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "" @@ -1420,15 +1462,15 @@ msgstr "" msgid "Form parse failed" msgstr "" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "" @@ -1478,9 +1520,9 @@ msgstr "" msgid "Hide" msgstr "" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 msgid "History" msgstr "" @@ -1542,17 +1584,17 @@ msgid "Import Certificate" msgstr "" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 +#: src/constants/index.ts:24 #: src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "" @@ -1618,8 +1660,8 @@ msgstr "" msgid "Invalid file path: {0}" msgstr "" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "" @@ -1790,24 +1832,37 @@ msgstr "" msgid "Logrotate, by default, is enabled in most mainstream Linux distributions for users who install Nginx UI on the host machine, so you don't need to modify the parameters on this page. For users who install Nginx UI using Docker containers, you can manually enable this option. The crontab task scheduler of Nginx UI will execute the logrotate command at the interval you set in minutes." msgstr "" +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +msgid "Maintenance mode disabled successfully" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:111 +msgid "Maintenance mode enabled successfully" +msgstr "" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 msgid "Make sure you have configured a reverse proxy for .well-known directory to HTTPChallengePort before obtaining the certificate." msgstr "" #: src/routes/modules/config.ts:10 -#: src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 -#: src/views/config/ConfigList.vue:69 +#: src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 +#: src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "" #: src/routes/modules/sites.ts:10 -#: src/views/site/site_list/SiteList.vue:142 +#: src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "" #: src/routes/modules/streams.ts:10 -#: src/views/stream/StreamList.vue:174 +#: src/views/stream/StreamList.vue:175 msgid "Manage Streams" msgstr "" @@ -1841,14 +1896,14 @@ msgstr "" msgid "Model" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 msgid "Modify" msgstr "" @@ -1875,19 +1930,19 @@ msgstr "" #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 #: src/views/config/configColumns.tsx:7 -#: src/views/config/ConfigEditor.vue:275 +#: src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 -#: src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 +#: src/views/stream/StreamList.vue:248 msgid "Name" msgstr "" @@ -1911,11 +1966,11 @@ msgstr "" msgid "New Installation" msgstr "" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 msgid "New name" msgstr "" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "New Path" msgstr "" @@ -1970,7 +2025,7 @@ msgid "Nginx configuration has been restored" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 msgid "Nginx Configuration Parse Error" msgstr "" @@ -2061,8 +2116,8 @@ msgstr "" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "" @@ -2071,7 +2126,7 @@ msgstr "" msgid "No Action" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2080,9 +2135,9 @@ msgid "Node" msgstr "" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 msgid "Node Group" msgstr "" @@ -2174,9 +2229,9 @@ msgstr "" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "" @@ -2210,7 +2265,7 @@ msgstr "" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "" @@ -2226,11 +2281,11 @@ msgstr "" msgid "Otp or recovery code empty" msgstr "" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "" @@ -2267,7 +2322,7 @@ msgstr "" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2328,13 +2383,13 @@ 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/components/Notification/notifications.ts:10 +#: src/components/Notification/notifications.ts:156 #: src/language/constants.ts:59 msgid "Please generate new recovery codes in the preferences immediately to prevent lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 msgid "Please input a filename" msgstr "" @@ -2540,19 +2595,19 @@ msgstr "" msgid "Reload Nginx" msgstr "" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 msgid "Reload Nginx on %{node} successfully" msgstr "" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 msgid "Reload Remote Nginx Error" msgstr "" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 msgid "Reload Remote Nginx Success" msgstr "" @@ -2581,68 +2636,68 @@ msgstr "" msgid "Removed successfully" msgstr "" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 msgid "Rename" msgstr "" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "" -#: src/components/Notification/notifications.ts:51 +#: src/components/Notification/notifications.ts:45 #: src/language/constants.ts:42 msgid "Rename Remote Config Error" msgstr "" -#: src/components/Notification/notifications.ts:55 +#: src/components/Notification/notifications.ts:49 #: src/language/constants.ts:41 msgid "Rename Remote Config Success" msgstr "" -#: src/components/Notification/notifications.ts:85 +#: src/components/Notification/notifications.ts:95 #: src/language/constants.ts:56 msgid "Rename Remote Site Error" msgstr "" -#: src/components/Notification/notifications.ts:89 +#: src/components/Notification/notifications.ts:99 #: src/language/constants.ts:55 msgid "Rename Remote Site Success" msgstr "" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 msgid "Rename Remote Stream Error" msgstr "" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 msgid "Rename Remote Stream Success" msgstr "" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 msgid "Rename successfully" msgstr "" @@ -2696,19 +2751,19 @@ msgstr "" msgid "Restart Nginx" msgstr "" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 msgid "Restart Nginx on %{node} successfully" msgstr "" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 msgid "Restart Remote Nginx Error" msgstr "" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 msgid "Restart Remote Nginx Success" msgstr "" @@ -2738,8 +2793,8 @@ msgstr "" msgid "Restore Nginx UI Configuration" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -2767,15 +2822,15 @@ msgstr "" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "" @@ -2783,43 +2838,42 @@ msgstr "" msgid "Save Directive" msgstr "" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "" -#: src/components/Notification/notifications.ts:93 +#: src/components/Notification/notifications.ts:103 #: src/language/constants.ts:48 msgid "Save Remote Site Error" msgstr "" -#: src/components/Notification/notifications.ts:97 +#: src/components/Notification/notifications.ts:107 #: src/language/constants.ts:47 msgid "Save Remote Site Success" msgstr "" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 msgid "Save Remote Stream Error" msgstr "" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 msgid "Save Remote Stream Success" msgstr "" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 msgid "Save site %{name} to %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 msgid "Save site %{name} to %{node} successfully" msgstr "" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 msgid "Save stream %{name} to %{node} failed" msgstr "" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 msgid "Save stream %{name} to %{node} successfully" msgstr "" @@ -2830,11 +2884,11 @@ msgstr "" msgid "Save successfully" msgstr "" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "" @@ -3033,8 +3087,8 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 -#: src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 +#: src/views/stream/StreamList.vue:47 msgid "Status" msgstr "" @@ -3067,7 +3121,7 @@ msgstr "" msgid "Streams-enabled directory not exist" msgstr "" -#: src/constants/index.ts:19 +#: src/constants/index.ts:25 #: src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "" @@ -3094,7 +3148,7 @@ msgstr "" msgid "Switch to light theme" msgstr "" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "" @@ -3102,38 +3156,38 @@ msgstr "" msgid "Sync Certificate" msgstr "" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "" -#: src/components/Notification/notifications.ts:33 +#: src/components/Notification/notifications.ts:27 #: src/language/constants.ts:39 msgid "Sync Certificate Error" msgstr "" -#: src/components/Notification/notifications.ts:37 +#: src/components/Notification/notifications.ts:31 #: src/language/constants.ts:38 msgid "Sync Certificate Success" msgstr "" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 msgid "Sync config %{config_name} to %{env_name} failed" msgstr "" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "" -#: src/components/Notification/notifications.ts:43 +#: src/components/Notification/notifications.ts:37 #: src/language/constants.ts:45 msgid "Sync Config Error" msgstr "" -#: src/components/Notification/notifications.ts:47 +#: src/components/Notification/notifications.ts:41 #: src/language/constants.ts:44 msgid "Sync Config Success" msgstr "" @@ -3393,14 +3447,14 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 -#: src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 +#: src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 +#: src/views/stream/StreamList.vue:67 #: src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "" @@ -3442,7 +3496,7 @@ msgstr "" msgid "URL" msgstr "" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3516,7 +3570,7 @@ msgstr "" msgid "Viewed" msgstr "" -#: src/constants/index.ts:17 +#: src/constants/index.ts:23 #: src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 diff --git a/app/src/language/ru_RU/app.po b/app/src/language/ru_RU/app.po index e2921499..68c01853 100644 --- a/app/src/language/ru_RU/app.po +++ b/app/src/language/ru_RU/app.po @@ -45,13 +45,13 @@ msgstr "Пользователь ACME" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "Действие" @@ -62,7 +62,7 @@ msgstr "Действие" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "Добавить" @@ -71,8 +71,8 @@ msgstr "Добавить" msgid "Add a passkey" msgstr "Добавить ключ доступа" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "Добавить конфигурацию" @@ -89,11 +89,11 @@ msgstr "Добавить Location" msgid "Add Site" msgstr "Добавить Сайт" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "Добавить поток" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "Добавлено успешно" @@ -102,7 +102,7 @@ msgid "Additional" msgstr "Дополнительно" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "Расширенный режим" @@ -115,7 +115,8 @@ msgstr "Затем, обновите эту страницу и снова на msgid "All" msgstr "Все" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "Все коды восстановления были использованы" @@ -194,8 +195,8 @@ msgstr "Вы уверены, что хотите удалить этот эле msgid "Are you sure you want to delete this item?" msgstr "Вы уверены, что хотите удалить этот элемент?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "Вы уверены, что хотите удалить?" @@ -279,10 +280,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "Назад" @@ -329,14 +330,14 @@ msgstr "Заблокирован до" msgid "Base information" msgstr "Основная информация" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "Основные" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "Простой режим" @@ -392,8 +393,8 @@ msgstr "Отмена" msgid "Cannot change initial user password in demo mode" msgstr "Невозможно изменить пароль начального пользователя в демо-режиме" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -418,6 +419,11 @@ msgstr "Ошибка декодирования сертификата" msgid "Certificate parse error" msgstr "Ошибка анализа сертификата" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "Шаблоны конфигурации" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "Интервал обновления сертификата" @@ -457,7 +463,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Сертификат изменен" msgstr[1] "Сертификаты изменены" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "Changed Path" msgstr "Путь изменён" @@ -524,7 +530,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -539,20 +545,20 @@ msgstr "Команда" msgid "Comments" msgstr "Комментарии" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "Конфигурации" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -569,7 +575,7 @@ msgstr "Шаблоны конфигурации" msgid "Configuration file is test successful" msgstr "Проверка конфигурации успешна" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "Конфигурации" @@ -578,7 +584,7 @@ msgstr "Конфигурации" msgid "Configuration Name" msgstr "Название конфигурации" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "Конфигурации" @@ -645,11 +651,11 @@ msgstr "Создать еще" msgid "Create Backup" msgstr "Создан в" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 msgid "Create File" msgstr "Создать файл" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 msgid "Create Folder" msgstr "Создать папку" @@ -690,7 +696,7 @@ msgstr "Текущая учетная запись имеет включенну msgid "Current account is not enabled TOTP." msgstr "Для текущей учетной записи TOTP не включен." -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "Текущяя версия" @@ -711,8 +717,8 @@ msgid "" "indicator." msgstr "Настройте имя локального сервера для отображения в индикаторе среды." -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "Доска" @@ -732,8 +738,8 @@ msgstr "Ошибка расшифровки" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "Удалить" @@ -742,49 +748,49 @@ msgstr "Удалить" msgid "Delete Permanently" msgstr "Удалить навсегда" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 #, fuzzy msgid "Delete Remote Site Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 #, fuzzy msgid "Delete Remote Site Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "Не удалось развернуть %{conf_name} на %{node_name}" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 msgid "Delete site %{name} from %{node} successfully" msgstr "Сайт %{name} успешно удалён с %{node}" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "Удалить сайт: %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "Не удалось развернуть %{conf_name} на %{node_name}" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 msgid "Delete stream %{name} from %{node} successfully" msgstr "Поток %{name} успешно удалён с %{node}" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "Удалить поток: %{stream_name}" @@ -796,7 +802,7 @@ msgstr "Удалено успешно" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "Развернуть" @@ -837,8 +843,8 @@ msgstr "" msgid "Directives" msgstr "Директивы" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "Отключить" @@ -846,42 +852,62 @@ msgstr "Отключить" msgid "Disable auto-renewal failed for %{name}" msgstr "Не удалось отключить автоматическое продление для %{name}" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 #, fuzzy msgid "Disable Remote Site Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "Ошибка переименования удаленной конфигурации" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "Переименование удаленной конфигурации прошло успешно" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 #, fuzzy msgid "Disable Remote Site Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "Включение %{conf_name} in %{node_name} успешно" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "Включение %{conf_name} in %{node_name} успешно" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "Включение %{conf_name} in %{node_name} успешно" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "Включение %{conf_name} in %{node_name} успешно" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "Включение %{conf_name} in %{node_name} нипалучилася" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "Включение %{conf_name} in %{node_name} успешно" @@ -892,16 +918,16 @@ msgstr "Включение %{conf_name} in %{node_name} успешно" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "Отключено" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "Отключено успешно" @@ -1000,9 +1026,9 @@ msgstr "" "запускаются на localhost." #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "Дублировать" @@ -1017,11 +1043,11 @@ msgid "Edit" msgstr "Редактировать %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "Редактировать %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "Редактировать Конфигурацию" @@ -1042,8 +1068,8 @@ msgstr "Электронная почта" msgid "Email (*)" msgstr "Email (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "Включить" @@ -1064,41 +1090,61 @@ msgstr "Не удалось включить" msgid "Enable HTTPS" msgstr "Включить TOTP" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "Ошибка переименования удаленной конфигурации" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "Переименование удаленной конфигурации прошло успешно" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "Включение %{conf_name} in %{node_name} нипалучилася" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "Сайт %{name} успешно включён на %{node}" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "Включение %{conf_name} in %{node_name} нипалучилася" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 msgid "Enable site %{name} on %{node} successfully" msgstr "Сайт %{name} успешно включён на %{node}" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "Включение %{conf_name} in %{node_name} нипалучилася" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 msgid "Enable stream %{name} on %{node} successfully" msgstr "Поток %{name} успешно включён на %{node}" @@ -1118,19 +1164,19 @@ msgstr "Включить TOTP" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "Включено" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "Активировано успешно" @@ -1138,6 +1184,10 @@ msgstr "Активировано успешно" msgid "Encrypt website with Let's Encrypt" msgstr "Использовать для сайта Let's Encrypt" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "Переменные окружения очищены" @@ -1148,12 +1198,12 @@ msgstr "Переменные окружения очищены" msgid "Environments" msgstr "Окружения" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "Ошибка" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1166,7 +1216,7 @@ msgstr "Ошибка логирования" msgid "Error Logs" msgstr "Ошибка логирования" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1174,6 +1224,10 @@ msgstr "" msgid "Executable Path" msgstr "Исполняемый путь" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1326,16 +1380,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "Не удалось отключить %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "Не удалось включить %{msg}" @@ -1381,7 +1433,7 @@ msgstr "Не удалось получить информацию о серти msgid "Failed to get certificate information" msgstr "Не удалось получить информацию о сертификате" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "Не удалось включить %{msg}" @@ -1436,7 +1488,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "Не удалось сохранить, обнаружены синтаксические ошибки в конфигурации." @@ -1503,15 +1555,15 @@ msgstr "Для китайских пользователей: https://mirror.ghp msgid "Form parse failed" msgstr "Дублирование не удалось" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "Форматировать код" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "Ошибка формата %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "Форматирование успешно" @@ -1564,9 +1616,9 @@ msgstr "" msgid "Hide" msgstr "Скрыть" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "Каталог" @@ -1643,17 +1695,17 @@ msgid "Import Certificate" msgstr "Импортировать сертификат" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "Информация" @@ -1721,8 +1773,8 @@ msgstr "Неверное имя файла" msgid "Invalid file path: {0}" msgstr "Неверное имя файла" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "Неверное имя файла" @@ -1908,6 +1960,21 @@ msgstr "" "вручную включить эту опцию. Планировщик задач crontab Nginx UI будет " "выполнять команду logrotate с интервалом, который вы установите в минутах." +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "Отключено успешно" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "Активировано успешно" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 msgid "" "Make sure you have configured a reverse proxy for .well-known directory to " @@ -1916,16 +1983,16 @@ msgstr "" "Убедитесь, что вы настроили обратный прокси для каталога .well-known на " "HTTPChallengePort перед получением сертификата." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "Конфигурации" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "Сайты" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 msgid "Manage Streams" msgstr "Управление потоками" @@ -1958,14 +2025,14 @@ msgstr "Минуты" msgid "Model" msgstr "Модель" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 msgid "Modify" msgstr "Изменить" @@ -1991,18 +2058,18 @@ msgstr "Многострочная директива" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "Имя" @@ -2027,11 +2094,11 @@ msgstr "Всего отправлено" msgid "New Installation" msgstr "Установить" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 msgid "New name" msgstr "Новое имя" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "New Path" msgstr "Новый путь" @@ -2088,7 +2155,7 @@ msgid "Nginx configuration has been restored" msgstr "Ошибка разбора конфигурации Nginx" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 msgid "Nginx Configuration Parse Error" msgstr "Ошибка разбора конфигурации Nginx" @@ -2187,8 +2254,8 @@ msgstr "Ошибка разбора конфигурации Nginx" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "Нет" @@ -2198,7 +2265,7 @@ msgstr "Нет" msgid "No Action" msgstr "Действие" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2208,9 +2275,9 @@ msgid "Node" msgstr "Имя узла" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "Окружение" @@ -2313,9 +2380,9 @@ msgstr "Ок" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "ОК" @@ -2348,7 +2415,7 @@ msgstr "" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "Оригинальное имя" @@ -2364,11 +2431,11 @@ msgstr "OS:" msgid "Otp or recovery code empty" msgstr "Код OTP или восстановления пуст" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "Перезаписать" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "Перезаписать существующий файл" @@ -2409,7 +2476,7 @@ msgstr "Имя пользователя или пароль неверны" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2482,14 +2549,15 @@ msgstr "" "Credentials, а затем выберите одну из учетных данных ниже, чтобы запросить " "API провайдера DNS." -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 msgid "Please input a filename" msgstr "Пожалуйста, введите имя файла" @@ -2716,22 +2784,22 @@ msgstr "Перегрузить" msgid "Reload Nginx" msgstr "Перезагружается nginx" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "Удалить сайт: %{site_name}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "Интерфейс Nginx на %{node} успешно обновлен 🎉" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "Переименование удаленной конфигурации прошло успешно" @@ -2761,71 +2829,71 @@ msgstr "Удалено успешно" msgid "Removed successfully" msgstr "Успешно удалено" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 msgid "Rename" msgstr "Переименовать" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "Переименование %{orig_path} в %{new_path} на %{env_name} успешно" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "%{orig_path} успешно переименован в %{new_path} на %{env_name}" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 msgid "Rename Remote Config Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 msgid "Rename Remote Config Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "Переименование %{orig_path} в %{new_path} на %{env_name} успешно" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "Сайт %{name} успешно переименован в %{new_name} на %{node}" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "Переименование %{orig_path} в %{new_path} на %{env_name} успешно" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "Поток %{name} успешно переименован в %{new_name} на %{node}" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 msgid "Rename successfully" msgstr "Переименовано успешно" @@ -2881,22 +2949,22 @@ msgstr "Перезапуск" msgid "Restart Nginx" msgstr "Перезапускается" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "Включение %{conf_name} in %{node_name} успешно" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "Интерфейс Nginx на %{node} успешно обновлен 🎉" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "Переименование удаленной конфигурации прошло успешно" @@ -2931,8 +2999,8 @@ msgstr "Ошибка разбора конфигурации Nginx" msgid "Restore Nginx UI Configuration" msgstr "Ошибка разбора конфигурации Nginx" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -2960,15 +3028,15 @@ msgstr "Выполняется" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "Сохранить" @@ -2976,47 +3044,48 @@ msgstr "Сохранить" msgid "Save Directive" msgstr "Сохранить директиву" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "Ошибка сохранения %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "Ошибка переименования удаленной конфигурации" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "Переименование удаленной конфигурации прошло успешно" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "Продублированно %{conf_name} в %{node_name}" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 msgid "Save site %{name} to %{node} successfully" msgstr "Сайт %{name} успешно сохранён на %{node}" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "Не удалось развернуть %{conf_name} на %{node_name}" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 msgid "Save stream %{name} to %{node} successfully" msgstr "Поток %{name} успешно сохранён на %{node}" @@ -3027,11 +3096,11 @@ msgstr "Поток %{name} успешно сохранён на %{node}" msgid "Save successfully" msgstr "Сохранено успешно" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "Успешно сохранено" @@ -3248,7 +3317,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "Статус" @@ -3285,7 +3354,7 @@ msgstr "" msgid "Streams-enabled directory not exist" msgstr "Каталог" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "Успех" @@ -3315,7 +3384,7 @@ msgstr "Переключиться на темную тему" msgid "Switch to light theme" msgstr "Переключиться на светлую тему" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "Синхронизация" @@ -3323,38 +3392,38 @@ msgstr "Синхронизация" msgid "Sync Certificate" msgstr "Синхронизировать сертификат" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "Сертификат %{cert_name} успешно синхронизирован с %{env_name}" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Сертификат %{cert_name} успешно синхронизирован с %{env_name}" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 msgid "Sync Certificate Error" msgstr "Ошибка синхронизации сертификата" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 msgid "Sync Certificate Success" msgstr "Сертификат успешно синхронизирован" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "Конфигурация синхронизирована %{config_name} с %{env_name} успешно" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "Конфигурация синхронизирована %{config_name} с %{env_name} успешно" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 msgid "Sync Config Error" msgstr "Ошибка синхронизации конфигурации" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 msgid "Sync Config Success" msgstr "Синхронизация конфигурации успешна" @@ -3696,13 +3765,13 @@ msgstr "Успешно обновлено" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "Обновлено в" @@ -3742,7 +3811,7 @@ msgstr "Аптайм:" msgid "URL" msgstr "URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3819,7 +3888,7 @@ msgstr "Код восстановления" msgid "Viewed" msgstr "Просмотр" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/tr_TR/app.po b/app/src/language/tr_TR/app.po index 2c8f80d8..74aa7628 100644 --- a/app/src/language/tr_TR/app.po +++ b/app/src/language/tr_TR/app.po @@ -41,13 +41,13 @@ msgstr "ACME Kullanıcısı" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "Eylem" @@ -58,7 +58,7 @@ msgstr "Eylem" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "Ekle" @@ -67,8 +67,8 @@ msgstr "Ekle" msgid "Add a passkey" msgstr "Geçiş anahtarı ekleme" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "Yapılandırma Ekle" @@ -85,11 +85,11 @@ msgstr "Konum ekle" msgid "Add Site" msgstr "Site Ekle" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "Akış Ekle" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "Başarıyla eklendi" @@ -98,7 +98,7 @@ msgid "Additional" msgstr "İlave bilgi" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "Gelişmiş Mod" @@ -112,7 +112,8 @@ msgstr "" msgid "All" msgstr "" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -194,8 +195,8 @@ msgstr "Bu öğeyi kalıcı olarak silmek istediğinizden emin misiniz?" msgid "Are you sure you want to delete this item?" msgstr "Bu öğeyi silmek istediğinizden emin misiniz?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "Silmek istediğine emin misin?" @@ -280,10 +281,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "Geri" @@ -330,14 +331,14 @@ msgstr "Şu Zamana Kadar Yasaklı" msgid "Base information" msgstr "Temel bilgiler" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "Temel" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "Temel Mod" @@ -394,8 +395,8 @@ msgstr "İptal" msgid "Cannot change initial user password in demo mode" msgstr "Demoda kök parolasını değiştirmeyi yasakla" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -422,6 +423,11 @@ msgstr "Senkronizasyon Sertifikası Hatası" msgid "Certificate parse error" msgstr "Senkronizasyon Sertifikası Hatası" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "Yapılandırma Şablonları" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "Sertifika Yenileme Aralığı" @@ -462,7 +468,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Değişen Sertifika" msgstr[1] "Değişen Sertifikalar" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "Changed Path" msgstr "Değişen Dosya Yolu" @@ -529,7 +535,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -544,20 +550,20 @@ msgstr "Komut" msgid "Comments" msgstr "Yorumlar" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "Yapılandırmalar" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -574,7 +580,7 @@ msgstr "Yapılandırma Şablonları" msgid "Configuration file is test successful" msgstr "Yapılandırma dosyası başarıyla test edildi" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "Yapılandırmalar" @@ -583,7 +589,7 @@ msgstr "Yapılandırmalar" msgid "Configuration Name" msgstr "Yapılandırma Adı" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "Yapılandırmalar" @@ -651,11 +657,11 @@ msgstr "Bir Başka Oluştur" msgid "Create Backup" msgstr "Oluşturulma Tarihi" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 msgid "Create File" msgstr "Dosya Oluştur" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 msgid "Create Folder" msgstr "Klasör Ekle" @@ -696,7 +702,7 @@ msgstr "Mevcut hesap için TOTP etkinleştirildi." msgid "Current account is not enabled TOTP." msgstr "Mevcut hesap için TOTP etkin değil." -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "Mevcut sürüm" @@ -717,8 +723,8 @@ msgid "" "indicator." msgstr "Ortam göstergesinde görüntülenecek yerel sunucu adını özelleştirin." -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "Kontrol Paneli" @@ -739,8 +745,8 @@ msgstr "Açıklama" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "Sil" @@ -749,53 +755,53 @@ msgstr "Sil" msgid "Delete Permanently" msgstr "Kalıcı Olarak Sil" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 #, fuzzy msgid "Delete Remote Site Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 #, fuzzy msgid "Delete Remote Site Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümüne dağıtma başarısız oldu" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "%{conf_name} başarıyla %{node_name} düğümüne kopyalandı" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "Siteyi sil: %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümüne dağıtma başarısız oldu" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "%{conf_name} başarıyla %{node_name} düğümüne kopyalandı" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "Akışı sil: %{stream_name}" @@ -807,7 +813,7 @@ msgstr "Başarıyla silindi" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "Yayınla" @@ -848,8 +854,8 @@ msgstr "" msgid "Directives" msgstr "Yönergeler" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "Devre Dışı" @@ -857,48 +863,72 @@ msgstr "Devre Dışı" msgid "Disable auto-renewal failed for %{name}" msgstr "%{name} için otomatik yenilemeyi devre dışı bırakma başarısız oldu" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 #, fuzzy msgid "Disable Remote Site Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 #, fuzzy msgid "Disable Remote Site Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarılı " "oldu" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarılı " "oldu" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "" +"%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarılı " +"oldu" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "" +"%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarılı " +"oldu" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarısız " "oldu" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "" @@ -911,16 +941,16 @@ msgstr "" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "Devre dışı" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "Başarıyla devre dışı bırakıldı" @@ -1019,9 +1049,9 @@ msgstr "" "kullanamazsınız." #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "Kopyala" @@ -1036,11 +1066,11 @@ msgid "Edit" msgstr "Düzenle %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "Düzenle %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "Yapılandırmayı Düzenle" @@ -1061,8 +1091,8 @@ msgstr "E-posta" msgid "Email (*)" msgstr "E-posta(*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "Etkinleştir" @@ -1083,48 +1113,72 @@ msgstr "Etkinleştirme başarısız" msgid "Enable HTTPS" msgstr "TOTP'yi Etkinleştir" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "" +"%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarısız " +"oldu" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "" +"%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarılı " +"oldu" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarısız " "oldu" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarılı " "oldu" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarısız " "oldu" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "" @@ -1147,19 +1201,19 @@ msgstr "TOTP'yi Etkinleştir" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "Etkin" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "Başarıyla etkinleştirildi" @@ -1167,6 +1221,10 @@ msgstr "Başarıyla etkinleştirildi" msgid "Encrypt website with Let's Encrypt" msgstr "Let's Encrypt ile web sitesini şifreleyin" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "Ortam değişkenleri temizlendi" @@ -1177,12 +1235,12 @@ msgstr "Ortam değişkenleri temizlendi" msgid "Environments" msgstr "Ortamlar" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "Hata" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1195,7 +1253,7 @@ msgstr "Hata Günlükleri" msgid "Error Logs" msgstr "Hata Günlükleri" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1203,6 +1261,10 @@ msgstr "" msgid "Executable Path" msgstr "Yürütülebilir Dosya Yolu" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1355,16 +1417,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "Devre dışı bırakılamadı %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "Etkinleştirilemedi %{msg}" @@ -1410,7 +1470,7 @@ msgstr "Sertifika bilgileri alınamadı" msgid "Failed to get certificate information" msgstr "Sertifika bilgileri alınamadı" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "Etkinleştirilemedi %{msg}" @@ -1465,7 +1525,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "Kaydedilemedi, yapılandırmada sözdizimi hatası(ları) tespit edildi." @@ -1532,15 +1592,15 @@ msgstr "Çinli kullanıcılar için: https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "Kopyalama başarısız oldu" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "Kodu Biçimlendir" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "Biçimlendirme hatası %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "Başarıyla biçimlendirildi" @@ -1593,9 +1653,9 @@ msgstr "" msgid "Hide" msgstr "Gizle" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "Dizin" @@ -1673,17 +1733,17 @@ msgid "Import Certificate" msgstr "Sertifika İçe Aktar" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "Bilgi" @@ -1751,8 +1811,8 @@ msgstr "Geçersiz dosya adı" msgid "Invalid file path: {0}" msgstr "Geçersiz dosya adı" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "Geçersiz dosya adı" @@ -1939,6 +1999,21 @@ msgstr "" "etkinleştirebilir. Nginx UI'nin crontab görev zamanlayıcısı, belirlediğiniz " "dakika aralığında logrotate komutunu çalıştıracaktır." +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "Başarıyla devre dışı bırakıldı" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "Başarıyla etkinleştirildi" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 #, fuzzy msgid "" @@ -1948,18 +2023,18 @@ msgstr "" "Sertifikayı almadan önce .well-known dizini için HTTPChallengePort'a bir " "ters proxy yapılandırdığınızdan emin olun." -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 #, fuzzy msgid "Manage Configs" msgstr "Yapılandırmaları Yönet" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 #, fuzzy msgid "Manage Sites" msgstr "Siteleri Yönet" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 #, fuzzy msgid "Manage Streams" msgstr "Akışları Yönet" @@ -2000,14 +2075,14 @@ msgstr "Dakika" msgid "Model" msgstr "Model" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 #, fuzzy msgid "Modify" msgstr "Değiştir" @@ -2038,18 +2113,18 @@ msgstr "Çok Hatlı Direktif" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 #, fuzzy msgid "Name" msgstr "İsim" @@ -2079,12 +2154,12 @@ msgstr "Ağ Toplam Gönderme" msgid "New Installation" msgstr "Yükle" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 #, fuzzy msgid "New name" msgstr "Yeni Ad" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "New Path" msgstr "Yeni Yol" @@ -2146,7 +2221,7 @@ msgid "Nginx configuration has been restored" msgstr "Nginx Yapılandırma Ayrıştırma Hatası" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 #, fuzzy msgid "Nginx Configuration Parse Error" msgstr "Nginx Yapılandırma Ayrıştırma Hatası" @@ -2252,8 +2327,8 @@ msgstr "Nginx Yapılandırma Ayrıştırma Hatası" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 #, fuzzy msgid "No" msgstr "Hayır" @@ -2264,7 +2339,7 @@ msgstr "Hayır" msgid "No Action" msgstr "Eylem" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2274,9 +2349,9 @@ msgid "Node" msgstr "Yeni Ad" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "Ortam" @@ -2391,9 +2466,9 @@ msgstr "Tamam" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 #, fuzzy msgid "OK" @@ -2431,7 +2506,7 @@ msgstr "Veya" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 #, fuzzy msgid "Original name" msgstr "Gerçek Adı" @@ -2451,12 +2526,12 @@ msgstr "İŞLETIM SISTEMI:" msgid "Otp or recovery code empty" msgstr "Kurtarma kodunu kullanın" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 #, fuzzy msgid "Overwrite" msgstr "Üzerine yaz" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 #, fuzzy msgid "Overwrite exist file" msgstr "Mevcut dosyanın üzerine yaz" @@ -2506,7 +2581,7 @@ msgstr "Kullanıcı adı veya şifre yanlış" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2589,14 +2664,15 @@ msgstr "" "ekleyin ve ardından DNS sağlayıcısının API'sini istemek için aşağıdaki " "kimlik bilgilerinden birini seçin." -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 #, fuzzy msgid "Please input a filename" msgstr "Lütfen bir dosya adı girin" @@ -2854,22 +2930,22 @@ msgstr "Tekrar yükle" msgid "Reload Nginx" msgstr "Nginx'i yeniden yükleme" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "Siteyi sil: %{site_name}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "Nginx kullanıcı arayüzü %{node} üzerinde başarıyla yükseltildi 🎉" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" @@ -2904,9 +2980,9 @@ msgstr "Başarıyla kaldırıldı" msgid "Removed successfully" msgstr "Başarıyla kaldırıldı" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 @@ -2914,73 +2990,73 @@ msgstr "Başarıyla kaldırıldı" msgid "Rename" msgstr "Yeniden Adlandır" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "" "2] üzerinde %{orig_path}'ı %{new_path} olarak başarıyla yeniden adlandırın" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "" "2] üzerinde %{orig_path}'ı %{new_path} olarak başarıyla yeniden adlandırın" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 #, fuzzy msgid "Rename Remote Config Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 #, fuzzy msgid "Rename Remote Config Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "" "2] üzerinde %{orig_path}'ı %{new_path} olarak başarıyla yeniden adlandırın" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "" "2] üzerinde %{orig_path}'ı %{new_path} olarak başarıyla yeniden adlandırın" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "" "2] üzerinde %{orig_path}'ı %{new_path} olarak başarıyla yeniden adlandırın" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "" "2] üzerinde %{orig_path}'ı %{new_path} olarak başarıyla yeniden adlandırın" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 #, fuzzy msgid "Rename successfully" msgstr "Yeniden adlandırma başarıyla" @@ -3045,24 +3121,24 @@ msgstr "Yeniden başlat" msgid "Restart Nginx" msgstr "Yeniden Başlatma" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümünde etkinleştirme başarılı " "oldu" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "Nginx kullanıcı arayüzü %{node} üzerinde başarıyla yükseltildi 🎉" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" @@ -3098,8 +3174,8 @@ msgstr "Nginx Yapılandırma Ayrıştırma Hatası" msgid "Restore Nginx UI Configuration" msgstr "Nginx Yapılandırma Ayrıştırma Hatası" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -3129,15 +3205,15 @@ msgstr "Çalışıyor" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 #, fuzzy msgid "Save" msgstr "Kaydet" @@ -3147,50 +3223,51 @@ msgstr "Kaydet" msgid "Save Directive" msgstr "Direktifi Kaydet" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 #, fuzzy msgid "Save error %{msg}" msgstr "Hatayı kaydet %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "Uzak Yapılandırmayı Yeniden Adlandır Hatası" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "Uzak Yapılandırmayı Yeniden Adlandırma Başarılı" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "%{conf_name} başarıyla %{node_name} düğümüne kopyalandı" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "%{conf_name} başarıyla %{node_name} düğümüne kopyalandı" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "" "%{conf_name} yapılandırmasını %{node_name} düğümüne dağıtma başarısız oldu" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "%{conf_name} başarıyla %{node_name} düğümüne kopyalandı" @@ -3203,11 +3280,11 @@ msgstr "%{conf_name} başarıyla %{node_name} düğümüne kopyalandı" msgid "Save successfully" msgstr "Başarıyla kaydedin" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 #, fuzzy msgid "Saved successfully" msgstr "Başarıyla Kaydedildi" @@ -3446,7 +3523,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 #, fuzzy msgid "Status" msgstr "Durum" @@ -3486,7 +3563,7 @@ msgstr "" msgid "Streams-enabled directory not exist" msgstr "Dizin" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 #, fuzzy msgid "Success" msgstr "Başarılı" @@ -3520,7 +3597,7 @@ msgstr "Koyu temaya geçme" msgid "Switch to light theme" msgstr "Işık temasına geçin" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 #, fuzzy msgid "Sync" msgstr "Eşitle" @@ -3530,42 +3607,42 @@ msgstr "Eşitle" msgid "Sync Certificate" msgstr "Senkronizasyon Sertifikası" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "Sertifika %{cert_name}'ı %{env_name} ile başarıyla senkronize edin" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "Sertifika %{cert_name}'ı %{env_name} ile başarıyla senkronize edin" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 #, fuzzy msgid "Sync Certificate Error" msgstr "Senkronizasyon Sertifikası Hatası" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 #, fuzzy msgid "Sync Certificate Success" msgstr "Senkronizasyon Sertifikası Başarısı" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "Config %{config_name} ile %{env_name}'i başarıyla senkronize edin" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "Config %{config_name} ile %{env_name}'i başarıyla senkronize edin" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 #, fuzzy msgid "Sync Config Error" msgstr "Senkronizasyon Yapılandırma Hatası" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 #, fuzzy msgid "Sync Config Success" msgstr "Senkronizasyon Yapılandırması Başarılı" @@ -3943,13 +4020,13 @@ msgstr "Güncellendi" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 #, fuzzy msgid "Updated at" msgstr "Güncelleme" @@ -3998,7 +4075,7 @@ msgstr "Çalışma süresi:" msgid "URL" msgstr "URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -4085,7 +4162,7 @@ msgstr "Kurtarma Kodu" msgid "Viewed" msgstr "Görünüm" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/vi_VN/app.po b/app/src/language/vi_VN/app.po index be2ecdec..f69ebb6e 100644 --- a/app/src/language/vi_VN/app.po +++ b/app/src/language/vi_VN/app.po @@ -39,13 +39,13 @@ msgstr "Người dùng" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "Hành động" @@ -56,7 +56,7 @@ msgstr "Hành động" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "Thêm" @@ -65,8 +65,8 @@ msgstr "Thêm" msgid "Add a passkey" msgstr "" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 #, fuzzy msgid "Add Configuration" msgstr "Sửa cấu hình" @@ -84,12 +84,12 @@ msgstr "Thêm Location" msgid "Add Site" msgstr "Thêm Website" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 #, fuzzy msgid "Add Stream" msgstr "Thêm Website" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 #, fuzzy msgid "Added successfully" msgstr "Cập nhật thành công" @@ -100,7 +100,7 @@ msgid "Additional" msgstr "Tùy chọn bổ sung" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "Nâng cao" @@ -113,7 +113,8 @@ msgstr "" msgid "All" msgstr "" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "" @@ -201,8 +202,8 @@ msgstr "Bạn chắc chắn muốn xóa nó " msgid "Are you sure you want to delete this item?" msgstr "Bạn chắc chắn muốn xóa nó " -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 #, fuzzy msgid "Are you sure you want to delete?" msgstr "Bạn chắc chắn muốn xóa nó " @@ -291,10 +292,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "Quay lại" @@ -342,7 +343,7 @@ msgstr "" msgid "Base information" msgstr "Thông tin" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 #, fuzzy @@ -350,7 +351,7 @@ msgid "Basic" msgstr "Cơ bản" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "Cơ bản" @@ -409,8 +410,8 @@ msgstr "Huỷ" msgid "Cannot change initial user password in demo mode" msgstr "Cấm thay đổi mật khẩu root trong demo" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -437,6 +438,11 @@ msgstr "Gia hạn chứng chỉ SSL thất bại" msgid "Certificate parse error" msgstr "Chứng chỉ đã hết hạn" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "Mẫu Cấu hình" + #: src/views/preference/CertSettings.vue:27 #, fuzzy msgid "Certificate Renewal Interval" @@ -483,7 +489,7 @@ msgid_plural "Changed Certificates" msgstr[0] "Thay đổi chứng chỉ" msgstr[1] "Thay đổi chứng chỉ" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "Changed Path" msgstr "Thay đổi chứng chỉ" @@ -552,7 +558,7 @@ msgstr "" msgid "Click to copy" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -568,20 +574,20 @@ msgstr "Bình luận" msgid "Comments" msgstr "Bình luận" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "Cấu hình" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -599,7 +605,7 @@ msgstr "Mẫu Cấu hình" msgid "Configuration file is test successful" msgstr "Tệp cấu hình được kiểm tra thành công" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "Cấu hình" @@ -608,7 +614,7 @@ msgstr "Cấu hình" msgid "Configuration Name" msgstr "Tên cấu hình" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "Cấu hình" @@ -675,12 +681,12 @@ msgstr "Tạo thêm" msgid "Create Backup" msgstr "Ngày tạo" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 #, fuzzy msgid "Create File" msgstr "Ngày tạo" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 #, fuzzy msgid "Create Folder" msgstr "Tạo thêm" @@ -723,7 +729,7 @@ msgstr "" msgid "Current account is not enabled TOTP." msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "Phiên bản hiện tại" @@ -743,8 +749,8 @@ msgid "" "indicator." msgstr "" -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "Bảng điều khiển" @@ -765,8 +771,8 @@ msgstr "Mô tả" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "Xoá" @@ -775,51 +781,51 @@ msgstr "Xoá" msgid "Delete Permanently" msgstr "" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 #, fuzzy msgid "Delete Remote Site Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 #, fuzzy msgid "Delete Remote Site Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 #, fuzzy msgid "Delete Remote Stream Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 #, fuzzy msgid "Delete Remote Stream Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 #, fuzzy msgid "Delete site %{name} from %{node} failed" msgstr "Triển khai %{conf_name} tới %{node_name} thất bại" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 #, fuzzy msgid "Delete site %{name} from %{node} successfully" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "Xoá trang web: %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 #, fuzzy msgid "Delete stream %{name} from %{node} failed" msgstr "Triển khai %{conf_name} tới %{node_name} thất bại" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 #, fuzzy msgid "Delete stream %{name} from %{node} successfully" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 #, fuzzy msgid "Delete stream: %{stream_name}" msgstr "Xoá trang web: %{site_name}" @@ -833,7 +839,7 @@ msgstr "Đã xoá thành công" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "Triển khai" @@ -874,8 +880,8 @@ msgstr "" msgid "Directives" msgstr "Directives" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 #, fuzzy msgid "Disable" msgstr "Tắt" @@ -884,42 +890,62 @@ msgstr "Tắt" msgid "Disable auto-renewal failed for %{name}" msgstr "Tắt tự động gia hạn SSL cho %{name} thất bại" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 #, fuzzy msgid "Disable Remote Site Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "Gia hạn chứng chỉ SSL thất bại" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "Gia hạn chứng chỉ SSL thành công" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 #, fuzzy msgid "Disable Remote Site Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 #, fuzzy msgid "Disable Remote Stream Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 #, fuzzy msgid "Disable Remote Stream Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "Đã bật %{conf_name} trên %{node_name}" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "Đã bật %{conf_name} trên %{node_name}" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "Đã bật %{conf_name} trên %{node_name}" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "Đã bật %{conf_name} trên %{node_name}" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "Không thể bật %{conf_name} trên %{node_name}" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "Đã bật %{conf_name} trên %{node_name}" @@ -930,16 +956,16 @@ msgstr "Đã bật %{conf_name} trên %{node_name}" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "Đã tắt" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "Đã tắt thành công" @@ -1042,9 +1068,9 @@ msgid "" msgstr "" #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "Nhân bản" @@ -1060,11 +1086,11 @@ msgid "Edit" msgstr "Sửa %{n}" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "Sửa %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "Sửa cấu hình" @@ -1087,8 +1113,8 @@ msgstr "Email (*)" msgid "Email (*)" msgstr "Email (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 #, fuzzy msgid "Enable" msgstr "Đã bật" @@ -1111,42 +1137,62 @@ msgstr "Bật không thành công" msgid "Enable HTTPS" msgstr "Bật TLS" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 #, fuzzy msgid "Enable Remote Site Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "Gia hạn chứng chỉ SSL thất bại" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "Gia hạn chứng chỉ SSL thành công" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 #, fuzzy msgid "Enable Remote Site Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "Không thể bật %{conf_name} trên %{node_name}" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "Đã bật %{conf_name} trên %{node_name}" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "Không thể bật %{conf_name} trên %{node_name}" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "Đã bật %{conf_name} trên %{node_name}" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "Không thể bật %{conf_name} trên %{node_name}" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "Đã bật %{conf_name} trên %{node_name}" @@ -1168,19 +1214,19 @@ msgstr "Bật TLS" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "Đã bật" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "Đã bật" @@ -1188,6 +1234,10 @@ msgstr "Đã bật" msgid "Encrypt website with Let's Encrypt" msgstr "Bảo mật trang web với Let's Encrypt" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 #, fuzzy msgid "Environment variables cleaned" @@ -1200,12 +1250,12 @@ msgstr "Đặt biến môi trường" msgid "Environments" msgstr "Environments" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "Lỗi" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1218,7 +1268,7 @@ msgstr "Log lỗi" msgid "Error Logs" msgstr "Log lỗi" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1226,6 +1276,10 @@ msgstr "" msgid "Executable Path" msgstr "Đường dẫn thực thi" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1380,16 +1434,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "Không thể tắt %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "Không thể bật %{msg}" @@ -1435,7 +1487,7 @@ msgstr "Không thể truy xuất thông tin chứng chỉ" msgid "Failed to get certificate information" msgstr "Không thể truy xuất thông tin chứng chỉ" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "Không thể bật %{msg}" @@ -1490,7 +1542,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "Không lưu được, đã phát hiện thấy (các) lỗi cú pháp trong cấu hình." @@ -1556,16 +1608,16 @@ msgstr "Người dùng Trung Quốc: https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "Nhân bản thất bại" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "Định dạng code" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 #, fuzzy msgid "Format error %{msg}" msgstr "Lưu lỗi %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 #, fuzzy msgid "Format successfully" msgstr "Định dạng thành công" @@ -1619,9 +1671,9 @@ msgstr "" msgid "Hide" msgstr "" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "Thư mục" @@ -1692,17 +1744,17 @@ msgid "Import Certificate" msgstr "Chứng chỉ" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "Thông tin" @@ -1772,8 +1824,8 @@ msgstr "E-mail không chính xác!" msgid "Invalid file path: {0}" msgstr "E-mail không chính xác!" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 #, fuzzy msgid "Invalid filename" msgstr "E-mail không chính xác!" @@ -1964,6 +2016,21 @@ msgid "" "minutes." msgstr "" +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "Đã tắt thành công" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "Đã bật" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 #, fuzzy msgid "" @@ -1973,16 +2040,16 @@ 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/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "Quản lý cấu hình" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "Quản lý Website" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 #, fuzzy msgid "Manage Streams" msgstr "Quản lý Website" @@ -2017,14 +2084,14 @@ msgstr "" msgid "Model" msgstr "Run Mode" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 #, fuzzy msgid "Modify" msgstr "Sửa" @@ -2054,18 +2121,18 @@ msgstr "Single Directive" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "Tên" @@ -2090,12 +2157,12 @@ msgstr "Tổng lưu lượng mạng đã gửi" msgid "New Installation" msgstr "Cài đặt" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 #, fuzzy msgid "New name" msgstr "Username" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 #, fuzzy msgid "New Path" msgstr "Đường dẫn" @@ -2153,7 +2220,7 @@ msgid "Nginx configuration has been restored" msgstr "Lỗi phân tích cú pháp cấu hình Nginx" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 #, fuzzy msgid "Nginx Configuration Parse Error" msgstr "Lỗi phân tích cú pháp cấu hình Nginx" @@ -2253,8 +2320,8 @@ msgstr "Lỗi phân tích cú pháp cấu hình Nginx" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "Không" @@ -2264,7 +2331,7 @@ msgstr "Không" msgid "No Action" msgstr "Hành động" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2274,9 +2341,9 @@ msgid "Node" msgstr "Username" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "Environment" @@ -2379,9 +2446,9 @@ msgstr "" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "" @@ -2414,7 +2481,7 @@ msgstr "" msgid "Or enter the secret: %{secret}" msgstr "" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "" @@ -2431,11 +2498,11 @@ msgstr "Hệ điều hành:" msgid "Otp or recovery code empty" msgstr "" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "Ghi đè" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "Ghi đè tập tin đã tồn tại" @@ -2476,7 +2543,7 @@ msgstr "Tên người dùng hoặc mật khẩu không chính xác" msgid "Password length cannot exceed 20 characters" msgstr "" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2545,14 +2612,15 @@ 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/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 #, fuzzy msgid "Please input a filename" msgstr "Vui lòng nhập username!" @@ -2779,22 +2847,22 @@ msgstr "Tải lại" msgid "Reload Nginx" msgstr "Tải lại nginx" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "Xoá trang web: %{site_name}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "Cập nhật thành công" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "Gia hạn chứng chỉ SSL thành công" @@ -2826,9 +2894,9 @@ msgstr "Xoá thành công" msgid "Removed successfully" msgstr "Xoá thành công" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 @@ -2836,67 +2904,67 @@ msgstr "Xoá thành công" msgid "Rename" msgstr "Username" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 #, 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/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 #, fuzzy msgid "Rename Remote Config Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 #, fuzzy msgid "Rename Remote Config Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 #, fuzzy msgid "Rename Remote Site Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 #, fuzzy msgid "Rename Remote Site Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 #, fuzzy msgid "Rename successfully" msgstr "Gia hạn chứng chỉ SSL" @@ -2958,22 +3026,22 @@ msgstr "Khởi động lại" msgid "Restart Nginx" msgstr "Đang khởi động lại" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "Đã bật %{conf_name} trên %{node_name}" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "Cập nhật thành công" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "Gia hạn chứng chỉ SSL thành công" @@ -3008,8 +3076,8 @@ msgstr "Lỗi phân tích cú pháp cấu hình Nginx" msgid "Restore Nginx UI Configuration" msgstr "Lỗi phân tích cú pháp cấu hình Nginx" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -3038,15 +3106,15 @@ msgstr "Running" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "Lưu" @@ -3054,48 +3122,49 @@ msgstr "Lưu" msgid "Save Directive" msgstr "Lưu Directive" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "Đã xảy ra lỗi khi lưu %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 #, fuzzy msgid "Save Remote Site Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 #, fuzzy msgid "Save Remote Site Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "Triển khai %{conf_name} tới %{node_name} thất bại" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" @@ -3108,11 +3177,11 @@ msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" msgid "Save successfully" msgstr "Lưu thành công" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "Lưu thành công" @@ -3328,7 +3397,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "Trạng thái" @@ -3365,7 +3434,7 @@ msgstr "" msgid "Streams-enabled directory not exist" msgstr "Thư mục" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "Thành công" @@ -3395,7 +3464,7 @@ msgstr "Sử dụng Dark theme" msgid "Switch to light theme" msgstr "Sử dụng Light theme" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "" @@ -3404,42 +3473,42 @@ msgstr "" msgid "Sync Certificate" msgstr "Gia hạn chứng chỉ SSL" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 #, 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" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 #, fuzzy msgid "Sync Certificate Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 #, fuzzy msgid "Sync Certificate Success" msgstr "Gia hạn chứng chỉ SSL thành công" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "Nhân bản %{conf_name} thành %{node_name} thành công" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, 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/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 #, fuzzy msgid "Sync Config Error" msgstr "Gia hạn chứng chỉ SSL thất bại" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 #, fuzzy msgid "Sync Config Success" msgstr "Gia hạn chứng chỉ SSL thành công" @@ -3757,13 +3826,13 @@ msgstr "Cập nhật thành công" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "Ngày cập nhật" @@ -3806,7 +3875,7 @@ msgstr "Thời gian hoạt động:" msgid "URL" msgstr "" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3886,7 +3955,7 @@ msgstr "" msgid "Viewed" msgstr "Xem" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/zh_CN/app.po b/app/src/language/zh_CN/app.po index 9fc76497..5d99972e 100644 --- a/app/src/language/zh_CN/app.po +++ b/app/src/language/zh_CN/app.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2025-04-06 12:00+0800\n" +"PO-Revision-Date: 2025-04-07 18:35+0800\n" "Last-Translator: 0xJacky \n" "Language-Team: Chinese (Simplified Han script) \n" @@ -43,13 +43,13 @@ msgstr "ACME 用户" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "操作" @@ -60,7 +60,7 @@ msgstr "操作" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "添加" @@ -69,8 +69,8 @@ msgstr "添加" msgid "Add a passkey" msgstr "添加 Passkey" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "添加配置" @@ -87,11 +87,11 @@ msgstr "添加 Location" msgid "Add Site" msgstr "添加站点" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "添加 Stream" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "添加成功" @@ -100,7 +100,7 @@ msgid "Additional" msgstr "额外选项" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "高级模式" @@ -113,7 +113,8 @@ msgstr "然后,刷新此页面并再次点击添加 Passkey。" msgid "All" msgstr "全部" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "所有恢复码都已被使用" @@ -190,8 +191,8 @@ msgstr "您确定要永久删除此项目吗?" msgid "Are you sure you want to delete this item?" msgstr "你确定要删除这个项目吗?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "您确定要删除吗?" @@ -273,10 +274,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "自动索引站点和 Stream 的配置文件。" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "返回" @@ -320,14 +321,14 @@ msgstr "禁用至" msgid "Base information" msgstr "基本信息" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "基本" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "基本模式" @@ -382,8 +383,8 @@ msgstr "取消" msgid "Cannot change initial user password in demo mode" msgstr "不可在 Demo 中修改初始用户的密码" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "无法比较:内容缺失" @@ -407,6 +408,10 @@ msgstr "证书解码错误" msgid "Certificate parse error" msgstr "证书解析错误" +#: src/constants/errors/cert.ts:8 +msgid "Certificate path is empty" +msgstr "证书路径为空" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "证书续期间隔" @@ -444,7 +449,7 @@ msgid "Changed Certificate" msgid_plural "Changed Certificates" msgstr[0] "变更证书" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "Changed Path" msgstr "变更后的路径" @@ -514,7 +519,7 @@ msgstr "单击或拖动备份文件到此区域上传" msgid "Click to copy" msgstr "点击复制" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "关闭" @@ -529,19 +534,19 @@ msgstr "命令" msgid "Comments" msgstr "注释" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "比较" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 msgid "Compare Configurations" msgstr "配置比较" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "比较选定" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "与当前的比较" @@ -557,7 +562,7 @@ msgstr "配置" msgid "Configuration file is test successful" msgstr "配置文件测试成功" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 msgid "Configuration History" msgstr "配置历史记录" @@ -565,7 +570,7 @@ msgstr "配置历史记录" msgid "Configuration Name" msgstr "配置名称" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "配置" @@ -630,11 +635,11 @@ msgstr "再创建一个" msgid "Create Backup" msgstr "创建备份" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 msgid "Create File" msgstr "创建文件" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 msgid "Create Folder" msgstr "创建文件夹" @@ -676,7 +681,7 @@ msgstr "当前账户已启用 TOTP 验证。" msgid "Current account is not enabled TOTP." msgstr "当前用户未启用 TOTP 验证。" -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 msgid "Current Content" msgstr "当前内容" @@ -695,8 +700,8 @@ msgid "" "indicator." msgstr "自定义显示在环境指示器中的本地服务器名称。" -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "仪表盘" @@ -716,8 +721,8 @@ msgstr "解密失败" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "删除" @@ -726,43 +731,43 @@ msgstr "删除" msgid "Delete Permanently" msgstr "彻底删除" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 msgid "Delete Remote Site Error" msgstr "删除远程站点错误" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 msgid "Delete Remote Site Success" msgstr "删除远程站点成功" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 msgid "Delete Remote Stream Error" msgstr "删除远程 Stream 错误" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 msgid "Delete Remote Stream Success" msgstr "删除远程 Stream 成功" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 msgid "Delete site %{name} from %{node} failed" msgstr "部署 %{name} 到 %{node} 失败" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 msgid "Delete site %{name} from %{node} successfully" msgstr "成功从 %{node} 中删除站点 %{name}" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "删除站点: %{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 msgid "Delete stream %{name} from %{node} failed" msgstr "部署 %{name} 到 %{node} 失败" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 msgid "Delete stream %{name} from %{node} successfully" msgstr "成功从 %{node} 中删除站点 %{name}" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "删除 Stream: %{stream_name}" @@ -774,7 +779,7 @@ msgstr "删除成功" msgid "Demo" msgstr "Demo" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "部署" @@ -815,8 +820,8 @@ msgstr "指令 index 超出范围" msgid "Directives" msgstr "指令" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "禁用" @@ -824,35 +829,51 @@ msgstr "禁用" msgid "Disable auto-renewal failed for %{name}" msgstr "关闭 %{name} 自动续签失败" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 msgid "Disable Remote Site Error" msgstr "禁用远程站点错误" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +msgid "Disable Remote Site Maintenance Error" +msgstr "禁用远程站点维护错误" + +#: src/components/Notification/notifications.ts:91 +msgid "Disable Remote Site Maintenance Success" +msgstr "禁用远程站点维护成功" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 msgid "Disable Remote Site Success" msgstr "禁用远程站点成功" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 msgid "Disable Remote Stream Error" msgstr "禁用远程 Stream 错误" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 msgid "Disable Remote Stream Success" msgstr "禁用远程 Stream成功" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 msgid "Disable site %{name} from %{node} failed" msgstr "在 %{node} 上禁用 %{name} 成功" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 msgid "Disable site %{name} from %{node} successfully" msgstr "在 %{node} 上禁用 %{name} 成功" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "停用站点 %{name} 维护 %{node} 失败" + +#: src/components/Notification/notifications.ts:92 +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "成功停用站点 %{name} 上 %{node} 的维护功能" + +#: src/components/Notification/notifications.ts:122 msgid "Disable stream %{name} from %{node} failed" msgstr "在 %{node} 中启用 %{name} 失败" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 msgid "Disable stream %{name} from %{node} successfully" msgstr "在 %{node} 上禁用 %{name} 成功" @@ -862,16 +883,16 @@ msgstr "在 %{node} 上禁用 %{name} 成功" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "禁用" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "禁用成功" @@ -965,9 +986,9 @@ msgstr "" "使用 Passkey。" #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "复制" @@ -981,11 +1002,11 @@ msgid "Edit" msgstr "编辑" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "编辑 %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "编辑配置" @@ -1006,8 +1027,8 @@ msgstr "邮箱" msgid "Email (*)" msgstr "邮箱 (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "启用" @@ -1027,35 +1048,51 @@ msgstr "启用失败" msgid "Enable HTTPS" msgstr "启用 HTTPS" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 msgid "Enable Remote Site Error" msgstr "启用远程站点错误" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +msgid "Enable Remote Site Maintenance Error" +msgstr "在 %{node} 上启用 %{site} 失败" + +#: src/components/Notification/notifications.ts:83 +msgid "Enable Remote Site Maintenance Success" +msgstr "成功启用远程站点维护" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 msgid "Enable Remote Site Success" msgstr "启用远程站点成功" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 msgid "Enable Remote Stream Error" msgstr "启用远程 Steam 错误" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 msgid "Enable Remote Stream Success" msgstr "启用远程 Stream 成功" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "在 %{node} 中为 %{name} 启用维护模式失败" + +#: src/components/Notification/notifications.ts:84 +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "在 %{node} 上成功启用站点 %{name} 维护模式" + +#: src/components/Notification/notifications.ts:72 msgid "Enable site %{name} on %{node} failed" msgstr "在 %{node} 中启用 %{name} 失败" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 msgid "Enable site %{name} on %{node} successfully" msgstr "在 %{node} 上启用 %{name} 成功" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 msgid "Enable stream %{name} on %{node} failed" msgstr "在 %{node} 中启用 %{name} 失败" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 msgid "Enable stream %{name} on %{node} successfully" msgstr "在 %{node} 上启用 %{name} 成功" @@ -1075,19 +1112,19 @@ msgstr "启用 TOTP" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "启用" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "启用成功" @@ -1095,6 +1132,10 @@ msgstr "启用成功" msgid "Encrypt website with Let's Encrypt" msgstr "用 Let's Encrypt 对网站进行加密" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "进入维护" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "环境变量已清理" @@ -1105,12 +1146,12 @@ msgstr "环境变量已清理" msgid "Environments" msgstr "环境" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "错误" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "差异查看器初始化出错" @@ -1122,7 +1163,7 @@ msgstr "错误日志" msgid "Error Logs" msgstr "错误日志" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "内容处理错误" @@ -1130,6 +1171,10 @@ msgstr "内容处理错误" msgid "Executable Path" msgstr "可执行文件路径" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "退出维护" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1264,16 +1309,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "解密 Nginx UI 目录失败:{0}" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "禁用失败 %{msg}" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "启用失败 %{msg}" @@ -1313,7 +1356,7 @@ msgstr "生成初始化向量失败:{0}" msgid "Failed to get certificate information" msgstr "获取证书信息失败" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 msgid "Failed to load history records" msgstr "加载历史记录失败" @@ -1362,7 +1405,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "恢复 Nginx UI 文件失败:{0}" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "保存失败,在配置中检测到语法错误。" @@ -1425,15 +1468,15 @@ msgstr "中国用户:https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "表单解析失败" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "代码格式化" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "保存错误 %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "格式化成功" @@ -1483,9 +1526,9 @@ msgstr "哈希验证失败:文件完整性受损" msgid "Hide" msgstr "隐藏" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 msgid "History" msgstr "历史" @@ -1556,17 +1599,17 @@ msgid "Import Certificate" msgstr "导入证书" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 msgid "Indexed" msgstr "已索引" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "索引中..." #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "信息" @@ -1632,8 +1675,8 @@ msgstr "无效文件对象" msgid "Invalid file path: {0}" msgstr "文件路径无效:{0}" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "文件名无效" @@ -1814,6 +1857,19 @@ msgstr "" "Nginx 用户界面的用户,您可以手动启用该选项。Nginx UI 的定时任务任务调度器将按" "照您设置的时间间隔(以分钟为单位)执行 logrotate 命令。" +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "维护模式" + +#: src/views/site/site_list/SiteList.vue:119 +msgid "Maintenance mode disabled successfully" +msgstr "成功禁用维护模式" + +#: src/views/site/site_list/SiteList.vue:111 +msgid "Maintenance mode enabled successfully" +msgstr "成功启用维护模式" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 msgid "" "Make sure you have configured a reverse proxy for .well-known directory to " @@ -1822,16 +1878,16 @@ msgstr "" "在获取签发证书前,请确保配置文件中已将 .well-known 目录反向代理到 " "HTTPChallengePort。" -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "配置管理" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "网站管理" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 msgid "Manage Streams" msgstr "管理 Stream" @@ -1864,14 +1920,14 @@ msgstr "分钟" msgid "Model" msgstr "模型" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "修改时间" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 msgid "Modify" msgstr "修改" @@ -1897,18 +1953,18 @@ msgstr "多行指令" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "名称" @@ -1932,11 +1988,11 @@ msgstr "上传流量" msgid "New Installation" msgstr "新安装" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 msgid "New name" msgstr "新名称" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "New Path" msgstr "新路径" @@ -1991,7 +2047,7 @@ msgid "Nginx configuration has been restored" msgstr "Nginx 配置已恢复" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 msgid "Nginx Configuration Parse Error" msgstr "Nginx 配置解析错误" @@ -2083,8 +2139,8 @@ msgstr "Nginx UI 配置已恢复,几秒钟后将自动重启。" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "取消" @@ -2093,7 +2149,7 @@ msgstr "取消" msgid "No Action" msgstr "无操作" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "未选择记录" @@ -2102,9 +2158,9 @@ msgid "Node" msgstr "节点" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 msgid "Node Group" msgstr "节点组" @@ -2200,9 +2256,9 @@ msgstr "确定" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "确定" @@ -2235,7 +2291,7 @@ msgstr "或" msgid "Or enter the secret: %{secret}" msgstr "或输入密钥:%{secret}" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "原名" @@ -2251,11 +2307,11 @@ msgstr "OS:" msgid "Otp or recovery code empty" msgstr "OTP 或恢复代码为空" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "覆盖" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "覆盖现有文件" @@ -2296,7 +2352,7 @@ msgstr "用户名和密码错误" msgid "Password length cannot exceed 20 characters" msgstr "密码长度不能超过 20 个字符" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2364,14 +2420,15 @@ msgstr "" "请首先在 “证书”> “DNS 凭证” 中添加凭证,然后在下方选择一个凭证,请求 DNS 提供" "商的 API。" -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "请立即在偏好设置中生成新的恢复码,以防止无法访问您的账户。" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 msgid "Please input a filename" msgstr "请输入文件名" @@ -2583,19 +2640,19 @@ msgstr "重载" msgid "Reload Nginx" msgstr "重载 Nginx" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "在 %{node} 上重载 Nginx 失败,响应:%{resp}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 msgid "Reload Nginx on %{node} successfully" msgstr "在 %{node} 上重载 Nginx 成功" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 msgid "Reload Remote Nginx Error" msgstr "重载远程 Nginx 错误" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 msgid "Reload Remote Nginx Success" msgstr "重载远程 Nginx 成功" @@ -2624,64 +2681,64 @@ msgstr "移除成功" msgid "Removed successfully" msgstr "删除成功" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 msgid "Rename" msgstr "重命名" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "成功将 %{env_name} 上的 %{orig_path} 重命名为 %{new_path}" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "成功将 %{env_name} 上的 %{orig_path} 重命名为 %{new_path}" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 msgid "Rename Remote Config Error" msgstr "远程配置重命名错误" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 msgid "Rename Remote Config Success" msgstr "重命名远程配置成功" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 msgid "Rename Remote Site Error" msgstr "重命名远程站点错误" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 msgid "Rename Remote Site Success" msgstr "重命名远程站点成功" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 msgid "Rename Remote Stream Error" msgstr "重命名远程 Stream 错误" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 msgid "Rename Remote Stream Success" msgstr "重命名远程 Stream成功" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "在 %{node} 上将站点 %{name} 重命名为 %{new_name} 成功" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "在 %{node} 上将站点 %{name} 重命名为 %{new_name} 成功" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "在 %{node} 上将站点 %{name} 重命名为 %{new_name} 成功" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "在 %{node} 上将站点 %{name} 重命名为 %{new_name} 成功" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 msgid "Rename successfully" msgstr "重命名成功" @@ -2735,19 +2792,19 @@ msgstr "重启" msgid "Restart Nginx" msgstr "重启 Nginx" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "在 %{node} 上重启 Nginx 失败,响应:%{resp}" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 msgid "Restart Nginx on %{node} successfully" msgstr "在 %{node} 上重启 Nginx 成功" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 msgid "Restart Remote Nginx Error" msgstr "重启远程 Nginx 错误" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 msgid "Restart Remote Nginx Success" msgstr "重启远程 Nginx 成功" @@ -2777,8 +2834,8 @@ msgstr "恢复 Nginx 配置" msgid "Restore Nginx UI Configuration" msgstr "恢复 Nginx UI 配置" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "恢复此版本" @@ -2806,15 +2863,15 @@ msgstr "运行中" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "保存" @@ -2822,41 +2879,42 @@ msgstr "保存" msgid "Save Directive" msgstr "保存指令" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "保存错误 %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 msgid "Save Remote Site Error" msgstr "保存远程站点错误" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 msgid "Save Remote Site Success" msgstr "保存远程站点成功" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 msgid "Save Remote Stream Error" msgstr "保存远程 Stream 错误" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 msgid "Save Remote Stream Success" msgstr "保存远程 Stream 成功" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 msgid "Save site %{name} to %{node} failed" msgstr "成功将站点 %{name} 保存到 %{node} 中" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 msgid "Save site %{name} to %{node} successfully" msgstr "成功将站点 %{name} 保存到 %{node} 中" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 msgid "Save stream %{name} to %{node} failed" msgstr "部署 %{name} 到 %{node} 失败" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 msgid "Save stream %{name} to %{node} successfully" msgstr "成功将站点 %{name} 保存到 %{node} 中" @@ -2867,11 +2925,11 @@ msgstr "成功将站点 %{name} 保存到 %{node} 中" msgid "Save successfully" msgstr "保存成功" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "保存成功" @@ -3078,7 +3136,7 @@ msgstr "开始还原" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "状态" @@ -3111,7 +3169,7 @@ msgstr "Streams-available 目录不存在" msgid "Streams-enabled directory not exist" msgstr "Streams-enabled 目录不存在" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "成功" @@ -3143,7 +3201,7 @@ msgstr "切换到深色主题" msgid "Switch to light theme" msgstr "切换到浅色" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "同步" @@ -3151,35 +3209,35 @@ msgstr "同步" msgid "Sync Certificate" msgstr "同步证书" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "证书 %{cert_name} 已成功同步到 %{env_name}" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "证书 %{cert_name} 已成功同步到 %{env_name}" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 msgid "Sync Certificate Error" msgstr "同步证书错误" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 msgid "Sync Certificate Success" msgstr "同步证书成功" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 msgid "Sync config %{config_name} to %{env_name} failed" msgstr "配置 %{config_name} 成功同步到 %{env_name}" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "配置 %{config_name} 成功同步到 %{env_name}" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 msgid "Sync Config Error" msgstr "同步配置错误" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 msgid "Sync Config Success" msgstr "同步配置成功" @@ -3490,13 +3548,13 @@ msgstr "更新成功" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "修改时间" @@ -3536,7 +3594,7 @@ msgstr "运行时间:" msgid "URL" msgstr "URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "链接" @@ -3609,7 +3667,7 @@ msgstr "查看恢复代码" msgid "Viewed" msgstr "已查看" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/language/zh_TW/app.po b/app/src/language/zh_TW/app.po index 0420f378..99f51edc 100644 --- a/app/src/language/zh_TW/app.po +++ b/app/src/language/zh_TW/app.po @@ -48,13 +48,13 @@ msgstr "ACME 用戶" #: src/views/certificate/ACMEUser.vue:95 #: src/views/certificate/CertificateList/certColumns.tsx:94 #: src/views/certificate/DNSCredential.vue:33 -#: src/views/config/configColumns.tsx:42 +#: src/views/config/configColumns.tsx:44 #: src/views/environments/group/columns.ts:43 #: src/views/environments/list/envColumns.tsx:97 #: src/views/nginx_log/NginxLogList.vue:53 #: src/views/notification/notificationColumns.tsx:66 #: src/views/preference/AuthSettings.vue:30 -#: src/views/site/site_list/columns.tsx:100 src/views/stream/StreamList.vue:73 +#: src/views/site/site_list/columns.tsx:106 src/views/stream/StreamList.vue:74 #: src/views/user/userColumns.tsx:60 msgid "Action" msgstr "操作" @@ -65,7 +65,7 @@ msgstr "操作" #: src/views/site/ngx_conf/config_template/ConfigTemplate.vue:117 #: src/views/site/ngx_conf/NgxServer.vue:163 #: src/views/site/ngx_conf/NgxUpstream.vue:154 -#: src/views/stream/StreamList.vue:176 +#: src/views/stream/StreamList.vue:177 msgid "Add" msgstr "新增" @@ -74,8 +74,8 @@ msgstr "新增" msgid "Add a passkey" msgstr "新增通行密鑰" -#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:146 -#: src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:20 src/views/config/ConfigEditor.vue:168 +#: src/views/config/ConfigEditor.vue:241 msgid "Add Configuration" msgstr "添加配置" @@ -92,11 +92,11 @@ msgstr "新增 Location" msgid "Add Site" msgstr "新增網站" -#: src/views/stream/StreamList.vue:242 +#: src/views/stream/StreamList.vue:243 msgid "Add Stream" msgstr "新增 Stream" -#: src/views/stream/StreamList.vue:157 +#: src/views/stream/StreamList.vue:158 msgid "Added successfully" msgstr "添加成功" @@ -105,7 +105,7 @@ msgid "Additional" msgstr "其他設定" #: src/views/site/site_edit/SiteEdit.vue:225 -#: src/views/stream/StreamEdit.vue:211 +#: src/views/stream/StreamEdit.vue:207 msgid "Advance Mode" msgstr "進階模式" @@ -118,7 +118,8 @@ msgstr "然後,重新整理此頁面並再次點選新增通行密鑰。" msgid "All" msgstr "全部" -#: src/components/Notification/notifications.ts:9 src/language/constants.ts:58 +#: src/components/Notification/notifications.ts:155 +#: src/language/constants.ts:58 msgid "All Recovery Codes Have Been Used" msgstr "所有恢復碼都已使用完畢" @@ -196,8 +197,8 @@ msgstr "您確定要永久刪除此項目嗎?" msgid "Are you sure you want to delete this item?" msgstr "您確定要刪除此項目嗎?" -#: src/views/site/site_list/SiteList.vue:200 -#: src/views/stream/StreamList.vue:226 +#: src/views/site/site_list/SiteList.vue:229 +#: src/views/stream/StreamList.vue:227 msgid "Are you sure you want to delete?" msgstr "您確定要刪除嗎?" @@ -281,10 +282,10 @@ msgid "Automatically indexed from site and stream configurations." msgstr "" #: src/views/certificate/CertificateEditor.vue:255 -#: src/views/config/ConfigEditor.vue:232 src/views/config/ConfigList.vue:106 -#: src/views/config/ConfigList.vue:180 src/views/nginx_log/NginxLog.vue:173 +#: src/views/config/ConfigEditor.vue:262 src/views/config/ConfigList.vue:112 +#: src/views/config/ConfigList.vue:195 src/views/nginx_log/NginxLog.vue:173 #: src/views/site/site_edit/SiteEdit.vue:285 -#: src/views/stream/StreamEdit.vue:268 +#: src/views/stream/StreamEdit.vue:264 msgid "Back" msgstr "返回" @@ -331,14 +332,14 @@ msgstr "禁止至" msgid "Base information" msgstr "基本資訊" -#: src/views/config/ConfigEditor.vue:260 +#: src/views/config/ConfigEditor.vue:290 #: src/views/site/site_edit/RightSettings.vue:79 #: src/views/stream/components/RightSettings.vue:79 msgid "Basic" msgstr "基本" #: src/views/site/site_edit/SiteEdit.vue:228 -#: src/views/stream/StreamEdit.vue:214 +#: src/views/stream/StreamEdit.vue:210 msgid "Basic Mode" msgstr "基本模式" @@ -393,8 +394,8 @@ msgstr "取消" msgid "Cannot change initial user password in demo mode" msgstr "無法在示範模式下更改初始使用者密碼" -#: src/components/ConfigHistory/DiffViewer.vue:54 -#: src/components/ConfigHistory/DiffViewer.vue:71 +#: src/components/ConfigHistory/DiffViewer.vue:57 +#: src/components/ConfigHistory/DiffViewer.vue:74 msgid "Cannot compare: Missing content" msgstr "" @@ -418,6 +419,11 @@ msgstr "證書解碼錯誤" msgid "Certificate parse error" msgstr "證書解析錯誤" +#: src/constants/errors/cert.ts:8 +#, fuzzy +msgid "Certificate path is empty" +msgstr "明文為空" + #: src/views/preference/CertSettings.vue:27 msgid "Certificate Renewal Interval" msgstr "憑證更新間隔" @@ -455,7 +461,7 @@ msgid "Changed Certificate" msgid_plural "Changed Certificates" msgstr[0] "變更後憑證" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "Changed Path" msgstr "變更後路徑" @@ -525,7 +531,7 @@ msgstr "" msgid "Click to copy" msgstr "點擊複製" -#: src/components/ConfigHistory/ConfigHistory.vue:156 +#: src/components/ConfigHistory/ConfigHistory.vue:169 msgid "Close" msgstr "" @@ -540,20 +546,20 @@ msgstr "命令" msgid "Comments" msgstr "備註" -#: src/components/ConfigHistory/ConfigHistory.vue:114 +#: src/components/ConfigHistory/ConfigHistory.vue:127 msgid "Compare" msgstr "" -#: src/components/ConfigHistory/DiffViewer.vue:375 +#: src/components/ConfigHistory/DiffViewer.vue:378 #, fuzzy msgid "Compare Configurations" msgstr "設定" -#: src/components/ConfigHistory/ConfigHistory.vue:117 +#: src/components/ConfigHistory/ConfigHistory.vue:130 msgid "Compare Selected" msgstr "" -#: src/components/ConfigHistory/ConfigHistory.vue:116 +#: src/components/ConfigHistory/ConfigHistory.vue:129 msgid "Compare with Current" msgstr "" @@ -570,7 +576,7 @@ msgstr "設定模板" msgid "Configuration file is test successful" msgstr "設定檔案測試成功" -#: src/components/ConfigHistory/ConfigHistory.vue:125 +#: src/components/ConfigHistory/ConfigHistory.vue:138 #, fuzzy msgid "Configuration History" msgstr "設定" @@ -579,7 +585,7 @@ msgstr "設定" msgid "Configuration Name" msgstr "設定名稱" -#: src/views/config/ConfigList.vue:98 +#: src/views/config/ConfigList.vue:104 msgid "Configurations" msgstr "設定" @@ -646,11 +652,11 @@ msgstr "再建立一個" msgid "Create Backup" msgstr "建立時間" -#: src/views/config/ConfigList.vue:116 +#: src/views/config/ConfigList.vue:122 msgid "Create File" msgstr "創建檔案" -#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:123 +#: src/views/config/components/Mkdir.vue:47 src/views/config/ConfigList.vue:129 msgid "Create Folder" msgstr "創建資料夾" @@ -691,7 +697,7 @@ msgstr "當前帳戶已啟用 TOTP。" msgid "Current account is not enabled TOTP." msgstr "當前帳戶未啟用 TOTP。" -#: src/components/ConfigHistory/DiffViewer.vue:59 +#: src/components/ConfigHistory/DiffViewer.vue:62 #, fuzzy msgid "Current Content" msgstr "目前版本" @@ -711,8 +717,8 @@ msgid "" "indicator." msgstr "自訂顯示在環境指示器中的本地節點名稱。" -#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:136 -#: src/views/config/ConfigEditor.vue:99 src/views/config/ConfigList.vue:64 +#: src/routes/modules/dashboard.ts:10 src/views/config/ConfigEditor.vue:107 +#: src/views/config/ConfigEditor.vue:158 src/views/config/ConfigList.vue:67 msgid "Dashboard" msgstr "儀表板" @@ -732,8 +738,8 @@ msgstr "解密失敗" #: src/components/StdDesign/StdDataDisplay/StdTable.vue:519 #: src/views/site/ngx_conf/NgxServer.vue:110 #: src/views/site/ngx_conf/NgxUpstream.vue:128 -#: src/views/site/site_list/SiteList.vue:209 -#: src/views/stream/StreamList.vue:235 +#: src/views/site/site_list/SiteList.vue:238 +#: src/views/stream/StreamList.vue:236 msgid "Delete" msgstr "刪除" @@ -742,43 +748,43 @@ msgstr "刪除" msgid "Delete Permanently" msgstr "永久刪除" -#: src/components/Notification/notifications.ts:61 src/language/constants.ts:50 +#: src/components/Notification/notifications.ts:55 src/language/constants.ts:50 msgid "Delete Remote Site Error" msgstr "刪除遠端網站錯誤" -#: src/components/Notification/notifications.ts:65 src/language/constants.ts:49 +#: src/components/Notification/notifications.ts:59 src/language/constants.ts:49 msgid "Delete Remote Site Success" msgstr "刪除遠端網站成功" -#: src/components/Notification/notifications.ts:103 +#: src/components/Notification/notifications.ts:113 msgid "Delete Remote Stream Error" msgstr "刪除遠端串流錯誤" -#: src/components/Notification/notifications.ts:107 +#: src/components/Notification/notifications.ts:117 msgid "Delete Remote Stream Success" msgstr "刪除遠端串流成功" -#: src/components/Notification/notifications.ts:62 +#: src/components/Notification/notifications.ts:56 msgid "Delete site %{name} from %{node} failed" msgstr "從 %{node} 刪除網站 %{name} 失敗" -#: src/components/Notification/notifications.ts:66 +#: src/components/Notification/notifications.ts:60 msgid "Delete site %{name} from %{node} successfully" msgstr "成功從 %{node} 移除站點 %{name}" -#: src/views/site/site_list/SiteList.vue:115 +#: src/views/site/site_list/SiteList.vue:128 msgid "Delete site: %{site_name}" msgstr "刪除網站:%{site_name}" -#: src/components/Notification/notifications.ts:104 +#: src/components/Notification/notifications.ts:114 msgid "Delete stream %{name} from %{node} failed" msgstr "部署 %{conf_name} 至 %{node} 失敗" -#: src/components/Notification/notifications.ts:108 +#: src/components/Notification/notifications.ts:118 msgid "Delete stream %{name} from %{node} successfully" msgstr "成功從 %{node} 移除站點 %{name}" -#: src/views/stream/StreamList.vue:106 +#: src/views/stream/StreamList.vue:107 msgid "Delete stream: %{stream_name}" msgstr "刪除 Stream:%{stream_name}" @@ -790,7 +796,7 @@ msgstr "刪除成功" msgid "Demo" msgstr "" -#: src/views/config/ConfigEditor.vue:304 +#: src/views/config/ConfigEditor.vue:334 msgid "Deploy" msgstr "部署" @@ -831,8 +837,8 @@ msgstr "指令索引超出範圍" msgid "Directives" msgstr "指令" -#: src/views/site/site_list/SiteList.vue:180 -#: src/views/stream/StreamList.vue:206 +#: src/views/site/site_list/SiteList.vue:193 +#: src/views/stream/StreamList.vue:207 msgid "Disable" msgstr "停用" @@ -840,38 +846,58 @@ msgstr "停用" msgid "Disable auto-renewal failed for %{name}" msgstr "關閉 %{name} 自動續簽失敗" -#: src/components/Notification/notifications.ts:69 src/language/constants.ts:52 +#: src/components/Notification/notifications.ts:63 src/language/constants.ts:52 msgid "Disable Remote Site Error" msgstr "禁用遠端站点錯誤" -#: src/components/Notification/notifications.ts:73 src/language/constants.ts:51 +#: src/components/Notification/notifications.ts:87 +#, fuzzy +msgid "Disable Remote Site Maintenance Error" +msgstr "禁用遠端站点錯誤" + +#: src/components/Notification/notifications.ts:91 +#, fuzzy +msgid "Disable Remote Site Maintenance Success" +msgstr "禁用遠端站点成功" + +#: src/components/Notification/notifications.ts:67 src/language/constants.ts:51 msgid "Disable Remote Site Success" msgstr "禁用遠端站点成功" -#: src/components/Notification/notifications.ts:111 +#: src/components/Notification/notifications.ts:121 msgid "Disable Remote Stream Error" msgstr "禁用遠端串流錯誤" -#: src/components/Notification/notifications.ts:115 +#: src/components/Notification/notifications.ts:125 msgid "Disable Remote Stream Success" msgstr "禁用遠端串流成功" -#: src/components/Notification/notifications.ts:70 +#: src/components/Notification/notifications.ts:64 #, fuzzy msgid "Disable site %{name} from %{node} failed" msgstr "成功禁用 %{node} 中的站点 %{site}" -#: src/components/Notification/notifications.ts:74 +#: src/components/Notification/notifications.ts:68 #, fuzzy msgid "Disable site %{name} from %{node} successfully" msgstr "成功禁用 %{node} 中的站点 %{site}" -#: src/components/Notification/notifications.ts:112 +#: src/components/Notification/notifications.ts:88 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} failed" +msgstr "成功禁用 %{node} 中的站点 %{site}" + +#: src/components/Notification/notifications.ts:92 +#, fuzzy +msgid "Disable site %{name} maintenance on %{node} successfully" +msgstr "成功禁用 %{node} 中的站点 %{site}" + +#: src/components/Notification/notifications.ts:122 #, fuzzy msgid "Disable stream %{name} from %{node} failed" msgstr "在 %{node_name} 啟用 %{conf_name} 失敗" -#: src/components/Notification/notifications.ts:116 +#: src/components/Notification/notifications.ts:126 #, fuzzy msgid "Disable stream %{name} from %{node} successfully" msgstr "成功禁用 %{node} 中的站点 %{site}" @@ -882,16 +908,16 @@ msgstr "成功禁用 %{node} 中的站点 %{site}" #: src/views/preference/NodeSettings.vue:25 #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/SiteEdit.vue:199 -#: src/views/site/site_list/columns.tsx:77 -#: src/views/site/site_list/columns.tsx:86 src/views/stream/StreamEdit.vue:186 -#: src/views/stream/StreamList.vue:57 src/views/user/userColumns.tsx:41 +#: src/views/site/site_list/columns.tsx:78 +#: src/views/site/site_list/columns.tsx:91 src/views/stream/StreamEdit.vue:182 +#: src/views/stream/StreamList.vue:58 src/views/user/userColumns.tsx:41 msgid "Disabled" msgstr "停用" #: src/views/site/site_edit/RightSettings.vue:42 -#: src/views/site/site_list/SiteList.vue:104 +#: src/views/site/site_list/SiteList.vue:103 #: src/views/stream/components/RightSettings.vue:42 -#: src/views/stream/StreamList.vue:95 +#: src/views/stream/StreamList.vue:96 msgid "Disabled successfully" msgstr "成功停用" @@ -985,9 +1011,9 @@ msgstr "" "通行密鑰。" #: src/views/site/site_list/SiteDuplicate.vue:72 -#: src/views/site/site_list/SiteList.vue:195 +#: src/views/site/site_list/SiteList.vue:224 #: src/views/stream/components/StreamDuplicate.vue:64 -#: src/views/stream/StreamList.vue:221 +#: src/views/stream/StreamList.vue:222 msgid "Duplicate" msgstr "複製" @@ -1001,11 +1027,11 @@ msgid "Edit" msgstr "編輯" #: src/views/site/site_edit/SiteEdit.vue:188 -#: src/views/stream/StreamEdit.vue:175 +#: src/views/stream/StreamEdit.vue:171 msgid "Edit %{n}" msgstr "編輯 %{n}" -#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:210 +#: src/routes/modules/config.ts:30 src/views/config/ConfigEditor.vue:241 msgid "Edit Configuration" msgstr "編輯設定" @@ -1026,8 +1052,8 @@ msgstr "電子郵件" msgid "Email (*)" msgstr "電子郵件 (*)" -#: src/views/site/site_list/SiteList.vue:188 -#: src/views/stream/StreamList.vue:214 +#: src/views/site/site_list/SiteList.vue:201 +#: src/views/stream/StreamList.vue:215 msgid "Enable" msgstr "啟用" @@ -1048,40 +1074,60 @@ msgstr "啟用失敗" msgid "Enable HTTPS" msgstr "啟用 TOTP" -#: src/components/Notification/notifications.ts:77 src/language/constants.ts:54 +#: src/components/Notification/notifications.ts:71 src/language/constants.ts:54 msgid "Enable Remote Site Error" msgstr "啟用遠端站點錯誤" -#: src/components/Notification/notifications.ts:81 src/language/constants.ts:53 +#: src/components/Notification/notifications.ts:79 +#, fuzzy +msgid "Enable Remote Site Maintenance Error" +msgstr "啟用遠端站點錯誤" + +#: src/components/Notification/notifications.ts:83 +#, fuzzy +msgid "Enable Remote Site Maintenance Success" +msgstr "啟用遠端站點成功" + +#: src/components/Notification/notifications.ts:75 src/language/constants.ts:53 msgid "Enable Remote Site Success" msgstr "啟用遠端站點成功" -#: src/components/Notification/notifications.ts:119 +#: src/components/Notification/notifications.ts:129 #, fuzzy msgid "Enable Remote Stream Error" msgstr "啟用遠端站點錯誤" -#: src/components/Notification/notifications.ts:123 +#: src/components/Notification/notifications.ts:133 #, fuzzy msgid "Enable Remote Stream Success" msgstr "啟用遠端站點成功" -#: src/components/Notification/notifications.ts:78 +#: src/components/Notification/notifications.ts:80 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} failed" +msgstr "在 %{node_name} 啟用 %{conf_name} 失敗" + +#: src/components/Notification/notifications.ts:84 +#, fuzzy +msgid "Enable site %{name} maintenance on %{node} successfully" +msgstr "成功啟用站點 %{site} 在 %{node}" + +#: src/components/Notification/notifications.ts:72 #, fuzzy msgid "Enable site %{name} on %{node} failed" msgstr "在 %{node_name} 啟用 %{conf_name} 失敗" -#: src/components/Notification/notifications.ts:82 +#: src/components/Notification/notifications.ts:76 #, fuzzy msgid "Enable site %{name} on %{node} successfully" msgstr "成功啟用站點 %{site} 在 %{node}" -#: src/components/Notification/notifications.ts:120 +#: src/components/Notification/notifications.ts:130 #, fuzzy msgid "Enable stream %{name} on %{node} failed" msgstr "在 %{node_name} 啟用 %{conf_name} 失敗" -#: src/components/Notification/notifications.ts:124 +#: src/components/Notification/notifications.ts:134 #, fuzzy msgid "Enable stream %{name} on %{node} successfully" msgstr "成功啟用站點 %{site} 在 %{node}" @@ -1102,19 +1148,19 @@ msgstr "啟用 TOTP" #: src/views/preference/NodeSettings.vue:30 #: src/views/site/site_edit/RightSettings.vue:82 #: src/views/site/site_edit/SiteEdit.vue:193 -#: src/views/site/site_list/columns.tsx:73 -#: src/views/site/site_list/columns.tsx:85 +#: src/views/site/site_list/columns.tsx:74 +#: src/views/site/site_list/columns.tsx:90 #: src/views/stream/components/RightSettings.vue:81 -#: src/views/stream/StreamEdit.vue:180 src/views/stream/StreamList.vue:53 +#: src/views/stream/StreamEdit.vue:176 src/views/stream/StreamList.vue:54 #: src/views/user/userColumns.tsx:38 msgid "Enabled" msgstr "已啟用" #: src/views/site/site_add/SiteAdd.vue:40 #: src/views/site/site_edit/RightSettings.vue:33 -#: src/views/site/site_list/SiteList.vue:94 +#: src/views/site/site_list/SiteList.vue:95 #: src/views/stream/components/RightSettings.vue:33 -#: src/views/stream/StreamList.vue:85 +#: src/views/stream/StreamList.vue:86 msgid "Enabled successfully" msgstr "成功啟用" @@ -1122,6 +1168,10 @@ msgstr "成功啟用" msgid "Encrypt website with Let's Encrypt" msgstr "用 Let's Encrypt 對網站進行加密" +#: src/views/site/site_list/SiteList.vue:217 +msgid "Enter Maintenance" +msgstr "" + #: src/language/constants.ts:22 msgid "Environment variables cleaned" msgstr "環境變數已清理" @@ -1132,12 +1182,12 @@ msgstr "環境變數已清理" msgid "Environments" msgstr "環境" -#: src/constants/index.ts:16 src/views/config/InspectConfig.vue:44 +#: src/constants/index.ts:22 src/views/config/InspectConfig.vue:44 #: src/views/notification/notificationColumns.tsx:15 msgid "Error" msgstr "錯誤" -#: src/components/ConfigHistory/DiffViewer.vue:132 +#: src/components/ConfigHistory/DiffViewer.vue:135 msgid "Error initializing diff viewer" msgstr "" @@ -1150,7 +1200,7 @@ msgstr "錯誤日誌" msgid "Error Logs" msgstr "錯誤日誌" -#: src/components/ConfigHistory/DiffViewer.vue:84 +#: src/components/ConfigHistory/DiffViewer.vue:87 msgid "Error processing content" msgstr "" @@ -1158,6 +1208,10 @@ msgstr "" msgid "Executable Path" msgstr "可執行檔路徑" +#: src/views/site/site_list/SiteList.vue:209 +msgid "Exit Maintenance" +msgstr "" + #: src/views/certificate/CertificateList/certColumns.tsx:82 #: src/views/site/cert/CertInfo.vue:31 msgid "Expired" @@ -1310,16 +1364,14 @@ msgid "Failed to decrypt Nginx UI directory: {0}" msgstr "" #: src/views/site/site_edit/RightSettings.vue:45 -#: src/views/site/site_list/SiteList.vue:108 #: src/views/stream/components/RightSettings.vue:45 -#: src/views/stream/StreamList.vue:99 +#: src/views/stream/StreamList.vue:100 msgid "Failed to disable %{msg}" msgstr "停用 %{msg} 失敗" #: src/views/site/site_edit/RightSettings.vue:36 -#: src/views/site/site_list/SiteList.vue:98 #: src/views/stream/components/RightSettings.vue:36 -#: src/views/stream/StreamList.vue:89 +#: src/views/stream/StreamList.vue:90 msgid "Failed to enable %{msg}" msgstr "啟用 %{msg} 失敗" @@ -1365,7 +1417,7 @@ msgstr "取得憑證資訊失敗" msgid "Failed to get certificate information" msgstr "取得憑證資訊失敗" -#: src/components/ConfigHistory/ConfigHistory.vue:64 +#: src/components/ConfigHistory/ConfigHistory.vue:77 #, fuzzy msgid "Failed to load history records" msgstr "創建備份失敗" @@ -1424,7 +1476,7 @@ msgid "Failed to restore Nginx UI files: {0}" msgstr "解析 nginx.conf 失敗" #: src/views/site/site_edit/SiteEdit.vue:139 -#: src/views/stream/StreamEdit.vue:126 +#: src/views/stream/StreamEdit.vue:122 msgid "Failed to save, syntax error(s) was detected in the configuration." msgstr "儲存失敗,在設定中檢測到語法錯誤。" @@ -1489,15 +1541,15 @@ msgstr "中國使用者:https://mirror.ghproxy.com/" msgid "Form parse failed" msgstr "複製失敗" -#: src/views/config/ConfigEditor.vue:235 +#: src/views/config/ConfigEditor.vue:265 msgid "Format Code" msgstr "格式化程式碼" -#: src/views/config/ConfigEditor.vue:185 +#: src/views/config/ConfigEditor.vue:213 msgid "Format error %{msg}" msgstr "格式錯誤 %{msg}" -#: src/views/config/ConfigEditor.vue:183 +#: src/views/config/ConfigEditor.vue:211 msgid "Format successfully" msgstr "成功格式化" @@ -1547,9 +1599,9 @@ msgstr "" msgid "Hide" msgstr "隱藏" -#: src/views/config/ConfigEditor.vue:220 +#: src/views/config/ConfigEditor.vue:251 #: src/views/site/site_edit/SiteEdit.vue:212 -#: src/views/stream/StreamEdit.vue:199 +#: src/views/stream/StreamEdit.vue:195 #, fuzzy msgid "History" msgstr "目錄" @@ -1622,18 +1674,18 @@ msgid "Import Certificate" msgstr "導入憑證" #: src/views/nginx_log/NginxLogList.vue:137 -#: src/views/site/site_list/SiteList.vue:149 +#: src/views/site/site_list/SiteList.vue:162 #, fuzzy msgid "Indexed" msgstr "網站首頁 (index)" #: src/views/nginx_log/NginxLogList.vue:134 -#: src/views/site/site_list/SiteList.vue:146 +#: src/views/site/site_list/SiteList.vue:159 msgid "Indexing..." msgstr "" #: src/components/StdDesign/StdDetail/StdDetail.vue:81 -#: src/constants/index.ts:18 src/views/notification/notificationColumns.tsx:29 +#: src/constants/index.ts:24 src/views/notification/notificationColumns.tsx:29 msgid "Info" msgstr "信息" @@ -1703,8 +1755,8 @@ msgstr "無效的檔案名" msgid "Invalid file path: {0}" msgstr "無效的請求格式" -#: src/views/config/components/Rename.vue:64 -#: src/views/config/ConfigEditor.vue:269 +#: src/views/config/components/Rename.vue:66 +#: src/views/config/ConfigEditor.vue:299 msgid "Invalid filename" msgstr "無效的檔案名" @@ -1887,6 +1939,21 @@ msgstr "" "的用戶,您可以手動啟用此選項。Nginx UI 的 crontab 任務調度器將按照您設定的分" "鐘間隔執行 logrotate 命令。" +#: src/views/site/site_list/columns.tsx:82 +#: src/views/site/site_list/columns.tsx:92 +msgid "Maintenance" +msgstr "" + +#: src/views/site/site_list/SiteList.vue:119 +#, fuzzy +msgid "Maintenance mode disabled successfully" +msgstr "成功停用" + +#: src/views/site/site_list/SiteList.vue:111 +#, fuzzy +msgid "Maintenance mode enabled successfully" +msgstr "成功啟用" + #: src/views/site/cert/components/AutoCertStepOne.vue:53 msgid "" "Make sure you have configured a reverse proxy for .well-known directory to " @@ -1894,16 +1961,16 @@ msgid "" msgstr "" "在取得憑證前,請確保您已將 .well-known 目錄反向代理到 HTTPChallengePort。" -#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:104 -#: src/views/config/ConfigEditor.vue:141 src/views/config/ConfigList.vue:69 +#: src/routes/modules/config.ts:10 src/views/config/ConfigEditor.vue:112 +#: src/views/config/ConfigEditor.vue:163 src/views/config/ConfigList.vue:72 msgid "Manage Configs" msgstr "管理設定" -#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:142 +#: src/routes/modules/sites.ts:10 src/views/site/site_list/SiteList.vue:155 msgid "Manage Sites" msgstr "管理網站" -#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:174 +#: src/routes/modules/streams.ts:10 src/views/stream/StreamList.vue:175 msgid "Manage Streams" msgstr "管理 Stream" @@ -1936,14 +2003,14 @@ msgstr "分鐘" msgid "Model" msgstr "模型" -#: src/components/ConfigHistory/ConfigHistory.vue:42 +#: src/components/ConfigHistory/ConfigHistory.vue:55 msgid "Modified At" msgstr "" #: src/components/ChatGPT/ChatGPT.vue:352 #: src/components/StdDesign/StdDataDisplay/StdCurd.vue:151 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:498 -#: src/views/config/ConfigList.vue:159 +#: src/views/config/ConfigList.vue:174 msgid "Modify" msgstr "修改" @@ -1969,18 +2036,18 @@ msgstr "多行指令" #: src/views/certificate/CertificateList/certColumns.tsx:10 #: src/views/certificate/DNSCredential.vue:11 #: src/views/config/components/Mkdir.vue:64 -#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:275 +#: src/views/config/configColumns.tsx:7 src/views/config/ConfigEditor.vue:305 #: src/views/environments/group/columns.ts:8 #: src/views/environments/list/envColumns.tsx:9 #: src/views/nginx_log/NginxLogList.vue:37 #: src/views/preference/components/AddPasskey.vue:75 #: src/views/site/ngx_conf/NgxUpstream.vue:177 #: src/views/site/site_edit/RightSettings.vue:88 -#: src/views/site/site_list/columns.tsx:15 +#: src/views/site/site_list/columns.tsx:16 #: src/views/site/site_list/SiteDuplicate.vue:79 #: src/views/stream/components/RightSettings.vue:87 #: src/views/stream/components/StreamDuplicate.vue:71 -#: src/views/stream/StreamList.vue:19 src/views/stream/StreamList.vue:247 +#: src/views/stream/StreamList.vue:20 src/views/stream/StreamList.vue:248 msgid "Name" msgstr "名稱" @@ -2005,11 +2072,11 @@ msgstr "上傳流量" msgid "New Installation" msgstr "安裝" -#: src/views/config/components/Rename.vue:72 +#: src/views/config/components/Rename.vue:74 msgid "New name" msgstr "新名稱" -#: src/views/config/ConfigEditor.vue:288 +#: src/views/config/ConfigEditor.vue:318 msgid "New Path" msgstr "新路徑" @@ -2066,7 +2133,7 @@ msgid "Nginx configuration has been restored" msgstr "Nginx 設定解析錯誤" #: src/views/site/site_edit/SiteEdit.vue:244 -#: src/views/stream/StreamEdit.vue:230 +#: src/views/stream/StreamEdit.vue:226 msgid "Nginx Configuration Parse Error" msgstr "Nginx 設定解析錯誤" @@ -2163,8 +2230,8 @@ msgstr "Nginx 設定解析錯誤" #: src/views/preference/CertSettings.vue:73 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97 #: src/views/site/ngx_conf/LocationEditor.vue:88 -#: src/views/site/site_list/SiteList.vue:198 -#: src/views/stream/StreamList.vue:224 +#: src/views/site/site_list/SiteList.vue:227 +#: src/views/stream/StreamList.vue:225 msgid "No" msgstr "取消" @@ -2174,7 +2241,7 @@ msgstr "取消" msgid "No Action" msgstr "操作" -#: src/components/ConfigHistory/DiffViewer.vue:41 +#: src/components/ConfigHistory/DiffViewer.vue:44 msgid "No records selected" msgstr "" @@ -2184,9 +2251,9 @@ msgid "Node" msgstr "節點名稱" #: src/views/site/site_edit/RightSettings.vue:91 -#: src/views/site/site_list/columns.tsx:49 +#: src/views/site/site_list/columns.tsx:50 #: src/views/stream/components/RightSettings.vue:90 -#: src/views/stream/StreamList.vue:29 +#: src/views/stream/StreamList.vue:30 #, fuzzy msgid "Node Group" msgstr "環境" @@ -2285,9 +2352,9 @@ msgstr "確定" #: src/views/site/ngx_conf/NgxServer.vue:79 #: src/views/site/ngx_conf/NgxUpstream.vue:33 #: src/views/site/site_edit/RightSettings.vue:54 -#: src/views/site/site_list/SiteList.vue:199 +#: src/views/site/site_list/SiteList.vue:228 #: src/views/stream/components/RightSettings.vue:54 -#: src/views/stream/StreamList.vue:225 +#: src/views/stream/StreamList.vue:226 #: src/views/system/Backup/BackupCreator.vue:149 msgid "OK" msgstr "確定" @@ -2320,7 +2387,7 @@ msgstr "或" msgid "Or enter the secret: %{secret}" msgstr "或輸入密鑰:%{secret}" -#: src/views/config/components/Rename.vue:68 +#: src/views/config/components/Rename.vue:70 msgid "Original name" msgstr "原始名稱" @@ -2336,11 +2403,11 @@ msgstr "作業系統:" msgid "Otp or recovery code empty" msgstr "OTP 或復原代碼為空" -#: src/views/config/ConfigEditor.vue:313 +#: src/views/config/ConfigEditor.vue:343 msgid "Overwrite" msgstr "覆蓋" -#: src/views/config/ConfigEditor.vue:317 +#: src/views/config/ConfigEditor.vue:347 msgid "Overwrite exist file" msgstr "覆蓋現有檔案" @@ -2382,7 +2449,7 @@ msgstr "密碼錯誤" msgid "Password length cannot exceed 20 characters" msgstr "密碼長度不能超過 20 個字元" -#: src/views/config/ConfigEditor.vue:282 +#: src/views/config/ConfigEditor.vue:312 #: src/views/nginx_log/NginxLogList.vue:45 #: src/views/site/ngx_conf/LocationEditor.vue:109 #: src/views/site/ngx_conf/LocationEditor.vue:137 @@ -2451,14 +2518,15 @@ msgstr "" "請先在「憑證」 > 「DNS 認證」中新增認證,然後選擇以下認證之一以請求 DNS 供應" "商的 API。" -#: src/components/Notification/notifications.ts:10 src/language/constants.ts:59 +#: src/components/Notification/notifications.ts:156 +#: src/language/constants.ts:59 msgid "" "Please generate new recovery codes in the preferences immediately to prevent " "lockout." msgstr "請立即在偏好設定中產生新的恢復碼,以免無法訪問您的賬戶。" -#: src/views/config/components/Rename.vue:63 -#: src/views/config/ConfigEditor.vue:268 +#: src/views/config/components/Rename.vue:65 +#: src/views/config/ConfigEditor.vue:298 msgid "Please input a filename" msgstr "請輸入檔案名稱" @@ -2675,22 +2743,22 @@ msgstr "重新載入" msgid "Reload Nginx" msgstr "正在重新載入 Nginx" -#: src/components/Notification/notifications.ts:16 +#: src/components/Notification/notifications.ts:10 #, fuzzy msgid "Reload Nginx on %{node} failed, response: %{resp}" msgstr "從 %{node} 移除站點 %{site} 時發生錯誤,回應:%{resp}" -#: src/components/Notification/notifications.ts:20 +#: src/components/Notification/notifications.ts:14 #, fuzzy msgid "Reload Nginx on %{node} successfully" msgstr "成功升級 %{node} 上的 Nginx UI 🎉" -#: src/components/Notification/notifications.ts:15 +#: src/components/Notification/notifications.ts:9 #, fuzzy msgid "Reload Remote Nginx Error" msgstr "重命名遠端遠端站點時發生錯誤" -#: src/components/Notification/notifications.ts:19 +#: src/components/Notification/notifications.ts:13 #, fuzzy msgid "Reload Remote Nginx Success" msgstr "重新命名遠端站點成功" @@ -2720,71 +2788,71 @@ msgstr "移除成功" msgid "Removed successfully" msgstr "移除成功" -#: src/views/config/components/ConfigName.vue:48 -#: src/views/config/components/Rename.vue:54 -#: src/views/config/ConfigList.vue:166 +#: src/views/config/components/ConfigName.vue:51 +#: src/views/config/components/Rename.vue:56 +#: src/views/config/ConfigList.vue:181 #: src/views/site/ngx_conf/NgxUpstream.vue:125 #: src/views/site/site_edit/components/ConfigName.vue:44 #: src/views/stream/components/ConfigName.vue:44 msgid "Rename" msgstr "重命名" -#: src/components/Notification/notifications.ts:52 +#: src/components/Notification/notifications.ts:46 #, fuzzy msgid "Rename %{orig_path} to %{new_path} on %{env_name} failed" msgstr "成功將 %{env_name} 上的 %{orig_path} 重命名為 %{new_path}" -#: src/components/Notification/notifications.ts:56 +#: src/components/Notification/notifications.ts:50 msgid "Rename %{orig_path} to %{new_path} on %{env_name} successfully" msgstr "成功將 %{env_name} 上的 %{orig_path} 重命名為 %{new_path}" -#: src/components/Notification/notifications.ts:51 src/language/constants.ts:42 +#: src/components/Notification/notifications.ts:45 src/language/constants.ts:42 msgid "Rename Remote Config Error" msgstr "重命名遠端配置錯誤" -#: src/components/Notification/notifications.ts:55 src/language/constants.ts:41 +#: src/components/Notification/notifications.ts:49 src/language/constants.ts:41 msgid "Rename Remote Config Success" msgstr "重新命名遠端配置成功" -#: src/components/Notification/notifications.ts:85 src/language/constants.ts:56 +#: src/components/Notification/notifications.ts:95 src/language/constants.ts:56 msgid "Rename Remote Site Error" msgstr "重命名遠端遠端站點時發生錯誤" -#: src/components/Notification/notifications.ts:89 src/language/constants.ts:55 +#: src/components/Notification/notifications.ts:99 src/language/constants.ts:55 msgid "Rename Remote Site Success" msgstr "重新命名遠端站點成功" -#: src/components/Notification/notifications.ts:127 +#: src/components/Notification/notifications.ts:137 #, fuzzy msgid "Rename Remote Stream Error" msgstr "重命名遠端遠端站點時發生錯誤" -#: src/components/Notification/notifications.ts:131 +#: src/components/Notification/notifications.ts:141 #, fuzzy msgid "Rename Remote Stream Success" msgstr "重新命名遠端站點成功" -#: src/components/Notification/notifications.ts:86 +#: src/components/Notification/notifications.ts:96 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} failed" msgstr "成功將站點 %{site} 重新命名為 %{new_site} 於 %{node}" -#: src/components/Notification/notifications.ts:90 +#: src/components/Notification/notifications.ts:100 #, fuzzy msgid "Rename site %{name} to %{new_name} on %{node} successfully" msgstr "成功將站點 %{site} 重新命名為 %{new_site} 於 %{node}" -#: src/components/Notification/notifications.ts:128 +#: src/components/Notification/notifications.ts:138 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} failed" msgstr "成功將站點 %{site} 重新命名為 %{new_site} 於 %{node}" -#: src/components/Notification/notifications.ts:132 +#: src/components/Notification/notifications.ts:142 #, fuzzy msgid "Rename stream %{name} to %{new_name} on %{node} successfully" msgstr "成功將站點 %{site} 重新命名為 %{new_site} 於 %{node}" -#: src/views/config/components/Rename.vue:42 +#: src/views/config/components/Rename.vue:43 msgid "Rename successfully" msgstr "重命名成功" @@ -2839,22 +2907,22 @@ msgstr "重新啟動" msgid "Restart Nginx" msgstr "正在重新啟動" -#: src/components/Notification/notifications.ts:24 +#: src/components/Notification/notifications.ts:18 #, fuzzy msgid "Restart Nginx on %{node} failed, response: %{resp}" msgstr "啟用站點 %{site} 在 %{node} 時發生錯誤,回應:%{resp}" -#: src/components/Notification/notifications.ts:28 +#: src/components/Notification/notifications.ts:22 #, fuzzy msgid "Restart Nginx on %{node} successfully" msgstr "成功升級 %{node} 上的 Nginx UI 🎉" -#: src/components/Notification/notifications.ts:23 +#: src/components/Notification/notifications.ts:17 #, fuzzy msgid "Restart Remote Nginx Error" msgstr "重命名遠端遠端站點時發生錯誤" -#: src/components/Notification/notifications.ts:27 +#: src/components/Notification/notifications.ts:21 #, fuzzy msgid "Restart Remote Nginx Success" msgstr "重新命名遠端站點成功" @@ -2889,8 +2957,8 @@ msgstr "Nginx 配置目錄" msgid "Restore Nginx UI Configuration" msgstr "Nginx 配置目錄" -#: src/components/ConfigHistory/DiffViewer.vue:399 -#: src/components/ConfigHistory/DiffViewer.vue:412 +#: src/components/ConfigHistory/DiffViewer.vue:402 +#: src/components/ConfigHistory/DiffViewer.vue:415 msgid "Restore this version" msgstr "" @@ -2918,15 +2986,15 @@ msgstr "執行中" #: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:64 #: src/components/StdDesign/StdDetail/StdDetail.vue:93 #: src/views/certificate/CertificateEditor.vue:262 -#: src/views/config/components/ConfigName.vue:56 -#: src/views/config/ConfigEditor.vue:241 +#: src/views/config/components/ConfigName.vue:59 +#: src/views/config/ConfigEditor.vue:271 #: src/views/preference/components/Passkey.vue:130 #: src/views/preference/Preference.vue:221 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127 #: src/views/site/site_edit/components/ConfigName.vue:52 #: src/views/site/site_edit/SiteEdit.vue:292 #: src/views/stream/components/ConfigName.vue:52 -#: src/views/stream/StreamEdit.vue:275 +#: src/views/stream/StreamEdit.vue:271 msgid "Save" msgstr "儲存" @@ -2934,46 +3002,47 @@ msgstr "儲存" msgid "Save Directive" msgstr "儲存指令" -#: src/views/config/ConfigEditor.vue:173 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:41 #: src/views/site/site_add/SiteAdd.vue:46 msgid "Save error %{msg}" msgstr "儲存錯誤 %{msg}" -#: src/components/Notification/notifications.ts:93 src/language/constants.ts:48 +#: src/components/Notification/notifications.ts:103 +#: src/language/constants.ts:48 msgid "Save Remote Site Error" msgstr "儲存遠端站點時發生錯誤" -#: src/components/Notification/notifications.ts:97 src/language/constants.ts:47 +#: src/components/Notification/notifications.ts:107 +#: src/language/constants.ts:47 msgid "Save Remote Site Success" msgstr "儲存遠端站點成功" -#: src/components/Notification/notifications.ts:135 +#: src/components/Notification/notifications.ts:145 #, fuzzy msgid "Save Remote Stream Error" msgstr "儲存遠端站點時發生錯誤" -#: src/components/Notification/notifications.ts:139 +#: src/components/Notification/notifications.ts:149 #, fuzzy msgid "Save Remote Stream Success" msgstr "儲存遠端站點成功" -#: src/components/Notification/notifications.ts:94 +#: src/components/Notification/notifications.ts:104 #, fuzzy msgid "Save site %{name} to %{node} failed" msgstr "成功將站點 %{site} 儲存至 %{node}" -#: src/components/Notification/notifications.ts:98 +#: src/components/Notification/notifications.ts:108 #, fuzzy msgid "Save site %{name} to %{node} successfully" msgstr "成功將站點 %{site} 儲存至 %{node}" -#: src/components/Notification/notifications.ts:136 +#: src/components/Notification/notifications.ts:146 #, fuzzy msgid "Save stream %{name} to %{node} failed" msgstr "部署 %{conf_name} 至 %{node_name} 失敗" -#: src/components/Notification/notifications.ts:140 +#: src/components/Notification/notifications.ts:150 #, fuzzy msgid "Save stream %{name} to %{node} successfully" msgstr "成功將站點 %{site} 儲存至 %{node}" @@ -2985,11 +3054,11 @@ msgstr "成功將站點 %{site} 儲存至 %{node}" msgid "Save successfully" msgstr "儲存成功" -#: src/views/config/ConfigEditor.vue:169 +#: src/views/config/ConfigEditor.vue:191 #: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:39 #: src/views/site/site_add/SiteAdd.vue:37 #: src/views/site/site_edit/SiteEdit.vue:157 -#: src/views/stream/StreamEdit.vue:145 +#: src/views/stream/StreamEdit.vue:141 msgid "Saved successfully" msgstr "儲存成功" @@ -3203,7 +3272,7 @@ msgstr "" #: src/views/certificate/ACMEUser.vue:65 #: src/views/certificate/CertificateList/certColumns.tsx:65 #: src/views/environments/list/envColumns.tsx:44 -#: src/views/site/site_list/columns.tsx:66 src/views/stream/StreamList.vue:46 +#: src/views/site/site_list/columns.tsx:67 src/views/stream/StreamList.vue:47 msgid "Status" msgstr "狀態" @@ -3238,7 +3307,7 @@ msgstr "streams-available 資料夾不存在" msgid "Streams-enabled directory not exist" msgstr "streams-enabled 資料夾不存在" -#: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 +#: src/constants/index.ts:25 src/views/notification/notificationColumns.tsx:36 msgid "Success" msgstr "成功" @@ -3271,7 +3340,7 @@ msgstr "切換到深色主題" msgid "Switch to light theme" msgstr "切換到淺色主題" -#: src/views/config/components/Rename.vue:79 +#: src/views/config/components/Rename.vue:81 msgid "Sync" msgstr "同步" @@ -3279,38 +3348,38 @@ msgstr "同步" msgid "Sync Certificate" msgstr "同步憑證" -#: src/components/Notification/notifications.ts:34 +#: src/components/Notification/notifications.ts:28 #, fuzzy msgid "Sync Certificate %{cert_name} to %{env_name} failed" msgstr "同步憑證 %{cert_name} 到 %{env_name} 成功" -#: src/components/Notification/notifications.ts:38 +#: src/components/Notification/notifications.ts:32 msgid "Sync Certificate %{cert_name} to %{env_name} successfully" msgstr "同步憑證 %{cert_name} 到 %{env_name} 成功" -#: src/components/Notification/notifications.ts:33 src/language/constants.ts:39 +#: src/components/Notification/notifications.ts:27 src/language/constants.ts:39 msgid "Sync Certificate Error" msgstr "同步憑證錯誤" -#: src/components/Notification/notifications.ts:37 src/language/constants.ts:38 +#: src/components/Notification/notifications.ts:31 src/language/constants.ts:38 msgid "Sync Certificate Success" msgstr "同步憑證成功" -#: src/components/Notification/notifications.ts:44 +#: src/components/Notification/notifications.ts:38 #, fuzzy msgid "Sync config %{config_name} to %{env_name} failed" msgstr "同步配置 %{config_name} 到 %{env_name} 成功" -#: src/components/Notification/notifications.ts:48 +#: src/components/Notification/notifications.ts:42 #, fuzzy msgid "Sync config %{config_name} to %{env_name} successfully" msgstr "同步配置 %{config_name} 到 %{env_name} 成功" -#: src/components/Notification/notifications.ts:43 src/language/constants.ts:45 +#: src/components/Notification/notifications.ts:37 src/language/constants.ts:45 msgid "Sync Config Error" msgstr "同步配置錯誤" -#: src/components/Notification/notifications.ts:47 src/language/constants.ts:44 +#: src/components/Notification/notifications.ts:41 src/language/constants.ts:44 msgid "Sync Config Success" msgstr "同步配置成功" @@ -3625,13 +3694,13 @@ msgstr "更新成功" #: src/views/certificate/ACMEUser.vue:88 #: src/views/certificate/DNSCredential.vue:27 -#: src/views/config/configColumns.tsx:34 src/views/config/ConfigEditor.vue:295 +#: src/views/config/configColumns.tsx:36 src/views/config/ConfigEditor.vue:325 #: src/views/environments/group/columns.ts:37 #: src/views/environments/list/envColumns.tsx:90 #: src/views/site/site_edit/RightSettings.vue:100 -#: src/views/site/site_list/columns.tsx:93 +#: src/views/site/site_list/columns.tsx:99 #: src/views/stream/components/RightSettings.vue:99 -#: src/views/stream/StreamList.vue:66 src/views/user/userColumns.tsx:54 +#: src/views/stream/StreamList.vue:67 src/views/user/userColumns.tsx:54 msgid "Updated at" msgstr "更新時間" @@ -3671,7 +3740,7 @@ msgstr "運作時間:" msgid "URL" msgstr "URL" -#: src/views/site/site_list/columns.tsx:25 +#: src/views/site/site_list/columns.tsx:26 msgid "URLs" msgstr "" @@ -3744,7 +3813,7 @@ msgstr "檢視復原代碼" msgid "Viewed" msgstr "已檢視" -#: src/constants/index.ts:17 src/views/config/InspectConfig.vue:33 +#: src/constants/index.ts:23 src/views/config/InspectConfig.vue:33 #: src/views/notification/notificationColumns.tsx:22 #: src/views/preference/components/AddPasskey.vue:82 #: src/views/site/site_add/SiteAdd.vue:115 diff --git a/app/src/views/site/site_list/SiteList.vue b/app/src/views/site/site_list/SiteList.vue index 3796c6d8..f11faf31 100644 --- a/app/src/views/site/site_list/SiteList.vue +++ b/app/src/views/site/site_list/SiteList.vue @@ -9,6 +9,7 @@ import site from '@/api/site' import EnvGroupTabs from '@/components/EnvGroupTabs/EnvGroupTabs.vue' import StdBatchEdit from '@/components/StdDesign/StdDataDisplay/StdBatchEdit.vue' import StdTable from '@/components/StdDesign/StdDataDisplay/StdTable.vue' +import { ConfigStatus } from '@/constants' import InspectConfig from '@/views/config/InspectConfig.vue' import columns from '@/views/site/site_list/columns' import SiteDuplicate from '@/views/site/site_list/SiteDuplicate.vue' @@ -94,8 +95,6 @@ function enable(name: string) { message.success($gettext('Enabled successfully')) table.value?.get_list() inspect_config.value?.test() - }).catch(r => { - message.error($gettext('Failed to enable %{msg}', { msg: r.message ?? '' }), 10) }) } @@ -104,8 +103,22 @@ function disable(name: string) { message.success($gettext('Disabled successfully')) table.value?.get_list() inspect_config.value?.test() - }).catch(r => { - message.error($gettext('Failed to disable %{msg}', { msg: r.message ?? '' })) + }) +} + +function enableMaintenance(name: string) { + site.enableMaintenance(name).then(() => { + message.success($gettext('Maintenance mode enabled successfully')) + table.value?.get_list() + inspect_config.value?.test() + }) +} + +function disableMaintenance(name: string) { + site.disableMaintenance(name).then(() => { + message.success($gettext('Maintenance mode disabled successfully')) + table.value?.get_list() + inspect_config.value?.test() }) } @@ -172,7 +185,7 @@ function handleBatchUpdated() { >