mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-19 03:25:01 +03:00
refactor: replace custom geo manager with Xray-core native geodata auto-update
Remove the panel-side custom geo download feature (service, controller, /panel/api/custom-geo/* endpoints, CustomGeoResource model, UI tab) in favor of Xray-core's native geodata section (https://xtls.github.io/config/geodata.html). - pass the top-level "geodata" key through xray.Config so it survives the template round-trip into the generated config - add a Geodata Auto-Update section to the Xray Updates modal that edits geodata (cron schedule, download outbound, asset list) in the config template and restarts Xray on save - previously downloaded geo files in the bin folder keep working in ext: routing rules; the orphaned custom_geo_resources table is left in place so existing source URLs stay recoverable
This commit is contained in:
@@ -219,48 +219,19 @@
|
||||
"geofilesUpdateDialogDesc": "Bu, tüm dosyaları güncelleyecektir.",
|
||||
"geofilesUpdateAll": "Tümünü Güncelle",
|
||||
"geofileUpdatePopover": "Geofile başarıyla güncellendi",
|
||||
"customGeoTitle": "Özel GeoSite / GeoIP",
|
||||
"customGeoAdd": "Ekle",
|
||||
"customGeoType": "Tür",
|
||||
"customGeoAlias": "Takma Ad",
|
||||
"customGeoUrl": "URL",
|
||||
"customGeoEnabled": "Etkin",
|
||||
"customGeoLastUpdated": "Son güncelleme",
|
||||
"customGeoExtColumn": "Yönlendirme (ext:…)",
|
||||
"customGeoToastUpdateAll": "Tüm özel kaynaklar güncellendi",
|
||||
"customGeoActions": "İşlemler",
|
||||
"customGeoEdit": "Düzenle",
|
||||
"customGeoDelete": "Sil",
|
||||
"customGeoDownload": "Şimdi Güncelle",
|
||||
"customGeoModalAdd": "Özel geo ekle",
|
||||
"customGeoModalEdit": "Özel geo düzenle",
|
||||
"customGeoModalSave": "Kaydet",
|
||||
"customGeoDeleteConfirm": "Bu özel geo kaynağı silinsin mi?",
|
||||
"customGeoRoutingHint": "Yönlendirme kurallarında value sütununu ext:dosya.dat:etiket olarak kullanın (etiketi uygun şekilde değiştirin).",
|
||||
"customGeoInvalidId": "Geçersiz kaynak kimliği",
|
||||
"customGeoAliasesError": "Özel geo takma adları yüklenemedi",
|
||||
"customGeoValidationAlias": "Takma ad yalnızca küçük harf, rakam, - ve _ içerebilir",
|
||||
"customGeoValidationUrl": "URL http:// veya https:// ile başlamalıdır",
|
||||
"customGeoAliasPlaceholder": "a-z 0-9 _ -",
|
||||
"customGeoAliasLabelSuffix": " (özel)",
|
||||
"customGeoToastList": "Özel geo listesi",
|
||||
"customGeoToastAdd": "Özel geo ekle",
|
||||
"customGeoToastUpdate": "Özel geo güncelle",
|
||||
"customGeoToastDelete": "Özel geofile \"{{ .fileName }}\" silindi",
|
||||
"customGeoToastDownload": "\"{{ .fileName }}\" geofile güncellendi",
|
||||
"customGeoErrInvalidType": "Tür geosite veya geoip olmalıdır",
|
||||
"customGeoErrAliasRequired": "Takma ad gerekli",
|
||||
"customGeoErrAliasPattern": "Takma ad izin verilmeyen karakterler içeriyor",
|
||||
"customGeoErrAliasReserved": "Bu takma ad ayrılmış",
|
||||
"customGeoErrUrlRequired": "URL gerekli",
|
||||
"customGeoErrInvalidUrl": "URL geçersiz",
|
||||
"customGeoErrUrlScheme": "URL http veya https kullanmalıdır",
|
||||
"customGeoErrUrlHost": "URL ana bilgisayarı geçersiz",
|
||||
"customGeoErrDuplicateAlias": "Bu takma ad bu tür için zaten kullanılıyor",
|
||||
"customGeoErrNotFound": "Özel geo kaynağı bulunamadı",
|
||||
"customGeoErrDownload": "İndirme başarısız",
|
||||
"customGeoErrUpdateAllIncomplete": "Bir veya daha fazla özel geo kaynağı güncellenemedi",
|
||||
"customGeoEmpty": "Henüz özel geo kaynağı yok — oluşturmak için Ekle'ye tıklayın",
|
||||
"geodataTitle": "Geodata Otomatik Güncelleme",
|
||||
"geodataHint": "Xray bu dosyaları zamanlamaya göre indirir ve yeniden başlatmadan canlı yükler. URL'ler HTTPS olmalıdır. Xray'in güncelleyebilmesi için her dosyanın bin klasöründe önceden mevcut olması gerekir.",
|
||||
"geodataCron": "Zamanlama (cron)",
|
||||
"geodataOutbound": "Outbound üzerinden indir (isteğe bağlı)",
|
||||
"geodataFile": "Dosya adı",
|
||||
"geodataAddFile": "Dosya ekle",
|
||||
"geodataSaveRestart": "Kaydet ve Xray'i Yeniden Başlat",
|
||||
"geodataConfirmTitle": "Geodata ayarları kaydedilsin mi?",
|
||||
"geodataConfirmContent": "Xray yapılandırma şablonu güncellenecek ve Xray yeniden başlatılacak.",
|
||||
"geodataInvalidUrl": "Her dosya için bir HTTPS URL gerekir.",
|
||||
"geodataInvalidFile": "Dosya adı yalnızca dosya adı olmalıdır, örn. geosite_custom.dat (yol içermemeli).",
|
||||
"geodataInvalidCron": "Cron 5 alandan oluşmalıdır, örn. 0 4 * * *",
|
||||
"geodataEmpty": "Yapılandırılmış dosya yok. Yönlendirme kurallarında dosyalar ext:geosite_custom.dat:category olarak kullanılır.",
|
||||
"dontRefresh": "Kurulum devam ediyor, lütfen bu sayfayı yenilemeyin",
|
||||
"logs": "Günlükler",
|
||||
"config": "Yapılandırma",
|
||||
|
||||
Reference in New Issue
Block a user