-
+
@@ -323,7 +323,7 @@
-
+
@@ -354,9 +354,9 @@
-
+
-
+
@@ -442,7 +442,7 @@
-
+
@@ -453,7 +453,7 @@
-
+
Line Developers Console -
Basic Settings
@@ -497,11 +497,13 @@ import { ucfirst } from "../util.ts"
import axios from "axios";
import { useToast } from "vue-toastification"
import Confirm from "./Confirm.vue";
+import HiddenInput from "./HiddenInput.vue";
const toast = useToast()
export default {
components: {
Confirm,
+ HiddenInput,
},
props: {},
data() {
diff --git a/src/icon.js b/src/icon.js
index 960fa8c18..58583f0f8 100644
--- a/src/icon.js
+++ b/src/icon.js
@@ -1,10 +1,10 @@
import { library } from "@fortawesome/fontawesome-svg-core"
-import { faCog, faEdit, faPlus, faPause, faPlay, faTachometerAlt, faTrash, faList, faArrowAltCircleUp } from "@fortawesome/free-solid-svg-icons"
+import { faCog, faEdit, faPlus, faPause, faPlay, faTachometerAlt, faTrash, faList, faArrowAltCircleUp, faEye, faEyeSlash } from "@fortawesome/free-solid-svg-icons"
//import { fa } from '@fortawesome/free-regular-svg-icons'
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"
// Add Free Font Awesome Icons here
// https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free
-library.add(faCog, faEdit, faPlus, faPause, faPlay, faTachometerAlt, faTrash, faList, faArrowAltCircleUp);
+library.add(faCog, faEdit, faPlus, faPause, faPlay, faTachometerAlt, faTrash, faList, faArrowAltCircleUp, faEye, faEyeSlash);
export { FontAwesomeIcon }
diff --git a/src/languages/da-DK.js b/src/languages/da-DK.js
index 1f4f74faf..14444e190 100644
--- a/src/languages/da-DK.js
+++ b/src/languages/da-DK.js
@@ -109,6 +109,8 @@ export default {
"Resource Record Type": "Resource Record Type",
respTime: "Resp. Time (ms)",
notAvailableShort: "N/A",
+ Create: "Create",
+ notAvailableShort: "N/A",
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/de-DE.js b/src/languages/de-DE.js
index 0db25023c..9945bdff6 100644
--- a/src/languages/de-DE.js
+++ b/src/languages/de-DE.js
@@ -114,5 +114,6 @@ export default {
"Repeat Password": "Wiederhole das Passwort",
"Resource Record Type": "Resource Record Type",
respTime: "Antw. Zeit (ms)",
- notAvailableShort: "N/A"
+ notAvailableShort: "N/A",
+ Create: "Erstellen",
}
diff --git a/src/languages/en.js b/src/languages/en.js
index 58089b9ea..ff71164a5 100644
--- a/src/languages/en.js
+++ b/src/languages/en.js
@@ -112,6 +112,8 @@ export default {
"Repeat Password": "Repeat Password",
respTime: "Resp. Time (ms)",
notAvailableShort: "N/A",
+ Create: "Create",
+ notAvailableShort: "N/A",
"Clear Data": "Clear Data",
Events: "Events",
Heartbeats: "Heartbeats"
diff --git a/src/languages/es-ES.js b/src/languages/es-ES.js
index 0f1183271..7c1ba094c 100644
--- a/src/languages/es-ES.js
+++ b/src/languages/es-ES.js
@@ -109,6 +109,8 @@ export default {
"Repeat Password": "Repetir contraseña",
respTime: "Tiempo de resp. (ms)",
notAvailableShort: "N/A",
+ Create: "Create",
+ notAvailableShort: "N/A",
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/fr.js b/src/languages/fr-FR.js
similarity index 98%
rename from src/languages/fr.js
rename to src/languages/fr-FR.js
index 7bfb4f9d3..efcdc2798 100644
--- a/src/languages/fr.js
+++ b/src/languages/fr-FR.js
@@ -66,7 +66,7 @@ export default {
"Theme - Heartbeat Bar": "Voir les services surveillés",
Normal: "Général",
Bottom: "En dessous",
- None: "Non",
+ None: "Rien",
Timezone: "Fuseau Horaire",
"Search Engine Visibility": "Visibilité par les moteurs de recherche",
"Allow indexing": "Autoriser l'indexation par des moteurs de recherche",
@@ -109,6 +109,8 @@ export default {
"Repeat Password": "Répéter le mot de passe",
respTime: "Temps de réponse (ms)",
notAvailableShort: "N/A",
+ Create: "Créer",
+ notAvailableShort: "N/A",
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/ja.js b/src/languages/ja.js
index 86c5b2030..b029280cb 100644
--- a/src/languages/ja.js
+++ b/src/languages/ja.js
@@ -109,6 +109,8 @@ export default {
"Repeat Password": "Repeat Password",
respTime: "Resp. Time (ms)",
notAvailableShort: "N/A",
+ Create: "Create",
+ notAvailableShort: "N/A",
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/ko-KR.js b/src/languages/ko-KR.js
index 4a3c84a4a..8956de072 100644
--- a/src/languages/ko-KR.js
+++ b/src/languages/ko-KR.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "비밀번호 재입력",
respTime: "응답 시간 (ms)",
notAvailableShort: "N/A",
+ Create: "Create",
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/nl-NL.js b/src/languages/nl-NL.js
index 24e72910b..647d136b2 100644
--- a/src/languages/nl-NL.js
+++ b/src/languages/nl-NL.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "Herhaal wachtwoord",
respTime: "resp. tijd (ms)",
notAvailableShort: "N.v.t.",
+ Create: "Create",
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/pl.js b/src/languages/pl.js
new file mode 100644
index 000000000..cc625d6de
--- /dev/null
+++ b/src/languages/pl.js
@@ -0,0 +1,113 @@
+export default {
+ languageName: "Polski",
+ checkEverySecond: "Sprawdzaj co {0} sekund.",
+ "Avg.": "Średnia ",
+ retriesDescription: "Maksymalna liczba powtórzeń, zanim usługa zostanie oznaczona jako wyłączona i zostanie wysłane powiadomienie",
+ ignoreTLSError: "Ignoruj błąd TLS/SSL dla stron HTTPS",
+ upsideDownModeDescription: "Odwróć status do góry nogami. Jeśli usługa jest osiągalna, to jest oznaczona jako niedostępna.",
+ maxRedirectDescription: "Maksymalna liczba przekierowań do wykonania. Ustaw na 0, aby wyłączyć przekierowania.",
+ acceptedStatusCodesDescription: "Wybierz kody stanu, które są uważane za udaną odpowiedź.",
+ passwordNotMatchMsg: "Powtórzone hasło nie pasuje.",
+ notificationDescription: "Proszę przypisać powiadomienie do monitora(ów), aby zadziałało.",
+ keywordDescription: "Wyszukiwanie słów kluczowych w zwykłym html lub odpowiedzi JSON. Wielkość liter ma znaczenie.",
+ pauseDashboardHome: "Pauza",
+ deleteMonitorMsg: "Czy na pewno chcesz usunąć ten monitor?",
+ deleteNotificationMsg: "Czy na pewno chcesz usunąć to powiadomienie dla wszystkich monitorów?",
+ resoverserverDescription: "Cloudflare jest domyślnym serwerem, możesz zmienić serwer resolver w każdej chwili.",
+ rrtypeDescription: "Wybierz RR-Type który chcesz monitorować",
+ pauseMonitorMsg: "Czy na pewno chcesz wstrzymać?",
+ Settings: "Ustawienia",
+ Dashboard: "Panel",
+ "New Update": "Nowa aktualizacja",
+ Language: "Język",
+ Appearance: "Wygląd",
+ Theme: "Motyw",
+ General: "Ogólne",
+ Version: "Wersja",
+ "Check Update On GitHub": "Sprawdź aktualizację na GitHub.",
+ List: "Lista",
+ Add: "Dodaj",
+ "Add New Monitor": "Dodaj nowy monitor",
+ "Quick Stats": "Szybkie statystyki",
+ Up: "Online",
+ Down: "Offline",
+ Pending: "Oczekujący",
+ Unknown: "Nieznane",
+ Pause: "Pauza",
+ Name: "Nazwa",
+ Status: "Status",
+ DateTime: "Data i godzina",
+ Message: "Wiadomość",
+ "No important events": "Brak ważnych wydarzeń",
+ Resume: "Wznów",
+ Edit: "Edytuj",
+ Delete: "Usuń",
+ Current: "aktualny",
+ Uptime: "Czas pracy",
+ "Cert Exp.": "Wygaśnięcie certyfikatu",
+ days: "dni",
+ day: "dzień",
+ "-day": " dni",
+ hour: "godzina",
+ "-hour": " godziny",
+ Response: "Odpowiedź",
+ Ping: "Ping",
+ "Monitor Type": "Typ monitora",
+ Keyword: "Słowo kluczowe",
+ "Friendly Name": "Przyjazna nazwa",
+ URL: "URL",
+ Hostname: "Nazwa hosta",
+ Port: "Port",
+ "Heartbeat Interval": "Interwał bicia serca",
+ Retries: "Prób",
+ Advanced: "Zaawansowane",
+ "Upside Down Mode": "Tryb do góry nogami",
+ "Max. Redirects": "Maks. przekierowania",
+ "Accepted Status Codes": "Akceptowane kody statusu",
+ Save: "Zapisz",
+ Notifications: "Powiadomienia",
+ "Not available, please setup.": "Niedostępne, proszę skonfigurować.",
+ "Setup Notification": "Konfiguracja powiadomień",
+ Light: "Jasny",
+ Dark: "Ciemny",
+ Auto: "Automatyczny",
+ "Theme - Heartbeat Bar": "Motyw - pasek bicia serca",
+ Normal: "Normalne",
+ Bottom: "Na dole",
+ None: "Brak",
+ Timezone: "Strefa czasowa",
+ "Search Engine Visibility": "Widoczność w wyszukiwarce",
+ "Allow indexing": "Pozwól na indeksowanie",
+ "Discourage search engines from indexing site": "Zniechęcaj wyszukiwarki do indeksowania strony",
+ "Change Password": "Zmień hasło",
+ "Current Password": "Aktualne hasło",
+ "New Password": "Nowe hasło",
+ "Repeat New Password": "Powtórz nowe hasło",
+ "Update Password": "Zaktualizuj hasło",
+ "Disable Auth": "Wyłącz autoryzację",
+ "Enable Auth": "Włącz autoryzację ",
+ Logout: "Wyloguj się",
+ Leave: "Zostaw",
+ "I understand, please disable": "Rozumiem, proszę wyłączyć",
+ Confirm: "Potwierdź",
+ Yes: "Tak",
+ No: "Nie",
+ Username: "Nazwa użytkownika",
+ Password: "Hasło",
+ "Remember me": "Zapamiętaj mnie",
+ Login: "Zaloguj się",
+ "No Monitors, please": "Brak monitorów, proszę",
+ "add one": "dodaj jeden",
+ "Notification Type": "Typ powiadomienia",
+ Email: "Email",
+ Test: "Test",
+ "Certificate Info": "Informacje o certyfikacie",
+ "Resolver Server": "Server resolver",
+ "Resource Record Type": "Typ rekordu zasobów",
+ "Last Result": "Ostatni wynik",
+ "Create your admin account": "Utwórz swoje konto administratora",
+ "Repeat Password": "Powtórz hasło",
+ respTime: "Czas odp. (ms)",
+ notAvailableShort: "N/A",
+ Create: "Stwórz"
+}
diff --git a/src/languages/ru-RU.js b/src/languages/ru-RU.js
index f2c7a0eee..e3835816b 100644
--- a/src/languages/ru-RU.js
+++ b/src/languages/ru-RU.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "Повторите пароль",
respTime: "Resp. Time (ms)",
notAvailableShort: "N/A",
+ Create: "Create",
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/sr-latn.js b/src/languages/sr-latn.js
index 60a90d859..18fdd004d 100644
--- a/src/languages/sr-latn.js
+++ b/src/languages/sr-latn.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "Ponovite lozinku",
respTime: "Vreme odg. (ms)",
notAvailableShort: "N/A",
+ Create: "Create"
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/sr.js b/src/languages/sr.js
index dfcee7cee..449b191e2 100644
--- a/src/languages/sr.js
+++ b/src/languages/sr.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "Поновите лозинку",
respTime: "Време одг. (мс)",
notAvailableShort: "N/A",
+ Create: "Create"
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/sv-SE.js b/src/languages/sv-SE.js
index dc76babd9..174e33882 100644
--- a/src/languages/sv-SE.js
+++ b/src/languages/sv-SE.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "Upprepa Lösenord",
respTime: "Svarstid (ms)",
notAvailableShort: "Ej Tillg.",
+ Create: "Create"
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/zh-CN.js b/src/languages/zh-CN.js
index d04eabdf4..1aaec2f66 100644
--- a/src/languages/zh-CN.js
+++ b/src/languages/zh-CN.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "重复密码",
respTime: "Resp. Time (ms)",
notAvailableShort: "N/A",
+ Create: "Create"
clearEventsMsg: "Are you sure want to delete all events for this monitor?",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?",
diff --git a/src/languages/zh-HK.js b/src/languages/zh-HK.js
index 39532dfe2..b76bdfc85 100644
--- a/src/languages/zh-HK.js
+++ b/src/languages/zh-HK.js
@@ -109,6 +109,7 @@ export default {
"Repeat Password": "重複密碼",
respTime: "反應時間 (ms)",
notAvailableShort: "N/A",
+ Create: "建立",
clearEventsMsg: "是否確定刪除這個監測器的所有事件?",
clearHeartbeatsMsg: "是否確定刪除這個監測器的所有脈搏資料?",
confirmClearStatisticsMsg: "是否確定刪除所有監測器的脈搏資料?(您的監測器會繼續正常運作)",
diff --git a/src/main.js b/src/main.js
index 8f5e0a916..f34e9c43d 100644
--- a/src/main.js
+++ b/src/main.js
@@ -28,7 +28,7 @@ import zhHK from "./languages/zh-HK";
import deDE from "./languages/de-DE";
import nlNL from "./languages/nl-NL";
import esEs from "./languages/es-ES";
-import fr from "./languages/fr";
+import frFR from "./languages/fr-FR";
import ja from "./languages/ja";
import daDK from "./languages/da-DK";
import sr from "./languages/sr";
@@ -37,6 +37,7 @@ import svSE from "./languages/sv-SE";
import koKR from "./languages/ko-KR";
import ruRU from "./languages/ru-RU";
import zhCN from "./languages/zh-CN";
+import pl from "./languages/pl"
const routes = [
{
@@ -105,7 +106,7 @@ const languageList = {
"de-DE": deDE,
"nl-NL": nlNL,
"es-ES": esEs,
- "fr": fr,
+ "fr-FR": frFR,
"ja": ja,
"da-DK": daDK,
"sr": sr,
@@ -114,6 +115,7 @@ const languageList = {
"ko-KR": koKR,
"ru-RU": ruRU,
"zh-CN": zhCN,
+ "pl": pl,
};
const i18n = createI18n({
diff --git a/src/mixins/theme.js b/src/mixins/theme.js
index 44e375327..b149e1113 100644
--- a/src/mixins/theme.js
+++ b/src/mixins/theme.js
@@ -11,7 +11,7 @@ export default {
mounted() {
// Default Light
if (! this.userTheme) {
- this.userTheme = "light";
+ this.userTheme = "auto";
}
// Default Heartbeat Bar
diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue
index 95d15db6f..151df2c4d 100644
--- a/src/pages/Settings.vue
+++ b/src/pages/Settings.vue
@@ -214,6 +214,11 @@
이 기능은 Cloudflare Access와 같은 서드파티 인증을 Uptime Kuma 앞에 둔 사용자를 위한 기능이에요.
신중하게 사용하세요.
+
+ Czy na pewno chcesz wyłączyć autoryzację?
+ Jest przeznaczony dla kogoś, kto ma autoryzację zewnętrzną przed Uptime Kuma, taką jak Cloudflare Access.
+ Proszę używać ostrożnie.
+
diff --git a/src/pages/Setup.vue b/src/pages/Setup.vue
index 756aff365..dbff86837 100644
--- a/src/pages/Setup.vue
+++ b/src/pages/Setup.vue
@@ -14,6 +14,15 @@
+
+
+
+
+
@@ -29,7 +38,7 @@
@@ -49,6 +58,11 @@ export default {
repeatPassword: "",
}
},
+ watch: {
+ "$i18n.locale"() {
+ localStorage.locale = this.$i18n.locale;
+ },
+ },
mounted() {
this.$root.getSocket().emit("needSetup", (needSetup) => {
if (! needSetup) {