mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Support custom popups in attach bots.
This commit is contained in:
@@ -333,10 +333,26 @@ QString UiIntegration::phraseButtonOk() {
|
||||
return tr::lng_box_ok(tr::now);
|
||||
}
|
||||
|
||||
QString UiIntegration::phraseButtonClose() {
|
||||
return tr::lng_close(tr::now);
|
||||
}
|
||||
|
||||
QString UiIntegration::phraseButtonCancel() {
|
||||
return tr::lng_cancel(tr::now);
|
||||
}
|
||||
|
||||
QString UiIntegration::phrasePanelCloseWarning() {
|
||||
return tr::lng_bot_close_warning_title(tr::now);
|
||||
}
|
||||
|
||||
QString UiIntegration::phrasePanelCloseUnsaved() {
|
||||
return tr::lng_bot_close_warning(tr::now);
|
||||
}
|
||||
|
||||
QString UiIntegration::phrasePanelCloseAnyway() {
|
||||
return tr::lng_bot_close_warning_sure(tr::now);
|
||||
}
|
||||
|
||||
bool OpenGLLastCheckFailed() {
|
||||
return QFile::exists(OpenGLCheckFilePath());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user