Skip to content

Commit 698db9c

Browse files
committed
services: translate strings
1 parent 81af7d0 commit 698db9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/systemd/services.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@ class ServicesPageBody extends React.Component {
597597
if (failed.size > 0) {
598598
page_status.set_own({
599599
type: "error",
600-
title: cockpit.format(cockpit.ngettext("$0 service has failed",
601-
"$0 services have failed",
600+
title: cockpit.format(cockpit.ngettext(_("$0 service has failed"),
601+
_("$0 services have failed"),
602602
failed.size), failed.size),
603603
details: [...failed]
604604
});
@@ -869,7 +869,7 @@ const ServicesPageFilters = ({
869869
clearAllFilters={onClearAllFilters}
870870
className="pf-m-sticky-top ct-compact services-toolbar"
871871
id="services-toolbar"
872-
numberOfFiltersText={n => cockpit.format("$0 filters applied")}>
872+
numberOfFiltersText={n => cockpit.format(_("$0 filters applied"), n)}>
873873
<ToolbarContent>{toolbarItems}</ToolbarContent>
874874
</Toolbar>
875875
);

0 commit comments

Comments
 (0)