Skip to content

Put the repository in English: the mockup and the app's identifiers - #12

Merged
AndrianLeah merged 1 commit into
masterfrom
docs/english-only
Dec 1, 2026
Merged

AndrianLeah merged 1 commit into
masterfrom
docs/english-only

Conversation

@AndrianLeah

Copy link
Copy Markdown
Owner

What changed

  • Mockup (mockup/): the Cover and both Foundations boards of string-tuner-liquid-glass.figcraft are in English, and so is the description of the stepper component. png/foundations-dark.png and png/foundations-light.png are exported again: same layout, 20 px taller because some English lines wrap. The Segment row of the state matrix shows the theme control (Light / Dark) instead of the language one (Italiano / English). mockup/README.md is translated.
  • App ID: com.accordatore.app → com.stringtuner.app in capacitor.config.ts, the Gradle namespace and applicationId, strings.xml and the package of MainActivity (moved to java/com/stringtuner/app/). The instrumented example test now expects this ID instead of the template's com.getcapacitor.app.
  • Storage keys: accordatore_settings → string-tuner-settings, accordatore_config → string-tuner-config. A new renameKey in src/services/storage.ts moves what is saved under an old key to the new one when the app starts, so settings and custom tunings are kept; a value already under the new key wins. Three new tests cover it.
  • README: the "Measured on the virtual instrument" table gets a header row (Measurement / Result).

Why

The repository mixed English and Italian. Italian is now left only in the app's Italian translation (src/locales/it.json), in the tests that check it, and in the two old storage keys the migration has to read.

For the reviewer

  • Android sees a new app. With a new application ID the app installs beside the old one instead of updating it, and the old app's data (settings, custom tunings) stays with the old app. On the web the migration keeps everything.
  • The Android build was not run here (no JDK or Android SDK on this machine): the package, the namespace and the manifest's .MainActivity were checked by hand. npx cap sync android writes the new ID into the generated Capacitor config.
  • Lint, the 325 tests and the type-checked build pass.
  • The design file and the boards are in Git LFS, like the rest of the mockup.

The design file and its README were in Italian, and so were the app ID
and the storage keys.

- Mockup: the Cover and both Foundations boards of the FigCraft file are
  translated, with the description of the stepper component, and the
  two boards are exported again. The Segment row of the state matrix
  shows the theme control (Light / Dark) instead of the language one.
  mockup/README.md is translated too.
- App ID: com.stringtuner.app in the Capacitor config, the Gradle
  namespace and applicationId, strings.xml and the package of
  MainActivity. The instrumented test now expects it, instead of the
  template's com.getcapacitor.app.
- Storage keys: string-tuner-settings and string-tuner-config. On start,
  what is saved under the old keys moves to the new ones, so settings
  and custom tunings are kept; a value already under a new key wins.
- README: the table of measured results gets a header row.

Android sees the new ID as another app: it installs beside the old one,
which keeps its own data.

Italian is left in the app's Italian translation and the tests of it,
and in the two old keys the migration reads.
@AndrianLeah
AndrianLeah merged commit d34b9c8 into master Dec 1, 2026
1 check passed
@AndrianLeah
AndrianLeah deleted the docs/english-only branch December 1, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant