Skip to content

Commit

Permalink
fix welcoming banner
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn committed Jun 12, 2024
1 parent 19269f7 commit 50a2df6
Show file tree
Hide file tree
Showing 13 changed files with 1,178 additions and 990 deletions.
2 changes: 1 addition & 1 deletion ui/src/app/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="d-flex flex-column h-100">
<div class="alert alert-success mt-3" data-cy="signedInMessage">{{ loggedInMessage }}</div>
<div class="alert alert-success mt-3" data-cy="signedInMessage" [innerHTML]="loggedInMessage"></div>
<div class="h-100 pb-3">
<router-outlet></router-outlet>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class HomeComponent implements OnInit, OnDestroy {
this.accountServiceSubscription = this.accountService.getAccountData().subscribe((account) => {
this.account = account
if (account) {
this.loggedInMessage = $localize`:@@home.loggedIn.message.string:You are logged in as user ${account.email}`
this.loggedInMessage = $localize`:@@home.loggedIn.message.string:You are logged in as user <strong>${account.email}</strong>`
}
})
}
Expand Down
171 changes: 89 additions & 82 deletions ui/src/i18n/messages.cs.xlf

Large diffs are not rendered by default.

173 changes: 89 additions & 84 deletions ui/src/i18n/messages.es.xlf

Large diffs are not rendered by default.

179 changes: 92 additions & 87 deletions ui/src/i18n/messages.fr.xlf

Large diffs are not rendered by default.

269 changes: 121 additions & 148 deletions ui/src/i18n/messages.it.xlf

Large diffs are not rendered by default.

178 changes: 92 additions & 86 deletions ui/src/i18n/messages.ja.xlf

Large diffs are not rendered by default.

171 changes: 89 additions & 82 deletions ui/src/i18n/messages.ko.xlf

Large diffs are not rendered by default.

174 changes: 90 additions & 84 deletions ui/src/i18n/messages.pt.xlf

Large diffs are not rendered by default.

