Update username validation to use libsignal.

This commit is contained in:
Greyson Parrelli
2024-02-20 17:00:09 -05:00
parent 67c3f41dff
commit 23d6a71a3b
5 changed files with 145 additions and 70 deletions

View File

@@ -2320,8 +2320,8 @@
<string name="UsernameEditFragment__invalid_username_enter_a_maximum_of_d_digits">Invalid username, enter a maximum of %1$d digits.</string>
<!-- Displayed when the chosen discriminator is 00 -->
<string name="UsernameEditFragment__this_number_cant_be_00">This number can\'t be 00. Enter a digit between 19</string>
<!-- Displayed when the chosen discriminator starts with 00 -->
<string name="UsernameEditFragment__this_number_cant_start_with_00">This number can\'t start with 00. Enter a digit between 19</string>
<!-- Displayed when the chosen discriminator starts with 0 and has a length > 2 -->
<string name="UsernameEditFragment__this_number_cant_start_with_0">Numbers with more than 2 digits can\'t start with 0</string>
<!-- The body of an alert dialog asking the user to confirm that they want to recover their username -->
<string name="UsernameEditFragment_recovery_dialog_confirmation">Recovering your username will reset your existing QR code and link. Are you sure?</string>
<!-- The body of an alert dialog asking the user to confirm that they want to change their username, even if it resets their link -->