Updated i18n and template to be OS sensitive

This commit is contained in:
iotux
2025-12-18 10:08:30 +01:00
parent 5a7dbf2b01
commit 4b1a4485cd
2 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -1024,17 +1024,19 @@
"useRemoteBrowser": "Use a Remote Browser",
"deleteRemoteBrowserMessage": "Are you sure want to delete this Remote Browser for all monitors?",
"GrafanaOncallUrl": "Grafana Oncall URL",
"System Service": "System Service",
"Service Name": "Service Name",
"systemService": "System Service",
"systemServiceName": "Service Name",
"systemServiceDescription": "Checks if system service",
"systemServiceDescriptionLinux": "Checks if Linux systemd service",
"systemServiceDescriptionWindows": "Checks if Windows Service Manager",
"systemServiceActiveText": "is active.",
"systemServiceLinuxLabel": "Show Linux Debug Command",
"systemServiceWindowsLabel": "Show Windows Debug Command",
"systemServiceExpectedOutput": "Expected Output",
"systemServiceActiveTextLinux": "active",
"systemServiceActiveTextWindows": "Running",
"Browser Screenshot": "Browser Screenshot",
"Command": "Command",
"Expected Output": "Expected Output",
"mongodbCommandDescription": "Run a MongoDB command against the database. For information about the available commands check out the {documentation}",
"wayToGetSevenIOApiKey": "Visit the dashboard under app.seven.io > developer > api key > the green add button",
"senderSevenIO": "Sending number or name",
+2 -2
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">ExpectedOutput: 'active'</div>
<div class="text-secondary small mt-1">{{ "systemServiceExpectedOutput" }}: {{ systemServiceActiveTextLinux }}</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">ExpectedOutput: 'Running'</div>
<div class="text-secondary small mt-1">{{ "systemServiceExpectedOutput" }}: {{ systemServiceActiveTextWindows }}</div>
</div>
</details>
</div>