diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml
index e86d7dd00..9063c2e16 100644
--- a/.github/workflows/auto-test.yml
+++ b/.github/workflows/auto-test.yml
@@ -22,6 +22,7 @@ jobs:
contents: read
strategy:
+ fail-fast: false
matrix:
os: [macos-latest, ubuntu-22.04, windows-latest, ubuntu-22.04-arm]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
@@ -41,13 +42,13 @@ jobs:
id: node-modules-cache
with:
path: node_modules
- key: node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
+ key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: ${{ matrix.node }}
- - run: npm install
+ - run: npm clean-install --no-fund
- name: Rebuild native modules for ARM64
if: matrix.os == 'ubuntu-22.04-arm'
@@ -65,6 +66,7 @@ jobs:
permissions:
contents: read
strategy:
+ fail-fast: false
matrix:
node: [ 20, 22 ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
@@ -86,8 +88,8 @@ jobs:
docker run --rm --platform linux/arm/v7 \
-v $PWD:/workspace \
-w /workspace \
- arm32v7/node:${{ matrix.node }}-slim \
- bash -c "npm install --production"
+ arm32v7/node:${{ matrix.node }} \
+ npm clean-install --no-fund --production
check-linters:
runs-on: ubuntu-latest
@@ -104,13 +106,13 @@ jobs:
id: node-modules-cache
with:
path: node_modules
- key: node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
+ key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Use Node.js 20
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 20
- - run: npm install
+ - run: npm clean-install --no-fund
- run: npm run lint:prod
e2e-test:
@@ -129,13 +131,13 @@ jobs:
id: node-modules-cache
with:
path: node_modules
- key: node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
+ key: node-modules-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Setup Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 22
- - run: npm install
+ - run: npm clean-install --no-fund
- name: Rebuild native modules for ARM64
run: npm rebuild @louislam/sqlite3
diff --git a/src/components/APIKeyDialog.vue b/src/components/APIKeyDialog.vue
index a103cf097..6e77c0245 100644
--- a/src/components/APIKeyDialog.vue
+++ b/src/components/APIKeyDialog.vue
@@ -7,7 +7,7 @@
{{ $t("Add API Key") }}
-
+
@@ -67,7 +67,7 @@
{{ $t("Key Added") }}
-
+
diff --git a/src/components/BadgeGeneratorDialog.vue b/src/components/BadgeGeneratorDialog.vue
index 7faa4c532..c4b0ec363 100644
--- a/src/components/BadgeGeneratorDialog.vue
+++ b/src/components/BadgeGeneratorDialog.vue
@@ -6,7 +6,7 @@
{{ $t("Badge Generator", [monitor.name]) }}
-
+
diff --git a/src/components/Confirm.vue b/src/components/Confirm.vue
index e855b6769..fd135e0f0 100644
--- a/src/components/Confirm.vue
+++ b/src/components/Confirm.vue
@@ -6,17 +6,17 @@
{{ title || $t("Confirm") }}
-
+
@@ -37,12 +37,12 @@ export default {
/** Text to use as yes */
yesText: {
type: String,
- default: "Yes", // TODO: No idea what to translate this
+ default: null,
},
/** Text to use as no */
noText: {
type: String,
- default: "No",
+ default: null,
},
/** Title to show on modal. Defaults to translated version of "Config" */
title: {
diff --git a/src/components/CreateGroupDialog.vue b/src/components/CreateGroupDialog.vue
index 8bac1ccd0..8eed853c1 100644
--- a/src/components/CreateGroupDialog.vue
+++ b/src/components/CreateGroupDialog.vue
@@ -6,7 +6,7 @@
{{ $t("New Group") }}
-
+
diff --git a/src/components/MonitorSettingDialog.vue b/src/components/MonitorSettingDialog.vue
index 8723c4862..74ddae1c8 100644
--- a/src/components/MonitorSettingDialog.vue
+++ b/src/components/MonitorSettingDialog.vue
@@ -6,7 +6,7 @@
{{ $t("Monitor Setting", [monitor.name]) }}
-
+
diff --git a/src/components/NotificationDialog.vue b/src/components/NotificationDialog.vue
index 3c668c9ba..1d2902103 100644
--- a/src/components/NotificationDialog.vue
+++ b/src/components/NotificationDialog.vue
@@ -7,7 +7,7 @@
{{ $t("Setup Notification") }}
-
+
diff --git a/src/components/ProxyDialog.vue b/src/components/ProxyDialog.vue
index aae635469..c17bc4fc3 100644
--- a/src/components/ProxyDialog.vue
+++ b/src/components/ProxyDialog.vue
@@ -7,7 +7,7 @@
{{ $t("Setup Proxy") }}
-
+
diff --git a/src/components/RemoteBrowserDialog.vue b/src/components/RemoteBrowserDialog.vue
index 941ab8f7d..bc87ce691 100644
--- a/src/components/RemoteBrowserDialog.vue
+++ b/src/components/RemoteBrowserDialog.vue
@@ -7,7 +7,7 @@
{{ $t("Add a Remote Browser") }}
-
+
diff --git a/src/components/ScreenshotDialog.vue b/src/components/ScreenshotDialog.vue
index bc829095d..25ce0042f 100644
--- a/src/components/ScreenshotDialog.vue
+++ b/src/components/ScreenshotDialog.vue
@@ -6,10 +6,10 @@
{{ $t("Browser Screenshot") }}
-
+
-
+
diff --git a/src/components/TagEditDialog.vue b/src/components/TagEditDialog.vue
index 77fce2609..6fcb62b39 100644
--- a/src/components/TagEditDialog.vue
+++ b/src/components/TagEditDialog.vue
@@ -7,7 +7,7 @@
{{ $t("Edit Tag") }}
-
+
diff --git a/src/components/TwoFADialog.vue b/src/components/TwoFADialog.vue
index 6a0bf406a..44c64a57b 100644
--- a/src/components/TwoFADialog.vue
+++ b/src/components/TwoFADialog.vue
@@ -9,7 +9,7 @@
{{ $t("Active") }}
{{ $t("Inactive") }}
-
+
diff --git a/src/components/Uptime.vue b/src/components/Uptime.vue
index 64bbd4e51..661030b72 100644
--- a/src/components/Uptime.vue
+++ b/src/components/Uptime.vue
@@ -85,12 +85,12 @@ export default {
title() {
if (this.type === "1y") {
- return `1${this.$t("-year")}`;
+ return `1 ${this.$tc("year", 1)}`;
}
if (this.type === "720") {
- return `30${this.$t("-day")}`;
+ return `30 ${this.$tc("day", 30)}`;
}
- return `24${this.$t("-hour")}`;
+ return `24 ${this.$tc("hour", 24)}`;
}
},
};
diff --git a/src/components/settings/Appearance.vue b/src/components/settings/Appearance.vue
index a1391d614..f80cd6677 100644
--- a/src/components/settings/Appearance.vue
+++ b/src/components/settings/Appearance.vue
@@ -20,7 +20,7 @@
{{ pingTitle(true) }}
- (24{{ $t("-hour") }})
+ ({{ 24 }} {{ $tc("hour", 24) }})
@@ -250,7 +250,7 @@
>
{{ $t("Uptime") }}
- (24{{ $t("-hour") }})
+ ({{ 24 }} {{ $tc("hour", 24) }})
@@ -263,7 +263,7 @@
>
{{ $t("Uptime") }}
- (30{{ $t("-day") }})
+ ({{ 30 }} {{ $tc("day", 30) }})
@@ -276,7 +276,7 @@
>
{{ $t("Uptime") }}
- (1{{ $t("-year") }})
+ ({{ 1 }} {{ $tc("year", 1) }})
diff --git a/src/pages/SetupDatabase.vue b/src/pages/SetupDatabase.vue
index 81738a98b..6b3983d1c 100644
--- a/src/pages/SetupDatabase.vue
+++ b/src/pages/SetupDatabase.vue
@@ -33,7 +33,7 @@
{{ $t("setupDatabaseChooseDatabase") }}
-