소스 검색

CollectionModel: Remove localization on indicatorName

Soomin Lee 6 년 전
부모
커밋
e5307154fa
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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")