Permalink
Browse files

Bug 736034 - [PATCH] Cleanup redundant if/else branch in src/translat…

…or_vi.h
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 9, 2014
1 parent 4afe088 commit 8e47b4bc5084cb00e5bdcdaa4c1bd048b48a4999
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/translator_vi.h
@@ -749,8 +749,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
/*! 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.
*/
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single)
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,bool)
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result=(QCString)"Thông tin cho ";
@@ -766,7 +765,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
default: break;
}
result+=" được biên soạn từ các file sau đây";
if (single) result+=":"; else result+=":";
result+=":";
return result;
}
@@ -1501,10 +1500,9 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool first_capital, bool singular)
virtual QCString trDir(bool first_capital, bool)
{
QCString result((first_capital ? "Thư mục" : "thư mục"));
if (singular) result+=""; else result+="";
return result;
}

0 comments on commit 8e47b4b

Please sign in to comment.