fix typo (#254)
* fix: redundant ")" * Fix typo. * Fix typo. --------- Co-authored-by: lixiancan <lixc.percy@gmail.com>
This commit is contained in:
@@ -260,11 +260,11 @@
|
|||||||
"audio": "audio",
|
"audio": "audio",
|
||||||
"video": "video",
|
"video": "video",
|
||||||
"text": "text",
|
"text": "text",
|
||||||
"addRecourse": "add resource",
|
"addResource": "add resource",
|
||||||
"addResourseFromUrlOrLocal": "add resource from url or local",
|
"addResourceFromUrlOrLocal": "add resource from url or local",
|
||||||
"editRecourse": "edit resource",
|
"editResource": "edit resource",
|
||||||
"deleteRecourse": "delete resource",
|
"deleteResource": "delete resource",
|
||||||
"deleteRecourseConfirmation": "Are you sure to delete {{name}}?",
|
"deleteResourceConfirmation": "Are you sure to delete {{name}}?",
|
||||||
"transcribeAudioConfirmation": "It will remove the old transcription. Are you sure to transcribe {{name}}",
|
"transcribeAudioConfirmation": "It will remove the old transcription. Are you sure to transcribe {{name}}",
|
||||||
"transcribeVideoConfirmation": "It will remove the old transcription. Are you sure to transcribe {{name}}",
|
"transcribeVideoConfirmation": "It will remove the old transcription. Are you sure to transcribe {{name}}",
|
||||||
"localFile": "local file",
|
"localFile": "local file",
|
||||||
|
|||||||
@@ -260,11 +260,11 @@
|
|||||||
"audio": "音频",
|
"audio": "音频",
|
||||||
"video": "视频",
|
"video": "视频",
|
||||||
"text": "文本",
|
"text": "文本",
|
||||||
"addRecourse": "添加资源",
|
"addResource": "添加资源",
|
||||||
"addResourseFromUrlOrLocal": "添加资源, 可以是 URL 或本地文件",
|
"addResourceFromUrlOrLocal": "添加资源, 可以是 URL 或本地文件",
|
||||||
"editRecourse": "编辑资源",
|
"editResource": "编辑资源",
|
||||||
"deleteRecourse": "删除资源",
|
"deleteResource": "删除资源",
|
||||||
"deleteRecourseConfirmation": "您确定要删除资源 {{name}} 吗?",
|
"deleteResourceConfirmation": "您确定要删除资源 {{name}} 吗?",
|
||||||
"transcribeAudioConfirmation": "这将删除原来的语音文本,您确定要重新对 {{name}} 进行语音转文本吗?",
|
"transcribeAudioConfirmation": "这将删除原来的语音文本,您确定要重新对 {{name}} 进行语音转文本吗?",
|
||||||
"transcribeVideoConfirmation": "这将删除原来的语音文本,您确定要重新对 {{name}} 进行语音转文本吗?",
|
"transcribeVideoConfirmation": "这将删除原来的语音文本,您确定要重新对 {{name}} 进行语音转文本吗?",
|
||||||
"localFile": "本地文件",
|
"localFile": "本地文件",
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ export const AudioCard = (props: {
|
|||||||
crossOrigin="anonymous"
|
crossOrigin="anonymous"
|
||||||
className="hover:scale-105 object-cover w-full h-full"
|
className="hover:scale-105 object-cover w-full h-full"
|
||||||
/>
|
/>
|
||||||
)
|
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
<div className="text-sm font-semibold mt-2 max-w-full line-clamp-2 h-10">
|
<div className="text-sm font-semibold mt-2 max-w-full line-clamp-2 h-10">
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export const AudiosComponent = () => {
|
|||||||
>
|
>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>{t("editRecourse")}</DialogTitle>
|
<DialogTitle>{t("editResource")}</DialogTitle>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
<AudioEditForm
|
<AudioEditForm
|
||||||
@@ -202,10 +202,10 @@ export const AudiosComponent = () => {
|
|||||||
>
|
>
|
||||||
<AlertDialogContent>
|
<AlertDialogContent>
|
||||||
<AlertDialogHeader>
|
<AlertDialogHeader>
|
||||||
<AlertDialogTitle>{t("deleteRecourse")}</AlertDialogTitle>
|
<AlertDialogTitle>{t("deleteResource")}</AlertDialogTitle>
|
||||||
<AlertDialogDescription>
|
<AlertDialogDescription>
|
||||||
<p className="break-all">
|
<p className="break-all">
|
||||||
{t("deleteRecourseConfirmation", {
|
{t("deleteResourceConfirmation", {
|
||||||
name: deleting?.name || "",
|
name: deleting?.name || "",
|
||||||
})}
|
})}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -44,14 +44,14 @@ export const AddMediaButton = () => {
|
|||||||
<DialogTrigger asChild>
|
<DialogTrigger asChild>
|
||||||
<Button className="capitalize">
|
<Button className="capitalize">
|
||||||
<PlusCircleIcon className="mr-2 h-4 w-4" />
|
<PlusCircleIcon className="mr-2 h-4 w-4" />
|
||||||
{t("addRecourse")}
|
{t("addResource")}
|
||||||
</Button>
|
</Button>
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>{t("addRecourse")}</DialogTitle>
|
<DialogTitle>{t("addResource")}</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
{t("addResourseFromUrlOrLocal")}
|
{t("addResourceFromUrlOrLocal")}
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ export const PostActions = (props: { post: PostType }) => {
|
|||||||
</AlertDialogTrigger>
|
</AlertDialogTrigger>
|
||||||
<AlertDialogContent>
|
<AlertDialogContent>
|
||||||
<AlertDialogHeader>
|
<AlertDialogHeader>
|
||||||
<AlertDialogTitle>{t("addRecourse")}</AlertDialogTitle>
|
<AlertDialogTitle>{t("addResource")}</AlertDialogTitle>
|
||||||
<AlertDialogDescription>
|
<AlertDialogDescription>
|
||||||
{(post.target as MediumType).mediumType === "Video" &&
|
{(post.target as MediumType).mediumType === "Video" &&
|
||||||
t("areYouSureToAddThisVideoToYourLibrary")}
|
t("areYouSureToAddThisVideoToYourLibrary")}
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export const VideosComponent = () => {
|
|||||||
>
|
>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>{t("editRecourse")}</DialogTitle>
|
<DialogTitle>{t("editResource")}</DialogTitle>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
<VideoEditForm
|
<VideoEditForm
|
||||||
@@ -202,10 +202,10 @@ export const VideosComponent = () => {
|
|||||||
>
|
>
|
||||||
<AlertDialogContent>
|
<AlertDialogContent>
|
||||||
<AlertDialogHeader>
|
<AlertDialogHeader>
|
||||||
<AlertDialogTitle>{t("deleteRecourse")}</AlertDialogTitle>
|
<AlertDialogTitle>{t("deleteResource")}</AlertDialogTitle>
|
||||||
<AlertDialogDescription>
|
<AlertDialogDescription>
|
||||||
<p className="break-all">
|
<p className="break-all">
|
||||||
{t("deleteRecourseConfirmation", {
|
{t("deleteResourceConfirmation", {
|
||||||
name: deleting?.name || "",
|
name: deleting?.name || "",
|
||||||
})}
|
})}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user