ソースを参照

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