Add phrases for sharing the phone number.
This commit is contained in:
parent
e65d496525
commit
1d34c64da8
2 changed files with 15 additions and 0 deletions
|
|
@ -174,4 +174,16 @@ QString Integration::phrasePanelCloseAnyway() {
|
||||||
return "Close anyway";
|
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
|
} // namespace Ui
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,9 @@ 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();
|
||||||
|
[[nodiscard]] virtual QString phraseBotSharePhone();
|
||||||
|
[[nodiscard]] virtual QString phraseBotSharePhoneTitle();
|
||||||
|
[[nodiscard]] virtual QString phraseBotSharePhoneConfirm();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue