summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/namespacedef.cpp')
-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";