Handle several translation issues (#6820)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -831,7 +831,7 @@ export const permanentlyDeleteDocument = createAction({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const permanentlyDeleteDocumentsInTrash = createAction({
|
export const permanentlyDeleteDocumentsInTrash = createAction({
|
||||||
name: ({ t }) => t("Empty"),
|
name: ({ t }) => t("Empty trash"),
|
||||||
analyticsName: "Empty trash",
|
analyticsName: "Empty trash",
|
||||||
section: TrashSection,
|
section: TrashSection,
|
||||||
icon: <TrashIcon />,
|
icon: <TrashIcon />,
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ function APITokenNew({ onSubmit }: Props) {
|
|||||||
<Flex>
|
<Flex>
|
||||||
<Input
|
<Input
|
||||||
type="text"
|
type="text"
|
||||||
label="Name"
|
label={t("Name")}
|
||||||
onChange={handleNameChange}
|
onChange={handleNameChange}
|
||||||
value={name}
|
value={name}
|
||||||
required
|
required
|
||||||
@@ -60,7 +60,7 @@ function APITokenNew({ onSubmit }: Props) {
|
|||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Button type="submit" disabled={isSaving || !name}>
|
<Button type="submit" disabled={isSaving || !name}>
|
||||||
{isSaving ? "Creating…" : "Create"}
|
{isSaving ? `${t("Creating")}…` : t("Create")}
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ function Trash() {
|
|||||||
action={permanentlyDeleteDocumentsInTrash}
|
action={permanentlyDeleteDocumentsInTrash}
|
||||||
context={context}
|
context={context}
|
||||||
>
|
>
|
||||||
Empty
|
{t("Empty trash")}
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,7 @@
|
|||||||
"Move {{ documentType }}": "Move {{ documentType }}",
|
"Move {{ documentType }}": "Move {{ documentType }}",
|
||||||
"Archive": "Archive",
|
"Archive": "Archive",
|
||||||
"Document archived": "Document archived",
|
"Document archived": "Document archived",
|
||||||
|
"Empty trash": "Empty trash",
|
||||||
"Delete {{ documentName }}": "Delete {{ documentName }}",
|
"Delete {{ documentName }}": "Delete {{ documentName }}",
|
||||||
"Permanently delete": "Permanently delete",
|
"Permanently delete": "Permanently delete",
|
||||||
"Permanently delete {{ documentName }}": "Permanently delete {{ documentName }}",
|
"Permanently delete {{ documentName }}": "Permanently delete {{ documentName }}",
|
||||||
|
|||||||
Reference in New Issue
Block a user