]> git.lyx.org Git - lyx.git/commitdiff
(John): translate dialog titles.
authorAngus Leeming <leeming@lyx.org>
Mon, 8 Apr 2002 16:47:50 +0000 (16:47 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 8 Apr 2002 16:47:50 +0000 (16:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3947 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlBibtex.C
src/frontends/controllers/ControlGraphics.C
src/frontends/controllers/ControlPrint.C

index 28c0c339c4f7eaea97ad872a7ed4aae752709fe7..6b15dd2191a2d509e0aca4dc33ae02d6930e0be9 100644 (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
index a920c66e2fe30c485416a900d1161f5533e69b41..085309becbd67785895a982e47ba5c88db53f022 100644 (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);
 }
index 5487afba3a541dcf4398b48d188ea3169bb4c8db..8c459d13eecee161c89bcdfafde89dd0c8eeb55a 100644 (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);
index 3ab0c6bff9c9ae34c7052ff02a959167dc086f4d..0526472a5fc0ca6d5d8643ab50e4fed015f7565d 100644 (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