Repository navigation
Put the repository in English: the mockup and the app's identifiers - #12
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
mockup/): the Cover and both Foundations boards ofstring-tuner-liquid-glass.figcraftare in English, and so is the description of thesteppercomponent.png/foundations-dark.pngandpng/foundations-light.pngare 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.mdis translated.com.accordatore.app→com.stringtuner.appincapacitor.config.ts, the GradlenamespaceandapplicationId,strings.xmland the package ofMainActivity(moved tojava/com/stringtuner/app/). The instrumented example test now expects this ID instead of the template'scom.getcapacitor.app.accordatore_settings→string-tuner-settings,accordatore_config→string-tuner-config. A newrenameKeyinsrc/services/storage.tsmoves 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.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
.MainActivitywere checked by hand.npx cap sync androidwrites the new ID into the generated Capacitor config.