[I18N] Variable makes translation difficult
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
There are these two strings:
https://github.com/nextcloud/backup/blob/0776f9df3de2f808ca94bed1502675409edf1f52/src/components/GeneralSettingsSection.vue#L218
and
https://github.com/nextcloud/backup/blob/0776f9df3de2f808ca94bed1502675409edf1f52/src/components/GeneralSettingsSection.vue#L235
AFAIK the {mode} can be complete or partial, and these variables are used elsewhere too, and this makes translation difficult in Hungarian, as {mode} will be the first word of the translation, so I'd need these with capitalized first letters, but it I do that, it'll break at other places.
If possible, this should not be a variable in the i18n string, but spelt out in two different strings.
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 in src/components/GeneralSettingsSection.vue at lines 218 and 235, then inspect other uses of the mode variable and the translation keys. Separate the complete and partial wording where needed so Hungarian translations can control capitalization, while preserving the existing meanings and uses elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, internationalization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100