i18n: Migrate hard strings (#2353)

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
Still Hsu
2022-03-09 09:42:08 +08:00
committed by GitHub
parent d88515abcd
commit a05952829c
30 changed files with 209 additions and 74 deletions

View File

@@ -592,7 +592,9 @@ export const LightboxComponent: React.FC<IProps> = ({
<Button
ref={overlayTarget}
variant="link"
title="Options"
title={intl.formatMessage({
id: "dialogs.lightbox.options",
})}
onClick={() => setShowOptions(!showOptions)}
>
<Icon icon="cog" />