Skip to content
Snippets Groups Projects
Commit 5a3201eb authored by Jerome Velociter's avatar Jerome Velociter
Browse files

XWIKI-7279 Fallback on section name when no translation key exists for a

custom application configurable section
parent 04031c08
No related branches found
No related tags found
No related merge requests found
......@@ -3410,8 +3410,10 @@
$xwiki.ssx.use('XWiki.AdminSheet')##
#if ($crtSectionId != '' && $crtSectionId.indexOf('.') > 0)
#set ($sectionName = $xwiki.getDocument($crtSectionId).getDisplayTitle())
#elseif ($crtSectionId != '')
#elseif ($crtSectionId != '' && $msg.get("admin.${crtSectionId.toLowerCase()}") != "admin.${crtSectionId.toLowerCase()}")
#set ($sectionName = $msg.get("admin.${crtSectionId.toLowerCase()}"))
#elseif ($crtSectionId != '')
#set ($sectionName = $crtSectionId)
#elseif ($crtCategoryId != '')
#set ($sectionName = $msg.get("admin.${crtItemId}"))
#elseif ($editor == 'globaladmin')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment