Stop using <> parentheses to avoid XML/HTML markup

Transifex treats strings enclosed in <> as HTML.
This commit is contained in:
2018-06-20 14:32:54 +02:00
parent fc40c44612
commit 352ad4f9d2
37 changed files with 403 additions and 799 deletions

View File

@@ -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)");
}