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({
|
||||
name: ({ t }) => t("Empty"),
|
||||
name: ({ t }) => t("Empty trash"),
|
||||
analyticsName: "Empty trash",
|
||||
section: TrashSection,
|
||||
icon: <TrashIcon />,
|
||||
|
||||
@@ -51,7 +51,7 @@ function APITokenNew({ onSubmit }: Props) {
|
||||
<Flex>
|
||||
<Input
|
||||
type="text"
|
||||
label="Name"
|
||||
label={t("Name")}
|
||||
onChange={handleNameChange}
|
||||
value={name}
|
||||
required
|
||||
@@ -60,7 +60,7 @@ function APITokenNew({ onSubmit }: Props) {
|
||||
/>
|
||||
</Flex>
|
||||
<Button type="submit" disabled={isSaving || !name}>
|
||||
{isSaving ? "Creating…" : "Create"}
|
||||
{isSaving ? `${t("Creating")}…` : t("Create")}
|
||||
</Button>
|
||||
</form>
|
||||
);
|
||||
|
||||
@@ -27,7 +27,7 @@ function Trash() {
|
||||
action={permanentlyDeleteDocumentsInTrash}
|
||||
context={context}
|
||||
>
|
||||
Empty
|
||||
{t("Empty trash")}
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
"Move {{ documentType }}": "Move {{ documentType }}",
|
||||
"Archive": "Archive",
|
||||
"Document archived": "Document archived",
|
||||
"Empty trash": "Empty trash",
|
||||
"Delete {{ documentName }}": "Delete {{ documentName }}",
|
||||
"Permanently delete": "Permanently delete",
|
||||
"Permanently delete {{ documentName }}": "Permanently delete {{ documentName }}",
|
||||
|
||||
Reference in New Issue
Block a user