diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-05-24 16:25:58 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-05-24 16:25:58 (GMT) |
commit | 9c04d0ffef418ec6c771a0afa4679a4e508ba710 (patch) | |
tree | 8572e4828627ab6b9a6d55d425469176c0c02e0b /src/doc.l | |
parent | 9ca6896b9e1e932f3ddf11bb74a9f80d5560044e (diff) | |
download | Doxygen-9c04d0ffef418ec6c771a0afa4679a4e508ba710.zip Doxygen-9c04d0ffef418ec6c771a0afa4679a4e508ba710.tar.gz Doxygen-9c04d0ffef418ec6c771a0afa4679a4e508ba710.tar.bz2 |
Release-1.2.7-20010524
Diffstat (limited to 'src/doc.l')
-rw-r--r-- | src/doc.l | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1432,7 +1432,7 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG}) outDoc->endDescList(); currentListIndent.pop(); } -<DocScan>{CMD}"author"{BN}+ { +<DocScan>{CMD}"author"[s]?{BN}+ { endArgumentList(); if (!inAuthorBlock) { @@ -1441,7 +1441,8 @@ OPMASK ({B}*{OPNORM}({OPARG}?))|({OPCAST}{OPARG}) currentListIndent.push("D"); outDoc->startDescList(); outDoc->startBold(); - scanString(theTranslator->trAuthors()+": "); + bool singular = ((QString)yytext).find('s')==-1; + scanString(theTranslator->trAuthor(TRUE,singular)+": "); outDoc->endBold(); outDoc->endDescTitle(); outDoc->writeDescItem(); |