diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index b88ee91b4..ed044e8a4 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -1488,8 +1488,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_about_text1" = "Official free messaging app based on {api_link}\nfor speed and security."; "lng_about_text1_api" = "Telegram API"; "lng_about_text2" = "This software is licensed under {gpl_link} version 3.\nSource code is available on {github_link}."; -"lng_about_text2_gpl" = "GNU GPL"; -"lng_about_text2_github" = "GitHub"; "lng_about_text3" = "Visit {faq_link} for more info."; "lng_about_text3_faq" = "Telegram FAQ"; "lng_about_done" = "Done"; diff --git a/Telegram/SourceFiles/boxes/about_box.cpp b/Telegram/SourceFiles/boxes/about_box.cpp index d24d9f0f6..0ccd792db 100644 --- a/Telegram/SourceFiles/boxes/about_box.cpp +++ b/Telegram/SourceFiles/boxes/about_box.cpp @@ -33,13 +33,13 @@ rpl::producer Text1() { rpl::producer Text2() { return tr::lng_about_text2( lt_gpl_link, - tr::lng_about_text2_gpl( - ) | Ui::Text::ToLink( - "https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE"), + rpl::single(Ui::Text::Link( + "GNU GPL", + "https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE")), lt_github_link, - tr::lng_about_text2_github( - ) | Ui::Text::ToLink( - "https://github.com/telegramdesktop/tdesktop"), + rpl::single(Ui::Text::Link( + "GitHub", + "https://github.com/telegramdesktop/tdesktop")), Ui::Text::WithEntities); }