Change translation strings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-03-16 13:05:42 +00:00
parent ccb09162e5
commit 1e53ac960a
3 changed files with 5 additions and 5 deletions

View File

@ -925,18 +925,18 @@ bool Buffer::writeFile(FileName const & fname) const
} }
if (!retval) { if (!retval) {
message(str + _(" could not write file!.")); message(str + _(" could not write file!"));
return false; return false;
} }
removeAutosaveFile(d->filename.absFilename()); removeAutosaveFile(d->filename.absFilename());
if (params().embedded) { if (params().embedded) {
message(str + _(" writing embedded files!.")); message(str + _(" writing embedded files."));
// if embedding is enabled, write file.lyx and all the embedded files // if embedding is enabled, write file.lyx and all the embedded files
// to the zip file fname. // to the zip file fname.
if (!d->embedded_files.writeFile(fname, *this)) { if (!d->embedded_files.writeFile(fname, *this)) {
message(str + _(" could not write embedded files!.")); message(str + _(" could not write embedded files!"));
return false; return false;
} }
} }

View File

@ -168,7 +168,7 @@ bool EmbeddedFile::extract() const
// otherwise, ask if overwrite // otherwise, ask if overwrite
int ret = Alert::prompt( int ret = Alert::prompt(
_("Overwrite external file?"), _("Overwrite external file?"),
bformat(_("External file %1$s already exists, do you want to overwrite it"), bformat(_("External file %1$s already exists, do you want to overwrite it?"),
from_utf8(ext_file)), 1, 1, _("&Overwrite"), _("&Cancel")); from_utf8(ext_file)), 1, 1, _("&Overwrite"), _("&Cancel"));
if (ret != 0) if (ret != 0)
// if the user does not want to overwrite, we still consider it // if the user does not want to overwrite, we still consider it

View File

@ -720,7 +720,7 @@ bool loadLayoutFile(string const & name, string const & buf_path)
LayoutFile & tc = LayoutFileList::get()[name]; LayoutFile & tc = LayoutFileList::get()[name];
if (!tc.load(buf_path)) { if (!tc.load(buf_path)) {
docstring s = bformat(_("The document class %1$s." docstring s = bformat(_("The document class %1$s "
"could not be loaded."), from_utf8(name)); "could not be loaded."), from_utf8(name));
Alert::error(_("Could not load class"), s); Alert::error(_("Could not load class"), s);
return false; return false;