mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-19 18:45:48 -07:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 28ddad8828 | |||
| b8ed72a03f | |||
| ebff6f4a7d | |||
| e890b544dc | |||
| f7666df9d8 |
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- name: crowdin action
|
- name: crowdin action
|
||||||
uses: crowdin/github-action@71fdb8814261dd703be4ca7c6450d21b1868da4b # v3.0.1
|
uses: crowdin/github-action@0d5670f539973aea2f01abce61a8989934df0025 # v3.0.2
|
||||||
with:
|
with:
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
download_translations: true
|
download_translations: true
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
|
nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
|
||||||
- run: sudo apt-get install pngquant
|
- run: sudo apt-get install pngquant
|
||||||
- name: Test Docs Build
|
- name: Test Docs Build
|
||||||
run: uv run --frozen zensical build --clean
|
run: uv run --frozen zensical build --clean
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
|
||||||
- run: sudo apt-get install pngquant
|
- run: sudo apt-get install pngquant
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: uv run --frozen zensical build --clean
|
run: uv run --frozen zensical build --clean
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 9
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"seconds": "s"
|
"seconds": "s"
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"signout": "Sign out"
|
"signout": "Log af"
|
||||||
},
|
},
|
||||||
"widget": {
|
"widget": {
|
||||||
"missing_type": "Manglende Widget Type: {{type}}",
|
"missing_type": "Manglende Widget Type: {{type}}",
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Søg…",
|
"placeholder": "Søg…",
|
||||||
"provider": "Search engine: {{name}}",
|
"provider": "Søgemaskine: {{name}}",
|
||||||
"select_provider": "Select search engine"
|
"select_provider": "Vælg søgemaskine"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"cpu": "CPU",
|
"cpu": "CPU",
|
||||||
@@ -68,22 +68,22 @@
|
|||||||
"wlan_users": "WLAN Brugere",
|
"wlan_users": "WLAN Brugere",
|
||||||
"up": "UP",
|
"up": "UP",
|
||||||
"down": "NED",
|
"down": "NED",
|
||||||
"wait": "Please wait",
|
"wait": "Vent",
|
||||||
"empty_data": "Subsystem status ukendt"
|
"empty_data": "Subsystem status ukendt"
|
||||||
},
|
},
|
||||||
"unifi_drive": {
|
"unifi_drive": {
|
||||||
"healthy": "Healthy",
|
"healthy": "Sund",
|
||||||
"degraded": "Degraded",
|
"degraded": "Degraded",
|
||||||
"no_data": "No storage data available"
|
"no_data": "No storage data available"
|
||||||
},
|
},
|
||||||
"duplicati": {
|
"duplicati": {
|
||||||
"jobs": "Jobs",
|
"jobs": "Jobs",
|
||||||
"stored": "Stored",
|
"stored": "Stored",
|
||||||
"lastBackup": "Last Run",
|
"lastBackup": "Sidste kørsel",
|
||||||
"nextRun": "Next Run",
|
"nextRun": "Næste kørsel",
|
||||||
"running": "Running",
|
"running": "Kører",
|
||||||
"warnings": "Warnings",
|
"warnings": "Advarsel",
|
||||||
"errors": "Errors"
|
"errors": "Fejl"
|
||||||
},
|
},
|
||||||
"docker": {
|
"docker": {
|
||||||
"rx": "RX",
|
"rx": "RX",
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
"dead": "Dead"
|
"dead": "Dead"
|
||||||
},
|
},
|
||||||
"ping": {
|
"ping": {
|
||||||
"error": "Error",
|
"error": "Fejl",
|
||||||
"ping": "Ping",
|
"ping": "Ping",
|
||||||
"down": "Ned",
|
"down": "Ned",
|
||||||
"up": "Op",
|
"up": "Op",
|
||||||
@@ -115,11 +115,11 @@
|
|||||||
},
|
},
|
||||||
"siteMonitor": {
|
"siteMonitor": {
|
||||||
"http_status": "HTTP-status",
|
"http_status": "HTTP-status",
|
||||||
"error": "Error",
|
"error": "Fejl",
|
||||||
"response": "Response",
|
"response": "Response",
|
||||||
"down": "Down",
|
"down": "Down",
|
||||||
"up": "Up",
|
"up": "Op",
|
||||||
"not_available": "Not Available"
|
"not_available": "Ikke tilgængelig"
|
||||||
},
|
},
|
||||||
"emby": {
|
"emby": {
|
||||||
"playing": "Afspiller",
|
"playing": "Afspiller",
|
||||||
@@ -132,22 +132,22 @@
|
|||||||
"songs": "Sange"
|
"songs": "Sange"
|
||||||
},
|
},
|
||||||
"jellyfin": {
|
"jellyfin": {
|
||||||
"playing": "Playing",
|
"playing": "Afspiller",
|
||||||
"transcoding": "Transcoding",
|
"transcoding": "Transcoding",
|
||||||
"bitrate": "Bitrate",
|
"bitrate": "Bitrate",
|
||||||
"no_active": "No Active Streams",
|
"no_active": "No Active Streams",
|
||||||
"movies": "Movies",
|
"movies": "Film",
|
||||||
"series": "Series",
|
"series": "Serier",
|
||||||
"episodes": "Episodes",
|
"episodes": "Episoder",
|
||||||
"songs": "Songs",
|
"songs": "Sange",
|
||||||
"albums": "Albums"
|
"albums": "Album"
|
||||||
},
|
},
|
||||||
"esphome": {
|
"esphome": {
|
||||||
"offline": "Offline",
|
"offline": "Offline",
|
||||||
"offline_alt": "Offline",
|
"offline_alt": "Offline",
|
||||||
"online": "Online",
|
"online": "Online",
|
||||||
"total": "Total",
|
"total": "Total",
|
||||||
"unknown": "Unknown"
|
"unknown": "Ukendt"
|
||||||
},
|
},
|
||||||
"evcc": {
|
"evcc": {
|
||||||
"pv_power": "Produktion",
|
"pv_power": "Produktion",
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
"fritzbox": {
|
"fritzbox": {
|
||||||
"connectionStatus": "Status",
|
"connectionStatus": "Status",
|
||||||
"connectionStatusUnconfigured": "Unconfigured",
|
"connectionStatusUnconfigured": "Unconfigured",
|
||||||
"connectionStatusConnecting": "Connecting",
|
"connectionStatusConnecting": "Forbinder",
|
||||||
"connectionStatusAuthenticating": "Authenticating",
|
"connectionStatusAuthenticating": "Authenticating",
|
||||||
"connectionStatusPendingDisconnect": "Pending Disconnect",
|
"connectionStatusPendingDisconnect": "Pending Disconnect",
|
||||||
"connectionStatusDisconnecting": "Disconnecting",
|
"connectionStatusDisconnecting": "Disconnecting",
|
||||||
@@ -179,12 +179,12 @@
|
|||||||
"uptime": "Uptime",
|
"uptime": "Uptime",
|
||||||
"maxDown": "Max. Down",
|
"maxDown": "Max. Down",
|
||||||
"maxUp": "Max. Up",
|
"maxUp": "Max. Up",
|
||||||
"down": "Down",
|
"down": "Ned",
|
||||||
"up": "Up",
|
"up": "Op",
|
||||||
"received": "Modtaget",
|
"received": "Modtaget",
|
||||||
"sent": "Sendt",
|
"sent": "Sendt",
|
||||||
"externalIPAddress": "Ekstern IP",
|
"externalIPAddress": "Ekstern IP",
|
||||||
"externalIPv6Address": "Ext. IPv6",
|
"externalIPv6Address": "Ekstern IPv6",
|
||||||
"externalIPv6Prefix": "Ext. IPv6-Prefix"
|
"externalIPv6Prefix": "Ext. IPv6-Prefix"
|
||||||
},
|
},
|
||||||
"caddy": {
|
"caddy": {
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
"passes": "Bestået"
|
"passes": "Bestået"
|
||||||
},
|
},
|
||||||
"tautulli": {
|
"tautulli": {
|
||||||
"playing": "Playing",
|
"playing": "Afspiller",
|
||||||
"transcoding": "Transcoding",
|
"transcoding": "Transcoding",
|
||||||
"bitrate": "Bitrate",
|
"bitrate": "Bitrate",
|
||||||
"no_active": "No Active Streams",
|
"no_active": "No Active Streams",
|
||||||
@@ -231,7 +231,7 @@
|
|||||||
"plex": {
|
"plex": {
|
||||||
"streams": "Aktive Streams",
|
"streams": "Aktive Streams",
|
||||||
"albums": "Albums",
|
"albums": "Albums",
|
||||||
"movies": "Movies",
|
"movies": "Film",
|
||||||
"tv": "TV-Shows"
|
"tv": "TV-Shows"
|
||||||
},
|
},
|
||||||
"sabnzbd": {
|
"sabnzbd": {
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ const widget = {
|
|||||||
},
|
},
|
||||||
"nodes/localhost/tasks": {
|
"nodes/localhost/tasks": {
|
||||||
endpoint: "nodes/localhost/tasks",
|
endpoint: "nodes/localhost/tasks",
|
||||||
params: ["errors", "limit", "since"],
|
params: ["errors", "limit"],
|
||||||
|
optionalParams: ["since"],
|
||||||
},
|
},
|
||||||
"nodes/localhost/status": {
|
"nodes/localhost/status": {
|
||||||
endpoint: "nodes/localhost/status",
|
endpoint: "nodes/localhost/status",
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ describe("proxmoxbackupserver widget config", () => {
|
|||||||
expectWidgetConfigShape(widget);
|
expectWidgetConfigShape(widget);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("requires failed task query params for the tasks endpoint", () => {
|
it("requires failed task query params for the tasks endpoint, with since optional", () => {
|
||||||
expect(widget.mappings["nodes/localhost/tasks"].params).toEqual(["errors", "limit", "since"]);
|
expect(widget.mappings["nodes/localhost/tasks"].params).toEqual(["errors", "limit"]);
|
||||||
|
expect(widget.mappings["nodes/localhost/tasks"].optionalParams).toEqual(["since"]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user