Localized

This commit is contained in:
giginet
2019-11-08 02:52:50 +09:00
parent decaa9d080
commit ae75bcb2cb
+7 -4
View File
@@ -452,13 +452,16 @@ class SourceGenerator {
groupChildren.append(variantGroup)
baseLocalisationVariantGroups.append(variantGroup)
let sourceFile = SourceFile(
let fileReference = getFileReference(
path: filePath,
fileReference: variantGroup,
buildFile: PBXBuildFile(file: variantGroup),
buildPhase: .resources
inPath: baseLocalisedDirectory,
name: variantGroup.name ?? filePath.lastComponent
)
let sourceFile = generateSourceFile(targetType: targetType,
targetSource: targetSource,
path: filePath)
allSourceFiles.append(sourceFile)
groupChildren.append(fileReference)
}
}