Skip to content

Commit 229b3e1

Browse files
committed
fix(i18n): remove external ns in renderer
Signed-off-by: Innei <tukon479@gmail.com>
1 parent 7916803 commit 229b3e1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/renderer/src/components/ui/media/preview-media.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Wrapper: Component<{
2929
sideContent?: React.ReactNode
3030
}> = ({ children, src, showActions, sideContent }) => {
3131
const { dismiss } = useCurrentModal()
32-
const { t } = useTranslation(["shortcuts", "external"])
32+
const { t } = useTranslation(["shortcuts", "common"])
3333

3434
return (
3535
<div className="center relative size-full px-20 pb-8 pt-10" onClick={dismiss}>
@@ -71,7 +71,7 @@ const Wrapper: Component<{
7171
<Fragment>
7272
{IN_ELECTRON && (
7373
<ActionButton
74-
tooltip={t("external:header.download")}
74+
tooltip={t("common:words.download")}
7575
onClick={() => {
7676
tipcClient?.download(src)
7777
}}

locales/common/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"words.copy": "Copy",
1919
"words.create": "Create",
2020
"words.delete": "Delete",
21+
"words.download": "Download",
2122
"words.edit": "Edit",
2223
"words.entry": "Entry",
2324
"words.expand": "Expand",

0 commit comments

Comments
 (0)