For #5073 - Use string parameter versus concatenating programatically
parent
7c00a1ad6b
commit
7a16192fd1
|
@ -51,7 +51,7 @@ class WebsiteInfoView(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun bindCertificateName(cert: String) {
|
private fun bindCertificateName(cert: String) {
|
||||||
val certificateLabel = view.context.getString(R.string.verified_by) + " " + cert
|
val certificateLabel = view.context.getString(R.string.certificate_info_verified_by, cert)
|
||||||
view.certificateInfo.text = certificateLabel
|
view.certificateInfo.text = certificateLabel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1199,6 +1199,7 @@
|
||||||
|
|
||||||
<!-- Bookmark deletion confirmation -->
|
<!-- Bookmark deletion confirmation -->
|
||||||
<string name="bookmark_deletion_confirmation">Are you sure you want to delete this bookmark?</string>
|
<string name="bookmark_deletion_confirmation">Are you sure you want to delete this bookmark?</string>
|
||||||
<!-- text shown before the issuer name to indicate who its verified by -->
|
<!-- text shown before the issuer name to indicate who its verified by, parameter is the name of
|
||||||
<string name="verified_by">Verified By:</string>
|
the certificate authority that verified the ticket-->
|
||||||
|
<string name="certificate_info_verified_by">Verified By: %1$s </string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue