Skip to content

Commit

Permalink
Bug 149792 - Mainpage title has wrong style in RTF
Browse files Browse the repository at this point in the history
Translate the word Version as well.
  • Loading branch information
albert-github committed Jun 14, 2015
1 parent 021dfd4 commit 077aeb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtfgen.cpp
Expand Up @@ -605,7 +605,7 @@ void RTFGenerator::endIndexSection(IndexSections is)

t << rtf_Style_Reset << rtf_Style["SubTitle"]->reference << endl; // set to subtitle style
t << "{\\field\\fldedit {\\*\\fldinst AUTHOR \\\\*MERGEFORMAT}{\\fldrslt AUTHOR}}\\par" << endl;
t << "Version " << Config_getString("PROJECT_NUMBER") << "\\par";
t << theTranslator->trVersion() << " " << Config_getString("PROJECT_NUMBER") << "\\par";
t << "{\\field\\fldedit {\\*\\fldinst CREATEDATE \\\\*MERGEFORMAT}"
"{\\fldrslt "<< dateToString(FALSE) << " }}\\par"<<endl;
t << "\\page\\page";
Expand Down

0 comments on commit 077aeb7

Please sign in to comment.