Skip to content
Permalink
Browse files

Migrate deprecated “English.lproj”

  • Loading branch information...
alejx committed May 26, 2019
1 parent 65d2803 commit 442c8d0ff1bce2c9d9d3f56c214caf1de87832d8
Showing with 3 additions and 4 deletions.
  1. +1 −2 iina.xcodeproj/project.pbxproj
  2. +2 −2 iina/AboutWindowController.swift
@@ -2108,10 +2108,9 @@
};
buildConfigurationList = 84EB1ED11D2F51D3004FA5A1 /* Build configuration list for PBXProject "iina" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
English,
Base,
en,
"zh-Hans",
@@ -82,7 +82,7 @@ class AboutWindowController: NSWindowController {
contributorsCollectionView.dataSource = self
contributorsCollectionView.backgroundColors = [.clear]
contributorsCollectionView.register(AboutWindowContributorAvatarItem.self, forItemWithIdentifier: .dataSourceItem)

let image = NSImage(size: contributorsFooterView.frame.size)
let rect = CGRect(origin: .zero, size: contributorsFooterView.frame.size)
image.lockFocus()
@@ -99,7 +99,7 @@ class AboutWindowController: NSWindowController {
contributorsFooterImage.image = image
contributorsFooterImage.isHidden = false
}

contributorsCollectionView.enclosingScrollView?.contentInsets.bottom = contributorsFooterView.frame.height * loc[colors.firstIndex(of: 0)! - 1]

translatorsTableView.dataSource = self

0 comments on commit 442c8d0

Please sign in to comment.
You can’t perform that action at this time.