mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
(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:
parent
36415c9131
commit
3e39bef2c1
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user