mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
put single quote in jsx into string literal
This commit is contained in:
@@ -10,7 +10,7 @@ const FourOhFour: React.FC<{ errorMsg: string }> = ({ errorMsg }) => {
|
||||
<div className="mt-6 text-gray-500 max-w-xl mx-auto">
|
||||
<div className="text-xl font-bold mb-8">
|
||||
<Trans>
|
||||
Oops, that's a <span className="underline decoration-wavy decoration-red-500">four-oh-four</span>.
|
||||
Oops, that{"'"}s a <span className="underline decoration-wavy decoration-red-500">four-oh-four</span>.
|
||||
</Trans>
|
||||
</div>
|
||||
<div className="font-mono border border-gray-400/20 rounded p-2 mb-4 text-xs bg-gray-50 dark:bg-gray-800">
|
||||
|
||||
@@ -74,7 +74,7 @@ export default function OAuthStep2() {
|
||||
<Trans>
|
||||
The OAuth link for getting the authorisation code has been created. Click on the link above to get the{' '}
|
||||
<b className="underline decoration-yellow-400 decoration-wavy">authorisation code</b>. Your browser will
|
||||
open a new tab to Microsoft's account login page. After logging in and authenticating with your
|
||||
open a new tab to Microsoft{"'"}s account login page. After logging in and authenticating with your
|
||||
Microsoft account, you will be redirected to a blank page on localhost. Paste{' '}
|
||||
<b className="underline decoration-teal-500 decoration-wavy">the entire redirected URL</b> down below.
|
||||
</Trans>
|
||||
|
||||
@@ -139,7 +139,7 @@ export default function OAuthStep3({ accessToken, expiryTime, refreshToken, erro
|
||||
rel="noopener noreferrer"
|
||||
className="text-blue-600 hover:underline dark:text-blue-500"
|
||||
>
|
||||
Microsoft's official explanation
|
||||
Microsoft{"'"}s official explanation
|
||||
</a>{' '}
|
||||
on the error message.
|
||||
</Trans>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
"of {{count}} file(s) -——loaded——other": "of {{count}} files -",
|
||||
"of {{count}} file(s) -——loading——one": "of ... file(s) -",
|
||||
"of {{count}} file(s) -——loading——other": "of ... file(s) -",
|
||||
"Oops, that's a <1>four-oh-four</1>.": "Oops, that's a <1>four-oh-four</1>.",
|
||||
"Oops, that's a <3>four-oh-four</3>.": "Oops, that's a <3>four-oh-four</3>.",
|
||||
"Open URL": "Open URL",
|
||||
"Open URL{{url}}": "Open URL{{url}}",
|
||||
"Press <2>F12</2> and open devtools for more details, or seek help at <6>onedrive-vercel-index discussions</6>.": "Press <2>F12</2> and open devtools for more details, or seek help at <6>onedrive-vercel-index discussions</6>.",
|
||||
@@ -97,7 +97,7 @@
|
||||
"Storing tokens": "Storing tokens",
|
||||
"Success! The API returned what we needed.": "Success! The API returned what we needed.",
|
||||
"The authorisation code extracted is:": "The authorisation code extracted is:",
|
||||
"The OAuth link for getting the authorisation code has been created. Click on the link above to get the <2>authorisation code</2>. Your browser will open a new tab to Microsoft's account login page. After logging in and authenticating with your Microsoft account, you will be redirected to a blank page on localhost. Paste <5>the entire redirected URL</5> down below.": "The OAuth link for getting the authorisation code has been created. Click on the link above to get the <2>authorisation code</2>. Your browser will open a new tab to Microsoft's account login page. After logging in and authenticating with your Microsoft account, you will be redirected to a blank page on localhost. Paste <5>the entire redirected URL</5> down below.",
|
||||
"The OAuth link for getting the authorisation code has been created. Click on the link above to get the <2>authorisation code</2>. Your browser will open a new tab to Microsoft's account login page. After logging in and authenticating with your Microsoft account, you will be redirected to a blank page on localhost. Paste <7>the entire redirected URL</7> down below.": "The OAuth link for getting the authorisation code has been created. Click on the link above to get the <2>authorisation code</2>. Your browser will open a new tab to Microsoft's account login page. After logging in and authenticating with your Microsoft account, you will be redirected to a blank page on localhost. Paste <7>the entire redirected URL</7> down below.",
|
||||
"These tokens are used to authenticate yourself into password protected folders, ": "These tokens are used to authenticate yourself into password protected folders, ",
|
||||
"These tokens may take a few seconds to populate after you click the button below. ": "These tokens may take a few seconds to populate after you click the button below. ",
|
||||
"This route (the folder itself and the files inside) is password protected. ": "This route (the folder itself and the files inside) is password protected. ",
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
"OAuth Step 3 - {{title}}": "OAuth 第 3 步 - {{title}}",
|
||||
"of {{count}} file(s) -——loaded——other": "共 {{count}} 个文件",
|
||||
"of {{count}} file(s) -——loading——other": "共……个文件",
|
||||
"Oops, that's a <1>four-oh-four</1>.": "Oops,这里是 <1>404</1> 页面。",
|
||||
"Oops, that's a <3>four-oh-four</3>.": "Oops,这里是 <3>404</3> 页面。",
|
||||
"Open URL": "打开 URL",
|
||||
"Open URL{{url}}": "打开 URL{{url}}",
|
||||
"Press <2>F12</2> and open devtools for more details, or seek help at <6>onedrive-vercel-index discussions</6>.": "请按下 <2>F12</2> 来打开开发者工具窗口以获取详细信息,或是到 <6>onedrive-vercel-index 社区讨论</6> 处寻求帮助。",
|
||||
@@ -93,7 +93,7 @@
|
||||
"Storing tokens": "正在存储 tokens……",
|
||||
"Success! The API returned what we needed.": "成功!此 API 返回了我们需要的东西。",
|
||||
"The authorisation code extracted is:": "提取出的授权码为:",
|
||||
"The OAuth link for getting the authorisation code has been created. Click on the link above to get the <2>authorisation code</2>. Your browser will open a new tab to Microsoft's account login page. After logging in and authenticating with your Microsoft account, you will be redirected to a blank page on localhost. Paste <5>the entire redirected URL</5> down below.": "创建出的这个 OAuth 链接是用来获取授权码的。点击上方链接以获取所需的 <2>授权码</2>。你的浏览器将打开一个新的标签页到 Microsoft 的帐号登录页面。在登录并验证你的 Microsoft 帐号之后,你将被重定向到一个域名为 localhost 的空白页面。请将<5>完整的重定向后的 URL</5> 复制粘贴到下方。",
|
||||
"The OAuth link for getting the authorisation code has been created. Click on the link above to get the <2>authorisation code</2>. Your browser will open a new tab to Microsoft's account login page. After logging in and authenticating with your Microsoft account, you will be redirected to a blank page on localhost. Paste <7>the entire redirected URL</7> down below.": "创建出的这个 OAuth 链接是用来获取授权码的。点击上方链接以获取所需的 <2>授权码</2>。你的浏览器将打开一个新的标签页到 Microsoft 的帐号登录页面。在登录并验证你的 Microsoft 帐号之后,你将被重定向到一个域名为 localhost 的空白页面。请将<7>完整的重定向后的 URL</7> 复制粘贴到下方。",
|
||||
"These tokens are used to authenticate yourself into password protected folders, ": "这些密钥是用来验证您的身份以访问密钥保护下的文件夹的,",
|
||||
"These tokens may take a few seconds to populate after you click the button below. ": "当你点击下方按钮之后,这些 tokens 可能需要几秒钟来生成出现。",
|
||||
"This route (the folder itself and the files inside) is password protected. ": "此路由(此文件夹和其中的文件)是受密钥保护的。",
|
||||
|
||||
Reference in New Issue
Block a user