summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-10-09 19:26:18 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-10-09 19:26:18 +0000
commitfab4c86f1347c48c3e87d645343faf0b167ea635 (patch)
tree0bb5f371a8c4ddfe917d672577e8ce4e100cec33 /src/inkscape.cpp
parentfix memory leak and access error in sp_repr_css_merge_from_decl (Bug #1061157) (diff)
downloadinkscape-fab4c86f1347c48c3e87d645343faf0b167ea635.tar.gz
inkscape-fab4c86f1347c48c3e87d645343faf0b167ea635.zip
Fix translation issue of rev 11759.
(bzr r11772)
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 0a94d0742..fc9a9783f 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -312,8 +312,8 @@ static gint inkscape_autosave(gpointer)
// Try to create the autosave directory if it doesn't exist
if (g_mkdir(autosave_dir.c_str(), 0755)) {
// the creation failed
- Glib::ustring msg = Glib::ustring::format(
- _("Autosave failed! Cannot create directory "), Glib::filename_to_utf8(autosave_dir));
+ Glib::ustring msg = Glib::ustring::compose(
+ _("Autosave failed! Cannot create directory %1."), Glib::filename_to_utf8(autosave_dir));
g_warning("%s", msg.c_str());
SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, msg.c_str());
return TRUE;
@@ -321,8 +321,8 @@ static gint inkscape_autosave(gpointer)
// Try to read dir again
autosave_dir_ptr = g_dir_open(autosave_dir.c_str(), 0, NULL);
if( !autosave_dir_ptr ){
- Glib::ustring msg = Glib::ustring::format(
- _("Autosave failed! Cannot open directory "), Glib::filename_to_utf8(autosave_dir));
+ Glib::ustring msg = Glib::ustring::compose(
+ _("Autosave failed! Cannot open directory %1."), Glib::filename_to_utf8(autosave_dir));
g_warning("%s", msg.c_str());
SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, msg.c_str());
return TRUE;