Преглед на файлове

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")