mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-03 10:39:30 +00:00
chore: fix typo
This commit is contained in:
@@ -114,7 +114,6 @@ set(ayugram_files
|
||||
ayu/ayu_lang.h
|
||||
ayu/ayu_infra.cpp
|
||||
ayu/ayu_infra.h
|
||||
ayu/ayu_constants.h
|
||||
ayu/utils/ayu_mapper.cpp
|
||||
ayu/utils/ayu_mapper.h
|
||||
ayu/utils/qt_key_modifiers_extended.h
|
||||
@@ -1861,6 +1860,7 @@ endif()
|
||||
nice_target_sources(Telegram ${res_loc}
|
||||
PRIVATE
|
||||
qrc/ayu/ayu.qrc
|
||||
langs/ayu.strings
|
||||
|
||||
qrc/emoji_1.qrc
|
||||
qrc/emoji_2.qrc
|
||||
|
||||
@@ -6910,7 +6910,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"ayu_CategoriesHeader" = "Categories";
|
||||
"ayu_SupportHeader" = "Support";
|
||||
"ayu_SupportDescription1" = "Support Development";
|
||||
"ayu_SupportDescription2" = "{item} and get an exclusive badge!";
|
||||
"ayu_SupportDescription2" = "{item} and get an unique badge!";
|
||||
"ayu_SupportBoxHeader" = "Support Development";
|
||||
"ayu_SupportBoxInfo" = "By supporting the project, you not only contribute to its development but also get a unique badge.";
|
||||
"ayu_SupportBoxMakeDonationHeader" = "Make a Donation";
|
||||
@@ -7186,7 +7186,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"ayu_SessionTerminated" = "Session **{item}** was terminated. You may still browse cached messages.";
|
||||
"ayu_LocalPremiumNotice" = "You're using **local** Telegram Premium.\nIt **won't** give you any benefits.\n**Enjoy the star near your nickname!**";
|
||||
"ayu_DeveloperPopup" = "**{item}** is a member of the **exteraGram** development team.";
|
||||
"ayu_SupporterPopup" = "**{item}** supported the development of **exteraGram** or **AyuGram** and received an exclusive badge.";
|
||||
"ayu_SupporterPopup" = "**{item}** supported the development of **exteraGram** or **AyuGram** and received an unique badge.";
|
||||
"ayu_OfficialResourcePopup" = "**{item}** is the official resource of **exteraGram** or **AyuGram**.";
|
||||
"ayu_SettingsWatermark" = "AyuGram is developed and maintained by Radolyn Labs.";
|
||||
"ayu_SettingsDescription" = "Telegram Desktop fork focused on customization and ToS-breaking features.";
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
// This is the source code of AyuGram for Desktop.
|
||||
//
|
||||
// We do not and cannot prevent the use of our code,
|
||||
// but be respectful and credit the original author.
|
||||
//
|
||||
// Copyright @Radolyn, 2025
|
||||
#pragma once
|
||||
|
||||
// https://github.com/AyuGram/AyuGram4AX/blob/rewrite/TMessagesProj/src/main/java/com/radolyn/ayugram/AyuConstants.java
|
||||
constexpr int DOCUMENT_TYPE_NONE = 0;
|
||||
constexpr int DOCUMENT_TYPE_PHOTO = 1;
|
||||
constexpr int DOCUMENT_TYPE_STICKER = 2;
|
||||
constexpr int DOCUMENT_TYPE_FILE = 3;
|
||||
@@ -6,7 +6,6 @@
|
||||
// Copyright @Radolyn, 2025
|
||||
#include "ayu/data/messages_storage.h"
|
||||
|
||||
#include "ayu/ayu_constants.h"
|
||||
#include "ayu/data/ayu_database.h"
|
||||
#include "ayu/utils/ayu_mapper.h"
|
||||
#include "ayu/utils/telegram_helpers.h"
|
||||
@@ -82,7 +81,7 @@ void map(not_null<HistoryItem*> item, AyuMessageBase &message) {
|
||||
// todo: implement mapping
|
||||
message.mediaPath = "/";
|
||||
// message.hqThumbPath
|
||||
message.documentType = DOCUMENT_TYPE_NONE;
|
||||
message.documentType = 0; // document type none
|
||||
// message.documentSerialized
|
||||
// message.thumbsSerialized
|
||||
// message.documentAttributesSerialized
|
||||
|
||||
Reference in New Issue
Block a user