Skip to content

Commit 5e94d92

Browse files
committed
feat: complete about preferences and sponsorship
1 parent 98c4301 commit 5e94d92

15 files changed

Lines changed: 633 additions & 106 deletions

File tree

desktop_qt_ui/core/config_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ class AppSection(BaseModel):
192192
theme_user_preference: str = "light"
193193
ui_language: str = "auto" # UI语言:auto(自动检测), zh_CN, en_US, ja_JP, ko_KR 等
194194
auto_check_updates: bool = True # 启动时是否自动检查新版本
195+
use_system_proxy: bool = False # 网络请求是否使用操作系统代理配置
195196
current_preset: str = "默认" # 当前使用的预设名称
196197
editor_snap_enabled: bool = False # 编辑器文本框移动/旋转时是否启用吸附
197198
editor_center_scale_enabled: bool = False # 拖动文本框边/角时是否围绕中心对称缩放

desktop_qt_ui/locales/en_US.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
"Unknown": "Unknown",
159159
"Application Preferences": "Application Preferences",
160160
"Automatically Check for Updates": "Automatically check for updates",
161+
"Use System Proxy": "Use System Proxy",
161162
"Software Updates": "Software Updates",
162163
"Update Check Not Run": "Updates have not been checked yet.",
163164
"Check for Updates": "Check for Updates",
@@ -188,6 +189,14 @@
188189
"Open Directory": "Open Directory",
189190
"Web Resources": "Web Resources",
190191
"Web Resources Subtitle": "Project source code and documentation.",
192+
"Support the Project": "Support the Project",
193+
"Support Project Subtitle": "If this project helps you, consider supporting its continued development.",
194+
"Sponsor": "Sponsor",
195+
"Sponsor Message": "Thank you for supporting the project. Choose a local payment code below, or use Ko-fi for international support.",
196+
"WeChat Sponsor": "WeChat",
197+
"Alipay Sponsor": "Alipay",
198+
"International Sponsor": "International support",
199+
"Open Ko-fi": "Open Ko-fi",
191200
"GitHub Repository": "GitHub Repository",
192201
"Wiki": "Wiki",
193202
"GitHub Commit Hash: {hash}": "GitHub Commit: {hash}",
@@ -1045,6 +1054,7 @@
10451054
"desc_app_ui_language": "Interface display language. Text updates immediately after switching.",
10461055
"desc_app_theme": "UI theme. Supports Light, Dark, Gray, Ocean, Forest, Sunset, Rose, and Follow System.",
10471056
"desc_app_auto_check_updates": "Automatically check for new releases shortly after startup.",
1057+
"desc_app_use_system_proxy": "Allow application network requests to use the operating system proxy settings.",
10481058
"desc_cli_verbose": "Qt UI always creates the log_timestamp.txt runtime log in result/ at startup, whether this option is enabled or disabled.\n\nWhen enabled, the console includes DEBUG-level messages and each processed image gets a timestamped debug folder. It stores cached intermediate files for input, detection/OCR, inpainting, and rendering. These files can be numerous and use substantial disk space, so enable this only while troubleshooting.\n\nCleanup: close Qt UI first, then delete the unneeded log_*.txt files and timestamped debug folders under result/.",
10491059
"desc_cli_ignore_errors": "Ignore errors and continue processing remaining images without interrupting the task.",
10501060
"desc_cli_use_gpu": "Enable GPU acceleration. Requires CUDA support, significantly speeds up processing.",

