Add couple of phrases to the langpack.

This commit is contained in:
John Preston 2023-04-20 23:02:33 +04:00
parent 65f54d937f
commit 4617ba5fb9
3 changed files with 4 additions and 2 deletions

View File

@ -753,6 +753,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_background_apply1" = "Apply the wallpaper in this chat.";
"lng_background_apply2" = "Enjoy the view.";
"lng_background_apply_button" = "Apply For This Chat";
"lng_background_dimming" = "Background dimming";
"lng_download_path_ask" = "Ask download path for each file";
"lng_download_path" = "Download path";
@ -3656,6 +3657,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_chat_theme_wallpaper" = "Set Wallpaper";
"lng_chat_theme_none" = "No\nTheme";
"lng_chat_theme_apply" = "Apply Theme";
"lng_chat_theme_change_wallpaper" = "Change Wallpaper";
"lng_chat_theme_title" = "Choose theme";
"lng_chat_theme_cant_voice" = "Sorry, you can't change the chat theme while you're having an unsent voice message.";

View File

@ -292,7 +292,7 @@ void BackgroundPreviewBox::createDimmingSlider(bool dark) {
inner->show();
Settings::AddSubsectionTitle(
inner,
rpl::single(u"Background dimming"_q),
tr::lng_background_dimming(),
style::margins(0, st::settingsSectionSkip, 0, 0),
equals ? nullptr : dark ? &_dark->subtitle : &_light->subtitle);
_dimmingSlider = inner->add(

View File

@ -252,7 +252,7 @@ void ChooseThemeController::initButtons() {
apply->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);
const auto choose = CreateChild<RoundButton>(
controls,
rpl::single(u"Change Wallpaper"_q),
tr::lng_chat_theme_change_wallpaper(),
st::defaultLightButton);
choose->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);