mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 08:30:58 -05:00
fix: add template to new msg bar translation
This commit is contained in:
parent
5417632f87
commit
7496f484e1
3 changed files with 7 additions and 36 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 5a7d7b93129195abd644db87097bd87958ea2170
|
Subproject commit 0ac705b5599bf9ddf538f3ada1bffd67b2206b57
|
|
@ -49,8 +49,12 @@ export default observer(
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
<div>
|
<div>
|
||||||
<Text id="app.main.channel.misc.new_messages" />{" "}
|
<Text
|
||||||
{dayjs(decodeTime(last_id)).fromNow()}
|
id="app.main.channel.misc.new_messages"
|
||||||
|
fields={{
|
||||||
|
time_ago: dayjs(decodeTime(last_id)).fromNow(),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Text id="app.main.channel.misc.jump_beginning" />
|
<Text id="app.main.channel.misc.jump_beginning" />
|
||||||
|
|
|
@ -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.
|
* Component providing a way to change emoji pack.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue