API KEY
diff --git a/src/components/notifications/PromoSMS.vue b/src/components/notifications/PromoSMS.vue
new file mode 100644
index 00000000..640360d0
--- /dev/null
+++ b/src/components/notifications/PromoSMS.vue
@@ -0,0 +1,39 @@
+
+
+ API LOGIN
+
+ API PASSWORD
+
+
+
+
{{ $t("SMS Type") }}
+
+ {{ $t("promosmsTypeFlash") }}
+ {{ $t("promosmsTypeEco") }}
+ {{ $t("promosmsTypeFull") }}
+ {{ $t("promosmsTypeSpeed") }}
+
+
+ https://promosms.com/cennik/
+
+
+
+ {{ $t("promosmsPhoneNumber") }}
+
+
+
+ {{ $t("promosmsSMSSender") }}
+
+
+
+
+
+
diff --git a/src/components/notifications/index.js b/src/components/notifications/index.js
index e377803e..7d70eea1 100644
--- a/src/components/notifications/index.js
+++ b/src/components/notifications/index.js
@@ -10,11 +10,13 @@ import Teams from "./Teams.vue";
import Pushover from "./Pushover.vue";
import Pushy from "./Pushy.vue";
import Octopush from "./Octopush.vue";
+import PromoSMS from "./PromoSMS.vue";
import LunaSea from "./LunaSea.vue";
import Apprise from "./Apprise.vue";
import Pushbullet from "./Pushbullet.vue";
import Line from "./Line.vue";
import Mattermost from "./Mattermost.vue";
+import Matrix from "./Matrix.vue";
/**
* Manage all notification form.
@@ -34,11 +36,13 @@ const NotificationFormList = {
"pushover": Pushover,
"pushy": Pushy,
"octopush": Octopush,
+ "promosms": PromoSMS,
"lunasea": LunaSea,
"apprise": Apprise,
"pushbullet": Pushbullet,
"line": Line,
- "mattermost": Mattermost
+ "mattermost": Mattermost,
+ "matrix": Matrix,
}
export default NotificationFormList
diff --git a/src/i18n.js b/src/i18n.js
index 53a73124..ca47742e 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -49,7 +49,10 @@ const languageList = {
const rtlLangs = ["fa"];
-export const currentLocale = () => localStorage.locale || "en";
+export const currentLocale = () => localStorage.locale
+ || languageList[navigator.language] && navigator.language
+ || languageList[navigator.language.substring(0, 2)] && navigator.language.substring(0, 2)
+ || "en";
export const localeDirection = () => {
return rtlLangs.includes(currentLocale()) ? "rtl" : "ltr";
diff --git a/src/languages/bg-BG.js b/src/languages/bg-BG.js
index 0e915255..bcf1b573 100644
--- a/src/languages/bg-BG.js
+++ b/src/languages/bg-BG.js
@@ -190,6 +190,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Поддържа 50+ услуги за инвестяване)",
pushbullet: "Pushbullet",
diff --git a/src/languages/da-DK.js b/src/languages/da-DK.js
index ad156aef..66e7cb3d 100644
--- a/src/languages/da-DK.js
+++ b/src/languages/da-DK.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/de-DE.js b/src/languages/de-DE.js
index a6cc42b3..20beb626 100644
--- a/src/languages/de-DE.js
+++ b/src/languages/de-DE.js
@@ -191,6 +191,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/en.js b/src/languages/en.js
index d8e9fcd1..8b1c28d3 100644
--- a/src/languages/en.js
+++ b/src/languages/en.js
@@ -235,11 +235,51 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
line: "Line Messenger",
mattermost: "Mattermost",
+ "User Key": "User Key",
+ "Device": "Device",
+ "Message Title": "Message Title",
+ "Notification Sound": "Notification Sound",
+ "More info on:": "More info on: {0}",
+ pushoverDesc1: "Emergency priority (2) has default 30 second timeout between retries and will expire after 1 hour.",
+ pushoverDesc2: "If you want to send notifications to different devices, fill out Device field.",
+ "SMS Type": "SMS Type",
+ octopushTypePremium: "Premium (Fast - recommended for alerting)",
+ octopushTypeLowCost: "Low Cost (Slow, sometimes blocked by operator)",
+ "Check octopush prices": "Check octopush prices {0}.",
+ octopushPhoneNumber: "Phone number (intl format, eg : +33612345678) ",
+ octopushSMSSender: "SMS Sender Name : 3-11 alphanumeric characters and space (a-zA-Z0-9)",
+ "LunaSea Device ID": "LunaSea Device ID",
+ "Apprise URL": "Apprise URL",
+ "Example:": "Example: {0}",
+ "Read more:": "Read more: {0}",
+ "Status:": "Status: {0}",
+ "Read more": "Read more",
+ appriseInstalled: "Apprise is installed.",
+ appriseNotInstalled: "Apprise is not installed. {0}",
+ "Access Token": "Access Token",
+ "Channel access token": "Channel access token",
+ "Line Developers Console": "Line Developers Console",
+ lineDevConsoleTo: "Line Developers Console - {0}",
+ "Basic Settings": "Basic Settings",
+ "User ID": "User ID",
+ "Messaging API": "Messaging API",
+ wayToGetLineChannelToken: "First access the {0}, create a provider and channel (Messaging API), then you can get the channel access token and user id from the above mentioned menu items.",
+ "Icon URL": "Icon URL",
+ aboutIconURL: "You can provide a link to a picture in \"Icon URL\" to override the default profile picture. Will not be used if Icon Emoji is set.",
+ aboutMattermostChannelName: "You can override the default channel that webhook posts to by entering the channel name into \"Channel Name\" field. This needs to be enabled in Mattermost webhook settings. Ex: #other-channel",
+ "matrix": "Matrix",
+ promosmsTypeEco: "SMS ECO - cheap but slow and often overloaded. Limited only to Polish recipients.",
+ promosmsTypeFlash: "SMS FLASH - Message will automatically show on recipient device. Limited only to Polish recipients.",
+ promosmsTypeFull: "SMS FULL - Premium tier of SMS, You can use Your Sender Name (You need to register name first). Reliable for alerts.",
+ promosmsTypeFull: "SMS SPEED - Highest priority in system. Very quick and reliable but costly (about twice of SMS FULL price).",
+ promosmsPhoneNumber: "Phone number (for Polish recipient You can skip area codes)",
+ promosmsSMSSender: "SMS Sender Name : Pre-registred name or one of defaults: InfoSMS, SMS Info, MaxSMS, INFO, SMS",
// End notification form
"Status Page": "Status Page",
Method: "Method",
diff --git a/src/languages/es-ES.js b/src/languages/es-ES.js
index 2558a686..41254b51 100644
--- a/src/languages/es-ES.js
+++ b/src/languages/es-ES.js
@@ -17,7 +17,7 @@ export default {
pauseMonitorMsg: "¿Seguro que quieres pausar?",
Settings: "Ajustes",
Dashboard: "Panel",
- "New Update": "Vueva actualización",
+ "New Update": "Nueva actualización",
Language: "Idioma",
Appearance: "Apariencia",
Theme: "Tema",
@@ -61,11 +61,11 @@ export default {
Retries: "Reintentos",
Advanced: "Avanzado",
"Upside Down Mode": "Modo invertido",
- "Max. Redirects": "Máx. redirecciones",
+ "Max. Redirects": "Redirecciones Máximas",
"Accepted Status Codes": "Códigos de estado aceptados",
Save: "Guardar",
Notifications: "Notificaciones",
- "Not available, please setup.": "No disponible, por favor configurar.",
+ "Not available, please setup.": "No disponible, por favor configúrelo.",
"Setup Notification": "Configurar notificación",
Light: "Claro",
Dark: "Oscuro",
@@ -83,11 +83,11 @@ export default {
"New Password": "Nueva contraseña",
"Repeat New Password": "Repetir nueva contraseña",
"Update Password": "Actualizar contraseña",
- "Disable Auth": "Deshabilitar Autenticación ",
- "Enable Auth": "Habilitar Autenticación ",
+ "Disable Auth": "Deshabilitar Autenticación",
+ "Enable Auth": "Habilitar Autenticación",
Logout: "Cerrar sesión",
Leave: "Salir",
- "I understand, please disable": "Lo comprendo, por favor deshabilitar",
+ "I understand, please disable": "Entiendo, por favor deshabilitar",
Confirm: "Confirmar",
Yes: "Sí",
No: "No",
@@ -100,7 +100,7 @@ export default {
"Notification Type": "Tipo de notificación",
Email: "Email",
Test: "Test",
- "Certificate Info": "Información del certificado ",
+ "Certificate Info": "Información del certificado",
"Resolver Server": "Servidor de resolución",
"Resource Record Type": "Tipo de Registro",
"Last Result": "Último resultado",
@@ -108,78 +108,78 @@ export default {
"Repeat Password": "Repetir contraseña",
respTime: "Tiempo de resp. (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?",
- "Clear Data": "Clear Data",
- Events: "Events",
- 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",
- 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",
+ Create: "Crear",
+ clearEventsMsg: "¿Está seguro de que desea eliminar todos los eventos de este monitor?",
+ clearHeartbeatsMsg: "¿Está seguro de que desea eliminar todos los latidos de este monitor?",
+ confirmClearStatisticsMsg: "¿Está seguro de que desea eliminar TODAS las estadísticas?",
+ "Clear Data": "Borrar Datos",
+ Events: "Eventos",
+ Heartbeats: "Latidos",
+ "Auto Get": "Obtener automáticamente",
+ enableDefaultNotificationDescription: "Para cada nuevo monitor, esta notificación estará habilitada de forma predeterminada. Aún puede deshabilitar la notificación por separado para cada monitor.",
+ "Default enabled": "Habilitado por defecto",
+ "Also apply to existing monitors": "También se aplica a monitores existentes",
+ Export: "Exportar",
+ Import: "Importar",
+ backupDescription: "Puede hacer una copia de seguridad de todos los monitores y todas las notificaciones en un archivo JSON.",
+ backupDescription2: "PD: el historial y los datos de eventos no están incluidos.",
+ backupDescription3: "Los datos confidenciales, como los tokens de notificación, se incluyen en el archivo de exportación. Guárdelo con cuidado.",
+ alertNoFile: "Seleccione un archivo para importar.",
+ alertWrongFileType: "Seleccione un archivo JSON.",
+ twoFAVerifyLabel: "Ingrese su token para verificar que 2FA está funcionando",
+ tokenValidSettingsMsg: "¡El token es válido! Ahora puede guardar la configuración de 2FA.",
+ confirmEnableTwoFAMsg: "¿Estás seguro de que quieres habilitar 2FA?",
+ confirmDisableTwoFAMsg: "¿Estás seguro de que quieres desactivar 2FA?",
+ "Apply on all existing monitors": "Aplicar en todos los monitores existentes",
+ "Verify Token": "Verificar token",
+ "Setup 2FA": "Configurar 2FA",
+ "Enable 2FA": "Habilitar 2FA",
+ "Disable 2FA": "Desactivar 2FA",
+ "2FA Settings": "Ajustes 2FA",
+ "Two Factor Authentication": "Autenticación de dos factores",
+ Active: "Activo",
+ Inactive: "Inactivo",
Token: "Token",
- "Show URI": "Show URI",
- "Clear all statistics": "Clear all Statistics",
- retryCheckEverySecond: "Retry every {0} seconds.",
- importHandleDescription: "Choose 'Skip existing' if you want to skip every monitor or notification with the same name. 'Overwrite' will delete every existing monitor and notification.",
- confirmImportMsg: "Are you sure to import the backup? Please make sure you've selected the right import option.",
- "Heartbeat Retry Interval": "Heartbeat Retry Interval",
- "Import Backup": "Import Backup",
- "Export Backup": "Export Backup",
- "Skip existing": "Skip existing",
- Overwrite: "Overwrite",
- Options: "Options",
- "Keep both": "Keep both",
- Tags: "Tags",
- "Add New below or Select...": "Add New below or Select...",
- "Tag with this name already exist.": "Tag with this name already exist.",
- "Tag with this value already exist.": "Tag with this value already exist.",
+ "Show URI": "Mostrar URI",
+ "Clear all statistics": "Borrar todas las estadísticas",
+ retryCheckEverySecond: "Reintentar cada {0} segundo.",
+ importHandleDescription: "Elija 'Omitir existente' si desea omitir todos los monitores o notificaciones con el mismo nombre. 'Sobrescribir' eliminará todos los monitores y notificaciones existentes.",
+ confirmImportMsg: "¿Estás seguro de importar la copia de seguridad? Asegúrese de haber seleccionado la opción de importación correcta.",
+ "Heartbeat Retry Interval": "Intervalo de reintento de latido",
+ "Import Backup": "Importar copia de seguridad",
+ "Export Backup": "Exportar copia de seguridad",
+ "Skip existing": "Omitir existente",
+ Overwrite: "Sobrescribir",
+ Options: "Opciones",
+ "Keep both": "Mantén ambos",
+ Tags: "Etiquetas",
+ "Add New below or Select...": "Agregar nuevo a continuación o Seleccionar...",
+ "Tag with this name already exist.": "La etiqueta con este nombre ya existe.",
+ "Tag with this value already exist.": "La etiqueta con este valor ya existe.",
color: "color",
- "value (optional)": "value (optional)",
- Gray: "Gray",
- Red: "Red",
- Orange: "Orange",
- Green: "Green",
- Blue: "Blue",
- Indigo: "Indigo",
- Purple: "Purple",
- Pink: "Pink",
- "Search...": "Search...",
- "Avg. Ping": "Avg. Ping",
- "Avg. Response": "Avg. Response",
- "Entry Page": "Entry Page",
- statusPageNothing: "Nothing here, please add a group or a monitor.",
- "No Services": "No Services",
- "All Systems Operational": "All Systems Operational",
- "Partially Degraded Service": "Partially Degraded Service",
- "Degraded Service": "Degraded Service",
- "Add Group": "Add Group",
- "Add a monitor": "Add a monitor",
- "Edit Status Page": "Edit Status Page",
- "Go to Dashboard": "Go to Dashboard",
- "Status Page": "Status Page",
+ "value (optional)": "valor (opcional)",
+ Gray: "Gris",
+ Red: "Rojo",
+ Orange: "Naranja",
+ Green: "Verde",
+ Blue: "Azul",
+ Indigo: "Índigo",
+ Purple: "Morado",
+ Pink: "Rosa",
+ "Search...": "Buscar...",
+ "Avg. Ping": "Ping promedio",
+ "Avg. Response": "Respuesta promedio",
+ "Entry Page": "Página de entrada",
+ statusPageNothing: "No hay nada aquí, agregue un grupo o un monitor.",
+ "No Services": "Sin servicio",
+ "All Systems Operational": "Todos los sistemas están operativos",
+ "Partially Degraded Service": "Servicio parcialmente degradado",
+ "Degraded Service": "Servicio degradado",
+ "Add Group": "Agregar Grupo",
+ "Add a monitor": "Agregar un monitor",
+ "Edit Status Page": "Editar página de estado",
+ "Go to Dashboard": "Ir al panel de control",
+ "Status Page": "Página de estado",
telegram: "Telegram",
webhook: "Webhook",
smtp: "Email (SMTP)",
@@ -192,8 +192,9 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
- apprise: "Apprise (Support 50+ Notification services)",
+ apprise: "Apprise (Admite más de 50 servicios de notificación)",
pushbullet: "Pushbullet",
line: "Line Messenger",
mattermost: "Mattermost",
diff --git a/src/languages/et-EE.js b/src/languages/et-EE.js
index a6be8232..52439f5f 100644
--- a/src/languages/et-EE.js
+++ b/src/languages/et-EE.js
@@ -191,6 +191,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (vahendab üle 65 teavitusteenust)",
pushbullet: "Pushbullet",
diff --git a/src/languages/fa.js b/src/languages/fa.js
index d686488f..7eed151a 100644
--- a/src/languages/fa.js
+++ b/src/languages/fa.js
@@ -199,6 +199,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/fr-FR.js b/src/languages/fr-FR.js
index 6ef69f0a..9f234f7a 100644
--- a/src/languages/fr-FR.js
+++ b/src/languages/fr-FR.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/hu.js b/src/languages/hu.js
index 039cf670..47ac72d6 100644
--- a/src/languages/hu.js
+++ b/src/languages/hu.js
@@ -190,6 +190,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/it-IT.js b/src/languages/it-IT.js
index b318c97e..5ddc414f 100644
--- a/src/languages/it-IT.js
+++ b/src/languages/it-IT.js
@@ -191,6 +191,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/ja.js b/src/languages/ja.js
index 5042d18b..f96028e4 100644
--- a/src/languages/ja.js
+++ b/src/languages/ja.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/ko-KR.js b/src/languages/ko-KR.js
index 6cb86ed2..9d5cb5bd 100644
--- a/src/languages/ko-KR.js
+++ b/src/languages/ko-KR.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/nl-NL.js b/src/languages/nl-NL.js
index 51296eb8..a9e8f6a3 100644
--- a/src/languages/nl-NL.js
+++ b/src/languages/nl-NL.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/pl.js b/src/languages/pl.js
index 9a079a9c..05101c6a 100644
--- a/src/languages/pl.js
+++ b/src/languages/pl.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (obsługuje 50+ usług powiadamiania)",
pushbullet: "Pushbullet",
diff --git a/src/languages/pt-BR.js b/src/languages/pt-BR.js
index 201314bb..70647fd9 100644
--- a/src/languages/pt-BR.js
+++ b/src/languages/pt-BR.js
@@ -191,6 +191,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/ru-RU.js b/src/languages/ru-RU.js
index f466ff79..2dd3eafb 100644
--- a/src/languages/ru-RU.js
+++ b/src/languages/ru-RU.js
@@ -196,6 +196,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/sr-latn.js b/src/languages/sr-latn.js
index f249f568..9e66aa54 100644
--- a/src/languages/sr-latn.js
+++ b/src/languages/sr-latn.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/sr.js b/src/languages/sr.js
index 8ea651b7..df8e9899 100644
--- a/src/languages/sr.js
+++ b/src/languages/sr.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/sv-SE.js b/src/languages/sv-SE.js
index 997d94a7..e29d355c 100644
--- a/src/languages/sv-SE.js
+++ b/src/languages/sv-SE.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/tr-TR.js b/src/languages/tr-TR.js
index 614ab0ee..8c404a7d 100644
--- a/src/languages/tr-TR.js
+++ b/src/languages/tr-TR.js
@@ -191,6 +191,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/zh-CN.js b/src/languages/zh-CN.js
index 65e8909a..40db94e2 100644
--- a/src/languages/zh-CN.js
+++ b/src/languages/zh-CN.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
pushbullet: "Pushbullet",
diff --git a/src/languages/zh-HK.js b/src/languages/zh-HK.js
index ea81f7f3..7f5e2259 100644
--- a/src/languages/zh-HK.js
+++ b/src/languages/zh-HK.js
@@ -192,6 +192,7 @@ export default {
pushover: "Pushover",
pushy: "Pushy",
octopush: "Octopush",
+ promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (支援 50 多種通知)",
pushbullet: "Pushbullet",
diff --git a/src/main.js b/src/main.js
index 79ba2d1d..14b87f49 100644
--- a/src/main.js
+++ b/src/main.js
@@ -43,3 +43,9 @@ app.component("Editable", contenteditable);
app.component("FontAwesomeIcon", FontAwesomeIcon);
app.mount("#app");
+
+// Expose the vue instance for development
+if (process.env.NODE_ENV === "development") {
+ console.log("Dev Only: window.app is the vue instance");
+ window.app = app._instance;
+}
diff --git a/src/mixins/public.js b/src/mixins/public.js
index ba8457a0..a3e12f46 100644
--- a/src/mixins/public.js
+++ b/src/mixins/public.js
@@ -38,11 +38,15 @@ export default {
},
baseURL() {
+ if (this.$root.info.primaryBaseURL) {
+ return this.$root.info.primaryBaseURL;
+ }
+
if (env === "development" || localStorage.dev === "dev") {
return axios.defaults.baseURL;
} else {
return location.protocol + "//" + location.host;
}
- }
+ },
}
};
diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue
index 6a1a113b..96448c6d 100644
--- a/src/pages/EditMonitor.vue
+++ b/src/pages/EditMonitor.vue
@@ -171,7 +171,7 @@
-