mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
fix: minor changes to translation
This commit is contained in:
parent
d282755ba9
commit
cb3844e8b5
@ -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):
|
#### 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.
|
You might want to set the env var `TRANSLATION_MODE` to true in order to get warnings about untranslated strings.
|
||||||
|
|
||||||
|
@ -7,3 +7,4 @@ preserve_hierarchy: true
|
|||||||
files:
|
files:
|
||||||
- source: /frontend/src/i18n/locales/en.json
|
- source: /frontend/src/i18n/locales/en.json
|
||||||
translation: /frontend/src/i18n/locales/%two_letters_code%.json
|
translation: /frontend/src/i18n/locales/%two_letters_code%.json
|
||||||
|
skip_untranslated_strings: true
|
||||||
|
@ -608,7 +608,6 @@
|
|||||||
"unstable": "Versions are to be considered unstable",
|
"unstable": "Versions are to be considered unstable",
|
||||||
"pinned": "Latest version is pinned on main project page",
|
"pinned": "Latest version is pinned on main project page",
|
||||||
"sends_notifications": "New versions in this channel send notifications to watching users",
|
"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"
|
"hide_by_default": "De-select this channel on the versions page"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
|
@ -351,12 +351,7 @@ function closeUnlinkModal() {
|
|||||||
v-for="credential in settings?.oauthConnections"
|
v-for="credential in settings?.oauthConnections"
|
||||||
:key="credential.provider + credential.id"
|
:key="credential.provider + credential.id"
|
||||||
:disabled="!settings?.hasPassword && settings?.oauthConnections.length === 1"
|
:disabled="!settings?.hasPassword && settings?.oauthConnections.length === 1"
|
||||||
:title="
|
:title="!settings?.hasPassword && settings?.oauthConnections.length === 1 ? t('auth.settings.security.unlinkOAuth.cantUnlink') : undefined"
|
||||||
!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
|
|
||||||
"
|
|
||||||
@click="unlinkOAuth(credential.provider, credential.id)"
|
@click="unlinkOAuth(credential.provider, credential.id)"
|
||||||
>
|
>
|
||||||
<template v-if="credential.provider === 'github'">
|
<template v-if="credential.provider === 'github'">
|
||||||
|
Loading…
Reference in New Issue
Block a user