Explorar el Código

CollectionModel: Remove localization on indicatorName

Soomin Lee hace 6 años
padre
commit
e5307154fa
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      SharedSources/MediaLibraryModel/CollectionModel.swift

+ 2 - 1
SharedSources/MediaLibraryModel/CollectionModel.swift

@@ -36,7 +36,8 @@ class CollectionModel: MLBaseModel {
 
     var cellType: BaseCollectionViewCell.Type { return MediaCollectionViewCell.self }
 
-    var indicatorName: String = NSLocalizedString("Collections", comment: "")
+    // No indicator for this model so no localization needed.
+    var indicatorName: String = "Collections"
 
     func delete(_ items: [VLCMLObject]) {
        assertionFailure("still needs implementation")