mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
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:
parent
ccb09162e5
commit
1e53ac960a
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user