mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 14:19:53 +01:00
Improve strings for ui for displaying existing social backup
This commit is contained in:
@@ -39,6 +39,7 @@ public class ExistingBackupFragment extends BaseFragment {
|
|||||||
fragment.setArguments(bundle);
|
fragment.setArguments(bundle);
|
||||||
return fragment;
|
return fragment;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
@@ -64,8 +65,10 @@ public class ExistingBackupFragment extends BaseFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TextView textViewThreshold = view.findViewById(R.id.textViewThreshold);
|
TextView textViewThreshold = view.findViewById(R.id.textViewThreshold);
|
||||||
textViewThreshold.setText(String.format("%d of %d contacts needed to restore account", args.getInt(THRESHOLD), custodianNames.size()));
|
textViewThreshold.setText(getString(R.string.existing_backup_explain,
|
||||||
TextView textViewCustodians = view.findViewById(R.id.textViewCustodians);
|
args.getInt(THRESHOLD)));
|
||||||
|
TextView textViewCustodians =
|
||||||
|
view.findViewById(R.id.textViewCustodians);
|
||||||
textViewCustodians.setText(custodianNamesString);
|
textViewCustodians.setText(custodianNamesString);
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -729,4 +729,5 @@
|
|||||||
<string name="activity_name_new_or_recover_account">Create new account or recover existing account</string>
|
<string name="activity_name_new_or_recover_account">Create new account or recover existing account</string>
|
||||||
<string name="activity_name_recovery">Recover Account</string>
|
<string name="activity_name_recovery">Recover Account</string>
|
||||||
<string name="activity_name_custodian_help_recovery">Help recover account</string>
|
<string name="activity_name_custodian_help_recovery">Help recover account</string>
|
||||||
|
<string name="existing_backup_explain">%d of the following contacts are needed to restore your account:</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user