]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
Add a comment.
[lyx.git] / src / BiblioInfo.cpp
index 471740dc2d24110aedc5283f4fc1466184febac1..f0db8396def4261ed8db6c33273f290c372466ad 100644 (file)
@@ -76,7 +76,7 @@ docstring BibTeXInfo::getValueForKey(string const & key,
                BibTeXInfo const * const xref) const
 {
        docstring const ret = operator[](key);
-       if (!ret.empty() or !xref)
+       if (!ret.empty() || !xref)
                return ret;
        return (*xref)[key];
 }
@@ -318,9 +318,9 @@ docstring const & BibTeXInfo::getInfo(BibTeXInfo const * const xref) const
        if (docLoc.empty()) {
                docLoc = getValueForKey("chapter", xref);
                if (!docLoc.empty())
-                       docLoc = from_ascii("Ch. ") + docLoc;
+                       docLoc = _("Ch. ") + docLoc;
        }       else {
-               docLoc = from_ascii("pp. ") + docLoc;
+               docLoc = _("pp. ") + docLoc;
        }
 
        docstring media = getValueForKey("journal", xref);