# 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.

- **The native app's copy rule has a check.** User-facing text goes through the i18n catalogs; for `apps/mobile/src` that was review only. `scripts/user-facing-strings.test.mjs` (in `pnpm test`) now reads `app`, `features`, `design` and `platform` and fails on JSX text and on a string literal given to a copy prop or option (`title`, `label`, `placeholder`, `accessibilityLabel`, any name ending in `Title`, `Label`, `Text` or `Hint`), 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](/docs/development/conventions#code-is-written-in-english). ([#232](https://github.com/CarlosZiegler/template-cloudflare/pull/232))
