wordpress-mobile / wordpress-mobile/release-toolkit
`update_metadata_source` doesn't add new entries
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 31
- Forks
- 10
- Avg merge
- 5h 45m
- Merged PRs (30d)
- 2
Description
The android_update_metadata_source and ios_update_metadata_source can only update existing entries, but they don't add new entries to the file even if the entries are correctly defined in the parameters.
In order to add a new string, the user shall manually add it to the .po file. After that, release-toolkit is able to update them automatically.
We should fix the above actions so that they add new entries automatically when they are added to the parameters.
Contributor 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.
Research direction
Start by locating the android_update_metadata_source and ios_update_metadata_source actions in release-toolkit and inspect how they read and write .po files. Verify the behavior with existing update cases, then confirm that entries supplied through the parameters are added automatically while existing entries continue to update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- localization, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100