placeholders mentions Object as valid type in schema, but doesn't actually include it
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- flutter
- Domain
- localization
Research direction
The placeholder type field's allowed values are defined in the ARB schema file in this repository; find the enum there and compare it with the field's description, which mentions Object. Decide whether to add Object to the enum or reword the description, and confirm with a maintainer which option they prefer. Done means the schema and its description agree, and a placeholder typed as Object no longer triggers a validation warning in VS Code.
Written by the indexing model from the issue text.
Description
I noticed today, when setting up translations for a Flutter Project, that VS Code always gave me a warning, when defining the type of a placeholder as an Object.
I looked at the schema to see if i missed anything but it turns out, for the type-field in placeholders, Object does not seem to be a currently available valid value, even though the description mentions it.
Either the Object-type should be added to the list of valid types, or the comment should be amended.
FWIW, the translation-generator still works fine, it's just the IDE that shows an error. So a fairly low impact issue.
- Dominant language
- No language data
- Stars
- 157
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/app-resource-bundle
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Lack of documentation: examples of plural forms usage for non trivial locales (e.g: ru, ja, zh_CN)Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
google/app-resource-bundle#2 · 5 reactions ·
All issues in google/app-resource-bundle
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stephrobert/linux-dsoxlab-training#83 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
stephrobert/kubernetes-dsoxlab-training#98 ·
Maintainers usually reply within 1 day
-
babel-as.ini: hyphenrules = assaseme looks like a typo for assamesePossibly taken @Jah-yee claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Estimation - 2 (S) Type:bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 2 days