[client] Use i18n strings for the reworked OAuth login page

This commit is contained in:
Laura Hausmann 2023-11-04 00:37:25 +01:00
parent 093f13646e
commit 8231d8910e
Signed by: zotan
GPG key ID: D044E84C5BE01605
2 changed files with 4 additions and 3 deletions

View file

@ -1032,7 +1032,6 @@ activeEmailValidationDescription: "Enables stricter validation of email addresse
navbar: "Navigation bar"
shuffle: "Shuffle"
account: "Account"
signedInAs: "Signed in as"
move: "Move"
pushNotification: "Push notifications"
subscribePushNotification: "Enable push notifications"
@ -1598,6 +1597,8 @@ _auth:
denied: "Access denied"
copyAsk: "Please paste the following authorization code in the application:"
allPermissions: "Full account access"
signedInAs: "Signed in as"
authRequired: "Authorization required"
_antennaSources:
all: "All posts"
homeTimeline: "Posts from followed users"

View file

@ -44,12 +44,12 @@
/><!-- <MkAcct class="text" :user="$i"/> -->
</button>
<div :class="[$style.left]">
<div>{{ i18n.ts.signedInAs }}:</div>
<div>{{ i18n.ts._auth.signedInAs }}:</div>
<div>@{{ $i.username }}<span :class="[$style.fade]">@{{ config.host }}</span></div>
</div>
</div>
<hr/>
<h2>Authorization required</h2>
<h2>{{i18n.ts._auth.authRequired}}</h2>
<div v-if="name" class="_title">
{{ i18n.t("_auth.shareAccess", { name: name }) }}
</div>