- The native app's copy rule has a check. User-facing text goes through the i18n catalogs; for
apps/mobile/srcthat was review only.scripts/user-facing-strings.test.mjs(inpnpm test) now readsapp,features,designandplatformand fails on JSX text and on a string literal given to a copy prop or option (title,label,placeholder,accessibilityLabel, any name ending inTitle,Label,TextorHint), also through a conditional or a??fallback. It found nothing to move in 220 files. A string that is the same in every language (an example URL, the name of an operating system) is an allowlist entry with a reason. The web stays review only for now. See conventions. (#232)
A test keeps hard-coded copy out of the native app
scripts/user-facing-strings.test.mjs fails on JSX text and on a string literal in a copy prop anywhere in apps/mobile/src. The app was already clean, so no screen changes.
Edit on GitHubDocumentation is in English.