desktop_qt_ui/locales/es_ES.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
"Unknown": "Desconocida",
159159
"Application Preferences": "Preferencias de la aplicación",
160160
"Automatically Check for Updates": "Buscar actualizaciones automáticamente",
161+
"Use System Proxy": "Usar el proxy del sistema",
161162
"Software Updates": "Actualizaciones de software",
162163
"Update Check Not Run": "Aún no se han buscado actualizaciones.",
163164
"Check for Updates": "Buscar actualizaciones",
@@ -188,6 +189,14 @@
188189
"Open Directory": "Abrir directorio",
189190
"Web Resources": "Recursos web",
190191
"Web Resources Subtitle": "Código fuente y documentación del proyecto.",
192+
"Support the Project": "Apoyar el proyecto",
193+
"Support Project Subtitle": "Si este proyecto le resulta útil, considere apoyar su desarrollo continuo.",
194+
"Sponsor": "Patrocinar",
195+
"Sponsor Message": "Gracias por apoyar el proyecto. Elija un código de pago local o use Ko-fi para apoyo internacional.",
196+
"WeChat Sponsor": "WeChat",
197+
"Alipay Sponsor": "Alipay",
198+
"International Sponsor": "Apoyo internacional",
199+
"Open Ko-fi": "Abrir Ko-fi",
191200
"GitHub Repository": "Repositorio de GitHub",
192201
"Wiki": "Documentación Wiki",
193202
"GitHub Commit Hash: {hash}": "Commit de GitHub: {hash}",
@@ -1038,6 +1047,7 @@
10381047
"desc_app_ui_language": "Idioma de la interfaz. El texto se actualiza inmediatamente después de cambiar.",
10391048
"desc_app_theme": "Tema de la interfaz. Compatible con Claro, Oscuro, Gris, Océano, Bosque, Atardecer, Rosa y Seguir Sistema.",
10401049
"desc_app_auto_check_updates": "Comprobar automáticamente si hay nuevas versiones poco después del inicio.",
1050+
"desc_app_use_system_proxy": "Permitir que las solicitudes de red de la aplicación usen el proxy del sistema.",
10411051
"desc_cli_verbose": "Al iniciar, Qt UI siempre crea el registro de ejecución log_timestamp.txt en result/, tanto si esta opción está activada como si no.\n\nAl activarla, la consola muestra mensajes de nivel DEBUG y cada imagen procesada genera una carpeta de depuración con marca de tiempo. Guarda archivos intermedios de caché para la entrada, la detección/OCR, el rellenado y el renderizado. Estos archivos pueden ser numerosos y ocupar mucho espacio, por lo que conviene activarlo solo al investigar problemas.\n\nLimpieza: cierra primero Qt UI y luego elimina los archivos log_*.txt que no necesites y las carpetas de depuración con marca de tiempo dentro de result/.",
10421052
"desc_cli_ignore_errors": "Ignorar errores y continuar procesando las imágenes restantes sin interrumpir la tarea.",
10431053
"desc_cli_use_gpu": "Habilitar aceleración GPU. Requiere soporte CUDA, acelera significativamente el procesamiento.",

desktop_qt_ui/locales/ja_JP.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
"Unknown": "不明",
159159
"Application Preferences": "アプリの設定",
160160
"Automatically Check for Updates": "更新を自動的に確認する",
161+
"Use System Proxy": "システムプロキシを使用",
161162
"Software Updates": "ソフトウェア更新",
162163
"Update Check Not Run": "更新をまだ確認していません。",
163164
"Check for Updates": "更新を確認",
@@ -188,6 +189,14 @@
188189
"Open Directory": "フォルダーを開く",
189190
"Web Resources": "ウェブリソース",
190191
"Web Resources Subtitle": "プロジェクトのソースコードとドキュメント。",
192+
"Support the Project": "プロジェクトを支援",
193+
"Support Project Subtitle": "このプロジェクトが役立った場合は、継続的な開発をご支援ください。",
194+
"Sponsor": "支援する",
195+
"Sponsor Message": "ご支援ありがとうございます。下の国内向け決済コード、または海外向けの Ko-fi をご利用ください。",
196+
"WeChat Sponsor": "WeChat",
197+
"Alipay Sponsor": "Alipay",
198+
"International Sponsor": "海外からの支援",
199+
"Open Ko-fi": "Ko-fi を開く",
191200
"GitHub Repository": "GitHub リポジトリ",
192201
"Wiki": "Wiki ドキュメント",
193202
"GitHub Commit Hash: {hash}": "GitHub コミット:{hash}",
@@ -1038,6 +1047,7 @@
10381047
"desc_app_ui_language": "インターフェースの表示言語。切り替え後、テキストは即座に更新されます。",
10391048
"desc_app_theme": "UIテーマ。ライト、ダーク、グレー、オーシャン、フォレスト、サンセット、ローズ、システムに従うに対応。",
10401049
"desc_app_auto_check_updates": "起動後に新しいリリースがあるか自動的に確認します。",
1050+
"desc_app_use_system_proxy": "アプリのネットワーク要求でオペレーティングシステムのプロキシ設定を使用します。",
10411051
"desc_cli_verbose": "この項目の有効・無効にかかわらず、Qt UI は起動時に result/ フォルダに log_timestamp.txt の実行ログを作成します。\n\n有効にすると、コンソールに DEBUG レベルのメッセージが表示され、処理した画像ごとにタイムスタンプ付きのデバッグフォルダも作成されます。入力画像、検出/OCR、修復、レンダリングなどのデバッグ用キャッシュ/中間ファイルが保存されるため、ファイル数とディスク使用量が大幅に増えることがあります。問題の調査時だけ有効にしてください。\n\n削除方法: まず Qt UI を終了し、その後 result/ フォルダ内の不要な log_*.txt とタイムスタンプ付きデバッグフォルダを削除してください。",
10421052
"desc_cli_ignore_errors": "エラーを無視して残りの画像の処理を続行し、タスクを中断しません。",
10431053
"desc_cli_use_gpu": "GPUアクセラレーションを有効化。CUDA対応が必要で、処理速度が大幅に向上します。",

