mirror of
https://gitlab.com/schmiddi-on-mobile/flare.git
synced 2026-10-29 06:57:46 -04:00
This adds a new "Submit Captcha" entry to the main menu of the window that has a short introduction on what to do and entries to paste the corresponding fields. Note that this was not tested fully as I never had to submit a captcha. Related to #81.
27 lines
886 B
Plaintext
27 lines
886 B
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Adw.MessageDialog dialog {
|
|
heading: _("Submit Captcha");
|
|
// Translators: Do not translate tags around "on this website".
|
|
body: _("Submit a Captcha challenge. The token can be obtained from the error message that was displayed from Flare. The captcha must be filled out <a href=\"https://signalcaptchas.org/challenge/generate.html\">on this website</a> and the link to open Signal must be pasted to the corresponding entry. Note that the captcha is only valid for about one minute.");
|
|
body-use-markup: true;
|
|
extra-child:
|
|
ListBox {
|
|
styles [ "boxed-list" ]
|
|
Adw.EntryRow entry_token {
|
|
title: _("Token");
|
|
}
|
|
Adw.EntryRow entry_captcha {
|
|
title: _("Captcha");
|
|
}
|
|
};
|
|
default-response: "close";
|
|
close-response: "close";
|
|
|
|
responses [
|
|
close: _("Close"),
|
|
submit: _("Submit") suggested,
|
|
]
|
|
}
|