refactor(ui): improve i18n

This commit is contained in:
Fu Diwei
2024-12-10 16:37:24 +08:00
parent a4eff0b408
commit 8fe0d342aa
76 changed files with 214 additions and 266 deletions

View File

@@ -122,7 +122,7 @@ const ApplyForm = ({ data }: ApplyFormProps) => {
trigger={
<div className="flex items-center font-normal cursor-pointer text-primary hover:underline">
<Plus size={14} />
{t("common.add")}
{t("common.button.add")}
</div>
}
/>
@@ -168,7 +168,7 @@ const ApplyForm = ({ data }: ApplyFormProps) => {
trigger={
<div className="flex items-center font-normal cursor-pointer text-primary hover:underline">
<Plus size={14} />
{t("common.add")}
{t("common.button.add")}
</div>
}
op="add"
@@ -342,7 +342,7 @@ const ApplyForm = ({ data }: ApplyFormProps) => {
</div>
<div className="flex justify-end">
<Button type="submit">{t("common.save")}</Button>
<Button type="submit">{t("common.button.save")}</Button>
</div>
</form>
</Form>