Stop using <> parentheses to avoid XML/HTML markup
Transifex treats strings enclosed in <> as HTML.
This commit is contained in:
@@ -159,7 +159,7 @@ tstring eap::credentials::get_name() const
|
||||
tstring identity(std::move(get_identity()));
|
||||
return
|
||||
!identity.empty() ? identity :
|
||||
empty() ? _T("<empty>") : _T("<blank ID>");
|
||||
empty() ? _T("(empty)") : _T("(blank ID)");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -785,11 +785,11 @@ protected:
|
||||
m_cred_storage.clear();
|
||||
m_has_storage = false;
|
||||
} else {
|
||||
m_storage_identity->SetLabel(wxString::Format(_("<error %u>"), err.number()));
|
||||
m_storage_identity->SetLabel(wxString::Format(_("(error %u)"), err.number()));
|
||||
m_has_storage = true;
|
||||
}
|
||||
} catch (...) {
|
||||
m_storage_identity->SetLabel(_("<error>"));
|
||||
m_storage_identity->SetLabel(_("(error)"));
|
||||
m_has_storage = true;
|
||||
}
|
||||
}
|
||||
@@ -800,7 +800,7 @@ protected:
|
||||
wxString identity(m_cred_storage.get_identity());
|
||||
m_storage_identity->SetLabel(
|
||||
!identity.empty() ? identity :
|
||||
m_cred_storage.empty() ? _("<empty>") : _("<blank ID>"));
|
||||
m_cred_storage.empty() ? _("(empty)") : _("(blank ID)"));
|
||||
}
|
||||
|
||||
|
||||
@@ -809,7 +809,7 @@ protected:
|
||||
wxString identity(m_cred_config.get_identity());
|
||||
m_config_identity->SetLabel(
|
||||
!identity.empty() ? identity :
|
||||
m_cred_config.empty() ? _("<empty>") : _("<blank ID>"));
|
||||
m_cred_config.empty() ? _("(empty)") : _("(blank ID)"));
|
||||
}
|
||||
|
||||
/// \endcond
|
||||
@@ -997,7 +997,7 @@ inline wxIcon wxLoadIconFromResource(HINSTANCE hinst, PCWSTR pszName, const wxSi
|
||||
inline wxString wxEAPGetProviderName(const std::wstring &id)
|
||||
{
|
||||
return
|
||||
!id.empty() ? id : _("<Your Organization>");
|
||||
!id.empty() ? id : _("(Your Organization)");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1037,7 +1037,7 @@ void eap::method_tls::process_handshake(_In_bytecount_(size_msg) const void *_ms
|
||||
list = cert_end;
|
||||
}
|
||||
|
||||
wstring cert_name(!m_server_cert_chain.empty() ? get_cert_title(m_server_cert_chain.front()) : L"<blank>");
|
||||
wstring cert_name(!m_server_cert_chain.empty() ? get_cert_title(m_server_cert_chain.front()) : L"(blank)");
|
||||
m_module.log_event(&EAPMETHOD_TLS_CERTIFICATE, event_data((unsigned int)eap_type_tls), event_data(cert_name), event_data::blank);
|
||||
break;
|
||||
}
|
||||
|
@@ -56,7 +56,7 @@ wxTLSCredentialsPanel::wxTLSCredentialsPanel(const eap::config_provider &prov, c
|
||||
bool wxTLSCredentialsPanel::TransferDataToWindow()
|
||||
{
|
||||
// Populate certificate list.
|
||||
m_certificate->Append(_("<empty>"), (wxCertificateClientData*)NULL);
|
||||
m_certificate->Append(_("(empty)"), (wxCertificateClientData*)NULL);
|
||||
bool is_found = false;
|
||||
winstd::cert_store store;
|
||||
if (store.create(CERT_STORE_PROV_SYSTEM, X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, (HCRYPTPROV)NULL, CERT_SYSTEM_STORE_CURRENT_USER, _T("My"))) {
|
||||
|
Submodule lib/WinStd updated: 750f40fada...a3c195a98a
Reference in New Issue
Block a user