From a04878fa8413ded68b92e5eae51448c04696d55c Mon Sep 17 00:00:00 2001 From: kry008 Date: Thu, 16 Sep 2021 16:49:24 +0200 Subject: [PATCH 1/3] Finishing the translation of PL (#422) --- src/languages/pl.js | 56 ++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/src/languages/pl.js b/src/languages/pl.js index e76c2f30..e6936a1c 100644 --- a/src/languages/pl.js +++ b/src/languages/pl.js @@ -110,37 +110,37 @@ export default { respTime: "Czas odp. (ms)", notAvailableShort: "N/A", Create: "Stwórz", - clearEventsMsg: "Are you sure want to delete all events for this monitor?", + clearEventsMsg: "Jesteś pewien, że chcesz usunąć wszystkie monity dla tej strony?", clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?", - confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?", - "Clear Data": "Clear Data", - Events: "Events", + confirmClearStatisticsMsg: "Jesteś pewien, że chcesz usunąć WSZYSTKIE statystyki?", + "Clear Data": "Usuń dane", + Events: "Wydarzenia", Heartbeats: "Heartbeats", "Auto Get": "Auto Get", - enableDefaultNotificationDescription: "For every new monitor this notification will be enabled by default. You can still disable the notification separately for each monitor.", - "Default enabled": "Default enabled", - "Also apply to existing monitors": "Also apply to existing monitors", - Export: "Export", + enableDefaultNotificationDescription: "Dla każdego nowego monitora to powiadomienie będzie domyślnie włączone. Nadal możesz wyłączyć powiadomienia osobno dla każdego monitora.", + "Default enabled": "Domyślnie włączone", + "Also apply to existing monitors": "Również zastosuj do obecnych monitów", + Export: "Eksport", Import: "Import", - backupDescription: "You can backup all monitors and all notifications into a JSON file.", - backupDescription2: "PS: History and event data is not included.", - backupDescription3: "Sensitive data such as notification tokens is included in the export file, please keep it carefully.", - alertNoFile: "Please select a file to import.", - alertWrongFileType: "Please select a JSON file.", - twoFAVerifyLabel: "Please type in your token to verify that 2FA is working", - tokenValidSettingsMsg: "Token is valid! You can now save the 2FA settings.", - confirmEnableTwoFAMsg: "Are you sure you want to enable 2FA?", - confirmDisableTwoFAMsg: "Are you sure you want to disable 2FA?", - "Apply on all existing monitors": "Apply on all existing monitors", - "Verify Token": "Verify Token", - "Setup 2FA": "Setup 2FA", - "Enable 2FA": "Enable 2FA", - "Disable 2FA": "Disable 2FA", - "2FA Settings": "2FA Settings", - "Two Factor Authentication": "Two Factor Authentication", - Active: "Active", - Inactive: "Inactive", + backupDescription: "Możesz wykonać kopię zapasową wszystkich monitorów i wszystkich powiadomień w pliku JSON.", + backupDescription2: "PS: Historia i dane zdarzeń nie są uwzględniane.", + backupDescription3: "Poufne dane, takie jak tokeny powiadomień, są zawarte w pliku eksportu, prosimy o ostrożne przechowywanie.", + alertNoFile: "Proszę wybrać plik do importu.", + alertWrongFileType: "Proszę wybrać plik JSON.", + twoFAVerifyLabel: "Proszę podaj swój token 2FA, aby sprawdzić go", + tokenValidSettingsMsg: "Token jest poprawny! Możesz teraz zapisać ustawienia 2FA.", + confirmEnableTwoFAMsg: "Jesteś prwien że chcesz włączyć 2FA?", + confirmDisableTwoFAMsg: "Jesteś prwien że chcesz wyłączyć 2FA?", + "Apply on all existing monitors": "Zastosuj do wszystki obecnych monitów", + "Verify Token": "Weryfikuj Token", + "Setup 2FA": "Ustaw 2FA", + "Enable 2FA": "Włącz 2FA", + "Disable 2FA": "Wyłącz 2FA", + "2FA Settings": "Ustawienia 2FA", + "Two Factor Authentication": "Podwójna weryfikacja", + Active: "Włączone", + Inactive: "Wyłączone", Token: "Token", - "Show URI": "Show URI", - "Clear all statistics": "Clear all Statistics", + "Show URI": "Pokaż URI", + "Clear all statistics": "Wyczyść wszystkie statystyki", } From 112d72da4777b7b959e5c99eb65a548f5c6f55b3 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 17 Sep 2021 00:48:04 +0800 Subject: [PATCH 2/3] update discussion --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bbb9b002..ffcac83b 100644 --- a/README.md +++ b/README.md @@ -107,11 +107,13 @@ If you love this project, please consider giving me a ⭐. ## 🗣️ Discussion -You can also discuss or ask for help in [Issues](https://github.com/louislam/uptime-kuma/issues). +### Issues Page +You can discuss or ask for help in [Issues](https://github.com/louislam/uptime-kuma/issues). -Alternatively, you can discuss in my original post on reddit: https://www.reddit.com/r/selfhosted/comments/oi7dc7/uptime_kuma_a_fancy_selfhosted_monitoring_tool_an/ - -I think the real "Discussion" tab is hard to use, as it is reddit-like flow, I always missed new comments. +### Subreddit +My Reddit account: louislamlam +You can mention me if you ask question on Reddit. +https://www.reddit.com/r/UptimeKuma/ ## Contribute From 6ec219908b829e609a7690bcf1cadf9325153438 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 17 Sep 2021 15:19:19 +0800 Subject: [PATCH 3/3] test nodejs 16 --- package.json | 1 + test/ubuntu-nodejs16.dockerfile | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 test/ubuntu-nodejs16.dockerfile diff --git a/package.json b/package.json index d768063a..0f7a7157 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "test-install-script-alpine3": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/alpine3.dockerfile .", "test-install-script-ubuntu": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu.dockerfile .", "test-install-script-ubuntu1604": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu1604.dockerfile .", + "test-nodejs16": "docker build --progress plain -f test/ubuntu-nodejs16.dockerfile .", "simple-dns-server": "node extra/simple-dns-server.js", "update-language-files_old": "cd extra/update-language-files && node index.js %npm_config_base_lang% && eslint ../../src/languages/**.js --fix", "update-language-files": "cd extra/update-language-files && node index.js && eslint ../../src/languages/**.js --fix" diff --git a/test/ubuntu-nodejs16.dockerfile b/test/ubuntu-nodejs16.dockerfile new file mode 100644 index 00000000..a2dd2ec8 --- /dev/null +++ b/test/ubuntu-nodejs16.dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu +WORKDIR /app +RUN apt update && apt --yes install git curl +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - +RUN apt --yes install nodejs +RUN git clone https://github.com/louislam/uptime-kuma.git . +RUN npm run setup + +# Option 1. Try it +RUN node server/server.js