Skip to content

Commit 079726e

Browse files
author
petyovsky
committed
Dutch and czech localization update to "new since 1.9.6".
1 parent c2ab72c commit 079726e

File tree

2 files changed

+58
-5
lines changed

2 files changed

+58
-5
lines changed

src/translator_cz.h

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/******************************************************************************
1+
/******************************************************************************
22
*
33
*
44
*
@@ -20,6 +20,9 @@
2020

2121
// Updates:
2222
// --------
23+
// 2022/08/30 - Updated for "new since 1.9.6" by: <petyovsky@vut.cz>
24+
// Changed translation: `trMemberFunctionDocumentation()`.
25+
// Added new translation: `trFlowchart()`.
2326
// 2022/08/25 - Updated for "new since 1.9.4" by: <petyovsky@vut.cz>
2427
// removed all implicit conversion from QCString to const char *,
2528
// fixed issues: #7434, #8404, #9192,
@@ -126,7 +129,7 @@
126129
Translator class (by the local maintainer) when the localized
127130
translator is made up-to-date again.
128131
*/
129-
class TranslatorCzech : public TranslatorAdapter_1_9_5
132+
class TranslatorCzech : public Translator
130133
{
131134
public:
132135

@@ -200,7 +203,16 @@ class TranslatorCzech : public TranslatorAdapter_1_9_5
200203

201204
/*! header that is put before the list of member functions. */
202205
virtual QCString trMemberFunctionDocumentation()
203-
{ return "Dokumentace členských funkcí"; }
206+
{
207+
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
208+
{
209+
return "Dokumentace členských funkcí/procedur/procesů";
210+
}
211+
else
212+
{
213+
return "Dokumentace členských funkcí";
214+
}
215+
}
204216

205217
/*! header that is put before the list of member attributes. */
206218
virtual QCString trMemberDataDocumentation()
@@ -2460,6 +2472,22 @@ class TranslatorCzech : public TranslatorAdapter_1_9_5
24602472

24612473
virtual QCString trPackageList()
24622474
{ return "Seznam balíků"; }
2475+
2476+
//////////////////////////////////////////////////////////////////////////
2477+
// new since 1.9.6
2478+
//////////////////////////////////////////////////////////////////////////
2479+
2480+
/*! This is used for translation of the word that will be
2481+
* followed by a single name of the VHDL process flowchart.
2482+
*/
2483+
virtual QCString trFlowchart()
2484+
{ return "Vývojový diagram: "; }
2485+
2486+
/*! Please translate also updated body of the method
2487+
* trMemberFunctionDocumentation(), now better adapted for
2488+
* VHDL sources documentation.
2489+
* Done.
2490+
*/
24632491
};
24642492

24652493
#endif // TRANSLATOR_CZ_H

src/translator_nl.h

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#ifndef TRANSLATOR_NL_H
1919
#define TRANSLATOR_NL_H
2020

21-
class TranslatorDutch : public TranslatorAdapter_1_9_5
21+
class TranslatorDutch : public Translator
2222
{
2323
public:
2424
QCString idLanguage()
@@ -53,7 +53,16 @@ class TranslatorDutch : public TranslatorAdapter_1_9_5
5353
QCString trMemberEnumerationDocumentation()
5454
{ return "Documentatie van enumeratie members"; }
5555
QCString trMemberFunctionDocumentation()
56-
{ return "Documentatie van functie members"; }
56+
{
57+
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
58+
{
59+
return "Documentatie van functie/procedure/process members";
60+
}
61+
else
62+
{
63+
return "Documentatie van functie members";
64+
}
65+
}
5766
QCString trMemberDataDocumentation()
5867
{ return "Documentatie van data members"; }
5968
QCString trMore()
@@ -1868,6 +1877,22 @@ class TranslatorDutch : public TranslatorAdapter_1_9_5
18681877

18691878
virtual QCString trPackageList()
18701879
{ return "Package Lijst"; }
1880+
1881+
//////////////////////////////////////////////////////////////////////////
1882+
// new since 1.9.6
1883+
//////////////////////////////////////////////////////////////////////////
1884+
1885+
/*! This is used for translation of the word that will be
1886+
* followed by a single name of the VHDL process flowchart.
1887+
*/
1888+
virtual QCString trFlowchart()
1889+
{ return "Stroomschema: "; }
1890+
1891+
/*! Please translate also updated body of the method
1892+
* trMemberFunctionDocumentation(), now better adapted for
1893+
* VHDL sources documentation.
1894+
* Done.
1895+
*/
18711896
};
18721897

18731898
#endif

0 commit comments

Comments
 (0)