Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
ignore InfoPlist.strings
Browse files Browse the repository at this point in the history
  • Loading branch information
lhc70000 committed Jan 1, 2018
1 parent 1e28e6e commit aec592f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions iina-translation-utility.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 67CQ77V27R;
Expand All @@ -308,6 +309,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 67CQ77V27R;
Expand Down
2 changes: 1 addition & 1 deletion iina-translation-utility/MainWindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class MainWindowController: NSWindowController {
localizableFiles.removeAll()
localizableFiles = try! FileManager.default
.contentsOfDirectory(at: url, includingPropertiesForKeys: nil, options: [.skipsHiddenFiles, .skipsSubdirectoryDescendants])
.filter { $0.lastPathComponent.hasSuffix(".strings") }
.filter { $0.lastPathComponent.hasSuffix(".strings") && $0.lastPathComponent != "InfoPlist.strings" }
.sorted { $0.path.localizedStandardCompare($1.path) == .orderedAscending }
.map { LocalizableFile(url: $0, basedOn: selectedBaseLangURL) }
localizableFiles.forEach { $0.update() }
Expand Down

0 comments on commit aec592f

Please sign in to comment.