Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect/translated placeholders in locale files #5628

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

absidue
Copy link
Member

@absidue absidue commented Aug 31, 2024

Fix incorrect/translated placeholders in locale files

Pull Request Type

  • Bugfix

Related issue

Description

Unfortunately some translators have translated the placeholders in strings, which means that FreeTube won't be able to replace them. This pull request fixes all the strings that were mentioned in the linked issue, I have not checked any other ones.

Additional context

Looks like weblate has a check for incorrect vue-i18n template strings https://docs.weblate.org/en/latest/user/checks.html#vue-i18n-formatting but according to the docs it's just a warning, it doesn't actually block the user from submitting a broken string, so not sure if it's worth setting up or not.

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 31, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) August 31, 2024 14:57
static/locales/zh-CN.yaml Outdated Show resolved Hide resolved
@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added PR: changes requested and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Sep 2, 2024
@FreeTubeBot FreeTubeBot merged commit 45c8caf into FreeTubeApp:development Sep 4, 2024
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 4, 2024
@absidue absidue deleted the fix-templates branch September 4, 2024 10:54
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 8, 2024
* development: (21 commits)
  Fix playback of VOD/non-live videos with Invidious (FreeTubeApp#5654)
  Translated using Weblate (Bulgarian)
  Translated using Weblate (Japanese)
  Translated using Weblate (Bulgarian)
  Specify locale for strings that may differ from the chosen display locale (FreeTubeApp#5624)
  Added translation using Weblate (Afrikaans)
  Remove "Force Local Backend for Legacy Formats" setting (FreeTubeApp#5650)
  Change the hls manifest type to match the parser name shaka player registers (FreeTubeApp#5648)
  Fix incorrect/translated placeholders in locale files (FreeTubeApp#5628)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Turkish)
  Translated using Weblate (Czech)
  Translated using Weblate (Japanese)
  Translated using Weblate (French)
  Translated using Weblate (Japanese)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Chinese (Traditional Han script))
  Translated using Weblate (Polish)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Some locale files have incorrect/translated placeholder templates
5 participants