Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

French and Japanese translations #141

Merged
merged 6 commits into from
Aug 22, 2024
Merged
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
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
Loading