]> git.lyx.org Git - features.git/commitdiff
convert string arguments for bformat with proper encoding
authorStephan Witt <switt@lyx.org>
Mon, 24 Nov 2008 21:12:58 +0000 (21:12 +0000)
committerStephan Witt <switt@lyx.org>
Mon, 24 Nov 2008 21:12:58 +0000 (21:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27696 a592a061-630c-0410-9148-cb99ea01b6c8

src/VCBackend.cpp

index 387ead3e9da71d3026af0975a483ac51e58cfdd3..a787d4cb2ccda34b7b3b126dcd4cb7b1a91eabd3 100644 (file)
@@ -52,7 +52,7 @@ int VCS::doVCCommand(string const & cmd, FileName const & path)
                frontend::Alert::error(_("Revision control error."),
                        bformat(_("Some problem occured while running the command:\n"
                                  "'%1$s'."),
-                       from_ascii(cmd)));
+                       from_utf8(cmd)));
        return ret;
 }
 
@@ -534,7 +534,7 @@ string SVN::checkOut()
                        bformat(_("Error when updating from repository.\n"
                                "You have to manually resolve the conflicts NOW!\n'%1$s'.\n\n"
                                "After pressing OK, LyX will try to reopen resolved document."),
-                       from_ascii(res)));
+                       from_local8bit(res)));
        tmpf.erase();
        return "SVN: " + log;
 }