Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Add support for German #162

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private void initLayoutForFingerprint() {
mFingerprintManager = (FingerprintManager) getSystemService(Context.FINGERPRINT_SERVICE);
mFingerprintUiHelper = new FingerprintUiHelper.FingerprintUiHelperBuilder(mFingerprintManager).build(mFingerprintImageView, mFingerprintTextView, this);
try {
if (mFingerprintManager.isHardwareDetected() && mFingerprintUiHelper.isFingerprintAuthAvailable()
if (mFingerprintManager != null && mFingerprintManager.isHardwareDetected() && mFingerprintUiHelper.isFingerprintAuthAvailable()
&& mLockManager.getAppLock().isFingerprintAuthEnabled()) {
mFingerprintImageView.setVisibility(View.VISIBLE);
mFingerprintTextView.setVisibility(View.VISIBLE);
Expand Down
14 changes: 14 additions & 0 deletions lib/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

<resources>
<string name="pin_code_forgot_text">Vergessen?</string>
<string name="pin_code_step_disable">Entferne deinen %d-Zahlen Pin</string>
<string name="pin_code_step_create">Erstelle einen %d-Zahlen Pin</string>
<string name="pin_code_step_change">Gib deinen aktuellen %d-Zahlen Pin ein</string>
<string name="pin_code_step_unlock">Gib deinen %d-Zahlen Pin ein</string>
<string name="pin_code_step_enable_confirm">Bestätige deinen %d-Zahlen Pin</string>

<string name="pin_code_fingerprint_text">Fingerabdruck</string>
<string name="pin_code_fingerprint_success">Fingerabdruck erkannt</string>
<string name="pin_code_fingerprint_not_recognized">Fingerabdruck nicht erkannt. Versuche es erneut</string>

</resources>