🚀 v26.2.20 — Dil Desteği Genişletme, Backup Limiti ve Log Yönetimi
Sürüm Tipi: Major Feature
Odak: T() çeviri sistemine alınmayan 20+ hardcoded mesaj düzeltildi, otomatik backup limiti ve log rotation eklendi
✅ Yeni Özellikler
- Backup limiti — Script güncellemelerinde artık en fazla 3
.bak_*dosyası tutulur, eskiler otomatik silinir - Autohostlist log rotation — HealthMon daemon döngüsüne
/opt/zapret/nfqws_autohostlist.logboyut kontrolü eklendi; 1MB üzerinde son 500 satıra truncate edilir
✅ İyileştirmeler
start_zapret,stop_zapret,restart_zapretfonksiyonlarındaki tüm mesajlarT()sistemine alındı — dil değişimi artık bu ekranlarda da çalışıyorinstall_zapretveuninstall_zapretfonksiyonlarındaki tüm mesajlarT()sistemine alındıconfigure_zapret_ipv6_support,manage_ipset_clientsfonksiyonları çeviri sistemine dahil edildiupdate_kernel_module_config,allow_firewall,disable_total_packet,keenetic_compatibility,fix_keenetic_udp,add_auto_start_zapretfonksiyonları çeviri sistemine dahil edildiuninstall_zapretiçindeki[[ =~ ]]bash operatörü POSIX uyumlu[ != ]ile değiştirildiuninstall_zapretiçindekiread -r -p "...\n..."prompt BusyBox ash uyumlu tek satıra dönüştürüldü- Backup limit kodundaki
xargs rmBusyBox ash uyumluwhile readdöngüsüne dönüştürüldü
⚙️ Notlar
- Eklenen 70+
TXT_*anahtarının tamamı_TR+_ENçiftiyle tanımlandı;--self-testile doğrulandı - Lock uyarısı (
T()henüz tanımlı değilken çalışan satır) kasıtlı olarak plainechoolarak bırakıldı
🚀 v26.2.20 — Language Support Expansion, Backup Limit & Log Management
Release Type: Major Feature
Focus: 20+ hardcoded messages migrated to T() translation system, auto backup limit and log rotation added
✅ New Features
- Backup limit — Script updates now keep at most 3
.bak_*files; oldest are automatically removed - Autohostlist log rotation — HealthMon daemon loop now monitors
/opt/zapret/nfqws_autohostlist.log; truncates to last 500 lines when exceeding 1MB
✅ Improvements
- All messages in
start_zapret,stop_zapret,restart_zapretmigrated toT()— language switching now works on these screens - All messages in
install_zapretanduninstall_zapretmigrated toT() configure_zapret_ipv6_support,manage_ipset_clientsintegrated into translation systemupdate_kernel_module_config,allow_firewall,disable_total_packet,keenetic_compatibility,fix_keenetic_udp,add_auto_start_zapretintegrated into translation system[[ =~ ]]bash operator inuninstall_zapretreplaced with POSIX-compliant[ != ]- Multi-line
read -r -pprompt inuninstall_zapretconverted to BusyBox ash compatible single line xargs rmin backup limit code replaced with BusyBox ash compatiblewhile readloop
⚙️ Notes
- All 70+ new
TXT_*keys defined with_TR+_ENpairs; verified with--self-test - Lock warning line (executed before
T()is defined) intentionally kept as plainecho