|
@@ -622,7 +622,7 @@ extension NCSelect: UICollectionViewDataSource {
|
|
|
header.setStatusButtonsView(enable: !dataSource.metadatasSource.isEmpty)
|
|
|
header.setSortedTitle(layoutForView?.titleButtonHeader ?? "")
|
|
|
header.setRichWorkspaceText(richWorkspaceText)
|
|
|
- header.labelSection.text = self.dataSource.getSectionValue(indexPath: indexPath).firstUppercased
|
|
|
+ header.labelSection.text = NSLocalizedString(self.dataSource.getSectionValue(indexPath: indexPath), comment: "").lowercased().firstUppercased
|
|
|
header.labelSection.textColor = NCBrandColor.shared.brandElement
|
|
|
|
|
|
header.setButtonsCommand(heigt: 0)
|
|
@@ -636,7 +636,7 @@ extension NCSelect: UICollectionViewDataSource {
|
|
|
|
|
|
let header = collectionView.dequeueReusableSupplementaryView(ofKind: kind, withReuseIdentifier: "sectionHeader", for: indexPath) as! NCSectionHeader
|
|
|
|
|
|
- header.labelSection.text = self.dataSource.getSectionValue(indexPath: indexPath).firstUppercased
|
|
|
+ header.labelSection.text = NSLocalizedString(self.dataSource.getSectionValue(indexPath: indexPath), comment: "").lowercased().firstUppercased
|
|
|
header.labelSection.textColor = NCBrandColor.shared.brandElement
|
|
|
|
|
|
return header
|