Localization fixes (#507)

* Consolidate localization files into one file that both targets reference

* Update readme

* Secret Agent/Agent consolidation

* NSLS -> String(localized:)

* Auth contexts
This commit is contained in:
Max Goedjen
2024-01-12 12:50:52 -08:00
committed by GitHub
parent 15d2afd2cb
commit c2b80e3c7c
7 changed files with 306 additions and 205 deletions

View File

@@ -12,12 +12,12 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secret Agent Is Not Running"
"value" : "Agent Is Not Running"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "L'agent n'est pas actif"
}
}
@@ -44,12 +44,12 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "SecretAgent is Running"
"value" : "Secret Agent is Running"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "SecretAgent est actif"
}
}
@@ -167,6 +167,90 @@
}
}
},
"auth_context_persist_for_duration_%@_%@" : {
"comment" : "When the user clicks the notification to leave a secret unlocked, they are shown a prompt to approve the action. This is the description, showing which secret will used. The first placeholder is the name of the secret. The second placeholder is a localized description of the time period it will remain unlocked for (eg: \"five minutes\")",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "unlock secret \"%1$@\" for %2$@"
}
}
}
},
"auth_context_persist_for_duration_unknown_%@" : {
"comment" : "When the user clicks the notification to leave a secret unlocked, they are shown a prompt to approve the action. This is the description, showing which secret will used. The placeholder is the name of the secret. This is a fallback used when a duration is unable to be specified.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "unlock secret \"%1$@\""
}
}
}
},
"auth_context_request_decrypt_description_%@" : {
"comment" : "When the user performs a decryption action using a secret, they are shown a prompt to approve the action. This is the description, showing which secret will be used. The placeholder is the name of the secret. NOTE: This is currently not exposed in UI.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "decrypt data using secret \"%1$@\""
}
}
}
},
"auth_context_request_deny_button" : {
"comment" : "When the user chooses to perform an action that requires Touch ID/password authentication, they are shown a prompt to approve the action. This is the deny button for that prompt.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Deny"
}
}
}
},
"auth_context_request_encrypt_description_%@" : {
"comment" : "When the user performs an encryption action using a secret, they are shown a prompt to approve the action. This is the description, showing which secret will be used. The placeholder is the name of the secret. NOTE: This is currently not exposed in UI.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "encrypt data using secret \"%1$@\""
}
}
}
},
"auth_context_request_signature_description_%@_%@" : {
"comment" : "When the user performs a signature action using a secret, they are shown a prompt to approve the action. This is the description, showing which secret will be used, and where the request is coming from. The first placeholder is the name of the app requesting the operation. The second placeholder is the name of the secret.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "sign a request from \"%1$@\" using secret \"%2$@\""
}
}
}
},
"auth_context_request_verify_description_%@" : {
"comment" : "When the user performs a signature verification action using a secret, they are shown a prompt to approve the action. This is the description, showing which secret will be used. The placeholder is the name of the secret. NOTE: This is currently not exposed in UI.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "verify a signature using secret \"%1$@\""
}
}
}
},
"copyable_click_to_copy_button" : {
"localizations" : {
"en" : {
@@ -567,6 +651,42 @@
}
}
},
"persist_authentication_accept_button" : {
"comment" : "When the user authorizes an action using a secret that requires unlock, they're shown a notification offering to leave the secret unlocked for a set period of time. This is the title for the notification.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Leave Unlocked"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Laisser déverrouillé"
}
}
}
},
"persist_authentication_decline_button" : {
"comment" : "When the user authorizes an action using a secret that requires unlock, they're shown a notification offering to leave the secret unlocked for a set period of time. This is the decline button for the notification.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Do Not Unlock"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Ne pas déverrouiller"
}
}
}
},
"rename_cancel_button" : {
"localizations" : {
"en" : {
@@ -711,6 +831,17 @@
}
}
},
"secure_enclave" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secure Enclave"
}
}
}
},
"setup_agent_activity_monitor_description" : {
"localizations" : {
"en" : {
@@ -764,12 +895,12 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Setup Secret Agent"
"value" : "Setup Agent"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"state" : "needs_review",
"value" : "Configurer Secret Agent"
}
}
@@ -951,6 +1082,64 @@
}
}
},
"signed_notification_description_%@" : {
"comment" : "When the user performs an action using a secret, they're shown a notification describing what happened. This is the description, showing which secret was used. The placeholder is the name of the secret.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Using secret %1$@"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Utilisation du secret %1$@"
}
}
}
},
"signed_notification_title_%@" : {
"comment" : "When the user performs an action using a secret, they're shown a notification describing what happened. This is the title, showing which app requested the action. The placeholder is the name of the app.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Signed Request from %1$@"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Requête signée de %1$@"
}
}
}
},
"smart_card" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Smart Card"
}
}
}
},
"unnamed_secret" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Unnamed"
}
}
}
},
"update_critical_notice_title" : {
"localizations" : {
"en" : {
@@ -999,6 +1188,96 @@
}
}
},
"update_notification_ignore_button" : {
"comment" : "When an update is available, a notification is shown. This is the button to decline an update.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Ignore"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Ignorer"
}
}
}
},
"update_notification_update_button" : {
"comment" : "When an update is available, a notification is shown. This is the button to download an update.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Update"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Mettre à jour"
}
}
}
},
"update_notification_update_critical_title_%@" : {
"comment" : "When an update is available, a notification is shown. This is the title for a very high priority update with security fixes. The placeholder is for the application version, eg \"Critical Security Update - 2.0\"",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Critical Security Update - %1$@"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Mise à jour critique de sécurité - %1$@"
}
}
}
},
"update_notification_update_description" : {
"comment" : "When an update is available, a notification is shown. This is the description to download an update.",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Click to Update"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Cliquer pour mettre à jour"
}
}
}
},
"update_notification_update_normal_title_%@" : {
"comment" : "When an update is available, a notification is shown. This is the title for a normal priority update. The placeholder is for the application version, eg \"Update Available - 2.0\"",
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Update Available - %1$@"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Mise à jour disponible - %1$@"
}
}
}
},
"update_release_notes_title" : {
"localizations" : {
"en" : {