(John): translate dialog titles.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3947 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-04-08 16:47:50 +00:00
parent 36415c9131
commit 3e39bef2c1
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2002-04-08 John Levon <moz@compsoc.man.ac.uk>
* ControlGraphics.C:
* ControlPrint.C:
* ControlBibtex.C: make N_() be _()
2002-04-07 Herbert Voss <voss@perce.de>
* ControlGraphics.[C]: move readBB as readBB_from_PSFile into filetools

View File

@ -65,7 +65,7 @@ string const ControlBibtex::Browse(string const & in_name,
string const & title,
string const & pattern)
{
pair<string, string> dir1(N_("Documents|#o#O"), string(lyxrc.document_path));
pair<string, string> dir1(_("Documents|#o#O"), string(lyxrc.document_path));
return browseRelFile(&lv_, in_name, lv_.buffer()->filePath(),
title, pattern, dir1);
}

View File

@ -84,7 +84,7 @@ extern string user_lyxdir;
string const ControlGraphics::Browse(string const & in_name)
{
string const title = N_("Select graphics file");
string const title = _("Select graphics file");
// FIXME: currently we need the second '|' to prevent mis-interpretation
string const pattern = "*.(ps|eps|png|jpeg|jpg|gif|gz)|";
@ -94,8 +94,8 @@ string const ControlGraphics::Browse(string const & in_name)
if (!(fileInfo.isOK() && fileInfo.isDir()))
// No - bail out to system clipart directory
clipdir = AddName (system_lyxdir, "clipart");
pair<string, string> dir1(N_("Clipart|#C#c"), clipdir);
pair<string, string> dir2(N_("Documents|#o#O"), string(lyxrc.document_path));
pair<string, string> dir1(_("Clipart|#C#c"), clipdir);
pair<string, string> dir2(_("Documents|#o#O"), string(lyxrc.document_path));
// Show the file browser dialog
return browseRelFile(&lv_, in_name, lv_.buffer()->filePath(),
title, pattern, dir1, dir2);

View File

@ -86,7 +86,7 @@ void ControlPrint::clearParams()
string const ControlPrint::Browse(string const & in_name)
{
string const title = N_("Print to file");
string const title = _("Print to file");
string const pattern = "*.ps";
// Show the file browser dialog