summaryrefslogtreecommitdiff
path: root/src/tools/dvdomatic.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-27 12:19:57 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-27 12:19:57 +0000
commit419bcdc816802e50fdebb89bc9dd4a73ede103f5 (patch)
tree21f4feca34e28dbd4f1f94234ee69e3134abe0e1 /src/tools/dvdomatic.cc
parent2f10afc2a4cc2156245a5db593ba7476c6caa4f5 (diff)
More fighting with i18n woes.
Diffstat (limited to 'src/tools/dvdomatic.cc')
-rw-r--r--src/tools/dvdomatic.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc
index f6dc587c9..71b8ff6c4 100644
--- a/src/tools/dvdomatic.cc
+++ b/src/tools/dvdomatic.cc
@@ -284,7 +284,7 @@ private:
void file_changed (string f)
{
stringstream s;
- s << _("DVD-o-matic");
+ s << wx_to_std (_("DVD-o-matic"));
if (!f.empty ()) {
s << " - " << f;
}
@@ -328,7 +328,7 @@ private:
} catch (std::exception& e) {
wxString p = c->GetPath ();
wxCharBuffer b = p.ToUTF8 ();
- error_dialog (this, std_to_wx (String::compose (wx_to_std (_("Could not open film at %1 (%2)")), wx_to_std (p), e.what())));
+ error_dialog (this, wxString::Format (_("Could not open film at %s (%s)"), p.data(), std_to_wx (e.what()).data()));
}
}