Protection level string

This commit is contained in:
Max Goedjen 2025-09-09 22:27:55 -07:00
parent 2dc1d7a6b7
commit f5f115aadf
No known key found for this signature in database
2 changed files with 12 additions and 233 deletions

View File

@ -411,83 +411,6 @@
} }
} }
}, },
"agent_setup_notice_title" : {
"extractionState" : "manual",
"localizations" : {
"ca" : {
"stringUnit" : {
"state" : "translated",
"value" : "Inicialitza Secretive"
}
},
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secretive Einrichten"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Setup Secretive"
}
},
"fi" : {
"stringUnit" : {
"state" : "translated",
"value" : "Asenna Secretive"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Configurer Secretive"
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"value" : "Imposta Secretive"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secretiveをセットアップ"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secretive 설치"
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
"value" : "Konfiguracja Secretive"
}
},
"pt-BR" : {
"stringUnit" : {
"state" : "translated",
"value" : "Configurar Secretive"
}
},
"ru" : {
"stringUnit" : {
"state" : "translated",
"value" : "Настроить Secretive"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "设置 Secretive"
}
}
}
},
"agentDetailsLocationTitle" : { "agentDetailsLocationTitle" : {
"extractionState" : "manual", "extractionState" : "manual",
"localizations" : { "localizations" : {
@ -653,83 +576,6 @@
} }
} }
}, },
"app_menu_setup_button" : {
"extractionState" : "manual",
"localizations" : {
"ca" : {
"stringUnit" : {
"state" : "translated",
"value" : "Inicialitza Secretive"
}
},
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secretive Einrichten"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Setup Secretive"
}
},
"fi" : {
"stringUnit" : {
"state" : "translated",
"value" : "Asenna Secretive"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Configurer Secretive"
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"value" : "Imposta Secretive"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "セットアップ"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
"value" : "Secretive 설치"
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
"value" : "Skonfiguruj Scretive"
}
},
"pt-BR" : {
"stringUnit" : {
"state" : "translated",
"value" : "Configurar Secretive"
}
},
"ru" : {
"stringUnit" : {
"state" : "translated",
"value" : "Настроить Secretive"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "设置 Secretive"
}
}
}
},
"app_not_in_applications_notice_detail_description" : { "app_not_in_applications_notice_detail_description" : {
"extractionState" : "manual", "extractionState" : "manual",
"localizations" : { "localizations" : {
@ -1196,84 +1042,6 @@
} }
} }
}, },
"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" : {
"ca" : {
"stringUnit" : {
"state" : "translated",
"value" : "verifica una signatura usant el secret \"%1$(secretName)@\""
}
},
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "eine Signatur mit dem Secret \"%1$(secretName)@\" verifizieren"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "verify a signature using secret \"%1$(secretName)@“"
}
},
"fi" : {
"stringUnit" : {
"state" : "translated",
"value" : "varmista allekirjoitus käyttäen salaisuutta \"%1$(secretName)@\""
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "vérifier une signature en utilisant le secret \"%1$(secretName)@\""
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"value" : "verifica una firma usando il segreto \"%1$(secretName)@\""
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "シークレット“%1$(secretName)@”を使って署名を検証します"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
"value" : "비밀 \"%1$(secretName)@\"를 사용하여 서명 검증"
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
"value" : "zweryfikuj sygnaturę za pomocą sekretu “%1$(secretName)@”"
}
},
"pt-BR" : {
"stringUnit" : {
"state" : "translated",
"value" : "verificar a assinatura utilizando o segredo \"%1$(secretName)@\""
}
},
"ru" : {
"stringUnit" : {
"state" : "translated",
"value" : "верифицировать подпись используя секрет \"%1$(secretName)@\""
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "使用密钥串 \"%1$(secretName)@\" 认证"
}
}
}
},
"copy_button" : { "copy_button" : {
"extractionState" : "manual", "extractionState" : "manual",
"localizations" : { "localizations" : {
@ -1967,6 +1735,17 @@
} }
} }
}, },
"create_secret_protection_level_title" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Protection Level"
}
}
}
},
"create_secret_require_authentication_biometric_current_description" : { "create_secret_require_authentication_biometric_current_description" : {
"extractionState" : "manual", "extractionState" : "manual",
"localizations" : { "localizations" : {

View File

@ -28,7 +28,7 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View {
Section { Section {
TextField(String(localized: .createSecretNameLabel), text: $name, prompt: Text(.createSecretNamePlaceholder)) TextField(String(localized: .createSecretNameLabel), text: $name, prompt: Text(.createSecretNamePlaceholder))
VStack(alignment: .leading, spacing: 10) { VStack(alignment: .leading, spacing: 10) {
Picker(.createSecretRequireAuthenticationTitle, selection: $authenticationRequirement) { Picker(.createSecretProtectionLevelTitle, selection: $authenticationRequirement) {
ForEach(authenticationOptions) { option in ForEach(authenticationOptions) { option in
HStack { HStack {
switch option { switch option {