Skip to content

Commit

Permalink
Merge branch 'jens/translations'
Browse files Browse the repository at this point in the history
  • Loading branch information
jensutbult committed Aug 22, 2024
2 parents 7ec2723 + 40e312e commit e191938
Show file tree
Hide file tree
Showing 63 changed files with 9,215 additions and 149 deletions.
111 changes: 90 additions & 21 deletions Authenticator.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Authenticator/AuthenticatorApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

import SwiftUI
import YubiKit

@main
struct AuthenticatorApp: App {
Expand All @@ -38,6 +39,10 @@ struct AuthenticatorApp: App {
.navigationViewStyle(.stack)
.environmentObject(toastPresenter)
.environmentObject(notificationsViewModel)
.onAppear {
YubiKitExternalLocalization.nfcScanAlertMessage = String(localized: "Scan your YubiKey", comment: "iOS NFC alert scan")
YubiKitExternalLocalization.nfcScanSuccessAlertMessage = String(localized: "Success", comment: "iOS NFC alert default success message")
}
}
}
}
102 changes: 102 additions & 0 deletions Authenticator/InfoPlist.xcstrings
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"sourceLanguage" : "en",
"strings" : {
"CFBundleName" : {
"comment" : "Bundle name",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Authenticator"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Authenticator"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "Authenticator"
}
}
}
},
"NFCReaderUsageDescription" : {
"comment" : "Privacy - NFC Scan Usage Description",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "The application needs access to NFC reading to communicate with your Yubikey."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "L'appli doit accéder à la lecture NFC pour communiquer avec votre Yubikey."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "Yubikeyと通信するには、アプリケーションがNFC読み取りにアクセスできる必要があります."
}
}
}
},
"NSCameraUsageDescription" : {
"comment" : "Privacy - Camera Usage Description",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "The application needs access to Camera to scan QR codes."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "L'appli doit accéder à l'appareil photo pour scanner les codes QR."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "QRコードをスキャンするには、アプリケーションがカメラにアクセスできる必要があります."
}
}
}
},
"NSFaceIDUsageDescription" : {
"comment" : "Privacy - Face ID Usage Description",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "The application needs access to Face ID to unlock your password vault."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "L'appli doit accéder à Face ID pour débloquer votre coffre-fort de mots de passe."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "パスワードボールトのロックを解除するには、アプリケーションがFace IDにアクセスできる必要があります."
}
}
}
}
},
"version" : "1.0"
}
Loading

0 comments on commit e191938

Please sign in to comment.