Repository navigation
Mint 3.5.2: templates in your language (id/zh/es) - #41
Merged
Merged
Conversation
- core.js: zh/es blueprint keywords; prompt language detection (falls back to the app language); localizeSpec renames columns through renameInFormulas and translates titles, descriptions, dropdown options, formula literals, rule/card values, card labels and sample rows (case-insensitive, per-blueprint overrides); custom trackers get native titles/descriptions - app.js: generate() gets the app language; blueprint gallery and 'start from blueprint' localized - test_core: every blueprint x id/zh/es computes the same cards as English; detection cases - version 3.5.2 (notes in 4 languages), SW caches, desktop version, README
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.
Mint 3.5.2: templates come out in your language.
Problem. Blueprint keywords were English/Indonesian only and blueprint content was English only. The zh home page's own example (网店库存表,绿色) fell through to a generic English "Custom Tracker", and Spanish/Indonesian prompts got English columns.
Fix.
budget).localizeSpec(spec, lang)translates title, description, dropdown options, formula string literals, rule/card values, card labels and sample rows. Columns are renamed throughrenameInFormulas, so formulas, cards and rules stay linked. The lookup is case-insensitive (makeColumn title-cases names), with per-blueprint overrides (rental guest ≠ wedding guest). Check-box Yes/No values are never translated.Checks.