Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d152f1e2 authored by Fs00's avatar Fs00 Committed by Marvin W.
Browse files

Localize SafetyNet result summary

parent 745a1ea5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -74,8 +74,8 @@ class SafetyNetAppPreferencesFragment : PreferenceFragmentCompat() {
                    summary.requestType
                ).let { (text, icon) ->
                    preference.summary = when (summary.requestType) {
                        ATTESTATION -> "Attestation: $text"
                        RECAPTCHA -> "ReCaptcha: $text"
                        ATTESTATION -> getString(R.string.pref_safetynet_recent_attestation_summary, text)
                        RECAPTCHA -> getString(R.string.pref_safetynet_recent_recaptcha_summary, text)
                    }
                    preference.icon = icon
                }
+2 −0
Original line number Diff line number Diff line
@@ -200,6 +200,8 @@ Questa operazione può richiedere alcuni secondi."</string>
    <string name="pref_device_registration_device_profile_category">Profilo del dispositivo</string>

    <string name="pref_safetynet_recent_uses">Utilizzi recenti</string>
    <string name="pref_safetynet_recent_attestation_summary">Attestazione: %s</string>
    <string name="pref_safetynet_recent_recaptcha_summary">ReCaptcha: %s</string>
    <string name="pref_safetynet_recent_copy_json">Copia dati JSON JWS</string>
    <string name="pref_safetynet_recent_eval_type">Tipo di valutazione</string>
    <string name="pref_safetynet_recent_response_status">Stato della risposta</string>
+2 −0
Original line number Diff line number Diff line
@@ -197,6 +197,8 @@ This can take a couple of minutes."</string>
    <string name="pref_device_registration_device_profile_category">Device profile</string>

    <string name="pref_safetynet_recent_uses">Recent uses</string>
    <string name="pref_safetynet_recent_attestation_summary">Attestation: %s</string>
    <string name="pref_safetynet_recent_recaptcha_summary">ReCaptcha: %s</string>
    <string name="pref_safetynet_recent_copy_json">Copy JSON JWS data</string>
    <string name="pref_safetynet_recent_advice">Advice</string>
    <string name="pref_safetynet_recent_eval_type">Evaluation type</string>