summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-28 23:38:22 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-28 23:38:22 +0200
commit0a689279d0e627ae507e36e5de26d3cf629c8070 (patch)
tree2b80e4c539dbd7b72e9da2d20aecc4d2486dae62
parent6939ebc3c1b4789d577101625a3af92ada4fa92f (diff)
Mark some strings that should not be translated; thanks to Adam Klotblixt.
-rw-r--r--src/wx/config_dialog.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc
index a81e8a65c..c018a1251 100644
--- a/src/wx/config_dialog.cc
+++ b/src/wx/config_dialog.cc
@@ -477,7 +477,7 @@ void
CertificateChainEditor::export_chain ()
{
auto d = new wxFileDialog (
- this, _("Select Chain File"), wxEmptyString, _("certificate_chain.pem"), wxT("PEM files (*.pem)|*.pem"),
+ this, _("Select Chain File"), wxEmptyString, wxT("certificate_chain.pem"), wxT("PEM files (*.pem)|*.pem"),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT
);
@@ -652,7 +652,7 @@ CertificateChainEditor::export_private_key ()
}
auto d = new wxFileDialog (
- this, _("Select Key File"), wxEmptyString, _("private_key.pem"), wxT ("PEM files (*.pem)|*.pem"),
+ this, _("Select Key File"), wxEmptyString, wxT("private_key.pem"), wxT("PEM files (*.pem)|*.pem"),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT
);
@@ -846,8 +846,7 @@ KeysPage::export_decryption_certificate ()
if (!config->dcp_issuer().empty()) {
default_name += "_" + std_to_wx(careful_string_filter(config->dcp_issuer()));
}
- /// TRANSLATORS: this is the suffix of the defautl filename used when exporting KDM decryption leaf certificates
- default_name += _("_kdm_decryption_cert.pem");
+ default_name += wxT("_kdm_decryption_cert.pem");
auto d = new wxFileDialog (
_panel, _("Select Certificate File"), wxEmptyString, default_name, wxT("PEM files (*.pem)|*.pem"),