style: apply code formatting and cleanup

- Format TypeScript files with Prettier (App.tsx, EnvWarningBanner.tsx, formatters.ts)
- Organize Rust imports and module order alphabetically
- Add newline at end of JSON files (en.json, zh.json)
- Update Cargo.lock for dependency changes
This commit is contained in:
YoVinchen
2025-11-19 01:16:19 +08:00
parent bbb356a948
commit ec04132303
11 changed files with 150 additions and 26 deletions

View File

@@ -198,7 +198,8 @@ export function EnvWarningBanner({
{t("env.field.value")}: {conflict.varValue}
</p>
<p className="text-xs text-gray-500 dark:text-gray-500 mt-1">
{t("env.field.source")}: {getSourceDescription(conflict)}
{t("env.field.source")}:{" "}
{getSourceDescription(conflict)}
</p>
</div>
</div>
@@ -247,7 +248,9 @@ export function EnvWarningBanner({
{t("env.confirm.title")}
</DialogTitle>
<DialogDescription className="space-y-2">
<p>{t("env.confirm.message", { count: selectedConflicts.size })}</p>
<p>
{t("env.confirm.message", { count: selectedConflicts.size })}
</p>
<p className="text-sm text-muted-foreground">
{t("env.confirm.backupNotice")}
</p>