Updated i18n and template witj

This commit is contained in:
iotux 2025-12-19 03:57:07 +01:00
parent 4b1a4485cd
commit 0728de08ee
2 changed files with 5 additions and 5 deletions

View File

@ -1029,12 +1029,12 @@
"systemServiceDescription": "Checks if system service",
"systemServiceDescriptionLinux": "Checks if Linux systemd service",
"systemServiceDescriptionWindows": "Checks if Windows Service Manager",
"systemServiceActiveText": "is active.",
"systemServiceActiveText": "service is active.",
"systemServiceLinuxLabel": "Show Linux Debug Command",
"systemServiceWindowsLabel": "Show Windows Debug Command",
"systemServiceExpectedOutput": "Expected Output",
"systemServiceActiveTextLinux": "active",
"systemServiceActiveTextWindows": "Running",
"systemServiceActiveResultLinux": "\"active\"",
"systemServiceActiveResultWindows": "\"Running\"",
"Browser Screenshot": "Browser Screenshot",
"Command": "Command",
"mongodbCommandDescription": "Run a MongoDB command against the database. For information about the available commands check out the {documentation}",

View File

@ -693,7 +693,7 @@
</summary>
<div class="p-2 ps-4">
<code>systemctl is-active {{ monitor.system_service_name || 'nginx' }}</code>
<div class="text-secondary small mt-1">{{ "systemServiceExpectedOutput" }}: {{ systemServiceActiveTextLinux }}</div>
<div class="text-secondary small mt-1">{{ $t("systemServiceExpectedOutput") }}: {{ $t("systemServiceActiveResultLinux") }}</div>
</div>
</details>
@ -709,7 +709,7 @@
</summary>
<div class="p-2 ps-4">
<code>(Get-Service -Name "{{ monitor.system_service_name || 'nginx' }}").Status</code>
<div class="text-secondary small mt-1">{{ "systemServiceExpectedOutput" }}: {{ systemServiceActiveTextWindows }}</div>
<div class="text-secondary small mt-1">{{ $t("systemServiceExpectedOutput") }}: {{ $t("systemServiceActiveResultWindows") }}</div>
</div>
</details>
</div>