mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
fix: add template to new msg bar translation
This commit is contained in:
2
external/lang
vendored
2
external/lang
vendored
Submodule external/lang updated: 5a7d7b9312...0ac705b559
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user