fix: minor changes to translation

This commit is contained in:
MiniDigger | Martin 2024-05-25 11:13:58 +02:00
parent d282755ba9
commit cb3844e8b5
4 changed files with 3 additions and 8 deletions

View File

@ -65,7 +65,7 @@ new translations or comment/vote on existing translations. You can learn more ab
#### Getting translations locally (mostly for developers, requires Crowdin CLI, ran in root folder):
`crowdin pull --skip-untranslated-strings -b master -T <PAT>`
`crowdin pull -b master -T <PAT>`
You might want to set the env var `TRANSLATION_MODE` to true in order to get warnings about untranslated strings.

View File

@ -7,3 +7,4 @@ preserve_hierarchy: true
files:
- source: /frontend/src/i18n/locales/en.json
translation: /frontend/src/i18n/locales/%two_letters_code%.json
skip_untranslated_strings: true

View File

@ -608,7 +608,6 @@
"unstable": "Versions are to be considered unstable",
"pinned": "Latest version is pinned on main project page",
"sends_notifications": "New versions in this channel send notifications to watching users",
"pinned": "Latest version is pinned on main project page",
"hide_by_default": "De-select this channel on the versions page"
},
"error": {

View File

@ -351,12 +351,7 @@ function closeUnlinkModal() {
v-for="credential in settings?.oauthConnections"
:key="credential.provider + credential.id"
:disabled="!settings?.hasPassword && settings?.oauthConnections.length === 1"
:title="
!settings?.hasPassword && settings?.oauthConnections.length === 1
? // ? t('auth.settings.security.unlinkOAuth.cantUnlink') Doesn't work
'You can\'t unlink your last oauth credential if you don\'t have a password set'
: undefined
"
:title="!settings?.hasPassword && settings?.oauthConnections.length === 1 ? t('auth.settings.security.unlinkOAuth.cantUnlink') : undefined"
@click="unlinkOAuth(credential.provider, credential.id)"
>
<template v-if="credential.provider === 'github'">