]> git.lyx.org Git - features.git/commitdiff
Fix thinko that led 2-authors citations to be displayed with "et al."
authorRichard Heck <rgheck@lyx.org>
Mon, 18 Jul 2016 02:31:54 +0000 (22:31 -0400)
committerRichard Heck <rgheck@lyx.org>
Mon, 18 Jul 2016 02:56:14 +0000 (22:56 -0400)
(cherry picked from commit d5633f17e56b73b308921a7c466bffa20e3e27b8)

src/BiblioInfo.cpp
status.22x

index f2bf332a2655204b8dbdce3b630bbc4c5fbd0c20..1d3b6fd07d89da1c2c48b1c542a4c2d450ca7f4a 100644 (file)
@@ -299,8 +299,7 @@ docstring const BibTeXInfo::getAbbreviatedAuthor(bool jurabib_style) const
        if (authors.size() == 2 && authors[1] != "others")
                retval = bformat(from_ascii("%1$s and %2$s"),
                        familyName(authors[0]), familyName(authors[1]));
-
-       if (authors.size() >= 2)
+       else if (authors.size() >= 2)
                retval = bformat(from_ascii("%1$s et al."),
                        familyName(authors[0]));
 
index 1d74cf8b792ef17a7b35fefe231b862ce0b4abf1..5afab3f25738b85bd43162e1b68436beab07564f 100644 (file)
@@ -40,6 +40,10 @@ What's new
 
 * USER INTERFACE
 
+- Fix display of citations with two authors. 
+
+- Fix display of multi-author citations when the GUI language is not English.
+
 
 * INTERNALS