Convert last mentions of offical in strings

This commit is contained in:
Berkus Decker 2018-10-29 10:28:12 +02:00 committed by Berkus Decker
parent ca8941eeeb
commit 97011cd84a
3 changed files with 8 additions and 8 deletions

View File

@ -163,7 +163,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
"lng_pinned_unpin" = "Unpin";
"lng_pinned_notify" = "Notify all members";
"lng_intro_about" = "Welcome to the official Telegram Desktop app.\nIt's fast and secure.";
"lng_intro_about" = "Welcome to Kepka - the unofficial telegram app.\nIt's fast and secure.";
"lng_start_msgs" = "START MESSAGING";
"lng_intro_next" = "NEXT";
@ -1142,8 +1142,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
"lng_box_leave" = "Leave";
"lng_about_version" = "version {version}";
"lng_about_text_1" = "Official free messaging app based on [a href=\"https://core.telegram.org/api\"]Telegram API[/a]\nfor speed and security.";
"lng_about_text_2" = "This software is licensed under [a href=\"https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE\"]GNU GPL[/a] version 3.\nSource code is available on [a href=\"https://github.com/telegramdesktop/tdesktop\"]GitHub[/a].";
"lng_about_text_1" = "Unofficial free messaging app based on [a href=\"https://core.telegram.org/api\"]Telegram API[/a]\nfor speed and security.";
"lng_about_text_2" = "This software is licensed under [a href=\"https://github.com/procxx/kepka/blob/dev/LICENSE\"]GNU GPL[/a] version 3.\nSource code is available on [a href=\"https://github.com/procxx/kepka\"]GitHub[/a].";
"lng_about_text_3" = "Visit {faq_open}Telegram FAQ{faq_close} for more info.";
"lng_about_done" = "Done";

View File

@ -12,8 +12,8 @@
Version="1.1.23.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
<Description>Telegram Desktop official messenger</Description>
<PublisherDisplayName>Pro.cxx</PublisherDisplayName>
<Description>Kepka unofficial Telegram messenger</Description>
<Logo>Assets\logo\logo.png</Logo>
</Properties>
<Resources>
@ -32,7 +32,7 @@
DisplayName="Telegram Desktop"
Square150x150Logo="Assets\logo150\logo150.png"
Square44x44Logo="Assets\logo44\logo44.png"
Description="Telegram Desktop official messenger" />
Description="Kepka unofficial Telegram messenger" />
<Extensions>
<uap3:Extension Category="windows.protocol">
<uap3:Protocol Name="tg" Parameters="-- &quot;%1&quot;" />

View File

@ -50,7 +50,7 @@ QImage LoadLogoNoMargin() {
return QImage(qsl(":/gui/art/logo_256_no_margin.png"));
}
QIcon CreateOfficialIcon() {
QIcon CreateUnofficialIcon() {
auto useNoMarginLogo = (cPlatform() == dbipMac);
if (auto messenger = Messenger::InstancePointer()) {
return QIcon(App::pixmapFromImageInPlace(useNoMarginLogo ? messenger->logoNoMargin() : messenger->logo()));
@ -59,7 +59,7 @@ QIcon CreateOfficialIcon() {
}
QIcon CreateIcon() {
auto result = CreateOfficialIcon();
auto result = CreateUnofficialIcon();
if (cPlatform() == dbipLinux32 || cPlatform() == dbipLinux64) {
return QIcon::fromTheme("telegram", result);
}