summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrconde01 <rconde01@hotmail.com>2015-02-17 16:33:36 (GMT)
committerrconde01 <rconde01@hotmail.com>2015-02-17 16:33:36 (GMT)
commit0d684381ac40574f6a948c56eb2da0445c3ee3bf (patch)
treecd8181facab468e3c0b842b30d051f5596b79dbe
parent5bfda3d4c1158e5429349a2698339650dcfbbe88 (diff)
downloadDoxygen-0d684381ac40574f6a948c56eb2da0445c3ee3bf.zip
Doxygen-0d684381ac40574f6a948c56eb2da0445c3ee3bf.tar.gz
Doxygen-0d684381ac40574f6a948c56eb2da0445c3ee3bf.tar.bz2
Fix for issue 744670
csharp documentation uses "package" rather than "namespace" in some locations
-rw-r--r--src/namespacedef.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index f7c8123..8001544 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -1136,7 +1136,7 @@ QCString NamespaceDef::title() const
{
SrcLangExt lang = getLanguage();
QCString pageTitle;
- if (lang==SrcLangExt_Java || lang==SrcLangExt_CSharp)
+ if (lang==SrcLangExt_Java)
{
pageTitle = theTranslator->trPackage(displayName());
}
@@ -1160,10 +1160,14 @@ QCString NamespaceDef::title() const
QCString NamespaceDef::compoundTypeString() const
{
SrcLangExt lang = getLanguage();
- if (lang==SrcLangExt_Java || lang==SrcLangExt_CSharp)
+ if (lang==SrcLangExt_Java)
{
return "package";
}
+ else if(lang==SrcLangExt_CSharp)
+ {
+ return "namespace";
+ }
else if (lang==SrcLangExt_Fortran)
{
return "module";