* fix: redundant ")"

* Fix typo.

* Fix typo.

---------

Co-authored-by: lixiancan <lixc.percy@gmail.com>
This commit is contained in:
Percy Lee
2024-02-02 23:10:34 +08:00
committed by GitHub
parent adf26887ea
commit f0c8ec79d6
7 changed files with 20 additions and 21 deletions

View File

@@ -260,11 +260,11 @@
"audio": "audio",
"video": "video",
"text": "text",
"addRecourse": "add resource",
"addResourseFromUrlOrLocal": "add resource from url or local",
"editRecourse": "edit resource",
"deleteRecourse": "delete resource",
"deleteRecourseConfirmation": "Are you sure to delete {{name}}?",
"addResource": "add resource",
"addResourceFromUrlOrLocal": "add resource from url or local",
"editResource": "edit resource",
"deleteResource": "delete resource",
"deleteResourceConfirmation": "Are you sure to delete {{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}}",
"localFile": "local file",

View File

@@ -260,11 +260,11 @@
"audio": "音频",
"video": "视频",
"text": "文本",
"addRecourse": "添加资源",
"addResourseFromUrlOrLocal": "添加资源, 可以是 URL 或本地文件",
"editRecourse": "编辑资源",
"deleteRecourse": "删除资源",
"deleteRecourseConfirmation": "您确定要删除资源 {{name}} 吗?",
"addResource": "添加资源",
"addResourceFromUrlOrLocal": "添加资源, 可以是 URL 或本地文件",
"editResource": "编辑资源",
"deleteResource": "删除资源",
"deleteResourceConfirmation": "您确定要删除资源 {{name}} 吗?",
"transcribeAudioConfirmation": "这将删除原来的语音文本,您确定要重新对 {{name}} 进行语音转文本吗?",
"transcribeVideoConfirmation": "这将删除原来的语音文本,您确定要重新对 {{name}} 进行语音转文本吗?",
"localFile": "本地文件",

View File

@@ -22,7 +22,6 @@ export const AudioCard = (props: {
crossOrigin="anonymous"
className="hover:scale-105 object-cover w-full h-full"
/>
)
</div>
</Link>
<div className="text-sm font-semibold mt-2 max-w-full line-clamp-2 h-10">

View File

@@ -182,7 +182,7 @@ export const AudiosComponent = () => {
>
<DialogContent>
<DialogHeader>
<DialogTitle>{t("editRecourse")}</DialogTitle>
<DialogTitle>{t("editResource")}</DialogTitle>
</DialogHeader>
<AudioEditForm
@@ -202,10 +202,10 @@ export const AudiosComponent = () => {
>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>{t("deleteRecourse")}</AlertDialogTitle>
<AlertDialogTitle>{t("deleteResource")}</AlertDialogTitle>
<AlertDialogDescription>
<p className="break-all">
{t("deleteRecourseConfirmation", {
{t("deleteResourceConfirmation", {
name: deleting?.name || "",
})}
</p>

View File

@@ -44,14 +44,14 @@ export const AddMediaButton = () => {
<DialogTrigger asChild>
<Button className="capitalize">
<PlusCircleIcon className="mr-2 h-4 w-4" />
{t("addRecourse")}
{t("addResource")}
</Button>
</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>{t("addRecourse")}</DialogTitle>
<DialogTitle>{t("addResource")}</DialogTitle>
<DialogDescription>
{t("addResourseFromUrlOrLocal")}
{t("addResourceFromUrlOrLocal")}
</DialogDescription>
</DialogHeader>

View File

@@ -105,7 +105,7 @@ export const PostActions = (props: { post: PostType }) => {
</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>{t("addRecourse")}</AlertDialogTitle>
<AlertDialogTitle>{t("addResource")}</AlertDialogTitle>
<AlertDialogDescription>
{(post.target as MediumType).mediumType === "Video" &&
t("areYouSureToAddThisVideoToYourLibrary")}

View File

@@ -182,7 +182,7 @@ export const VideosComponent = () => {
>
<DialogContent>
<DialogHeader>
<DialogTitle>{t("editRecourse")}</DialogTitle>
<DialogTitle>{t("editResource")}</DialogTitle>
</DialogHeader>
<VideoEditForm
@@ -202,10 +202,10 @@ export const VideosComponent = () => {
>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>{t("deleteRecourse")}</AlertDialogTitle>
<AlertDialogTitle>{t("deleteResource")}</AlertDialogTitle>
<AlertDialogDescription>
<p className="break-all">
{t("deleteRecourseConfirmation", {
{t("deleteResourceConfirmation", {
name: deleting?.name || "",
})}
</p>