desktop_qt_ui/locales/ko_KR.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
"Unknown": "알 수 없음",
159159
"Application Preferences": "애플리케이션 환경 설정",
160160
"Automatically Check for Updates": "업데이트 자동 확인",
161+
"Use System Proxy": "시스템 프록시 사용",
161162
"Software Updates": "소프트웨어 업데이트",
162163
"Update Check Not Run": "아직 업데이트를 확인하지 않았습니다.",
163164
"Check for Updates": "업데이트 확인",
@@ -188,6 +189,14 @@
188189
"Open Directory": "디렉터리 열기",
189190
"Web Resources": "웹 리소스",
190191
"Web Resources Subtitle": "프로젝트 소스 코드와 문서입니다.",
192+
"Support the Project": "프로젝트 후원",
193+
"Support Project Subtitle": "프로젝트가 유용했다면 지속적인 개발을 후원해 주세요.",
194+
"Sponsor": "후원하기",
195+
"Sponsor Message": "프로젝트를 후원해 주셔서 감사합니다. 아래 현지 결제 코드 또는 해외용 Ko-fi를 이용해 주세요.",
196+
"WeChat Sponsor": "WeChat",
197+
"Alipay Sponsor": "Alipay",
198+
"International Sponsor": "해외 후원",
199+
"Open Ko-fi": "Ko-fi 열기",
191200
"GitHub Repository": "GitHub 저장소",
192201
"Wiki": "Wiki 문서",
193202
"GitHub Commit Hash: {hash}": "GitHub 커밋: {hash}",
@@ -1038,6 +1047,7 @@
10381047
"desc_app_ui_language": "인터페이스 표시 언어. 전환 후 텍스트가 즉시 업데이트됩니다.",
10391048
"desc_app_theme": "UI 테마입니다. 라이트, 다크, 그레이, 오션, 포레스트, 선셋, 로즈 및 시스템 설정 따르기를 지원합니다.",
10401049
"desc_app_auto_check_updates": "시작 후 새 릴리스가 있는지 자동으로 확인합니다.",
1050+
"desc_app_use_system_proxy": "앱 네트워크 요청에서 운영 체제의 프록시 설정을 사용합니다.",
10411051
"desc_cli_verbose": "이 옵션을 켜거나 끄는 것과 관계없이 Qt UI는 시작할 때 result/ 폴더에 log_timestamp.txt 실행 로그를 만듭니다.\n\n활성화하면 콘솔에 DEBUG 수준의 메시지가 표시되고, 처리한 이미지마다 타임스탬프가 있는 디버그 폴더도 생성됩니다. 입력 이미지, 감지/OCR, 인페인팅, 렌더링 등의 디버그 캐시/중간 파일이 저장되므로 파일 수와 디스크 사용량이 크게 늘어날 수 있습니다. 문제를 조사할 때만 활성화하세요.\n\n정리 방법: 먼저 Qt UI를 종료한 뒤 result/ 폴더에서 불필요한 log_*.txt 파일과 타임스탬프가 있는 디버그 폴더를 삭제하면 됩니다.",
10421052
"desc_cli_ignore_errors": "오류를 무시하고 나머지 이미지를 계속 처리하여 작업을 중단하지 않습니다.",
10431053
"desc_cli_use_gpu": "GPU 가속을 활성화합니다. CUDA 지원이 필요하며, 처리 속도가 크게 향상됩니다.",

