More app name replaces

This commit is contained in:
Eric Kotato 2020-03-30 16:06:41 +03:00
parent 396e55a6c2
commit 91a5942273
2 changed files with 4 additions and 5 deletions

View file

@ -729,7 +729,7 @@ void MainWindow::createGlobalMenu() {
SLOT(onLogout()));
auto quit = file->addAction(
tr::lng_mac_menu_quit_telegram(tr::now, lt_telegram, qsl("Telegram")),
tr::lng_mac_menu_quit_telegram(tr::now, lt_telegram, qsl("Kotatogram")),
App::wnd(),
SLOT(quitFromTray()),
QKeySequence::Quit);
@ -880,7 +880,7 @@ void MainWindow::createGlobalMenu() {
tr::lng_mac_menu_about_telegram(
tr::now,
lt_telegram,
qsl("Telegram")),
qsl("Kotatogram")),
[] {
if (App::wnd() && App::wnd()->isHidden()) {
App::wnd()->showFromTray();

View file

@ -48,7 +48,7 @@ namespace {
constexpr auto kDesktopFile = ":/misc/kotatogramdesktop.desktop"_cs;
constexpr auto kSnapLauncherDir = "/var/lib/snapd/desktop/applications/"_cs;
constexpr auto kIconName = "telegram"_cs;
constexpr auto kIconName = "kotatogram"_cs;
#ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION
void SandboxAutostart(bool autostart, bool silent = false) {
@ -332,8 +332,7 @@ QString GetLauncherBasename() {
}
const auto possibleBasenames = std::vector<QString>{
qsl(MACRO_TO_STRING(TDESKTOP_LAUNCHER_BASENAME)),
qsl("Telegram")
qsl(MACRO_TO_STRING(TDESKTOP_LAUNCHER_BASENAME))
};
for (const auto &it : possibleBasenames) {