Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
8e47b4bc
Commit
8e47b4bc
authored
Sep 09, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 736034 - [PATCH] Cleanup redundant if/else branch in src/translator_vi.h
parent
4afe0883
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
translator_vi.h
src/translator_vi.h
+3
-5
No files found.
src/translator_vi.h
View file @
8e47b4bc
...
@@ -749,8 +749,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
...
@@ -749,8 +749,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
/*! 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
)
"Thông tin cho "
;
QCString
result
=
(
QCString
)
"Thông tin cho "
;
...
@@ -766,7 +765,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
...
@@ -766,7 +765,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
default
:
break
;
default
:
break
;
}
}
result
+=
" được biên soạn từ các file sau đây"
;
result
+=
" được biên soạn từ các file sau đây"
;
if
(
single
)
result
+=
":"
;
else
result
+=
":"
;
result
+=
":"
;
return
result
;
return
result
;
}
}
...
@@ -1501,10 +1500,9 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
...
@@ -1501,10 +1500,9 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0
/*! This returns the word directory with or without starting capital
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
* (\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"
));
QCString
result
((
first_capital
?
"Thư mục"
:
"thư mục"
));
if
(
singular
)
result
+=
""
;
else
result
+=
""
;
return
result
;
return
result
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment