Add some phrases to UI integration.
This commit is contained in:
parent
bcf88b9065
commit
89b60c01a6
2 changed files with 15 additions and 4 deletions
|
|
@ -180,7 +180,6 @@ QString Integration::phrasePanelCloseAnyway() {
|
||||||
return "Close anyway";
|
return "Close anyway";
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0 // disabled for now
|
|
||||||
QString Integration::phraseBotSharePhone() {
|
QString Integration::phraseBotSharePhone() {
|
||||||
return "Do you want to share your phone number with this bot?";
|
return "Do you want to share your phone number with this bot?";
|
||||||
}
|
}
|
||||||
|
|
@ -192,6 +191,17 @@ QString Integration::phraseBotSharePhoneTitle() {
|
||||||
QString Integration::phraseBotSharePhoneConfirm() {
|
QString Integration::phraseBotSharePhoneConfirm() {
|
||||||
return "Share";
|
return "Share";
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
QString Integration::phraseBotAllowWrite() {
|
||||||
|
return "Do you want to allow this bot to write you?";
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Integration::phraseBotAllowWriteTitle() {
|
||||||
|
return "Allow write";
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Integration::phraseBotAllowWriteConfirm() {
|
||||||
|
return "Allow";
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace Ui
|
} // namespace Ui
|
||||||
|
|
|
||||||
|
|
@ -91,11 +91,12 @@ public:
|
||||||
[[nodiscard]] virtual QString phrasePanelCloseWarning();
|
[[nodiscard]] virtual QString phrasePanelCloseWarning();
|
||||||
[[nodiscard]] virtual QString phrasePanelCloseUnsaved();
|
[[nodiscard]] virtual QString phrasePanelCloseUnsaved();
|
||||||
[[nodiscard]] virtual QString phrasePanelCloseAnyway();
|
[[nodiscard]] virtual QString phrasePanelCloseAnyway();
|
||||||
#if 0 // disabled for now
|
|
||||||
[[nodiscard]] virtual QString phraseBotSharePhone();
|
[[nodiscard]] virtual QString phraseBotSharePhone();
|
||||||
[[nodiscard]] virtual QString phraseBotSharePhoneTitle();
|
[[nodiscard]] virtual QString phraseBotSharePhoneTitle();
|
||||||
[[nodiscard]] virtual QString phraseBotSharePhoneConfirm();
|
[[nodiscard]] virtual QString phraseBotSharePhoneConfirm();
|
||||||
#endif
|
[[nodiscard]] virtual QString phraseBotAllowWrite();
|
||||||
|
[[nodiscard]] virtual QString phraseBotAllowWriteTitle();
|
||||||
|
[[nodiscard]] virtual QString phraseBotAllowWriteConfirm();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue