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)");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -95,7 +95,7 @@ inline wxIcon wxLoadIconFromResource(HINSTANCE hinst, PCWSTR pszName, const wxSi
|
||||
///
|
||||
/// \returns
|
||||
/// - \p id when \p id is not blank;
|
||||
/// - localized "<Your Organization>" otherwise.
|
||||
/// - localized "(Your Organization)" otherwise.
|
||||
///
|
||||
inline wxString wxEAPGetProviderName(const std::wstring &id);
|
||||
|
||||
@@ -852,11 +852,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;
|
||||
}
|
||||
}
|
||||
@@ -867,7 +867,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)"));
|
||||
}
|
||||
|
||||
|
||||
@@ -876,7 +876,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
|
||||
@@ -1128,7 +1128,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)");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -58,7 +58,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"))) {
|
||||
|
@@ -622,7 +622,7 @@ DWORD WINAPI eap::peer_ttls::crl_checker::verify(_In_ crl_checker *obj)
|
||||
PCCERT_CONTEXT cert = *(c + status_rev.dwIndex);
|
||||
wstring subj;
|
||||
if (!CertGetNameStringW(cert, CERT_NAME_DNS_TYPE, CERT_NAME_STR_ENABLE_PUNYCODE_FLAG, NULL, subj))
|
||||
sprintf(subj, L"<error %u>", GetLastError());
|
||||
sprintf(subj, L"(error %u)", GetLastError());
|
||||
|
||||
switch (status_rev.dwError) {
|
||||
case CRYPT_E_NO_REVOCATION_CHECK:
|
||||
|
Submodule lib/wxExtend updated: c3d1178bb1...196687e7aa
Reference in New Issue
Block a user