From c2d4a5d1cfba91b26a78efa1d65fe5030711ab17 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 5 Oct 2025 22:56:14 +0200 Subject: [PATCH 1/4] Update ROADMAP.md Sprogfil / Languages File --- ROADMAP.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 49144f0..44b0c12 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,6 +1,6 @@ # Roadmap – Twitch PHP Bot -## ✅ Færdig (v0.0.1) +## Færdig (v0.0.1) - \[x] PHP-socket Twitch bot - \[x] Dashboard (index) - \[x] Kommandoer, timers, points @@ -10,6 +10,7 @@ - \[x] Login + rettigheder (Admin, Mod, User) - \[x] Indstillinger + watchdog - \[x] SQLite database +- \[ ] Sprogfil --- @@ -48,7 +49,7 @@ #English Roadmap – Twitch PHP Bot -##✅ Completed (v0.0.1) +## Completed (v0.0.1) - \[x] PHP socket-based Twitch bot - \[x] Dashboard (index) - \[x] Commands, timers, points @@ -58,6 +59,7 @@ Roadmap – Twitch PHP Bot - \[x] Login + permissions (Admin, Mod, User) - \[x] Settings + watchdog - \[x] SQLite database + - \[ ] Languages File ##🚧 Upcoming Versions @@ -89,4 +91,4 @@ Roadmap – Twitch PHP Bot - \[ ] GUI editor for polls and giveaways - \[ ] Export/import of commands - \[ ] Backup/restore via ZIP - - \[ ] API for external systems \ No newline at end of file + - \[ ] API for external systems From 76249de494e233264921192ddd1bdf804e371870 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 5 Oct 2025 22:58:07 +0200 Subject: [PATCH 2/4] Update INSTALL.md adress --- INSTALL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 506decc..1234fe6 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -4,7 +4,7 @@ Klon eller hent ZIP fra GitHub: ``` -git clone https://github.com//twitch-php-bot.git +git clone [https://github.com/tuxitheone/PHP_Bot-ModInterface.git] Placer i din webserver, fx: makefile @@ -65,7 +65,7 @@ Installation Guide – Twitch PHP Bot Clone or download the ZIP from GitHub: ``` -git clone https://github.com//twitch-php-bot.git +git clone [https://github.com/tuxitheone/PHP_Bot-ModInterface.git] ``` Place it in your web server directory, for example: @@ -142,4 +142,4 @@ npm install ws node ws_server.js ``` -The dashboard will automatically switch to WebSocket mode if available. \ No newline at end of file +The dashboard will automatically switch to WebSocket mode if available. From ebf41ee3c2b37ff4cbcfb593cad398407802ceef Mon Sep 17 00:00:00 2001 From: Morten Dalsgaard Date: Mon, 6 Oct 2025 15:05:54 +0200 Subject: [PATCH 3/4] Added first draft of JSON language file --- Language.json | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 Language.json diff --git a/Language.json b/Language.json new file mode 100644 index 0000000..f708b3d --- /dev/null +++ b/Language.json @@ -0,0 +1,80 @@ +{ + "Languages": { + "English": { + "Dashboard": { + "Headline": "Twitch PHP Bot - Dashboard", + "Login": "Login", + "Logout": "Log out", + "Uptime": "Uptime", + "Offline": "Offline", + "Online": "Xh Ym", + "Timers": "Timers", + "Poll": "Poll", + "Giveaway": "Giveaway", + "Commands": "Commands", + "Rights": "Rights", + "Loyalty Points": "Loyalty Points", + "Bets": "Bets", + "Raffle": "Raffle", + "Slots": "Slots", + "EventSub": "Subs, gifts & bits", + "Start": "Start stream", + "Stop": "Stop stream", + "Restart": "Restart stream", + "Send test": "Send test message", + "Validate token": "Validate token", + "Full log": "Full log", + "Settings": "Settings", + "Total Bits (current stream)": "", + "Subscriptions (current stream)": "", + "Cheers (Current stream)": "", + "Live log": "Live log", + "Live log description": "SSE fallback to Websocket (requires node ws_server.js)" + }, + "Settings": { + "Headline": "Settings", + "Save": "Save changes", + "Cancel": "Cancel", + "Language": "Language" + } + }, + "Danish": { + "Dashboard": { + "Headline": "Twitch PHP Bot - Dashboard", + "Login": "Log ind", + "Logout": "Log ud", + "Uptime": "Oppetid", + "Offline": "Offline", + "Online": "Xt Ym", + "Timers": "Timere", + "Poll": "Afstemning", + "Giveaway": "Giveaway", + "Commands": "Kommandoer", + "Rights": "Rettigheder", + "Loyalty Points": "Loyalitetspoint", + "Bets": "Væddemål", + "Raffle": "Konkurrence", + "Slots": "Enarmet tyveknægt", + "EventSub": "Subs, gaver & bits", + "Start": "Start stream", + "Stop": "Stop stream", + "Restart": "Genstart stream", + "Send test": "Send testbesked", + "Validate token": "Validér token", + "Full log": "Fuld log", + "Settings": "Indstillinger", + "Total Bits (current stream)": "Bits total (nuværende stream)", + "Subscriptions (current stream)": "", + "Cheers (Current stream)": "", + "Live log": "Live log", + "Live log description": "SSE fallback til Websocket (kræver node ws_server.js)" + }, + "Settings": { + "Headline": "Indstillinger", + "Save": "Gem ændringer", + "Cancel": "Annuller", + "Language": "Sprog" + } + } + } +} From 47d2fa0702cd609b4957bcf24a636b46643a0634 Mon Sep 17 00:00:00 2001 From: Morten Dalsgaard Date: Mon, 6 Oct 2025 21:15:52 +0200 Subject: [PATCH 4/4] Update Language.json Finished danish translations and corrected a few english --- Language.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Language.json b/Language.json index f708b3d..87d1edf 100644 --- a/Language.json +++ b/Language.json @@ -25,9 +25,9 @@ "Validate token": "Validate token", "Full log": "Full log", "Settings": "Settings", - "Total Bits (current stream)": "", - "Subscriptions (current stream)": "", - "Cheers (Current stream)": "", + "Total Bits (current stream)": "Total Bits (current stream)", + "Subscriptions (current stream)": "Subscriptions (current stream)", + "Cheers (Current stream)": "Cheers (Current stream)", "Live log": "Live log", "Live log description": "SSE fallback to Websocket (requires node ws_server.js)" }, @@ -40,7 +40,7 @@ }, "Danish": { "Dashboard": { - "Headline": "Twitch PHP Bot - Dashboard", + "Headline": "Twitch PHP Bot - Kontrolpanel", "Login": "Log ind", "Logout": "Log ud", "Uptime": "Oppetid", @@ -64,8 +64,8 @@ "Full log": "Fuld log", "Settings": "Indstillinger", "Total Bits (current stream)": "Bits total (nuværende stream)", - "Subscriptions (current stream)": "", - "Cheers (Current stream)": "", + "Subscriptions (current stream)": "Abonnenter (nuværende stream)", + "Cheers (Current stream)": "Cheers (nuværende stream)", "Live log": "Live log", "Live log description": "SSE fallback til Websocket (kræver node ws_server.js)" }, @@ -78,3 +78,4 @@ } } } +