]> git.lyx.org Git - features.git/commitdiff
This string composition badly fails on some languages since as a translator
authorPavel Sanda <sanda@lyx.org>
Sat, 27 Nov 2010 03:04:56 +0000 (03:04 +0000)
committerPavel Sanda <sanda@lyx.org>
Sat, 27 Nov 2010 03:04:56 +0000 (03:04 +0000)
you have no clue about the context for the proper grammatical case.

I'm not particularly happy about the fix, but didn't see much better alternatives.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36532 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/FindAndReplace.cpp

index 6834851cbffd9839f398b59bfa0a03f9c4e5b822..a42c9e097a8cc9a94b41d24364f09c8a8dae9be0 100644 (file)
@@ -272,23 +272,23 @@ docstring getQuestionString(FindAndReplaceOptions const & opt)
        docstring scope;
        switch (opt.scope) {
        case FindAndReplaceOptions::S_BUFFER:
-               scope = _("file[[scope]]");
+               scope = _("File");
                break;
        case FindAndReplaceOptions::S_DOCUMENT:
-               scope = _("master document[[scope]]");
+               scope = _("Master document");
                break;
        case FindAndReplaceOptions::S_OPEN_BUFFERS:
-               scope = _("open files[[scope]]");
+               scope = _("Open files");
                break;
        case FindAndReplaceOptions::S_ALL_MANUALS:
-               scope = _("manuals[[scope]]");
+               scope = _("Manuals");
                break;
        }
        docstring message = opt.forward ?
-               bformat(_("End of %1$s reached while searching forward.\n"
+               bformat(_("%1$s: the end was reached while searching forward.\n"
                          "Continue searching from the beginning?"),
                        scope) : 
-               bformat(_("Beginning of %1$s reached while searching backward.\n"
+               bformat(_("%1$s: the beginning was reached while searching backward.\n"
                          "Continue searching from the end?"),
                        scope);