diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index fb2bd7567..e80949b7f 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -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."; diff --git a/Telegram/SourceFiles/boxes/background_preview_box.cpp b/Telegram/SourceFiles/boxes/background_preview_box.cpp index 041739825..c0f53e255 100644 --- a/Telegram/SourceFiles/boxes/background_preview_box.cpp +++ b/Telegram/SourceFiles/boxes/background_preview_box.cpp @@ -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( diff --git a/Telegram/SourceFiles/ui/chat/choose_theme_controller.cpp b/Telegram/SourceFiles/ui/chat/choose_theme_controller.cpp index 47d3233b9..52c228f77 100644 --- a/Telegram/SourceFiles/ui/chat/choose_theme_controller.cpp +++ b/Telegram/SourceFiles/ui/chat/choose_theme_controller.cpp @@ -252,7 +252,7 @@ void ChooseThemeController::initButtons() { apply->setTextTransform(Ui::RoundButton::TextTransform::NoTransform); const auto choose = CreateChild( controls, - rpl::single(u"Change Wallpaper"_q), + tr::lng_chat_theme_change_wallpaper(), st::defaultLightButton); choose->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);