Permalink
Browse files

Fix for issue 744670

csharp documentation uses "package" rather than "namespace" in some locations
  • Loading branch information...
rconde01 committed Feb 17, 2015
1 parent 5bfda3d commit 0d684381ac40574f6a948c56eb2da0445c3ee3bf
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/namespacedef.cpp
View
@@ -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";

0 comments on commit 0d68438

Please sign in to comment.