Fix translation files and CallPending page
Remove i18next-parser from pre-push script because it was not
working properly.
Fix some translation entries.
Make some ALL_CAPS entries Sentence case.
GitLab: #149
Change-Id: I9d80933eefade3f04d9a81aa07bbb1b7a4503fe3
diff --git a/client/src/components/Input.tsx b/client/src/components/Input.tsx
index 40d55b6..b21b2d2 100644
--- a/client/src/components/Input.tsx
+++ b/client/src/components/Input.tsx
@@ -53,7 +53,7 @@
export type PasswordStatus = StrengthValueCode | 'registration_failed';
export type InputProps<StatusType extends NameStatus | PasswordStatus> = TextFieldProps & {
- status: StatusType;
+ status?: StatusType;
infoButtonProps?: IconButtonProps;
success?: boolean;
tooltipTitle: string;
@@ -63,7 +63,7 @@
infoButtonProps,
onChange: _onChange,
success,
- status,
+ status = 'default',
tooltipTitle,
...props
}: InputProps<NameStatus>) => {
@@ -142,7 +142,7 @@
onChange: _onChange,
success,
tooltipTitle,
- status,
+ status = 'default',
...props
}: InputProps<PasswordStatus>) => {
const { t } = useTranslation();