fix: remove the unnecessary “Close Window” confirmation popup
This commit is contained in:
1 parent
2ea7080a7e
commit
d1f1921086
4 files changed
-12
No files matched your search
@@ -399,7 +399,6 @@ function AppContent() {
|
||||
<X size={17} aria-hidden="true" />
|
||||
</button>
|
||||
<div className="close-dialog-heading">
|
||||
<span>{t('app.close.eyebrow')}</span>
|
||||
<h2 id="close-dialog-title">{t('app.close.title')}</h2>
|
||||
</div>
|
||||
<p id="close-dialog-description">
|
||||
|
||||
@@ -19,7 +19,6 @@ export const jaOverrides = {
|
||||
'app.coreRequired.description': '設定、OAuth、API 接続などを使用するには CPA コアを起動してください。',
|
||||
'app.contact.title': 'QQ でお問い合わせ',
|
||||
'app.contact.label': 'お問い合わせ',
|
||||
'app.close.eyebrow': 'ウィンドウを閉じる',
|
||||
'app.close.title': '次の操作を選択してください',
|
||||
'app.close.description': 'アプリを終了するか、EasyCLIProxyAPI をシステムトレイで実行し続けることができます。',
|
||||
'app.close.minimizing': '最小化しています...',
|
||||
|
||||
@@ -22,7 +22,6 @@ export const zhCN = {
|
||||
'app.coreRequired.description': '启动 CPA 内核后,才能使用配置、OAuth、API 接入等功能。',
|
||||
'app.contact.title': '通过 QQ 联系我们',
|
||||
'app.contact.label': '联系我们',
|
||||
'app.close.eyebrow': '关闭窗口',
|
||||
'app.close.title': '请选择后续操作',
|
||||
'app.close.description': '你可以退出程序,或让 EasyCLIProxyAPI 继续在系统托盘中运行。',
|
||||
'app.close.minimizing': '正在最小化...',
|
||||
@@ -726,7 +725,6 @@ export const en: Record<MessageKey, string> = {
|
||||
'app.coreRequired.description': 'Start the CPA core to use settings, OAuth, API access, and other features.',
|
||||
'app.contact.title': 'Contact us on QQ',
|
||||
'app.contact.label': 'Contact Us',
|
||||
'app.close.eyebrow': 'Close window',
|
||||
'app.close.title': 'What would you like to do?',
|
||||
'app.close.description': 'Exit the app, or keep EasyCLIProxyAPI running in the system tray.',
|
||||
'app.close.minimizing': 'Minimizing...',
|
||||
|
||||
@@ -1556,7 +1556,6 @@ input:focus-visible {
|
||||
|
||||
.close-dialog-heading {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
padding-right: 34px;
|
||||
}
|
||||
|
||||
@@ -1591,13 +1590,6 @@ input:focus-visible {
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
.close-dialog-heading span {
|
||||
color: #7a746c;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.close-dialog-heading h2 {
|
||||
margin: 0;
|
||||
color: #2d2a26;
|
||||
|
||||
Reference in new issue
Block a user