File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -80,17 +80,17 @@ function MFAIndex(): React.ReactElement {
8080 + '&period=30&digits=6&issuer=' + encodeURI ( studyTitle ) ;
8181 return < div >
8282 < Modal
83- title = 'Manual MFA Setup'
83+ title = { t ( 'Manual MFA Setup' , { ns : 'my_preferences' } ) }
8484 onClose = { ( ) => setShowModal ( false ) }
8585 show = { showModal }
8686 throwWarning = { false } >
87- < Trans
88- defaults = "<p>Use the following key in your authenticator app: <b>{{code}}</b></p>"
89- values = { { code : key } } >
90- </ Trans >
87+ < p > < Trans
88+ defaults = "Use the following key in your authenticator app: <0>{{code}}</0>"
89+ ns = "my_preferences"
90+ components = { [ < strong > CODE</ strong > ] }
91+ values = { { code : key } } /> </ p >
9192 </ Modal >
92- < p > Scan the following QR code below in your MFA authenticator and
93- enter the code to validate.</ p >
93+ < p > { t ( 'Scan the following QR code below in your MFA authenticator and enter the code to validate.' , { ns : 'my_preferences' } ) } </ p >
9494 < p >
9595 < b > Note that this will < i > overwrite</ i > any previously
9696 setup MFA in LORIS!</ b >
Original file line number Diff line number Diff line change @@ -58,5 +58,11 @@ msgstr "多要素認証を設定する"
5858msgid "Configure MFA"
5959msgstr "多要素認証を設定する"
6060
61- msgid "Use the following key in your authenticator app: <b>{{code}}</b>"
62- msgstr "認証アプリで次のコードを使用してください: <b>{{code}}</b>"
61+ msgid "Manual MFA Setup"
62+ msgstr "手動多要素認証の設定"
63+
64+ msgid "Use the following key in your authenticator app: <0>{{code}}</0>"
65+ msgstr "認証アプリで次のコードを使用してください: <0>{{code}}</0>"
66+
67+ msgid "Scan the following QR code below in your MFA authenticator and enter the code to validate."
68+ msgstr "多要素認証システムで以下の QR コードをスキャンし、コードを入力して検証します。"
You can’t perform that action at this time.
0 commit comments