<%args>
    $field => undef
</%args>
% if (exists $fields{$field}) {
<% i18nGettext($fields{$field}) %>
% }
% else {
<% i18nGettext($field) %>
% }
<%once>
    my %fields = (
        "creator"               => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CREATOR",
        "cert_role"             => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_CERT_ROLE",
        "cert_profile"          => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_CERT_PROFILE",
        "keygen"                => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_KEYGEN",
        "cert_subject_style"    => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_CERT_SUBJECT_STYLE",
        "cert_subject"          => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_CERT_SUBJECT",
        "cert_subject_alt_name" => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_CERT_SUBJECT_ALT_NAME",
        "cert_info"             => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_CERT_INFO",
        "csr_type"              => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_TYPE",
        "spkac"                 => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_SPKAC",
        "pkcs10"                => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_PKCS10",
        "approvals"             => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_APPROVALS",
        "export_workflow_type"  => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_EXPORT_WORKFLOW_TYPE",
        "export_destination"    => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_EXPORT_DESTINATION",
        "export_params"         => "I18N_OPENXPKI_CLIENT_HTML_MASON_WORKFLOW_CSR_EXPORT_PARAMS",
    );
</%once>
