mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
feat: add directive auto complete and documents #816
This commit is contained in:
parent
830ed28148
commit
5911462f90
25 changed files with 4288 additions and 306 deletions
18
api/nginx/directives.go
Normal file
18
api/nginx/directives.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
package nginx
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/0xJacky/Nginx-UI/internal/nginx"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/uozi-tech/cosy"
|
||||
)
|
||||
|
||||
func GetDirectives(c *gin.Context) {
|
||||
directives, err := nginx.GetDirectives()
|
||||
if err != nil {
|
||||
cosy.ErrHandler(c, err)
|
||||
return
|
||||
}
|
||||
c.JSON(http.StatusOK, directives)
|
||||
}
|
|
@ -11,6 +11,7 @@ func InitRouter(r *gin.RouterGroup) {
|
|||
r.POST("nginx/test", Test)
|
||||
r.GET("nginx/status", Status)
|
||||
r.POST("nginx_log", GetNginxLogPage)
|
||||
r.GET("nginx/directives", GetDirectives)
|
||||
}
|
||||
|
||||
func InitNginxLogRouter(r *gin.RouterGroup) {
|
||||
|
|
1
app/.idea/jsLinters/eslint.xml
generated
1
app/.idea/jsLinters/eslint.xml
generated
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="EslintConfiguration">
|
||||
<custom-configuration-file used="false" path="$PROJECT_DIR$/.eslintrc.cjs" />
|
||||
<option name="fix-on-save" value="true" />
|
||||
</component>
|
||||
</project>
|
|
@ -33,6 +33,8 @@ export interface NgxLocation {
|
|||
comments: string
|
||||
}
|
||||
|
||||
export type DirectiveMap = Record<string, { links: string[] }>
|
||||
|
||||
const ngx = {
|
||||
build_config(ngxConfig: NgxConfig) {
|
||||
return http.post('/ngx/build_config', ngxConfig)
|
||||
|
@ -61,6 +63,10 @@ const ngx = {
|
|||
test() {
|
||||
return http.post('/nginx/test')
|
||||
},
|
||||
|
||||
get_directives(): Promise<DirectiveMap> {
|
||||
return http.get('/nginx/directives')
|
||||
},
|
||||
}
|
||||
|
||||
export default ngx
|
||||
|
|
|
@ -67,7 +67,7 @@ msgstr "أضف مفتاح مرور"
|
|||
msgid "Add Configuration"
|
||||
msgstr "إضافة تكوين"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "أضف التوجيه أدناه"
|
||||
|
||||
|
@ -179,7 +179,7 @@ msgstr "هل أنت متأكد أنك تريد الحذف؟"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "هل أنت متأكد أنك تريد استرداد هذا العنصر؟"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "هل أنت متأكد أنك تريد إزالة هذا التوجيه؟"
|
||||
|
||||
|
@ -203,7 +203,7 @@ msgstr "المساعد"
|
|||
msgid "Attempts"
|
||||
msgstr "محاولات"
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr "مصادقة"
|
||||
|
||||
|
@ -265,7 +265,7 @@ msgid "Base information"
|
|||
msgstr "المعلومات الأساسية"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -294,7 +294,7 @@ msgstr "ترقية متعددة"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr "فيما يلي العناصر المحددة التي تريد تعديلها دفعة واحدة"
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "بناء مع"
|
||||
|
||||
|
@ -330,7 +330,7 @@ msgstr "إلغاء"
|
|||
msgid "Category"
|
||||
msgstr "فئة"
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
msgid "Cert"
|
||||
msgstr "شهادة"
|
||||
|
||||
|
@ -408,7 +408,7 @@ msgstr "تم المسح بنجاح"
|
|||
msgid "Command"
|
||||
msgstr "أمر"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -443,7 +443,7 @@ msgstr "متصل"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr "تم فقدان الاتصال، يرجى تحديث الصفحة."
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -605,15 +605,15 @@ msgstr "وصف"
|
|||
msgid "Details"
|
||||
msgstr "تفاصيل"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "وضع التطوير"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "توجيه"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "توجيهات"
|
||||
|
||||
|
@ -725,6 +725,18 @@ msgstr "هل تريد إزالة هذا الخادم؟"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "هل تريد إزالة هذا المصدر؟"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "ملف API"
|
||||
msgstr[1] "ملف API"
|
||||
msgstr[2] "ملف API"
|
||||
msgstr[3] "ملف API"
|
||||
msgstr[4] "ملف API"
|
||||
msgstr[5] "ملف API"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr "نطاق"
|
||||
|
@ -1215,7 +1227,7 @@ msgstr "تركه فارغًا لن يغير شيئًا"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr "تعطيل دعم Lego CNAME"
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
msgid "License"
|
||||
msgstr "رخصة"
|
||||
|
||||
|
@ -1269,7 +1281,7 @@ msgstr "تم تسجيل الدخول بنجاح"
|
|||
msgid "Logout successful"
|
||||
msgstr "تم تسجيل الخروج بنجاح"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr "تدوير السجلات"
|
||||
|
||||
|
@ -1358,7 +1370,7 @@ msgstr "تعديل التكوين"
|
|||
msgid "Modify Mode"
|
||||
msgstr "وضع التعديل"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "توجيه متعدد الأسطر"
|
||||
|
||||
|
@ -1414,7 +1426,7 @@ msgstr "تم إصدار نسخة جديدة"
|
|||
msgid "Next"
|
||||
msgstr "التالي"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr "Nginx"
|
||||
|
||||
|
@ -1481,7 +1493,7 @@ msgstr "تم إعادة تشغيل Nginx بنجاح"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1590,7 +1602,7 @@ msgstr "بمجرد اكتمال التحقق، سيتم إزالة السجلا
|
|||
msgid "Online"
|
||||
msgstr "متصل"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr "أوبن أي آي"
|
||||
|
||||
|
@ -1620,7 +1632,7 @@ msgstr "الكتابة فوق"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "الكتابة فوق الملف الموجود"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "عوامل"
|
||||
|
||||
|
@ -1759,7 +1771,7 @@ msgstr "يرجى ترقية واجهة Nginx البعيدة إلى أحدث إص
|
|||
msgid "Pre-release"
|
||||
msgstr "ما قبل الإصدار"
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "تفضيل"
|
||||
|
||||
|
@ -1775,7 +1787,7 @@ msgstr "حظر تغيير كلمة مرور root في العرض التوضيح
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "حظر حذف المستخدم الافتراضي"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "فريق المشروع"
|
||||
|
||||
|
@ -2026,15 +2038,15 @@ msgstr "يعمل"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "حفظ"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "حفظ التوجيه"
|
||||
|
||||
|
@ -2063,7 +2075,7 @@ msgstr "تم حفظ الموقع %{site} إلى %{node} بنجاح"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
msgid "Save successfully"
|
||||
msgstr "تم الحفظ بنجاح"
|
||||
|
||||
|
@ -2113,7 +2125,7 @@ msgstr "إرسال"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2160,7 +2172,7 @@ msgstr "عرض"
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr "تسجيل الدخول باستخدام مفتاح المرور"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "توجيه واحد"
|
||||
|
||||
|
@ -2716,7 +2728,7 @@ msgstr "كتابة الشهادة إلى القرص"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "نعم"
|
||||
|
|
|
@ -65,7 +65,7 @@ msgstr ""
|
|||
msgid "Add Configuration"
|
||||
msgstr "Edit Configuration"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "Add Directive Below"
|
||||
|
||||
|
@ -187,7 +187,7 @@ msgstr "Are you sure you want to remove this directive?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "Are you sure you want to remove this directive?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "Are you sure you want to remove this directive?"
|
||||
|
||||
|
@ -213,7 +213,7 @@ msgstr ""
|
|||
msgid "Attempts"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr ""
|
||||
|
||||
|
@ -276,7 +276,7 @@ msgid "Base information"
|
|||
msgstr "Base information"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
#, fuzzy
|
||||
|
@ -307,7 +307,7 @@ msgstr ""
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "Build with"
|
||||
|
||||
|
@ -343,7 +343,7 @@ msgstr "Cancel"
|
|||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
msgid "Cert"
|
||||
msgstr ""
|
||||
|
||||
|
@ -422,7 +422,7 @@ msgstr "Disabled successfully"
|
|||
msgid "Command"
|
||||
msgstr "Comments"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -458,7 +458,7 @@ msgstr ""
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -628,15 +628,15 @@ msgstr ""
|
|||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "Development Mode"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "Directive"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "Directives"
|
||||
|
||||
|
@ -758,6 +758,14 @@ msgstr "Are you sure you want to remove this directive?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "Are you sure you want to remove this directive?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "Comments"
|
||||
msgstr[1] "Comments"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr ""
|
||||
|
@ -1272,7 +1280,7 @@ msgstr "Leave blank for no change"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
#, fuzzy
|
||||
msgid "License"
|
||||
msgstr "License"
|
||||
|
@ -1331,7 +1339,7 @@ msgstr "Login successful"
|
|||
msgid "Logout successful"
|
||||
msgstr "Logout successful"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1421,7 +1429,7 @@ msgstr "Modify Config"
|
|||
msgid "Modify Mode"
|
||||
msgstr "Modify Config"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
#, fuzzy
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "Single Directive"
|
||||
|
@ -1480,7 +1488,7 @@ msgstr ""
|
|||
msgid "Next"
|
||||
msgstr "Next"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1551,7 +1559,7 @@ msgstr "Saved successfully"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1660,7 +1668,7 @@ msgstr ""
|
|||
msgid "Online"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1691,7 +1699,7 @@ msgstr ""
|
|||
msgid "Overwrite exist file"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "Params"
|
||||
|
||||
|
@ -1827,7 +1835,7 @@ msgstr "Saved successfully"
|
|||
msgid "Pre-release"
|
||||
msgstr ""
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1844,7 +1852,7 @@ msgstr ""
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "Project Team"
|
||||
|
||||
|
@ -2116,15 +2124,15 @@ msgstr ""
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "Save"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "Save Directive"
|
||||
|
||||
|
@ -2157,7 +2165,7 @@ msgstr "Saved successfully"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
#, fuzzy
|
||||
msgid "Save successfully"
|
||||
msgstr "Saved successfully"
|
||||
|
@ -2208,7 +2216,7 @@ msgstr "Send"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2253,7 +2261,7 @@ msgstr ""
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "Single Directive"
|
||||
|
||||
|
@ -2799,7 +2807,7 @@ msgstr ""
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "Yes"
|
||||
|
|
|
@ -70,7 +70,7 @@ msgstr "Agregar una llave de acceso"
|
|||
msgid "Add Configuration"
|
||||
msgstr "Agregar configuración"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "Añadir directiva a continuación"
|
||||
|
||||
|
@ -184,7 +184,7 @@ msgstr "¿Está seguro de que quiere borrar?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "¿Está seguro de que quiere recuperar este elemento?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "¿Está seguro de que quiere borrar esta directiva?"
|
||||
|
||||
|
@ -208,7 +208,7 @@ msgstr "Asistente"
|
|||
msgid "Attempts"
|
||||
msgstr "Intentos"
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr "Autenticación"
|
||||
|
||||
|
@ -270,7 +270,7 @@ msgid "Base information"
|
|||
msgstr "Información general"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -301,7 +301,7 @@ msgstr ""
|
|||
"A continuación se muestran los elementos seleccionados que desea modificar "
|
||||
"por lotes"
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "Desarrollado con"
|
||||
|
||||
|
@ -337,7 +337,7 @@ msgstr "Cancelar"
|
|||
msgid "Category"
|
||||
msgstr "Categoría"
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
msgid "Cert"
|
||||
msgstr "Certificado"
|
||||
|
||||
|
@ -407,7 +407,7 @@ msgstr "Limpiado exitoso"
|
|||
msgid "Command"
|
||||
msgstr "Comando"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -442,7 +442,7 @@ msgstr "Conectado"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr "Conexión perdida, por favor actualice la página."
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -606,15 +606,15 @@ msgstr "Descripción"
|
|||
msgid "Details"
|
||||
msgstr "Detalles"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "Modo de desarrollo"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "Directiva"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "Directivas"
|
||||
|
||||
|
@ -723,6 +723,14 @@ msgstr "¿Quieres eliminar este servidor?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "¿Quieres eliminar esta transmisión?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "Documento de la API"
|
||||
msgstr[1] "Documento de la API"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr "Dominio"
|
||||
|
@ -1228,7 +1236,7 @@ msgstr "Dejarlo en blanco no cambiará nada"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr "Lego deshabilita el soporte de CNAME"
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
msgid "License"
|
||||
msgstr "Licencia"
|
||||
|
||||
|
@ -1282,7 +1290,7 @@ msgstr "Acceso exitoso"
|
|||
msgid "Logout successful"
|
||||
msgstr "Cierre de sesión exitoso"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr "Rotación de logs"
|
||||
|
||||
|
@ -1372,7 +1380,7 @@ msgstr "Modificar configuración"
|
|||
msgid "Modify Mode"
|
||||
msgstr "Modo Modificar"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "Directiva multilínea"
|
||||
|
||||
|
@ -1428,7 +1436,7 @@ msgstr "Se liberó una nueva versión"
|
|||
msgid "Next"
|
||||
msgstr "Siguiente"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr "Nginx"
|
||||
|
||||
|
@ -1498,7 +1506,7 @@ msgstr "Nginx reiniciado con éxito"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1609,7 +1617,7 @@ msgstr "Una vez que se complete la verificación, los registros se eliminarán."
|
|||
msgid "Online"
|
||||
msgstr "En línea"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr "OpenAI"
|
||||
|
||||
|
@ -1639,7 +1647,7 @@ msgstr "Sobrescribir"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "Sobrescribir archivo existente"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "Parámetros"
|
||||
|
||||
|
@ -1794,7 +1802,7 @@ msgstr ""
|
|||
msgid "Pre-release"
|
||||
msgstr "Prelanzamiento"
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "Configuración"
|
||||
|
||||
|
@ -1810,7 +1818,7 @@ msgstr "Prohibir cambiar la contraseña de root en la demostración"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "Prohibir la eliminación del usuario predeterminado"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "Grupo del proyecto"
|
||||
|
||||
|
@ -2070,15 +2078,15 @@ msgstr "Corriendo"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "Guardar Directiva"
|
||||
|
||||
|
@ -2113,7 +2121,7 @@ msgstr "Duplicado con éxito de %{conf_name} a %{node_name}"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
msgid "Save successfully"
|
||||
msgstr "Guardado con éxito"
|
||||
|
||||
|
@ -2165,7 +2173,7 @@ msgstr "Enviado"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2212,7 +2220,7 @@ msgstr "Mostrar"
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr "Iniciar sesión con una llave de acceso"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "Directiva de una sola línea"
|
||||
|
||||
|
@ -2791,7 +2799,7 @@ msgstr "Escribir certificado a disco"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "Si"
|
||||
|
|
|
@ -67,7 +67,7 @@ msgstr ""
|
|||
msgid "Add Configuration"
|
||||
msgstr "Modifier la configuration"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "Ajouter une directive"
|
||||
|
||||
|
@ -190,7 +190,7 @@ msgstr "Etes-vous sûr que vous voulez supprimer ?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "Voulez-vous vraiment supprimer cette directive ?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "Voulez-vous vraiment supprimer cette directive ?"
|
||||
|
||||
|
@ -216,7 +216,7 @@ msgstr ""
|
|||
msgid "Attempts"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
#, fuzzy
|
||||
msgid "Auth"
|
||||
msgstr "Autheur"
|
||||
|
@ -279,7 +279,7 @@ msgid "Base information"
|
|||
msgstr "Information générale"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -310,7 +310,7 @@ msgstr "Mettre à niveau"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "Build avec"
|
||||
|
||||
|
@ -346,7 +346,7 @@ msgstr "Annuler"
|
|||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
#, fuzzy
|
||||
msgid "Cert"
|
||||
msgstr "Auto Cert"
|
||||
|
@ -425,7 +425,7 @@ msgstr "Désactivé avec succès"
|
|||
msgid "Command"
|
||||
msgstr "Commentaires"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -460,7 +460,7 @@ msgstr ""
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -631,15 +631,15 @@ msgstr "Description"
|
|||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "Mode développement"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "Directive"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "Directives"
|
||||
|
||||
|
@ -757,6 +757,14 @@ msgstr "Voulez-vous supprimer ce serveur ?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "Voulez-vous supprimer ce serveur ?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "Jeton d'API"
|
||||
msgstr[1] "Jeton d'API"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr ""
|
||||
|
@ -1274,7 +1282,7 @@ msgstr "Laisser vide pour aucun changement"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
#, fuzzy
|
||||
msgid "License"
|
||||
msgstr "Licence"
|
||||
|
@ -1335,7 +1343,7 @@ msgstr "Connexion réussie"
|
|||
msgid "Logout successful"
|
||||
msgstr "Déconnexion réussie"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1424,7 +1432,7 @@ msgstr "Modifier la configuration"
|
|||
msgid "Modify Mode"
|
||||
msgstr "Modifier"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "Directive multiligne"
|
||||
|
||||
|
@ -1482,7 +1490,7 @@ msgstr "Nouvelle version publiée"
|
|||
msgid "Next"
|
||||
msgstr "Suivant"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
#, fuzzy
|
||||
msgid "Nginx"
|
||||
msgstr "Journal Nginx"
|
||||
|
@ -1553,7 +1561,7 @@ msgstr "Nginx a redémarré avec succès"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1662,7 +1670,7 @@ msgstr ""
|
|||
msgid "Online"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr "OpenAI"
|
||||
|
||||
|
@ -1692,7 +1700,7 @@ msgstr ""
|
|||
msgid "Overwrite exist file"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "Paramètres"
|
||||
|
||||
|
@ -1838,7 +1846,7 @@ msgstr "Dupliqué avec succès"
|
|||
msgid "Pre-release"
|
||||
msgstr ""
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "Préférence"
|
||||
|
||||
|
@ -1855,7 +1863,7 @@ msgstr "Interdire la modification du mot de passe root dans la démo"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "Interdire la suppression de l'utilisateur par défaut"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "Groupe de projet"
|
||||
|
||||
|
@ -2132,15 +2140,15 @@ msgstr "En cours d'éxécution"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "Enregistrer la directive"
|
||||
|
||||
|
@ -2173,7 +2181,7 @@ msgstr "Dupliqué avec succès"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
msgid "Save successfully"
|
||||
msgstr "Sauvegarde réussie"
|
||||
|
||||
|
@ -2223,7 +2231,7 @@ msgstr "Envoyer"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2270,7 +2278,7 @@ msgstr ""
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "Directive unique"
|
||||
|
||||
|
@ -2823,7 +2831,7 @@ msgstr "Écriture du certificat sur le disque"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
|
|
@ -68,7 +68,7 @@ msgstr ""
|
|||
msgid "Add Configuration"
|
||||
msgstr "구성 추가"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "아래에 지시문 추가"
|
||||
|
||||
|
@ -181,7 +181,7 @@ msgstr "정말 삭제하시겠습니까?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "이 항목을 복구하시겠습니까?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "이 지시문을 정말로 제거하시겠습니까?"
|
||||
|
||||
|
@ -205,7 +205,7 @@ msgstr "조수"
|
|||
msgid "Attempts"
|
||||
msgstr "시도 횟수"
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr "인증"
|
||||
|
||||
|
@ -267,7 +267,7 @@ msgid "Base information"
|
|||
msgstr "기본 정보"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -296,7 +296,7 @@ msgstr "배치 업그레이드"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "빌드 환경"
|
||||
|
||||
|
@ -332,7 +332,7 @@ msgstr "취소"
|
|||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
#, fuzzy
|
||||
msgid "Cert"
|
||||
msgstr "자동 인증"
|
||||
|
@ -405,7 +405,7 @@ msgstr "성공적으로 제거됨"
|
|||
msgid "Command"
|
||||
msgstr "명령어"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -440,7 +440,7 @@ msgstr "연결됨"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr "연결이 끊어졌습니다. 페이지를 새로 고침하세요."
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -607,15 +607,15 @@ msgstr "설명"
|
|||
msgid "Details"
|
||||
msgstr "세부 사항"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "개발 모드"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "지시문"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "지시문들"
|
||||
|
||||
|
@ -727,6 +727,14 @@ msgstr "이 서버를 제거하시겠습니까?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "이 업스트림을 제거하시겠습니까?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "API 문서"
|
||||
msgstr[1] "API 문서"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr "도메인"
|
||||
|
@ -1237,7 +1245,7 @@ msgstr "변경사항이 없으면 비워두세요"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
#, fuzzy
|
||||
msgid "License"
|
||||
msgstr "라이센스"
|
||||
|
@ -1296,7 +1304,7 @@ msgstr "로그인 성공"
|
|||
msgid "Logout successful"
|
||||
msgstr "로그아웃 성공"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr "로그관리"
|
||||
|
||||
|
@ -1391,7 +1399,7 @@ msgstr "설정 수정"
|
|||
msgid "Modify Mode"
|
||||
msgstr "설정 수정"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
#, fuzzy
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "단일 지시문"
|
||||
|
@ -1450,7 +1458,7 @@ msgstr "새 버전 출시"
|
|||
msgid "Next"
|
||||
msgstr "다음"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr "Nginx"
|
||||
|
||||
|
@ -1523,7 +1531,7 @@ msgstr "Nginx가 성공적으로 재시작됨"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1632,7 +1640,7 @@ msgstr "검증이 완료되면, 레코드는 제거됩니다."
|
|||
msgid "Online"
|
||||
msgstr "온라인"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr "오픈AI"
|
||||
|
||||
|
@ -1663,7 +1671,7 @@ msgstr "덮어쓰기"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "기존 파일 덮어쓰기"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "파라미터"
|
||||
|
||||
|
@ -1803,7 +1811,7 @@ msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함"
|
|||
msgid "Pre-release"
|
||||
msgstr "사전 출시"
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "환경설정"
|
||||
|
||||
|
@ -1820,7 +1828,7 @@ msgstr "데모에서 루트 비밀번호 변경 금지"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "기본 사용자 삭제 금지"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "프로젝트 팀"
|
||||
|
||||
|
@ -2097,15 +2105,15 @@ msgstr "실행 중"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "저장"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "지시문 저장"
|
||||
|
||||
|
@ -2138,7 +2146,7 @@ msgstr "%{conf_name}을(를) %{node_name}(으)로 성공적으로 복제함"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
#, fuzzy
|
||||
msgid "Save successfully"
|
||||
msgstr "성공적으로 저장됨"
|
||||
|
@ -2189,7 +2197,7 @@ msgstr "보내기"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2234,7 +2242,7 @@ msgstr ""
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "단일 지시문"
|
||||
|
||||
|
@ -2792,7 +2800,7 @@ msgstr "인증서를 디스크에 쓰기"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "예"
|
||||
|
|
|
@ -60,7 +60,7 @@ msgstr ""
|
|||
msgid "Add Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr ""
|
||||
|
||||
|
@ -170,7 +170,7 @@ msgstr ""
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr ""
|
||||
|
||||
|
@ -194,7 +194,7 @@ msgstr ""
|
|||
msgid "Attempts"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr ""
|
||||
|
||||
|
@ -258,7 +258,7 @@ msgid "Base information"
|
|||
msgstr ""
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -286,7 +286,7 @@ msgstr ""
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr ""
|
||||
|
||||
|
@ -322,7 +322,7 @@ msgstr ""
|
|||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
msgid "Cert"
|
||||
msgstr ""
|
||||
|
||||
|
@ -393,7 +393,7 @@ msgstr ""
|
|||
msgid "Command"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -428,7 +428,7 @@ msgstr ""
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -592,15 +592,15 @@ msgstr ""
|
|||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr ""
|
||||
|
||||
|
@ -711,6 +711,13 @@ msgstr ""
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr ""
|
||||
|
@ -1194,7 +1201,7 @@ msgstr ""
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1250,7 +1257,7 @@ msgstr ""
|
|||
msgid "Logout successful"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1329,7 +1336,7 @@ msgstr ""
|
|||
msgid "Modify Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
msgid "Multi-line Directive"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1388,7 +1395,7 @@ msgstr ""
|
|||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1456,7 +1463,7 @@ msgstr ""
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1558,7 +1565,7 @@ msgstr ""
|
|||
msgid "Online"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1589,7 +1596,7 @@ msgstr ""
|
|||
msgid "Overwrite exist file"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1713,7 +1720,7 @@ msgid "Pre-release"
|
|||
msgstr ""
|
||||
|
||||
#: src/routes/index.ts:266
|
||||
#: src/views/preference/Preference.vue:143
|
||||
#: src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1729,7 +1736,7 @@ msgstr ""
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1973,15 +1980,15 @@ msgstr ""
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2010,7 +2017,7 @@ msgstr ""
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
msgid "Save successfully"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2062,7 +2069,7 @@ msgstr ""
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72
|
||||
#: src/views/stream/StreamList.vue:113
|
||||
|
@ -2107,7 +2114,7 @@ msgstr ""
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2588,7 +2595,7 @@ msgstr ""
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
|
|
@ -69,7 +69,7 @@ msgstr "Добавить ключ доступа"
|
|||
msgid "Add Configuration"
|
||||
msgstr "Добавить конфигурацию"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "Добавить директиву ниже"
|
||||
|
||||
|
@ -183,7 +183,7 @@ msgstr "Вы уверены, что хотите удалить?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "Вы уверены, что хотите восстановить этот элемент?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "Вы уверены, что хотите удалить эту директиву?"
|
||||
|
||||
|
@ -207,7 +207,7 @@ msgstr "Ассистент"
|
|||
msgid "Attempts"
|
||||
msgstr "Попытки"
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr "Авторизация"
|
||||
|
||||
|
@ -269,7 +269,7 @@ msgid "Base information"
|
|||
msgstr "Основная информация"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
#, fuzzy
|
||||
|
@ -299,7 +299,7 @@ msgstr "Пакетное обновление"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr "Ниже приведены выбранные элементы, которые вы хотите изменить"
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "Собрать с"
|
||||
|
||||
|
@ -335,7 +335,7 @@ msgstr "Отмена"
|
|||
msgid "Category"
|
||||
msgstr "Категория"
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
#, fuzzy
|
||||
msgid "Cert"
|
||||
msgstr "Авто Сертификат"
|
||||
|
@ -406,7 +406,7 @@ msgstr "Очищено успешно"
|
|||
msgid "Command"
|
||||
msgstr "Команда"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -441,7 +441,7 @@ msgstr "Подключено"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr "Соединение потеряно, пожалуйста, обновите страницу."
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -609,15 +609,15 @@ msgstr "Описание"
|
|||
msgid "Details"
|
||||
msgstr "Детали"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "Режим разработки"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "Деректива"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "Дерективы"
|
||||
|
||||
|
@ -730,6 +730,14 @@ msgstr "Хотите удалить этот сервер?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "Хотите удалить этот сервер?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "API Документ"
|
||||
msgstr[1] "API Документ"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr "Домен"
|
||||
|
@ -1235,7 +1243,7 @@ msgstr "Если оставить пустым, ничего не изменит
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr "Lego отключает поддержку CNAME"
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
msgid "License"
|
||||
msgstr "Лицензия"
|
||||
|
||||
|
@ -1289,7 +1297,7 @@ msgstr "Авторизация успешна"
|
|||
msgid "Logout successful"
|
||||
msgstr "Выход выполнен успешно"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr "Прокрутка"
|
||||
|
||||
|
@ -1378,7 +1386,7 @@ msgstr "Изменить конфигурацию"
|
|||
msgid "Modify Mode"
|
||||
msgstr "Изменить режим"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "Многострочная директива"
|
||||
|
||||
|
@ -1434,7 +1442,7 @@ msgstr "Вышла новая версия"
|
|||
msgid "Next"
|
||||
msgstr "Дальше"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr "Nginx"
|
||||
|
||||
|
@ -1504,7 +1512,7 @@ msgstr "Nginx успешно перезапущен"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1612,7 +1620,7 @@ msgstr "После завершения проверки записи будут
|
|||
msgid "Online"
|
||||
msgstr "Онлайн"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr "OpenAI"
|
||||
|
||||
|
@ -1642,7 +1650,7 @@ msgstr "Перезаписать"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "Перезаписать существующий файл"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "Параметры"
|
||||
|
||||
|
@ -1790,7 +1798,7 @@ msgstr ""
|
|||
msgid "Pre-release"
|
||||
msgstr "Предварительный выпуск"
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "Настройки"
|
||||
|
||||
|
@ -1806,7 +1814,7 @@ msgstr "Запретить изменение пароля root в демо"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "Запретить удаление пользователя по умолчанию"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "Команда проекта"
|
||||
|
||||
|
@ -2064,15 +2072,15 @@ msgstr "Выполняется"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "Сохранить директиву"
|
||||
|
||||
|
@ -2107,7 +2115,7 @@ msgstr "Продублированно %{conf_name} в %{node_name}"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
msgid "Save successfully"
|
||||
msgstr "Сохранено успешно"
|
||||
|
||||
|
@ -2159,7 +2167,7 @@ msgstr "Отправлено"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2206,7 +2214,7 @@ msgstr "Показать"
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "Одиночная Директива"
|
||||
|
||||
|
@ -2770,7 +2778,7 @@ msgstr "Запись сертификата на диск"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "Да"
|
||||
|
|
|
@ -66,7 +66,7 @@ msgstr "Geçiş anahtarı ekleme"
|
|||
msgid "Add Configuration"
|
||||
msgstr "Yapılandırma Ekle"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "Direktifi Aşağıya Ekleyin"
|
||||
|
||||
|
@ -179,7 +179,7 @@ msgstr "Silmek istediğine emin misin?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "Bu öğeyi kurtarmak istediğinizden emin misiniz?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "Bu yönergeyi kaldırmak istediğinizden emin misiniz?"
|
||||
|
||||
|
@ -203,7 +203,7 @@ msgstr "Asistan"
|
|||
msgid "Attempts"
|
||||
msgstr "Girişimler"
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr "Kimlik Doğrulama"
|
||||
|
||||
|
@ -265,7 +265,7 @@ msgid "Base information"
|
|||
msgstr "Temel bilgiler"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -294,7 +294,7 @@ msgstr "Toplu Yükseltme"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "İle Oluşturuldu"
|
||||
|
||||
|
@ -330,7 +330,7 @@ msgstr "İptal"
|
|||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
msgid "Cert"
|
||||
msgstr ""
|
||||
|
||||
|
@ -400,7 +400,7 @@ msgstr "Başarıyla temizlendi"
|
|||
msgid "Command"
|
||||
msgstr "Komut"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -435,7 +435,7 @@ msgstr "Bağlandı"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr "Bağlantı kesildi, lütfen sayfayı yenileyin."
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -601,15 +601,15 @@ msgstr "Açıklama"
|
|||
msgid "Details"
|
||||
msgstr "Detaylar"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "Geliştirme modu"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "Talimat"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "Yönergeler"
|
||||
|
||||
|
@ -725,6 +725,14 @@ msgstr "Bu sunucuyu kaldırmak istiyor musunuz?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "Bu upstream'i kaldırmak istiyor musunuz?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "API Dökümanı"
|
||||
msgstr[1] "API Dökümanı"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr "Alan Adı"
|
||||
|
@ -1236,7 +1244,7 @@ msgstr "Boş bırakmak hiçbir şeyi değiştirmeyecektir"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr "Lego CNAME desteğini devre dışı bırak"
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
msgid "License"
|
||||
msgstr "Lisans"
|
||||
|
||||
|
@ -1290,7 +1298,7 @@ msgstr "Giriş Başarılı"
|
|||
msgid "Logout successful"
|
||||
msgstr "Çıkış başarılı"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr "Logrotate"
|
||||
|
||||
|
@ -1394,7 +1402,7 @@ msgstr "Yapılandırmayı Değiştir"
|
|||
msgid "Modify Mode"
|
||||
msgstr "Mod Değiştir"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
#, fuzzy
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "Çok Hatlı Direktif"
|
||||
|
@ -1460,7 +1468,7 @@ msgstr "Yeni sürüm yayınlandı"
|
|||
msgid "Next"
|
||||
msgstr "Sonraki"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
#, fuzzy
|
||||
msgid "Nginx"
|
||||
msgstr "Nginx"
|
||||
|
@ -1539,7 +1547,7 @@ msgstr "Nginx başarıyla yeniden başlatıldı"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1664,7 +1672,7 @@ msgstr "Doğrulama tamamlandıktan sonra kayıtlar kaldırılacaktır."
|
|||
msgid "Online"
|
||||
msgstr "Çevrimiçi"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
#, fuzzy
|
||||
msgid "OpenAI"
|
||||
msgstr "OpenAI"
|
||||
|
@ -1701,7 +1709,7 @@ msgstr "Üzerine yaz"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "Mevcut dosyanın üzerine yaz"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
#, fuzzy
|
||||
msgid "Params"
|
||||
msgstr "Parametreler"
|
||||
|
@ -1876,7 +1884,7 @@ msgstr ""
|
|||
msgid "Pre-release"
|
||||
msgstr "Ön sürüm"
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
#, fuzzy
|
||||
msgid "Preference"
|
||||
msgstr "Tercih"
|
||||
|
@ -1896,7 +1904,7 @@ msgstr "Demoda kök parolasını değiştirmeyi yasakla"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "Varsayılan kullanıcının silinmesini yasakla"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
#, fuzzy
|
||||
msgid "Project Team"
|
||||
msgstr "Proje Ekibi"
|
||||
|
@ -2202,8 +2210,8 @@ msgstr "Çalışıyor"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
|
@ -2211,7 +2219,7 @@ msgstr "Çalışıyor"
|
|||
msgid "Save"
|
||||
msgstr "Kaydet"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
#, fuzzy
|
||||
msgid "Save Directive"
|
||||
msgstr "Direktifi Kaydet"
|
||||
|
@ -2248,7 +2256,7 @@ msgstr "%{conf_name} başarıyla %{node_name} düğümüne kopyalandı"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
#, fuzzy
|
||||
msgid "Save successfully"
|
||||
msgstr "Başarıyla kaydedin"
|
||||
|
@ -2305,7 +2313,7 @@ msgstr "Gönder"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2362,7 +2370,7 @@ msgstr "Göster"
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr "Bir geçiş anahtarı ile oturum açın"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
#, fuzzy
|
||||
msgid "Single Directive"
|
||||
msgstr "Tek Direktif"
|
||||
|
@ -3023,7 +3031,7 @@ msgstr "Sertifikayı diske yazma"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
#, fuzzy
|
||||
msgid "Yes"
|
||||
|
|
|
@ -65,7 +65,7 @@ msgstr ""
|
|||
msgid "Add Configuration"
|
||||
msgstr "Sửa cấu hình"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "Thêm Directive"
|
||||
|
||||
|
@ -188,7 +188,7 @@ msgstr "Bạn chắc chắn muốn xóa nó "
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "Bạn chắc chắn muốn xoá directive này ?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "Bạn chắc chắn muốn xoá directive này ?"
|
||||
|
||||
|
@ -214,7 +214,7 @@ msgstr "Trợ lý"
|
|||
msgid "Attempts"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
#, fuzzy
|
||||
msgid "Auth"
|
||||
msgstr "Tác giả"
|
||||
|
@ -278,7 +278,7 @@ msgid "Base information"
|
|||
msgstr "Thông tin"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
#, fuzzy
|
||||
|
@ -310,7 +310,7 @@ msgstr "Cập nhật"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "Xây dựng với"
|
||||
|
||||
|
@ -346,7 +346,7 @@ msgstr "Huỷ"
|
|||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
#, fuzzy
|
||||
msgid "Cert"
|
||||
msgstr "Tự động ký chứng chỉ SSL"
|
||||
|
@ -426,7 +426,7 @@ msgstr "Đã xóa thành công"
|
|||
msgid "Command"
|
||||
msgstr "Bình luận"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -462,7 +462,7 @@ msgstr "Đã kết nối"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -633,15 +633,15 @@ msgstr "Mô tả"
|
|||
msgid "Details"
|
||||
msgstr "Chi tiết"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "Chế độ phát triển"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "Directive"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "Directives"
|
||||
|
||||
|
@ -763,6 +763,14 @@ msgstr "Bạn muốn xóa máy chủ này ?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "Bạn muốn xóa máy chủ này ?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "Bình luận"
|
||||
msgstr[1] "Bình luận"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr ""
|
||||
|
@ -1284,7 +1292,7 @@ msgstr "Bỏ trống nếu không thay đổi"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
#, fuzzy
|
||||
msgid "License"
|
||||
msgstr "Giấy phép"
|
||||
|
@ -1343,7 +1351,7 @@ msgstr "Đăng nhập thành công"
|
|||
msgid "Logout successful"
|
||||
msgstr "Đã đăng xuất"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1432,7 +1440,7 @@ msgstr "Sửa cấu hình"
|
|||
msgid "Modify Mode"
|
||||
msgstr "Sửa"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
#, fuzzy
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "Single Directive"
|
||||
|
@ -1491,7 +1499,7 @@ msgstr "Đã có phiên bản mới"
|
|||
msgid "Next"
|
||||
msgstr "Tiếp theo"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1563,7 +1571,7 @@ msgstr "Restart Nginx thành công"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1672,7 +1680,7 @@ msgstr "Sau khi quá trình xác minh hoàn tất, bản ghi sẽ bị xóa."
|
|||
msgid "Online"
|
||||
msgstr "Trực tuyến"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1703,7 +1711,7 @@ msgstr "Ghi đè"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "Ghi đè tập tin đã tồn tại"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "Tham số"
|
||||
|
||||
|
@ -1845,7 +1853,7 @@ msgstr "Nhân bản %{conf_name} thành %{node_name} thành công"
|
|||
msgid "Pre-release"
|
||||
msgstr ""
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "Cài đặt"
|
||||
|
||||
|
@ -1862,7 +1870,7 @@ msgstr "Cấm thay đổi mật khẩu root trong demo"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "Cấm xóa người dùng mặc định"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "Đội ngũ phát triển"
|
||||
|
||||
|
@ -2138,15 +2146,15 @@ msgstr "Running"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "Lưu"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "Lưu Directive"
|
||||
|
||||
|
@ -2179,7 +2187,7 @@ msgstr "Nhân bản %{conf_name} thành %{node_name} thành công"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
#, fuzzy
|
||||
msgid "Save successfully"
|
||||
msgstr "Lưu thành công"
|
||||
|
@ -2230,7 +2238,7 @@ msgstr "Gửi"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2276,7 +2284,7 @@ msgstr ""
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "Single Directive"
|
||||
|
||||
|
@ -2826,7 +2834,7 @@ msgstr "Ghi chứng chỉ vào disk"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "Có"
|
||||
|
|
|
@ -67,7 +67,7 @@ msgstr "添加 Passkey"
|
|||
msgid "Add Configuration"
|
||||
msgstr "添加配置"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "在下面添加指令"
|
||||
|
||||
|
@ -176,7 +176,7 @@ msgstr "您确定要删除吗?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "您确定要恢复这个项目吗?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "您确定要删除这条指令?"
|
||||
|
||||
|
@ -200,7 +200,7 @@ msgstr "助手"
|
|||
msgid "Attempts"
|
||||
msgstr "尝试次数"
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr "认证"
|
||||
|
||||
|
@ -262,7 +262,7 @@ msgid "Base information"
|
|||
msgstr "基本信息"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -290,7 +290,7 @@ msgstr "批量升级"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr "以下是您选定的需要批量修改的项目"
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "构建基于"
|
||||
|
||||
|
@ -326,7 +326,7 @@ msgstr "取消"
|
|||
msgid "Category"
|
||||
msgstr "分类"
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
msgid "Cert"
|
||||
msgstr "证书"
|
||||
|
||||
|
@ -394,7 +394,7 @@ msgstr "清除成功"
|
|||
msgid "Command"
|
||||
msgstr "命令"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -429,7 +429,7 @@ msgstr "已连接"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr "连接中断,请刷新页面。"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -591,15 +591,15 @@ msgstr "描述"
|
|||
msgid "Details"
|
||||
msgstr "详情"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "开发模式"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "指令"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "指令"
|
||||
|
||||
|
@ -706,6 +706,12 @@ msgstr "你想删除这个服务器吗?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "你想删除这个 Upstream 吗?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "文档"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr "域名"
|
||||
|
@ -1191,7 +1197,7 @@ msgstr "留空不做任何更改"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr "Lego 禁用 CNAME 支持"
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
msgid "License"
|
||||
msgstr "开源许可"
|
||||
|
||||
|
@ -1245,7 +1251,7 @@ msgstr "登录成功"
|
|||
msgid "Logout successful"
|
||||
msgstr "登出成功"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr "Logrotate"
|
||||
|
||||
|
@ -1332,7 +1338,7 @@ msgstr "修改配置文件"
|
|||
msgid "Modify Mode"
|
||||
msgstr "修改模式"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "多行指令"
|
||||
|
||||
|
@ -1388,7 +1394,7 @@ msgstr "新版本发布"
|
|||
msgid "Next"
|
||||
msgstr "下一步"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr "Nginx"
|
||||
|
||||
|
@ -1455,7 +1461,7 @@ msgstr "Nginx 重启成功"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1560,7 +1566,7 @@ msgstr "一旦验证完成,这些记录将被删除。"
|
|||
msgid "Online"
|
||||
msgstr "在线"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr "OpenAI"
|
||||
|
||||
|
@ -1590,7 +1596,7 @@ msgstr "覆盖"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "覆盖现有文件"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "参数"
|
||||
|
||||
|
@ -1727,7 +1733,7 @@ msgstr "请将远程 Nginx UI 升级到最新版本"
|
|||
msgid "Pre-release"
|
||||
msgstr "预发布"
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "偏好设置"
|
||||
|
||||
|
@ -1743,7 +1749,7 @@ msgstr "禁止在演示模式下修改 root 账户的密码"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "禁止删除默认用户"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "项目团队"
|
||||
|
||||
|
@ -1991,15 +1997,15 @@ msgstr "运行中"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "保存指令"
|
||||
|
||||
|
@ -2028,7 +2034,7 @@ msgstr "成功将站点 %{site} 保存到 %{node} 中"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
msgid "Save successfully"
|
||||
msgstr "保存成功"
|
||||
|
||||
|
@ -2078,7 +2084,7 @@ msgstr "上传"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2123,7 +2129,7 @@ msgstr "显示"
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr "使用 Passkey 登录"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "单行指令"
|
||||
|
||||
|
@ -2653,7 +2659,7 @@ msgstr "正在将证书写入磁盘"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "是的"
|
||||
|
|
|
@ -71,7 +71,7 @@ msgstr ""
|
|||
msgid "Add Configuration"
|
||||
msgstr "添加配置"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:95
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:117
|
||||
msgid "Add Directive Below"
|
||||
msgstr "在下方新增指令"
|
||||
|
||||
|
@ -184,7 +184,7 @@ msgstr "您確定要刪除嗎?"
|
|||
msgid "Are you sure you want to recover this item?"
|
||||
msgstr "您確定要恢復此項目嗎?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:88
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:95
|
||||
msgid "Are you sure you want to remove this directive?"
|
||||
msgstr "您確定要刪除這條指令嗎?"
|
||||
|
||||
|
@ -208,7 +208,7 @@ msgstr "助理"
|
|||
msgid "Attempts"
|
||||
msgstr "嘗試次數"
|
||||
|
||||
#: src/views/preference/Preference.vue:154
|
||||
#: src/views/preference/Preference.vue:155
|
||||
msgid "Auth"
|
||||
msgstr "身份驗證"
|
||||
|
||||
|
@ -270,7 +270,7 @@ msgid "Base information"
|
|||
msgstr "基本資訊"
|
||||
|
||||
#: src/views/config/ConfigEditor.vue:243
|
||||
#: src/views/preference/Preference.vue:148
|
||||
#: src/views/preference/Preference.vue:149
|
||||
#: src/views/site/site_edit/RightSettings.vue:79
|
||||
#: src/views/stream/components/RightSettings.vue:74
|
||||
msgid "Basic"
|
||||
|
@ -299,7 +299,7 @@ msgstr "批次升級"
|
|||
msgid "Belows are selected items that you want to batch modify"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/system/About.vue:39
|
||||
#: src/views/system/About.vue:55
|
||||
msgid "Build with"
|
||||
msgstr "構建基於"
|
||||
|
||||
|
@ -335,7 +335,7 @@ msgstr "取消"
|
|||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/preference/Preference.vue:160
|
||||
#: src/views/preference/Preference.vue:161
|
||||
#, fuzzy
|
||||
msgid "Cert"
|
||||
msgstr "自動憑證"
|
||||
|
@ -404,7 +404,7 @@ msgstr "清除成功"
|
|||
msgid "Command"
|
||||
msgstr "命令"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:106
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:113
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:105
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:136
|
||||
#: src/views/site/ngx_conf/NgxServer.vue:134
|
||||
|
@ -439,7 +439,7 @@ msgstr "已連結"
|
|||
msgid "Connection lost, please refresh the page."
|
||||
msgstr "連接丟失,請重新整理。"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:111
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:118
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:117
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:145
|
||||
msgid "Content"
|
||||
|
@ -606,15 +606,15 @@ msgstr "描述"
|
|||
msgid "Details"
|
||||
msgstr "詳細資料"
|
||||
|
||||
#: src/views/system/About.vue:22
|
||||
#: src/views/system/About.vue:28
|
||||
msgid "Development Mode"
|
||||
msgstr "開發模式"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:73
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:89
|
||||
msgid "Directive"
|
||||
msgstr "指令"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:21
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditor.vue:28
|
||||
msgid "Directives"
|
||||
msgstr "指令"
|
||||
|
||||
|
@ -725,6 +725,13 @@ msgstr "您要移除此伺服器嗎?"
|
|||
msgid "Do you want to remove this upstream?"
|
||||
msgstr "您要移除這個 Upstream 嗎?"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveDocuments.vue:15
|
||||
#, fuzzy
|
||||
msgid "Document"
|
||||
msgid_plural "Documents"
|
||||
msgstr[0] "API 文檔"
|
||||
|
||||
#: src/views/certificate/WildcardCertificate.vue:68
|
||||
msgid "Domain"
|
||||
msgstr "網域"
|
||||
|
@ -1216,7 +1223,7 @@ msgstr "留空將不會改變任何內容"
|
|||
msgid "Lego disable CNAME Support"
|
||||
msgstr "Lego 停用 CNAME 支援"
|
||||
|
||||
#: src/views/system/About.vue:47
|
||||
#: src/views/system/About.vue:63
|
||||
msgid "License"
|
||||
msgstr "開源授權"
|
||||
|
||||
|
@ -1270,7 +1277,7 @@ msgstr "登入成功"
|
|||
msgid "Logout successful"
|
||||
msgstr "登出成功"
|
||||
|
||||
#: src/views/preference/Preference.vue:178
|
||||
#: src/views/preference/Preference.vue:179
|
||||
msgid "Logrotate"
|
||||
msgstr "Logrotate"
|
||||
|
||||
|
@ -1356,7 +1363,7 @@ msgstr "修改設定"
|
|||
msgid "Modify Mode"
|
||||
msgstr "修改模式"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:54
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:68
|
||||
msgid "Multi-line Directive"
|
||||
msgstr "多行指令"
|
||||
|
||||
|
@ -1412,7 +1419,7 @@ msgstr "新版本發布"
|
|||
msgid "Next"
|
||||
msgstr "下一步"
|
||||
|
||||
#: src/views/preference/Preference.vue:166
|
||||
#: src/views/preference/Preference.vue:167
|
||||
msgid "Nginx"
|
||||
msgstr "Nginx"
|
||||
|
||||
|
@ -1482,7 +1489,7 @@ msgstr "Nginx 重啟成功"
|
|||
#: src/views/notification/Notification.vue:38
|
||||
#: src/views/preference/AuthSettings.vue:138
|
||||
#: src/views/preference/CertSettings.vue:70
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:90
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:97
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:90
|
||||
#: src/views/site/site_list/SiteList.vue:148
|
||||
#: src/views/stream/StreamList.vue:164
|
||||
|
@ -1588,7 +1595,7 @@ msgstr "驗證完成後,記錄將被刪除。"
|
|||
msgid "Online"
|
||||
msgstr "線上"
|
||||
|
||||
#: src/views/preference/Preference.vue:172
|
||||
#: src/views/preference/Preference.vue:173
|
||||
msgid "OpenAI"
|
||||
msgstr "OpenAI"
|
||||
|
||||
|
@ -1618,7 +1625,7 @@ msgstr "覆蓋"
|
|||
msgid "Overwrite exist file"
|
||||
msgstr "覆蓋現有檔案"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:78
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:94
|
||||
msgid "Params"
|
||||
msgstr "參數"
|
||||
|
||||
|
@ -1758,7 +1765,7 @@ msgstr ""
|
|||
msgid "Pre-release"
|
||||
msgstr "預先發布"
|
||||
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:143
|
||||
#: src/routes/index.ts:266 src/views/preference/Preference.vue:144
|
||||
msgid "Preference"
|
||||
msgstr "偏好設定"
|
||||
|
||||
|
@ -1774,7 +1781,7 @@ msgstr "在示範模式中禁止更改 root 密碼"
|
|||
msgid "Prohibit deleting the default user"
|
||||
msgstr "禁止刪除預設使用者"
|
||||
|
||||
#: src/views/system/About.vue:35
|
||||
#: src/views/system/About.vue:51
|
||||
msgid "Project Team"
|
||||
msgstr "專案團隊"
|
||||
|
||||
|
@ -2032,15 +2039,15 @@ msgstr "執行中"
|
|||
#: src/views/config/components/ConfigName.vue:58
|
||||
#: src/views/config/ConfigEditor.vue:224
|
||||
#: src/views/preference/components/Passkey.vue:136
|
||||
#: src/views/preference/Preference.vue:189
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:120
|
||||
#: src/views/preference/Preference.vue:190
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:127
|
||||
#: src/views/site/site_edit/components/ConfigName.vue:54
|
||||
#: src/views/site/site_edit/SiteEdit.vue:271
|
||||
#: src/views/stream/StreamEdit.vue:252
|
||||
msgid "Save"
|
||||
msgstr "儲存"
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:105
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:127
|
||||
msgid "Save Directive"
|
||||
msgstr "儲存指令"
|
||||
|
||||
|
@ -2073,7 +2080,7 @@ msgstr "成功複製 %{conf_name} 到 %{node_name}"
|
|||
#: src/components/StdDesign/StdDataDisplay/StdBatchEdit.vue:47
|
||||
#: src/components/StdDesign/StdDataDisplay/StdCurd.vue:97
|
||||
#: src/views/certificate/CertificateEditor.vue:49
|
||||
#: src/views/preference/Preference.vue:112
|
||||
#: src/views/preference/Preference.vue:113
|
||||
msgid "Save successfully"
|
||||
msgstr "儲存成功"
|
||||
|
||||
|
@ -2123,7 +2130,7 @@ msgstr "傳送"
|
|||
#: src/views/preference/components/Passkey.vue:56
|
||||
#: src/views/preference/components/TOTP.vue:44
|
||||
#: src/views/preference/components/TOTP.vue:57
|
||||
#: src/views/preference/Preference.vue:116
|
||||
#: src/views/preference/Preference.vue:117
|
||||
#: src/views/site/site_list/SiteList.vue:40
|
||||
#: src/views/site/site_list/SiteList.vue:72 src/views/stream/StreamList.vue:113
|
||||
#: src/views/stream/StreamList.vue:81 src/views/system/Upgrade.vue:42
|
||||
|
@ -2168,7 +2175,7 @@ msgstr "顯示"
|
|||
msgid "Sign in with a passkey"
|
||||
msgstr ""
|
||||
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:51
|
||||
#: src/views/site/ngx_conf/directive/DirectiveAdd.vue:65
|
||||
msgid "Single Directive"
|
||||
msgstr "單一指令"
|
||||
|
||||
|
@ -2700,7 +2707,7 @@ msgstr "將憑證寫入磁碟"
|
|||
|
||||
#: src/views/preference/AuthSettings.vue:137
|
||||
#: src/views/preference/CertSettings.vue:69
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:89
|
||||
#: src/views/site/ngx_conf/directive/DirectiveEditorItem.vue:96
|
||||
#: src/views/site/ngx_conf/LocationEditor.vue:89
|
||||
msgid "Yes"
|
||||
msgstr "是的"
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
import type { NgxDirective } from '@/api/ngx'
|
||||
import type { DirectiveMap, NgxDirective } from '@/api/ngx'
|
||||
import CodeEditor from '@/components/CodeEditor'
|
||||
import { DeleteOutlined } from '@ant-design/icons-vue'
|
||||
import { type ComputedRef, reactive, ref } from 'vue'
|
||||
|
||||
const props = defineProps<{
|
||||
idx?: number
|
||||
nginxDirectivesMap?: DirectiveMap
|
||||
}>()
|
||||
|
||||
const emit = defineEmits(['save'])
|
||||
|
@ -15,6 +15,16 @@ const directive = reactive({ directive: '', params: '' })
|
|||
const adding = ref(false)
|
||||
const mode = ref('default')
|
||||
|
||||
const nginxDirectives = computed(() => {
|
||||
const res: { label: string, value: string }[] = []
|
||||
if (props.nginxDirectivesMap) {
|
||||
Object.keys(props.nginxDirectivesMap).forEach(k => {
|
||||
res.push({ label: k, value: k })
|
||||
})
|
||||
}
|
||||
return res
|
||||
})
|
||||
|
||||
function add() {
|
||||
adding.value = true
|
||||
directive.directive = ''
|
||||
|
@ -33,6 +43,10 @@ function save() {
|
|||
|
||||
emit('save', props.idx)
|
||||
}
|
||||
|
||||
function filterOption(inputValue: string, option: { label: string }) {
|
||||
return option.label.toLowerCase().includes(inputValue.toLowerCase())
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -67,9 +81,11 @@ function save() {
|
|||
v-else
|
||||
compact
|
||||
>
|
||||
<AInput
|
||||
<AAutoComplete
|
||||
v-model:value="directive.directive"
|
||||
:options="nginxDirectives"
|
||||
style="width: 30%"
|
||||
:filter-option="filterOption"
|
||||
:placeholder="$gettext('Directive')"
|
||||
/>
|
||||
<AInput
|
||||
|
@ -85,6 +101,12 @@ function save() {
|
|||
</template>
|
||||
</AButton>
|
||||
</div>
|
||||
<div v-if="nginxDirectivesMap?.[directive.directive]" class="mt-2">
|
||||
<div>{{ $ngettext('Document', 'Documents', nginxDirectivesMap[directive.directive].links.length) }}</div>
|
||||
<a v-for="(link, index) in nginxDirectivesMap?.[directive.directive].links" :key="index" :href="link">
|
||||
{{ link }}
|
||||
</a>
|
||||
</div>
|
||||
</AFormItem>
|
||||
</div>
|
||||
<AButton
|
||||
|
|
28
app/src/views/site/ngx_conf/directive/DirectiveDocuments.vue
Normal file
28
app/src/views/site/ngx_conf/directive/DirectiveDocuments.vue
Normal file
|
@ -0,0 +1,28 @@
|
|||
<script setup lang="ts">
|
||||
import type { DirectiveMap } from '@/api/ngx'
|
||||
|
||||
const props = defineProps<{
|
||||
directive: string
|
||||
nginxDirectivesMap?: DirectiveMap
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AFormItem
|
||||
v-if="nginxDirectivesMap?.[props.directive]"
|
||||
class="mb-0"
|
||||
:label="
|
||||
$ngettext('Document', 'Documents',
|
||||
nginxDirectivesMap[props.directive].links.length)"
|
||||
>
|
||||
<div v-for="(link, idx) in nginxDirectivesMap?.[props.directive]?.links" :key="idx" class="mb-2">
|
||||
<a :href="link">
|
||||
{{ link }}
|
||||
</a>
|
||||
</div>
|
||||
</AFormItem>
|
||||
</template>
|
||||
|
||||
<style scoped lang="less">
|
||||
|
||||
</style>
|
|
@ -1,6 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import type { NgxDirective } from '@/api/ngx'
|
||||
import type { DirectiveMap, NgxDirective } from '@/api/ngx'
|
||||
import type { ComputedRef } from 'vue'
|
||||
import ngx from '@/api/ngx'
|
||||
import DirectiveEditorItem from '@/views/site/ngx_conf/directive/DirectiveEditorItem.vue'
|
||||
import Draggable from 'vuedraggable'
|
||||
import DirectiveAdd from './DirectiveAdd.vue'
|
||||
|
@ -15,6 +16,12 @@ const current_idx = ref(-1)
|
|||
const ngx_directives = inject('ngx_directives') as ComputedRef<NgxDirective[]>
|
||||
|
||||
provide('current_idx', current_idx)
|
||||
|
||||
const nginxDirectivesMap = shallowRef<DirectiveMap>()
|
||||
|
||||
onMounted(async () => {
|
||||
nginxDirectivesMap.value = await ngx.get_directives()
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -33,6 +40,7 @@ provide('current_idx', current_idx)
|
|||
:index="index"
|
||||
:readonly="readonly"
|
||||
:context="context"
|
||||
:nginx-directives-map
|
||||
@click="current_idx = index"
|
||||
>
|
||||
<template
|
||||
|
@ -51,6 +59,7 @@ provide('current_idx', current_idx)
|
|||
<DirectiveAdd
|
||||
v-if="!readonly"
|
||||
v-auto-animate
|
||||
:nginx-directives-map
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
import type { NgxDirective } from '@/api/ngx'
|
||||
import type { DirectiveMap, NgxDirective } from '@/api/ngx'
|
||||
import config from '@/api/config'
|
||||
import CodeEditor from '@/components/CodeEditor'
|
||||
import DirectiveDocuments from '@/views/site/ngx_conf/directive/DirectiveDocuments.vue'
|
||||
import { DeleteOutlined, HolderOutlined, InfoCircleOutlined } from '@ant-design/icons-vue'
|
||||
import { message } from 'ant-design-vue'
|
||||
|
||||
|
@ -9,6 +10,7 @@ const props = defineProps<{
|
|||
index: number
|
||||
readonly?: boolean
|
||||
context?: string
|
||||
nginxDirectivesMap?: DirectiveMap
|
||||
}>()
|
||||
|
||||
const ngxDirectives = inject('ngx_directives') as ComputedRef<NgxDirective[]>
|
||||
|
@ -126,6 +128,10 @@ const showComment = ref(false)
|
|||
</AButton>
|
||||
</div>
|
||||
</AFormItem>
|
||||
<DirectiveDocuments
|
||||
:directive="ngxDirectives[props.index].directive"
|
||||
:nginx-directives-map
|
||||
/>
|
||||
</AForm>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -173,7 +179,7 @@ const showComment = ref(false)
|
|||
}
|
||||
|
||||
.fade-enter-active, .fade-leave-active {
|
||||
transition: all .2s ease-in-out;
|
||||
transition: all .16s ease-in-out;
|
||||
}
|
||||
|
||||
.fade-enter-from, .fade-enter-to, .fade-leave-to
|
||||
|
|
113
cmd/parse_ngx_index/parse_ngx_index.go
Normal file
113
cmd/parse_ngx_index/parse_ngx_index.go
Normal file
|
@ -0,0 +1,113 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/net/html"
|
||||
)
|
||||
|
||||
type Directive struct {
|
||||
Links []string `json:"links"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
// Fetch page content
|
||||
resp, err := http.Get("https://nginx.org/en/docs/dirindex.html")
|
||||
if err != nil {
|
||||
fmt.Println("Error fetching page:", err)
|
||||
return
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
// Parse HTML
|
||||
doc, err := html.Parse(resp.Body)
|
||||
if err != nil {
|
||||
fmt.Println("Error parsing HTML:", err)
|
||||
return
|
||||
}
|
||||
|
||||
// Change storage structure to map
|
||||
directives := make(map[string]Directive)
|
||||
|
||||
// Find node with id="content"
|
||||
var content *html.Node
|
||||
var findContent func(*html.Node)
|
||||
findContent = func(n *html.Node) {
|
||||
if n.Type == html.ElementNode && n.Data == "div" {
|
||||
for _, attr := range n.Attr {
|
||||
if attr.Key == "id" && attr.Val == "content" {
|
||||
content = n
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
for c := n.FirstChild; c != nil; c = c.NextSibling {
|
||||
findContent(c)
|
||||
}
|
||||
}
|
||||
findContent(doc)
|
||||
|
||||
// Extract all a tags from content
|
||||
if content != nil {
|
||||
var extractLinks func(*html.Node)
|
||||
extractLinks = func(n *html.Node) {
|
||||
if n.Type == html.ElementNode && n.Data == "a" {
|
||||
var href string
|
||||
for _, attr := range n.Attr {
|
||||
if attr.Key == "href" {
|
||||
href = attr.Val
|
||||
break
|
||||
}
|
||||
}
|
||||
if href != "" && n.FirstChild != nil {
|
||||
name := strings.TrimSpace(n.FirstChild.Data)
|
||||
if name != "" {
|
||||
fullLink := "https://nginx.org/en/docs/" + href
|
||||
directive, exists := directives[name]
|
||||
if !exists {
|
||||
directives[name] = Directive{
|
||||
Links: []string{fullLink},
|
||||
}
|
||||
} else {
|
||||
// Check if link already exists to avoid duplicates
|
||||
linkExists := false
|
||||
for _, existingLink := range directive.Links {
|
||||
if existingLink == fullLink {
|
||||
linkExists = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if !linkExists {
|
||||
directive.Links = append(directive.Links, fullLink)
|
||||
directives[name] = directive
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for c := n.FirstChild; c != nil; c = c.NextSibling {
|
||||
extractLinks(c)
|
||||
}
|
||||
}
|
||||
extractLinks(content)
|
||||
}
|
||||
|
||||
// Write results to JSON file
|
||||
jsonData, err := json.MarshalIndent(directives, "", " ")
|
||||
if err != nil {
|
||||
fmt.Println("Error marshaling JSON:", err)
|
||||
return
|
||||
}
|
||||
|
||||
err = os.WriteFile("../../internal/nginx/nginx_directives.json", jsonData, 0644)
|
||||
if err != nil {
|
||||
fmt.Println("Error writing file:", err)
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Printf("Successfully parsed %d directives and saved to nginx_directives.json\n", len(directives))
|
||||
}
|
2
gen.sh
2
gen.sh
|
@ -1,3 +1,3 @@
|
|||
pushd ./cmd/generate || exit
|
||||
pushd ./cmd/gen || exit
|
||||
go run generate.go -config ../../app.ini
|
||||
popd || exit
|
||||
|
|
22
internal/nginx/directives.go
Normal file
22
internal/nginx/directives.go
Normal file
|
@ -0,0 +1,22 @@
|
|||
package nginx
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
//go:embed nginx_directives.json
|
||||
var directivesJson []byte
|
||||
|
||||
type Directive struct {
|
||||
Links []string `json:"links"`
|
||||
}
|
||||
|
||||
func GetDirectives() (map[string]Directive, error) {
|
||||
var directives map[string]Directive
|
||||
err := json.Unmarshal(directivesJson, &directives)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return directives, nil
|
||||
}
|
3670
internal/nginx/nginx_directives.json
Normal file
3670
internal/nginx/nginx_directives.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue