Skip to content

Commit

Permalink
feat: update title text on UI
Browse files Browse the repository at this point in the history
  • Loading branch information
prinsss committed Oct 21, 2024
1 parent 77d05f3 commit 0e1409a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/core/app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Fragment } from 'preact';
import { useEffect } from 'preact/hooks';
import { useSignal } from '@preact/signals';
import { IconX } from '@tabler/icons-preact';
import { IconBrandTwitterFilled, IconX } from '@tabler/icons-preact';
import { GM_registerMenuCommand } from '$';

import { ErrorBoundary } from '@/components/error-boundary';
Expand Down Expand Up @@ -64,7 +64,8 @@ export function App() {
>
{/* Card title. */}
<header class="flex items-center h-9">
<h2 class="font-semibold leading-none text-xl m-0 flex-grow">Web Exporter (α)</h2>
<IconBrandTwitterFilled class="mr-2" />
<h2 class="font-semibold leading-none text-xl m-0 flex-grow">Web Exporter</h2>
<ErrorBoundary>
<Settings />
</ErrorBoundary>
Expand All @@ -76,7 +77,7 @@ export function App() {
</div>
</header>
<p class="text-sm text-base-content text-opacity-70 mb-1 leading-none">
{t('Refresh or clear to start new captures.')}
{t('Browse around to capture more data.')}
</p>
<div class="divider mt-0 mb-0"></div>
{/* Extensions UI. */}
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/en/common.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Open Control Panel": "Open Control Panel",
"Refresh or clear to start new captures.": "Refresh or clear to start new captures.",
"Browse around to capture more data.": "Browse around to capture more data.",
"Settings": "Settings",
"General": "General",
"Theme": "Theme",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/zh-Hans/common.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Open Control Panel": "打开控制面板",
"Refresh or clear to start new captures.": "刷新页面或清除数据以开始新的捕获",
"Browse around to capture more data.": "浏览页面以捕获更多数据",
"Settings": "设置",
"General": "通用",
"Theme": "主题",
Expand Down

0 comments on commit 0e1409a

Please sign in to comment.