Add phrases for sharing the phone number.

This commit is contained in:
John Preston 2022-07-15 15:08:48 +03:00
parent e65d496525
commit 1d34c64da8
2 changed files with 15 additions and 0 deletions

View file

@ -174,4 +174,16 @@ QString Integration::phrasePanelCloseAnyway() {
return "Close anyway";
}
QString Integration::phraseBotSharePhone() {
return "Do you want to share your phone number with this bot?";
}
QString Integration::phraseBotSharePhoneTitle() {
return "Phone number";
}
QString Integration::phraseBotSharePhoneConfirm() {
return "Share";
}
} // namespace Ui

View file

@ -86,6 +86,9 @@ public:
[[nodiscard]] virtual QString phrasePanelCloseWarning();
[[nodiscard]] virtual QString phrasePanelCloseUnsaved();
[[nodiscard]] virtual QString phrasePanelCloseAnyway();
[[nodiscard]] virtual QString phraseBotSharePhone();
[[nodiscard]] virtual QString phraseBotSharePhoneTitle();
[[nodiscard]] virtual QString phraseBotSharePhoneConfirm();
};