diff --git a/locales/en.json b/locales/en.json index edd4171..5cfcb26 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1848,6 +1848,62 @@ "duration": "Duration", "location": "Location", "photo": "Photo" + }, + "olt": { + "all_summary": "All OLTs (Total Summary)", + "host": "OLT Host:", + "snmp_port": "SNMP Port:", + "th_action": "ACTION", + "th_onu_name": "ONU / Customer Name", + "del_olt": "Delete OLT", + "opt_generic": "Generic / Other (Standard SNMP EPON/GPON)", + "ph_enable_pw": "zxr10 (optional)", + "ph_enable_pw2": "Leave blank to keep unchanged", + "wan_title": "ONU WAN Configuration", + "wan_name": "ONU NAME", + "wan_method": "CONFIGURATION METHOD", + "wan_mode": "WAN MODE", + "wan_cvlan": "CVLAN (optional)", + "ph_cvlan": "Default = VLAN", + "wan_vlan_mode": "VLAN mode", + "wan_bind_lan": "LAN BINDING", + "wan_bind_ssid": "SSID (WIFI) BINDING", + "oid_active": "Active SNMP Profile", + "conn_ok": "Connection Successful!", + "conn_fail": "Connection Failed:" + }, + "pkg": { + "isolir_action": "Isolir action", + "isolir_ip_pool": "Isolir IP Pool", + "prof_name": "Profile Name", + "radius_hint": "RADIUS mode — the values above are read from RADIUS settings. To change them, open RADIUS Settings (button above).", + "mt_hint": "MikroTik mode — the values above are read from the PPP profile on the router. To change them, edit in MikroTik → PPPoE Profiles.", + "all_routers": "All Routers", + "th_promo": "Promo / Prorated", + "del_pkg": "Delete Package", + "mode_radius_hint": "RADIUS mode: rate-limit & IP come from RADIUS attributes — no MikroTik PPP profile is created automatically.", + "billing_type": "Billing Type *", + "opt_postpaid": "Postpaid (Calendar / Fixed Due Date)", + "opt_prepaid": "Prepaid (Rolling Validity)", + "validity_days": "Validity Duration (Days) *", + "ph_down": "Example: 10", + "ph_up": "Example: 5", + "ph_upto_down": "Leave blank if no UpTo (e.g.: 20)", + "ph_upto_up": "Leave blank if no UpTo (e.g.: 10)", + "upto_hint": "If filled, the package is displayed as: 10 Mbps (Up to 20 Mbps) on invoices & the customer portal.", + "promo_price": "Promo price (Rp / cycle)", + "promo_cycles": "Number of promo months", + "ph_promo_price": "Optional, e.g. 99000", + "ph_promo_cycles": "0 = no promo", + "ppn_pct": "VAT Percentage (%)", + "uso_pct": "ULO/USO Percentage (%)", + "pool_name": "IP Pool Name", + "pool_ranges": "IP Ranges", + "isolir_profile": "Isolir Profile (this package)", + "ph_isolir_profile": "— use global/customer default —", + "night_profile": "Night Profile Name (MikroTik)", + "ph_night_profile": "-- Select Profile --", + "night_down": "Night Download (Mbps)" } }, "tech": { diff --git a/locales/id.json b/locales/id.json index 2573a86..645d04c 100644 --- a/locales/id.json +++ b/locales/id.json @@ -1849,6 +1849,62 @@ "duration": "Durasi", "location": "Lokasi", "photo": "Foto" + }, + "olt": { + "all_summary": "Semua OLT (Ringkasan Total)", + "host": "Host OLT:", + "snmp_port": "Port SNMP:", + "th_action": "AKSI", + "th_onu_name": "Nama ONU / Pelanggan", + "del_olt": "Hapus OLT", + "opt_generic": "Generic / Lainnya (Standard SNMP EPON/GPON)", + "ph_enable_pw": "zxr10 (opsional)", + "ph_enable_pw2": "Kosongkan jika tidak diubah", + "wan_title": "Konfigurasi WAN ONU", + "wan_name": "NAMA ONU", + "wan_method": "METODE KONFIGURASI", + "wan_mode": "MODE WAN", + "wan_cvlan": "CVLAN (opsional)", + "ph_cvlan": "Default = VLAN", + "wan_vlan_mode": "VLAN mode", + "wan_bind_lan": "BINDING LAN", + "wan_bind_ssid": "BINDING SSID (WIFI)", + "oid_active": "Profil SNMP Aktif", + "conn_ok": "Koneksi Sukses!", + "conn_fail": "Koneksi Gagal:" + }, + "pkg": { + "isolir_action": "Aksi isolir", + "isolir_ip_pool": "IP Pool isolir", + "prof_name": "Nama Profil", + "radius_hint": "Mode RADIUS — nilai di atas dibaca dari pengaturan RADIUS. Untuk mengubah, buka RADIUS Settings (tombol di atas).", + "mt_hint": "Mode MikroTik — nilai di atas dibaca dari profil PPP di router. Untuk mengubah, edit di MikroTik → PPPoE Profiles.", + "all_routers": "Semua Router", + "th_promo": "Promo / Prorata", + "del_pkg": "Hapus Paket", + "mode_radius_hint": "Mode RADIUS: rate-limit & IP dari atribut RADIUS — profil PPP MikroTik tidak dibuat otomatis.", + "billing_type": "Tipe Penagihan / Billing *", + "opt_postpaid": "Pascabayar (Kalender / Jatuh Tempo Tetap)", + "opt_prepaid": "Prabayar (Masa Aktif Bergulir)", + "validity_days": "Durasi Masa Aktif (Hari) *", + "ph_down": "Contoh: 10", + "ph_up": "Contoh: 5", + "ph_upto_down": "Kosongkan jika tanpa UpTo (mis: 20)", + "ph_upto_up": "Kosongkan jika tanpa UpTo (mis: 10)", + "upto_hint": "Bila diisi, paket akan tampil sebagai: 10 Mbps (Up to 20 Mbps) di invoice & portal pelanggan.", + "promo_price": "Harga promo (Rp / siklus)", + "promo_cycles": "Jumlah bulan promo", + "ph_promo_price": "Opsional, mis. 99000", + "ph_promo_cycles": "0 = tanpa promo", + "ppn_pct": "Persentase PPN (%)", + "uso_pct": "Persentase ULO/USO (%)", + "pool_name": "Nama IP Pool", + "pool_ranges": "Rentang IP (ranges)", + "isolir_profile": "Profil Isolir (paket ini)", + "ph_isolir_profile": "— pakai default global/customer —", + "night_profile": "Nama Profile Malam (MikroTik)", + "ph_night_profile": "-- Pilih Profile --", + "night_down": "Download Malam (Mbps)" } }, "tech": { diff --git a/views/admin/olts.ejs b/views/admin/olts.ejs index efb2c6d..d55997c 100644 --- a/views/admin/olts.ejs +++ b/views/admin/olts.ejs @@ -221,9 +221,9 @@ <% } else if (olts.length === 1) { %> - + <% } else { %> - + <% olts.forEach(olt => { %> <% }) %> @@ -295,8 +295,8 @@
Profil & Parameter Connection
Profil SNMP: -
-
Host OLT: -
-
Port SNMP: 161
+
<%= t('admin.olt.host','Host OLT:') %> -
+
<%= t('admin.olt.snmp_port','Port SNMP:') %> 161
Community: public
@@ -362,7 +362,7 @@ PORT/INDEX SN / SERIAL NUMBER TYPE - AKSI + <%= t('admin.olt.th_action','AKSI') %> @@ -398,7 +398,7 @@ <%= t('admin.olts.table.no', 'No') %> <%= t('admin.olts.table.id', 'Id') %> - Nama ONU / Pelanggan + <%= t('admin.olt.th_onu_name','Nama ONU / Pelanggan') %> <%= t('admin.olts.table.serial', 'Serial Number') %> <%= t('admin.olts.table.status', 'Status') %> <%= t('admin.olts.table.tx', 'TxPower') %> @@ -456,7 +456,7 @@
- +
@@ -492,7 +492,7 @@ - + @@ -503,7 +503,7 @@
-
+
@@ -540,7 +540,7 @@ - + @@ -551,7 +551,7 @@
-
+
@@ -579,7 +579,7 @@
- Konfigurasi WAN ONU + <%= t('admin.olt.wan_title','Konfigurasi WAN ONU') %>
@@ -589,12 +589,12 @@
- +
- + @@ -619,11 +619,11 @@
@@ -337,16 +337,16 @@
@@ -539,16 +539,16 @@ Centang untuk mengatur (kolom terbuka otomatis bila paket ini memakai Jam Kalong). @@ -562,10 +562,10 @@ Centang untuk mengatur (kolom terbuka otomatis bila paket ini memakai FUP).