Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/desktop-gpui/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions apps/desktop-gpui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@ libc = "0.2"
clipboard-rs = "0.2.4"
raw-window-handle = "0.6"
tray-icon = { version = "0.21.1", default-features = false }
notify-rust = "4.11"
windows = { version = "0.61.3", features = [
"Foundation",
"Graphics_Imaging",
"Media_Ocr",
"Storage_Streams",
"Win32_System_WinRT",
] }
windows-sys = { version = "0.59", features = [
"Win32_Foundation",
"Win32_Security",
Expand All @@ -216,6 +224,7 @@ raw-window-handle = "0.6"
x11rb = "0.13"

[target.'cfg(target_os = "macos")'.dependencies]
notify-rust = "4.11"
# Native window treatment (panel levels, Spaces) gpui does not expose. Same
# versions gpui's own tree compiles, so no second objc2 universe gets built.
objc2 = "0.5.2"
Expand Down
19 changes: 19 additions & 0 deletions apps/desktop-gpui/locales/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ label = "Dock-Symbol immer anzeigen"
description = "Mitteilungen für Kopien in die Zwischenablage, gespeicherte Dateien und mehr anzeigen. Eventuell müssen Sie Cap in den Mitteilungseinstellungen Ihres Systems erlauben."
label = "Systemmitteilungen"

[settings.general.ocr]
description = "Kopieren Sie mit dem OCR-Tastenkürzel Text von überall auf Ihrem Bildschirm."
title = "Texterfassung (OCR)"

[settings.general.ocr.keep_screenshot]
description = "Speichern Sie den ausgewählten Bereich beim Kopieren von Text in Ihren Screenshots. Wenn die Option deaktiviert ist, wird nichts gespeichert."
label = "Screenshot des erfassten Bereichs speichern"

[settings.general.ocr.show_notification]
description = "Zeigen Sie eine Systembenachrichtigung mit einer Vorschau des kopierten Textes an."
label = "Benachrichtigung beim Kopieren von Text anzeigen"

[settings.general.recording]
description = "Verhalten während und nach der Aufnahme."
title = "Aufnahme"
Expand Down Expand Up @@ -583,3 +595,10 @@ click_or_press = "Hier klicken oder drücken:"
get_started = "Los geht’s"
space_key = "Leertaste"
tagline = "Die Open-Source-App zum Teilen des Bildschirms für alle."

[ocr.notification]
copy_failed_title = "Text konnte nicht kopiert werden"
no_text_found = "Im ausgewählten Bereich wurde kein Text gefunden"
screenshot_save_failed_body = "Der Text ist in der Zwischenablage, aber der Screenshot wurde nicht gespeichert."
screenshot_save_failed_title = "Screenshot konnte nicht gespeichert werden"
text_copied_title = "Text in die Zwischenablage kopiert"
19 changes: 19 additions & 0 deletions apps/desktop-gpui/locales/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ label = "Always show dock icon"
description = "Show notifications for clipboard copies, saved files, and more. You may need to allow Cap in your system's notification settings."
label = "System notifications"

[settings.general.ocr]
description = "Copy text from anywhere on your screen with the OCR hotkey."
title = "Text capture (OCR)"

[settings.general.ocr.keep_screenshot]
description = "Save the selected region to your screenshots when copying text. When off, nothing is stored."
label = "Keep a screenshot of the captured area"

[settings.general.ocr.show_notification]
description = "Display a system notification with a preview of the copied text."
label = "Show a notification when text is copied"

[settings.general.recording]
description = "Behaviour while you record and after you stop."
title = "Recording"
Expand Down Expand Up @@ -585,3 +597,10 @@ click_or_press = "Click here, or press"
get_started = "Get Started"
space_key = "Space"
tagline = "The open source screen sharing app for everyone."

[ocr.notification]
copy_failed_title = "Failed to copy text"
no_text_found = "No text was found in the selected area"
screenshot_save_failed_body = "The text is on your clipboard, but the screenshot wasn't saved."
screenshot_save_failed_title = "Couldn't save the screenshot"
text_copied_title = "Text copied to clipboard"
19 changes: 19 additions & 0 deletions apps/desktop-gpui/locales/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ label = "Mostrar siempre el icono en el Dock"
description = "Muestra notificaciones al copiar al portapapeles, guardar archivos y más. Puede que tengas que permitir Cap en los ajustes de notificaciones del sistema."
label = "Notificaciones del sistema"

[settings.general.ocr]
description = "Copia texto de cualquier parte de la pantalla con el atajo de OCR."
title = "Captura de texto (OCR)"

[settings.general.ocr.keep_screenshot]
description = "Guarda la región seleccionada en tus capturas al copiar texto. Si está desactivado, no se guarda nada."
label = "Conservar una captura del área seleccionada"

[settings.general.ocr.show_notification]
description = "Muestra una notificación del sistema con una vista previa del texto copiado."
label = "Mostrar una notificación al copiar texto"

[settings.general.recording]
description = "Comportamiento durante la grabación y al detenerla."
title = "Grabación"
Expand Down Expand Up @@ -583,3 +595,10 @@ click_or_press = "Haz clic aquí o pulsa"
get_started = "Empezar"
space_key = "Espacio"
tagline = "La app de código abierto para compartir pantalla, para todo el mundo."

[ocr.notification]
copy_failed_title = "No se pudo copiar el texto"
no_text_found = "No se encontró texto en el área seleccionada"
screenshot_save_failed_body = "El texto está en el portapapeles, pero no se guardó la captura de pantalla."
screenshot_save_failed_title = "No se pudo guardar la captura de pantalla"
text_copied_title = "Texto copiado al portapapeles"
19 changes: 19 additions & 0 deletions apps/desktop-gpui/locales/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ label = "Toujours afficher l'icône dans le Dock"
description = "Afficher des notifications pour les copies dans le presse-papiers, les fichiers enregistrés, etc. Vous devrez peut-être autoriser Cap dans les réglages de notifications de votre système."
label = "Notifications système"

[settings.general.ocr]
description = "Copiez du texte n’importe où sur votre écran avec le raccourci OCR."
title = "Capture de texte (OCR)"

[settings.general.ocr.keep_screenshot]
description = "Enregistrez la zone sélectionnée dans vos captures d’écran lorsque vous copiez du texte. Si l’option est désactivée, rien n’est enregistré."
label = "Conserver une capture de la zone sélectionnée"

[settings.general.ocr.show_notification]
description = "Affichez une notification système avec un aperçu du texte copié."
label = "Afficher une notification lorsque du texte est copié"

[settings.general.recording]
description = "Comportement pendant l'enregistrement et après l'arrêt."
title = "Enregistrement"
Expand Down Expand Up @@ -583,3 +595,10 @@ click_or_press = "Cliquez ici ou appuyez sur"
get_started = "Commencer"
space_key = "Espace"
tagline = "L'app open source de partage d'écran pour tout le monde."

[ocr.notification]
copy_failed_title = "Échec de la copie du texte"
no_text_found = "Aucun texte n’a été trouvé dans la zone sélectionnée"
screenshot_save_failed_body = "Le texte est dans le presse-papiers, mais la capture d’écran n’a pas été enregistrée."
screenshot_save_failed_title = "Impossible d’enregistrer la capture d’écran"
text_copied_title = "Texte copié dans le presse-papiers"
19 changes: 19 additions & 0 deletions apps/desktop-gpui/locales/hi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ label = "Dock आइकन हमेशा दिखाएँ"
description = "क्लिपबोर्ड पर कॉपी करने, फ़ाइलें सहेजने और अन्य कामों के लिए सूचनाएँ दिखाएँ। आपको अपने सिस्टम की सूचना सेटिंग्स में Cap को अनुमति देनी पड़ सकती है।"
label = "सिस्टम सूचनाएँ"

[settings.general.ocr]
description = "OCR हॉटकी से स्क्रीन पर कहीं से भी टेक्स्ट कॉपी करें।"
title = "टेक्स्ट कैप्चर (OCR)"

[settings.general.ocr.keep_screenshot]
description = "टेक्स्ट कॉपी करते समय चुने गए क्षेत्र को अपने स्क्रीनशॉट में सहेजें। बंद होने पर कुछ भी सहेजा नहीं जाएगा।"
label = "कैप्चर किए गए क्षेत्र का स्क्रीनशॉट रखें"

[settings.general.ocr.show_notification]
description = "कॉपी किए गए टेक्स्ट की झलक के साथ सिस्टम सूचना दिखाएँ।"
label = "टेक्स्ट कॉपी होने पर सूचना दिखाएँ"

[settings.general.recording]
description = "रिकॉर्ड करते समय और रोकने के बाद का व्यवहार।"
title = "रिकॉर्डिंग"
Expand Down Expand Up @@ -583,3 +595,10 @@ click_or_press = "यहाँ क्लिक करें, या दबाए
get_started = "शुरू करें"
space_key = "स्पेस"
tagline = "सबके लिए ओपन सोर्स स्क्रीन शेयरिंग ऐप।"

[ocr.notification]
copy_failed_title = "टेक्स्ट कॉपी नहीं हो सका"
no_text_found = "चयनित क्षेत्र में कोई टेक्स्ट नहीं मिला"
screenshot_save_failed_body = "टेक्स्ट आपके क्लिपबोर्ड पर है, लेकिन स्क्रीनशॉट सहेजा नहीं गया।"
screenshot_save_failed_title = "स्क्रीनशॉट सहेजा नहीं जा सका"
text_copied_title = "टेक्स्ट क्लिपबोर्ड पर कॉपी किया गया"
19 changes: 19 additions & 0 deletions apps/desktop-gpui/locales/ja.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ label = "Dockアイコンを常に表示"
description = "クリップボードへのコピーやファイルの保存などを通知します。システムの通知設定でCapを許可する必要がある場合があります。"
label = "システム通知"

[settings.general.ocr]
description = "OCR ホットキーを使って、画面上のどこからでもテキストをコピーできます。"
title = "テキストキャプチャ(OCR)"

[settings.general.ocr.keep_screenshot]
description = "テキストのコピー時に選択した範囲をスクリーンショットとして保存します。オフの場合は何も保存されません。"
label = "キャプチャした範囲のスクリーンショットを保存"

[settings.general.ocr.show_notification]
description = "コピーしたテキストのプレビューを含むシステム通知を表示します。"
label = "テキストのコピー時に通知を表示"

[settings.general.recording]
description = "録画中と録画停止後の動作。"
title = "録画"
Expand Down Expand Up @@ -583,3 +595,10 @@ click_or_press = "ここをクリックするか、次のキーを押す:"
get_started = "はじめる"
space_key = "スペース"
tagline = "誰もが使えるオープンソースの画面共有アプリ。"

[ocr.notification]
copy_failed_title = "テキストをコピーできませんでした"
no_text_found = "選択した領域にテキストが見つかりませんでした"
screenshot_save_failed_body = "テキストはクリップボードにありますが、スクリーンショットは保存されませんでした。"
screenshot_save_failed_title = "スクリーンショットを保存できませんでした"
text_copied_title = "テキストをクリップボードにコピーしました"
19 changes: 19 additions & 0 deletions apps/desktop-gpui/locales/zh-CN.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ label = "始终显示程序坞图标"
description = "在拷贝到剪贴板、保存文件等操作后显示通知。你可能需要在系统的通知设置中允许 Cap。"
label = "系统通知"

[settings.general.ocr]
description = "使用 OCR 快捷键复制屏幕任意位置的文字。"
title = "文本捕获(OCR)"

[settings.general.ocr.keep_screenshot]
description = "复制文字时将所选区域保存到截图中。关闭后不会保存任何内容。"
label = "保留捕获区域的截图"

[settings.general.ocr.show_notification]
description = "显示包含已复制文字预览的系统通知。"
label = "复制文字时显示通知"

[settings.general.recording]
description = "录制期间及停止录制后的行为。"
title = "录制"
Expand Down Expand Up @@ -583,3 +595,10 @@ click_or_press = "点击此处,或按下"
get_started = "开始使用"
space_key = "空格"
tagline = "人人可用的开源屏幕分享应用。"

[ocr.notification]
copy_failed_title = "复制文本失败"
no_text_found = "所选区域中未找到文本"
screenshot_save_failed_body = "文本已在剪贴板中,但截图未能保存。"
screenshot_save_failed_title = "无法保存截图"
text_copied_title = "文本已复制到剪贴板"
Loading
Loading