Skip to content

Commit e166b45

Browse files
author
joo
committed
Update desktop home title
1 parent c878230 commit e166b45

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

electron/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "clovapi-switcher",
33
"private": true,
4-
"version": "0.2.5",
4+
"version": "0.2.6",
55
"description": "ClovAPI Switcher desktop app",
66
"main": "main.js",
77
"type": "commonjs",

electron/ui/src/App.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
const copy = $derived.by(() => {
4141
void i18n.locale;
4242
return {
43+
title: t("app.title"),
4344
subtitle: t("app.subtitle"),
4445
tabs: {
4546
cli: t("tabs.cli"),
@@ -76,7 +77,7 @@
7677
<header class="mb-5 shrink-0 select-none {inElectron ? 'pt-8' : ''}">
7778
<div class="flex items-center justify-between gap-3">
7879
<div class="min-w-0 flex-1 {inElectron ? 'electron-titlebar-drag' : ''}">
79-
<h1 class="text-lg font-semibold tracking-tight">ClovAPI Switcher</h1>
80+
<h1 class="text-lg font-semibold tracking-tight">{copy.title}</h1>
8081
<p class="mt-1 text-xs text-muted-foreground">{copy.subtitle}</p>
8182
</div>
8283
{#if showAppUpdateBadge}

0 commit comments

Comments
 (0)