Use lang-packed "copy" instead of "code".

This commit is contained in:
John Preston 2023-10-28 22:28:44 +04:00
parent c8660b5385
commit 29fb263495
4 changed files with 9 additions and 2 deletions

View File

@ -129,6 +129,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_reconnecting#other" = "Reconnect in {count} s...";
"lng_reconnecting_try_now" = "Try now";
"lng_code_block_header_copy" = "copy";
"lng_status_service_notifications" = "service notifications";
"lng_status_support" = "support";
"lng_status_bot" = "bot";
@ -2853,7 +2855,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_formatting_link_create" = "Create";
"lng_text_copied" = "Text copied to clipboard.";
"lng_code_copied" = "Code copied to clipboard.";
"lng_code_copied" = "Block copied to clipboard.";
"lng_spellchecker_submenu" = "Spelling";
"lng_spellchecker_add" = "Add to Dictionary";

View File

@ -408,6 +408,10 @@ QString UiIntegration::phraseBotAllowWriteConfirm() {
return tr::lng_bot_allow_write_confirm(tr::now);
}
QString UiIntegration::phraseQuoteHeaderCopy() {
return tr::lng_code_block_header_copy(tr::now);
}
bool OpenGLLastCheckFailed() {
return QFile::exists(OpenGLCheckFilePath());
}

View File

@ -92,6 +92,7 @@ public:
QString phraseBotAllowWrite() override;
QString phraseBotAllowWriteTitle() override;
QString phraseBotAllowWriteConfirm() override;
QString phraseQuoteHeaderCopy() override;
};

@ -1 +1 @@
Subproject commit 952c89687c9c162b37318e6dbfa11211ed2299e9
Subproject commit 287af101d02089cafeba588f75057414fd96f476