fix: add template to new msg bar translation

This commit is contained in:
Paul Makles 2021-12-30 15:12:38 +00:00
parent 5417632f87
commit 7496f484e1
3 changed files with 7 additions and 36 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 5a7d7b93129195abd644db87097bd87958ea2170
Subproject commit 0ac705b5599bf9ddf538f3ada1bffd67b2206b57

View file

@ -49,8 +49,12 @@ export default observer(
}
}}>
<div>
<Text id="app.main.channel.misc.new_messages" />{" "}
{dayjs(decodeTime(last_id)).fromNow()}
<Text
id="app.main.channel.misc.new_messages"
fields={{
time_ago: dayjs(decodeTime(last_id)).fromNow(),
}}
/>
</div>
<div>
<Text id="app.main.channel.misc.jump_beginning" />

View file

@ -247,39 +247,6 @@ export const DisplayTransparencyShim = observer(() => {
);
});
export const ThemeOptionsShim = observer(() => {
const settings = useApplicationState().settings;
return (
<>
{/* TOFIX: WIP feature - follows system theme */}
{/*<Checkbox
checked={settings.get("appearance:seasonal") ?? true}
onChange={(v) => settings.set("appearance:seasonal", v)}
description={
<Text id="app.settings.pages.appearance.theme_options.follow_desc" />
}>
<Text id="app.settings.pages.appearance.theme_options.follow" />
</Checkbox>*/}
{/* THIS CHECKBOX ENABLES GLASS EFFECT IN UI - ENABLED BY DEFAULT*/}
{/*<Checkbox
checked={settings.get("appearance:seasonal") ?? true}
onChange={(v) => settings.set("appearance:seasonal", v)}
description={"Enables glass effects throughout the app"}>
Enable glass effects
</Checkbox>*/}
<Checkbox
checked={settings.get("appearance:seasonal") ?? true}
onChange={(v) => settings.set("appearance:seasonal", v)}
description={
<Text id="app.settings.pages.appearance.theme_options.seasonal_desc" />
}>
<Text id="app.settings.pages.appearance.theme_options.seasonal" />
</Checkbox>
</>
);
});
/**
* Component providing a way to change emoji pack.
*/