chore: update i18n strings

This commit is contained in:
nivedin
2023-12-14 20:48:08 +05:30
committed by Andrew Bastin
parent 8d5ad2411b
commit 9a6451a601
2 changed files with 11 additions and 5 deletions

View File

@@ -139,9 +139,11 @@
"generate_token": "Generate Token", "generate_token": "Generate Token",
"graphql_headers": "Authorization Headers are sent as part of the payload to connection_init", "graphql_headers": "Authorization Headers are sent as part of the payload to connection_init",
"include_in_url": "Include in URL", "include_in_url": "Include in URL",
"inherited_from": "Inherited from {auth} from Parent Collection {collection} ",
"learn": "Learn how", "learn": "Learn how",
"pass_key_by": "Pass by", "pass_key_by": "Pass by",
"password": "Password", "password": "Password",
"save_to_inherit": "Please save this request in any collection to inherit the authorization",
"token": "Token", "token": "Token",
"type": "Authorization Type", "type": "Authorization Type",
"username": "Username", "username": "Username",

View File

@@ -154,13 +154,17 @@
</div> </div>
<div v-if="auth.authType === 'inherit'" class="p-4"> <div v-if="auth.authType === 'inherit'" class="p-4">
<span v-if="inheritedProperties?.auth"> <span v-if="inheritedProperties?.auth">
Inherited {{
{{ getAuthName(inheritedProperties.auth.inheritedAuth.authType) }} t("authorization.inherited_from", {
from Parent Collection {{ inheritedProperties?.auth.parentName }} auth: getAuthName(
inheritedProperties.auth.inheritedAuth.authType
),
collection: inheritedProperties?.auth.parentName,
})
}}
</span> </span>
<span v-else> <span v-else>
Please save this request in any collection to inherit the {{ t("authorization.save_to_inherit") }}
authorization
</span> </span>
</div> </div>
<div v-if="auth.authType === 'bearer'"> <div v-if="auth.authType === 'bearer'">