mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Buffer.cpp, InsetCommandParams.cpp: refine comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33592 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4def0c2a52
commit
7d4cd54c46
@ -1326,14 +1326,14 @@ void Buffer::writeLaTeXSource(odocstream & os,
|
||||
|
||||
// warn user if we found uncodable glyphs.
|
||||
if (!uncodable_glyphs.empty()) {
|
||||
frontend::Alert::warning(_("Uncodable character in path"),
|
||||
frontend::Alert::warning(_("Uncodable character in file path"),
|
||||
support::bformat(_("The path of your document\n"
|
||||
"(%1$s)\n"
|
||||
"contains glyphs that are unknown in the\n"
|
||||
"current document encoding (namely %2$s).\n"
|
||||
"This will likely result in incomplete output.\n\n"
|
||||
"Chose an appropriate document encoding (such as utf8)\n"
|
||||
"or change the path name."), inputpath, uncodable_glyphs));
|
||||
"or change the file path name."), inputpath, uncodable_glyphs));
|
||||
} else {
|
||||
os << "\\makeatletter\n"
|
||||
<< "\\def\\input@path{{"
|
||||
|
@ -384,8 +384,8 @@ docstring InsetCommandParams::prepareCommand(OutputParams const & runparams,
|
||||
// issue a warning about omitted characters
|
||||
// FIXME: should be passed to the error dialog
|
||||
frontend::Alert::warning(_("Uncodable characters"),
|
||||
bformat(_("The following characters that are used in an inset (%1$s) are\n"
|
||||
"not representable in the current encoding and have been omitted:\n%2$s."),
|
||||
bformat(_("The following characters that are used in the inset %1$s are not\n"
|
||||
"representable in the current encoding and therefore have been omitted:\n%2$s."),
|
||||
from_utf8(insetType()), uncodable));
|
||||
}
|
||||
} else if (handling == ParamInfo::HANDLING_ESCAPE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user