Removed the default localisation of the package, and the resources files from its library target.

This commit is contained in:
Javier Cicchelli 2025-03-04 23:17:34 +01:00
parent 957eb5f41b
commit 8cbee56e98
2 changed files with 1 additions and 66 deletions

View File

@ -1,61 +0,0 @@
{
"sourceLanguage" : "en",
"strings" : {
"path.component.forward-slash" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "/"
}
}
}
},
"path.component.previous-folder" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : ".."
}
}
}
},
"path.format.data" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "/data/%@"
}
}
}
},
"path.format.docc-archive" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "/%@.doccarchive"
}
}
}
},
"path.format.root" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "/%@"
}
}
}
}
},
"version" : "1.0"
}

View File

@ -4,7 +4,6 @@ import PackageDescription
let package = Package(
name: "DocCRepo",
defaultLocalization: "en",
platforms: [
.macOS(.v14)
],
@ -32,10 +31,7 @@ let package = Package(
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Hummingbird", package: "hummingbird")
],
path: "Library",
resources: [
.process("Resources/Catalogs/Localizable.xcstrings")
]
path: "Library"
),
.testTarget(
name: "AppTests",