From 832c896b74ee9ae49d385cb22e1266cd20f9ed2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?=
Date: Mon, 28 Aug 2023 18:31:56 +0200
Subject: [PATCH] Mark the iSCSI texts for translation
---
.../components/storage/iscsi/AuthFields.jsx | 37 ++++++++++---------
.../components/storage/iscsi/DiscoverForm.jsx | 26 +++++++------
.../components/storage/iscsi/EditNodeForm.jsx | 5 ++-
.../storage/iscsi/InitiatorForm.jsx | 9 +++--
.../storage/iscsi/InitiatorPresenter.jsx | 17 +++++----
.../storage/iscsi/InitiatorSection.jsx | 4 +-
.../components/storage/iscsi/LoginForm.jsx | 14 ++++---
.../storage/iscsi/NodeStartupOptions.js | 8 ++--
.../storage/iscsi/NodesPresenter.jsx | 36 ++++++++++--------
.../storage/iscsi/TargetsSection.jsx | 14 ++++---
10 files changed, 100 insertions(+), 70 deletions(-)
diff --git a/web/src/components/storage/iscsi/AuthFields.jsx b/web/src/components/storage/iscsi/AuthFields.jsx
index 6b43c84127..09cebbbcd8 100644
--- a/web/src/components/storage/iscsi/AuthFields.jsx
+++ b/web/src/components/storage/iscsi/AuthFields.jsx
@@ -24,6 +24,7 @@ import { FormGroup, TextInput } from "@patternfly/react-core";
import { Fieldset } from "~/components/core";
import { Icon } from "~/components/layout";
+import { _ } from "~/i18n";
export default function AuthFields({ data, onChange, onValidate }) {
const onUsernameChange = v => onChange("username", v);
@@ -66,62 +67,62 @@ export default function AuthFields({ data, onChange, onValidate }) {
size="16"
style={{ verticalAlign: "text-bottom", marginRight: "0.3em" }}
/>
- Only available if authentication by target is provided
+ {_("Only available if authentication by target is provided")}
);
};
return (
<>
-