desktop_qt_ui/locales/zh_CN.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
"Unknown": "未知",
159159
"Application Preferences": "应用偏好",
160160
"Automatically Check for Updates": "自动检查更新",
161+
"Use System Proxy": "使用系统代理",
161162
"Software Updates": "软件更新",
162163
"Update Check Not Run": "尚未检查更新。",
163164
"Check for Updates": "检查更新",
@@ -188,6 +189,14 @@
188189
"Open Directory": "打开目录",
189190
"Web Resources": "网页资源",
190191
"Web Resources Subtitle": "项目源码和在线文档。",
192+
"Support the Project": "赞助项目",
193+
"Support Project Subtitle": "如果觉得项目好用,欢迎赞助支持持续开发。",
194+
"Sponsor": "给个赞助",
195+
"Sponsor Message": "感谢你对项目的支持。国内可扫描微信或支付宝二维码,海外可通过 Ko-fi 赞助。",
196+
"WeChat Sponsor": "微信赞赏",
197+
"Alipay Sponsor": "支付宝赞助",
198+
"International Sponsor": "海外赞助",
199+
"Open Ko-fi": "打开 Ko-fi",
191200
"GitHub Repository": "GitHub 仓库",
192201
"Wiki": "Wiki 文档",
193202
"GitHub Commit Hash: {hash}": "GitHub 提交:{hash}",
@@ -1045,6 +1054,7 @@
10451054
"desc_app_ui_language": "界面显示语言。切换后界面文本会即时更新。",
10461055
"desc_app_theme": "界面主题。支持浅色、深色、灰色、海洋、森林、落日、玫瑰和跟随系统。",
10471056
"desc_app_auto_check_updates": "启动后自动检查是否有新版本。",
1057+
"desc_app_use_system_proxy": "让应用网络请求使用操作系统的代理设置。",
10481058
"desc_cli_verbose": "Qt UI 启动时,无论此项是否开启,都会在 result/ 目录创建 log_时间戳.txt 运行日志。\n\n开启后,控制台会显示 DEBUG 级别信息;每张已处理图片还会创建带时间戳的调试文件夹,保存输入图、检测/OCR、修复和渲染等调试缓存/中间文件。这些文件可能很多并占用大量磁盘空间,建议只在排查问题时开启。\n\n清理方法:先关闭 Qt UI,再到 result/ 目录删除不需要的 log_*.txt 和带时间戳的调试文件夹即可。",
10491059
"desc_cli_ignore_errors": "遇到错误时忽略并继续处理后续图片,不中断整个任务。",
10501060
"desc_cli_use_gpu": "启用 GPU 加速。需要 CUDA 支持,可大幅提升处理速度。",

desktop_qt_ui/locales/zh_TW.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
"Unknown": "未知",
159159
"Application Preferences": "應用程式偏好",
160160
"Automatically Check for Updates": "自動檢查更新",
161+
"Use System Proxy": "使用系統代理",
161162
"Software Updates": "軟體更新",
162163
"Update Check Not Run": "尚未檢查更新。",
163164
"Check for Updates": "檢查更新",
@@ -188,6 +189,14 @@
188189
"Open Directory": "開啟目錄",
189190
"Web Resources": "網頁資源",
190191
"Web Resources Subtitle": "專案原始碼與線上文件。",
192+
"Support the Project": "贊助專案",
193+
"Support Project Subtitle": "如果覺得專案好用,歡迎贊助支持持續開發。",
194+
"Sponsor": "給個贊助",
195+
"Sponsor Message": "感謝你對專案的支持。可掃描 WeChat 或 Alipay 二維碼,海外可透過 Ko-fi 贊助。",
196+
"WeChat Sponsor": "WeChat 贊賞",
197+
"Alipay Sponsor": "Alipay 贊助",
198+
"International Sponsor": "海外贊助",
199+
"Open Ko-fi": "開啟 Ko-fi",
191200
"GitHub Repository": "GitHub 儲存庫",
192201
"Wiki": "Wiki 文件",
193202
"GitHub Commit Hash: {hash}": "GitHub 提交:{hash}",
@@ -1039,6 +1048,7 @@
10391048
"desc_app_ui_language": "介面顯示語言。切換後介面文字會即時更新。",
10401049
"desc_app_theme": "介面主題。支援淺色、深色、灰色、海洋、森林、落日、玫瑰和跟隨系統。",
10411050
"desc_app_auto_check_updates": "啟動後自動檢查是否有新版本。",
1051+
"desc_app_use_system_proxy": "讓應用程式網路請求使用作業系統的代理設定。",
10421052
"desc_cli_verbose": "Qt UI 啟動時,無論此項是否開啟,都會在 result/ 目錄建立 log_時間戳.txt 執行日誌。\n\n開啟後,主控台會顯示 DEBUG 層級資訊;每張已處理圖片還會建立帶時間戳的偵錯資料夾,儲存輸入圖、偵測/OCR、修復和排版等偵錯快取/中間檔案。這些檔案可能很多並佔用大量磁碟空間,建議只在排查問題時開啟。\n\n清理方法:先關閉 Qt UI,再到 result/ 目錄刪除不需要的 log_*.txt 和帶時間戳的偵錯資料夾即可。",
10431053
"desc_cli_ignore_errors": "遇到錯誤時忽略並繼續處理後續圖片,不中斷整個任務。",
10441054
"desc_cli_use_gpu": "啟用 GPU 加速。需要 CUDA 支援,可大幅提升處理速度。",

0 commit comments

Comments
 (0)