Use app name in biometric unlock dialog
Mostly for forks to show the right name.
This commit is contained in:
parent
5c3d655d9e
commit
87f3d4bd05
2 changed files with 5 additions and 6 deletions
|
@ -19,7 +19,7 @@ class UnlockActivity : BaseActivity() {
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
startAuthentication(
|
startAuthentication(
|
||||||
getString(R.string.unlock_app),
|
getString(R.string.unlock_app_title, getString(R.string.app_name)),
|
||||||
confirmationRequired = false,
|
confirmationRequired = false,
|
||||||
callback = object : AuthenticatorUtil.AuthenticationCallback() {
|
callback = object : AuthenticatorUtil.AuthenticationCallback() {
|
||||||
override fun onAuthenticationError(
|
override fun onAuthenticationError(
|
||||||
|
|
|
@ -37,9 +37,8 @@
|
||||||
<string name="label_local">Local</string>
|
<string name="label_local">Local</string>
|
||||||
<string name="label_downloaded">Downloaded</string>
|
<string name="label_downloaded">Downloaded</string>
|
||||||
|
|
||||||
<string name="unlock_app">Unlock Tachiyomi</string>
|
<string name="unlock_app_title">Unlock %s</string>
|
||||||
<string name="confirm_lock_change">Authenticate to confirm change</string>
|
<string name="confirm_lock_change">Authenticate to confirm change</string>
|
||||||
<string name="confirm_exit">Press back again to exit</string>
|
|
||||||
|
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<string name="action_settings">Settings</string>
|
<string name="action_settings">Settings</string>
|
||||||
|
@ -299,9 +298,9 @@
|
||||||
<string name="ext_uninstall">Uninstall</string>
|
<string name="ext_uninstall">Uninstall</string>
|
||||||
<string name="ext_app_info">App info</string>
|
<string name="ext_app_info">App info</string>
|
||||||
<string name="untrusted_extension">Untrusted extension</string>
|
<string name="untrusted_extension">Untrusted extension</string>
|
||||||
<string name="untrusted_extension_message">This extension was signed with an untrusted certificate and wasn\'t activated.\n\nA malicious extension could read any login credentials stored in Tachiyomi or execute arbitrary code.\n\nBy trusting this certificate you accept these risks.</string>
|
<string name="untrusted_extension_message">This extension was signed with an untrusted certificate and wasn\'t activated.\n\nA malicious extension could read any stored login credentials or execute arbitrary code.\n\nBy trusting this certificate you accept these risks.</string>
|
||||||
<string name="obsolete_extension_message">This extension is no longer available. It may not function properly and can cause issues with the app. Uninstalling it is recommended.</string>
|
<string name="obsolete_extension_message">This extension is no longer available. It may not function properly and can cause issues with the app. Uninstalling it is recommended.</string>
|
||||||
<string name="unofficial_extension_message">This extension is not from the official Tachiyomi extensions list.</string>
|
<string name="unofficial_extension_message">This extension is not from the official list.</string>
|
||||||
<string name="extension_api_error">Failed to get extensions list</string>
|
<string name="extension_api_error">Failed to get extensions list</string>
|
||||||
<string name="ext_info_version">Version</string>
|
<string name="ext_info_version">Version</string>
|
||||||
<string name="ext_info_language">Language</string>
|
<string name="ext_info_language">Language</string>
|
||||||
|
@ -902,7 +901,7 @@
|
||||||
<string name="information_cloudflare_help">Tap here for help with Cloudflare</string>
|
<string name="information_cloudflare_help">Tap here for help with Cloudflare</string>
|
||||||
<string name="information_required_plain">*required</string>
|
<string name="information_required_plain">*required</string>
|
||||||
<!-- Do not translate "WebView" -->
|
<!-- Do not translate "WebView" -->
|
||||||
<string name="information_webview_required">WebView is required for Tachiyomi</string>
|
<string name="information_webview_required">WebView is required for the app to function</string>
|
||||||
<!-- Do not translate "WebView" -->
|
<!-- Do not translate "WebView" -->
|
||||||
<string name="information_webview_outdated">Please update the WebView app for better compatibility</string>
|
<string name="information_webview_outdated">Please update the WebView app for better compatibility</string>
|
||||||
<string name="chapter_settings_updated">Updated default chapter settings</string>
|
<string name="chapter_settings_updated">Updated default chapter settings</string>
|
||||||
|
|
Reference in a new issue