diff --git a/locales/en.json b/locales/en.json index 4ac72ef..960df82 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1693,6 +1693,46 @@ "alert_copied2": "MikroTik script copied!", "deactivate": "Deactivate", "activate": "Activate" + }, + "set": { + "ew_log_realtime": "Realtime Log", + "ew_rekap": "Auto-Paid Recap", + "ph_ew_service": "DANA / Gojek / ShopeePay (optional)", + "ph_ew_keyword": "keyword (optional)", + "ew_endpoint": "MacroDroid Endpoint:", + "show": "Show", + "al_empty": "No auto-paid entries in this period.", + "ew_log_hint": "The e-wallet notification log was moved to a dedicated page so settings stay compact.", + "public_url": "Public App URL (Public Base URL)", + "id_prefix": "Customer ID Prefix", + "id_digits": "Customer ID Number of Digits", + "att_geo_on": "Active (Location Validation)", + "att_geo_off": "Inactive (Unrestricted)", + "geo_label": "Geofencing:", + "geo_desc": "Employees can only check in within the configured radius from the office coordinates. Disable if staff work remotely/in the field.", + "tz_wib": "WIB (Asia/Jakarta)", + "tz_wita": "WITA (Asia/Makassar)", + "tz_wit": "WIT (Asia/Jayapura)", + "colpay_label": "Collector Payments:", + "colpay_desc": "Collector payment approval is now configured per collector account in the Collector Management menu, not globally.", + "acs_url": "GenieACS API URL", + "acs_user": "GenieACS Username", + "acs_pass": "GenieACS Password", + "mr_mode": "Multi-Router Mode", + "mr_on": "Active (Multiple Router)", + "mr_off": "Inactive (Single Router Mode)", + "mr_hint": "Choose the MikroTik operating mode: Active for multi-router, Inactive for single router with automatic fallback", + "mr_default_hint": "Optional. If empty, the system auto-detects the first router (smallest ID). If set, this value is used.", + "mt_ip": "MikroTik IP / Host", + "mt_port": "MikroTik API Port", + "mt_user": "MikroTik API User", + "mt_pass": "MikroTik API Password", + "admin_user": "Admin Username", + "admin_pass": "Admin Password", + "admin_key": "Admin API Key (For external access)", + "wa_enable": "Enable WhatsApp Bot", + "wa_numbers": "Admin WA Numbers (Comma-separated)", + "wa_delay": "Delay Between Broadcast Messages (seconds)" } }, "tech": { diff --git a/locales/id.json b/locales/id.json index 405b1c7..11a615a 100644 --- a/locales/id.json +++ b/locales/id.json @@ -1694,6 +1694,46 @@ "alert_copied2": "Script MikroTik berhasil disalin!", "deactivate": "Non-aktifkan", "activate": "Aktifkan" + }, + "set": { + "ew_log_realtime": "Log Realtime", + "ew_rekap": "Rekap Auto-Lunas", + "ph_ew_service": "DANA / Gojek / ShopeePay (opsional)", + "ph_ew_keyword": "kata kunci (opsional)", + "ew_endpoint": "Endpoint MacroDroid:", + "show": "Tampilkan", + "al_empty": "Tidak ada auto-lunas pada periode ini.", + "ew_log_hint": "Log notifikasi e-wallet dipindah ke halaman khusus agar pengaturan tidak terdorong ke bawah.", + "public_url": "URL Publik Aplikasi (Public Base URL)", + "id_prefix": "Prefix ID Pelanggan", + "id_digits": "Jumlah Digit Angka ID Pelanggan", + "att_geo_on": "Aktif (Validasi Lokasi)", + "att_geo_off": "Nonaktif (Bebas)", + "geo_label": "Geofencing:", + "geo_desc": "Karyawan hanya bisa absen jika berada dalam radius yang ditentukan dari koordinat kantor. Nonaktifkan jika karyawan bekerja remote/lapangan.", + "tz_wib": "WIB (Asia/Jakarta)", + "tz_wita": "WITA (Asia/Makassar)", + "tz_wit": "WIT (Asia/Jayapura)", + "colpay_label": "Pembayaran Kolektor:", + "colpay_desc": "Pengaturan approval pembayaran kolektor sekarang diatur per akun kolektor pada menu Manajemen Kolektor, bukan dari pengaturan global.", + "acs_url": "GenieACS API URL", + "acs_user": "GenieACS Username", + "acs_pass": "GenieACS Password", + "mr_mode": "Mode Multi-Router", + "mr_on": "Aktif (Multiple Router)", + "mr_off": "Nonaktif (Single Router Mode)", + "mr_hint": "Pilih mode operasional MikroTik: Aktif untuk multi-router, Nonaktif untuk single router dengan fallback otomatis", + "mr_default_hint": "Opsional. Jika kosong, sistem auto-detect router pertama (ID terkecil). Jika diisi, gunakan nilai ini.", + "mt_ip": "MikroTik IP / Host", + "mt_port": "MikroTik API Port", + "mt_user": "MikroTik API User", + "mt_pass": "MikroTik API Password", + "admin_user": "Username Admin", + "admin_pass": "Password Admin", + "admin_key": "Admin API Key (Untuk akses luar)", + "wa_enable": "Enable WhatsApp Bot", + "wa_numbers": "Nomor Admin WA (Pisahkan dengan koma)", + "wa_delay": "Jeda Antar Pesan Broadcast (Detik)" } }, "tech": { diff --git a/views/admin/settings.ejs b/views/admin/settings.ejs index 0db605c..2275295 100644 --- a/views/admin/settings.ejs +++ b/views/admin/settings.ejs @@ -53,8 +53,8 @@ <% if (logsOnly) { %>