From 8cbee56e980849ea46940c48ea1ec9ef41d6634e Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 4 Mar 2025 23:17:34 +0100 Subject: [PATCH] Removed the default localisation of the package, and the resources files from its library target. --- .../Resources/Catalogs/Localizable.xcstrings | 61 ------------------- Package.swift | 6 +- 2 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 Library/Resources/Catalogs/Localizable.xcstrings diff --git a/Library/Resources/Catalogs/Localizable.xcstrings b/Library/Resources/Catalogs/Localizable.xcstrings deleted file mode 100644 index 737d10b..0000000 --- a/Library/Resources/Catalogs/Localizable.xcstrings +++ /dev/null @@ -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" -} \ No newline at end of file diff --git a/Package.swift b/Package.swift index ae0ded1..71f9e66 100644 --- a/Package.swift +++ b/Package.swift @@ -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",