Просмотр исходного кода

CollectionModel: Remove localization on indicatorName

Soomin Lee 6 лет назад
Родитель
Сommit
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")