171 changes: 89 additions & 82 deletions ui/src/i18n/messages.ru.xlf

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions ui/src/i18n/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -449,21 +449,21 @@
</context-group>
</trans-unit>
<trans-unit id="settings.security.mfaQrCodeSteps.one.string" datatype="html">
<source> Install a two-factor authentication app<x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br /&gt;"/>A 2FA app is required to create the six-digit code you need to access your account each time you sign in. Most apps are for mobile devices; some are also available as desktop or web-based apps. Download and install your preferred 2FA app, such as <x id="START_LINK" ctype="x-a" equiv-text="&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&quot; &gt;"/>Google Authenticator<x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a&gt;"/>, <x id="START_LINK_1" equiv-text="&lt;a href=&quot;https://freeotp.github.io/&quot;&gt;"/>FreeOTP<x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a&gt;"/>, or <x id="START_LINK_2" equiv-text="&lt;a href=&quot;https://authy.com/&quot;&gt;"/>Authy<x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a&gt;"/>. </source>
<source><x id="START_TAG_STRONG" ctype="x-strong" equiv-text="&lt;strong&gt;"/>Install a two-factor authentication app<x id="CLOSE_TAG_STRONG" ctype="x-strong" equiv-text="&lt;/strong&gt;"/><x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br /&gt;"/>A 2FA app is required to create the six-digit code you need to access your account each time you sign in. Most apps are for mobile devices; some are also available as desktop or web-based apps. Download and install your preferred 2FA app, such as <x id="START_LINK" ctype="x-a" equiv-text="&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&quot; &gt;"/>Google Authenticator<x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a&gt;"/>, <x id="START_LINK_1" equiv-text="&lt;a href=&quot;https://freeotp.github.io/&quot;&gt;"/>FreeOTP<x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a&gt;"/>, or <x id="START_LINK_2" equiv-text="&lt;a href=&quot;https://authy.com/&quot;&gt;"/>Authy<x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a&gt;"/>. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/settings/settings.component.html</context>
<context context-type="linenumber">166</context>
<context context-type="linenumber">167</context>
</context-group>
</trans-unit>
<trans-unit id="settings.security.mfaQrCodeSteps.two.string" datatype="html">
<source> Scan this QR code with your device<x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br /&gt;"/>Open your 2FA app and scan the image below. </source>
<source><x id="START_TAG_STRONG" ctype="x-strong" equiv-text="&lt;strong&gt;"/>Scan this QR code with your device<x id="CLOSE_TAG_STRONG" ctype="x-strong" equiv-text="&lt;/strong&gt;"/><x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br /&gt;"/>Open your 2FA app and scan the image below. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/settings/settings.component.html</context>
<context context-type="linenumber">174</context>
<context context-type="linenumber">175</context>
</context-group>
</trans-unit>
<trans-unit id="settings.security.mfaCannotScan.one.string" datatype="html">
<source>Can&apos;t scan the QR code?</source>
<source><x id="START_TAG_STRONG" ctype="x-strong" equiv-text="&lt;strong&gt;"/>Can&apos;t scan the QR code?<x id="CLOSE_TAG_STRONG" ctype="x-strong" equiv-text="&lt;/strong&gt;"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/settings/settings.component.html</context>
<context context-type="linenumber">196</context>
Expand All @@ -484,10 +484,10 @@
</context-group>
</trans-unit>
<trans-unit id="settings.security.mfaTextCodeSteps.one.string" datatype="html">
<source> Enter the six-digit code from the app<x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br /&gt;"/>After scanning the QR code or entering in the text code, your 2FA app will display a six-digit code. Enter this code in the box below and click Save. </source>
<source><x id="START_TAG_STRONG" ctype="x-strong" equiv-text="&lt;strong&gt;"/>Enter the six-digit code from the app<x id="CLOSE_TAG_STRONG" ctype="x-strong" equiv-text="&lt;/strong&gt;"/><x id="LINE_BREAK" ctype="lb" equiv-text="&lt;br /&gt;"/>After scanning the QR code or entering in the text code, your 2FA app will display a six-digit code. Enter this code in the box below and click Save. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/settings/settings.component.html</context>
<context context-type="linenumber">205</context>
<context context-type="linenumber">206</context>
</context-group>
</trans-unit>
<trans-unit id="settings.security.otpError.string" datatype="html">
Expand Down Expand Up @@ -1194,7 +1194,7 @@
<source>Are you sure you want to transfer ownership? You are about to transfer ownership of this organization account. If you are the organization owner after transferring ownership, you will no longer have access to administrative functions, such as managing users.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/user/user-update.component.ts</context>
<context context-type="linenumber">220</context>
<context context-type="linenumber">226</context>
</context-group>
</trans-unit>
<trans-unit id="gatewayApp.msUserServiceMSUser.delete.question.string" datatype="html">
Expand Down Expand Up @@ -3922,7 +3922,7 @@
</context-group>
</trans-unit>
<trans-unit id="gatewayApp.assertionServiceAssertion.delete.fromPortalAndRegistry.string" datatype="html">
<source>Are you sure you want to delete this affiliation for <x id="PH" equiv-text="this.affiliation?.email"/>? The affiliation will be deleted from the portal and the user&apos;s ORCID record</source>
<source>Are you sure you want to delete this affiliation for <x id="PH" equiv-text="this.affiliation?.email"/>? The affiliation will be deleted from the portal and the user&apos;s ORCID record.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/affiliation/affiliation-delete.component.ts</context>
<context context-type="linenumber">40</context>
Expand Down Expand Up @@ -4011,7 +4011,7 @@
</context-group>
</trans-unit>
<trans-unit id="gatewayApp.msUserServiceMSMember.clientId.note.string" datatype="html">
<source>Note: Client ID must have User OBO enabled AND</source>
<source>Note: Client ID must have member OBO enabled AND</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/member/member-update.component.html</context>
<context context-type="linenumber">121</context>
Expand Down Expand Up @@ -4218,7 +4218,7 @@
<source>Thanks, <x id="PH" equiv-text="this.givenName"/> <x id="PH_1" equiv-text="this.familyName"/>!</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/landing-page/landing-page.component.ts</context>
<context context-type="linenumber">172</context>
<context context-type="linenumber">166</context>
</context-group>
</trans-unit>
<trans-unit id="landingPage.success.youHaveSuccessfully.string" datatype="html">
Expand Down Expand Up @@ -4271,7 +4271,7 @@
</context-group>
</trans-unit>
<trans-unit id="home.loggedIn.message.string" datatype="html">
<source>You are logged in as user <x id="PH" equiv-text="account.email"/></source>
<source>You are logged in as user &lt;strong&gt;<x id="PH" equiv-text="account.email"/>&lt;/strong&gt;</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/home/home.component.ts</context>
<context context-type="linenumber">25</context>
Expand Down
Loading

0 comments on commit 50a2df6

Please sign in to comment.