Commit 02b35985 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 736033 - [PATCH] Cleanup redundant if/else branch in src/translator_tw.h

parent 8e47b4bc
...@@ -749,8 +749,7 @@ class TranslatorChinesetraditional : public Translator ...@@ -749,8 +749,7 @@ class TranslatorChinesetraditional : public Translator
/*! This is put at the bottom of a class documentation page and is /*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page. * followed by a list of files that were used to generate the page.
*/ */
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,bool)
bool single)
{ // here s is one of " Class", " Struct" or " Union" { // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)"此"; QCString result=(QCString)"此";
...@@ -766,7 +765,7 @@ class TranslatorChinesetraditional : public Translator ...@@ -766,7 +765,7 @@ class TranslatorChinesetraditional : public Translator
default: break; default: break;
} }
result+=" 文件是由下列檔案中產生"; result+=" 文件是由下列檔案中產生";
if (single) result+=":"; else result+=":"; result+=":";
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment