Fixing the Czech plurals turned up a trap worth recording: String(localized: locale:) reads the language from the bundle, while locale: only drives number and date formatting. A test that passes a Czech locale and nothing else quietly compares English strings — ours failed with "1 coupon" == "1 kupón", which reads as broken plurals when the plurals were fine and the test was looking in the wrong place. Also that a plural variation must reference the number, so a key extracted as "%@" cannot carry one and the build says so outright. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
25 lines
496 B
JSON
25 lines
496 B
JSON
{
|
|
"name": "pdat-swift-practice",
|
|
"version": "0.6.0",
|
|
"description": "Curated Apple platform findings with sources, plus practices learned from production incidents.",
|
|
"author": {
|
|
"name": "PDAT s.r.o.",
|
|
"email": "tomas.uvira@pdat.cz"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"swift",
|
|
"swiftui",
|
|
"ios",
|
|
"macos",
|
|
"watchos",
|
|
"core-data",
|
|
"xcodegen",
|
|
"swift-testing"
|
|
],
|
|
"skills": [
|
|
"./skills/xcode-practice",
|
|
"./skills/apple-findings"
|
|
]
|
|
}
|