Skip to content
Merged
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- **Language picker.** Under Settings › General › Appearance › Language, search by name or code and choose Automatic, Español, English, Deutsch or 한국어, each marked as complete.
- **English interface.** Stackshot follows the Windows language: English on an English Windows, and English can be chosen under Settings › General › Appearance › Language. Contributed by @altmashnaveed (PR #12).
- **Korean interface.** Select 한국어 in the language picker or use Automatic on Korean Windows. Existing language preferences are preserved. Contributed by @Hobeom (PR #30).
- **German, complete.** The German interface that arrived with PR #13 (by Aamer Shahzad) now covers the whole app: capture and the area picker, the editor, recording and the video tools, the desktop mascot included, the Home window, history, reports and the Markdown and XML viewers. Notices keep their kind in every language (their kind comes from the text's key, not from the words of one language), a document that is not UTF-8 is rescued the same in all languages, and shown numbers use each language's own thousands and decimal marks. The in-app news come in the interface language (Spanish, English, German and Korean).
Expand Down
8 changes: 7 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A screenshot tool for Windows in the spirit of CleanShot X: its own capture (scrolling capture too), a stack of floating
thumbnails, a quick editor with a presentation backdrop, video and GIF through FFmpeg, a main window with a customizable
mascot, and a per-user installation. A single `.exe` (about 2.2 MB) written in C# 5 + WinForms and WPF on .NET Framework 4.8.
Windows 10 and 11 only. The user interface is in Spanish, English, German and Korean (the language registry is in `src/I18n.Languages.cs`, the German catalog is split by area into `src/I18n.German.<Area>.cs` and the Korean one into `src/I18n.Korean*.cs`); code comments are in English.
Windows 10 and 11 only. The user interface is in Spanish, English, German and Korean (the language registry is in `src/I18n.Languages.cs`, the German catalog is split by area into `src/I18n.German.<Area>.cs` and the Korean one into `src/I18n.Korean*.cs`); code comments are in English. French, Portuguese, Simplified Chinese, Hindi, Arabic and Bengali (`src/I18n.Preview.cs`) are kept hidden until they are complete.

## Build and test

Expand Down Expand Up @@ -87,6 +87,12 @@ Windows 10 and 11 only. The user interface is in Spanish, English, German and Ko
`tests\app\run-tests.ps1 i18n` checks that Automatic follows Windows and that no page shows Spanish in English, and
`tests\app\run-tests.ps1 news` checks that the four news files carry the same versions and that the program's version
is the newest one.
- **Adding a language.** Add a `LanguageOption` to `I18n.Known` in `src/I18n.Languages.cs` (code, native name, search
names) and its catalog: a `src/I18n.<Language>*.cs` keyed by the English text, like Korean, or a column in
`src/I18n.Preview.cs` for a partial one (give it a `previewIndex`). A language with a `previewIndex` is hidden
(`I18n.PreviewsListed` is off): the picker lists only complete languages, a saved choice of a hidden one reads as
Automatic, and Automatic never picks it. Make it complete (every screen, notice, news file and test in `tests\app`),
then remove its `previewIndex` so it is listed, and add it to the Windows languages Automatic follows if it should be.
- **ASCII literals**: accented characters in strings are Unicode escapes. Some editing tools turn them into real
characters; after editing, `perl tools/escape-literals.pl <file>` escapes them again.
- The process is per-monitor DPI aware (PerMonitorV2 manifest): sizes are in physical pixels and scaled with
Expand Down
2 changes: 1 addition & 1 deletion README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ Al abrir `Stackshot.exe` te ofrece instalarlo para tu usuario (sin permisos de a
<summary><b>¿Tiene la interfaz en español?</b></summary>
<br>

Sí: en español, inglés, alemán y coreano. Una instalación nueva sigue el idioma de Windows (coreano en un Windows en coreano; español en un Windows en español, catalán, gallego o euskera; alemán en uno alemán; inglés en los demás), y **Ajustes › General › Apariencia › Idioma** lo cambia al momento (Automático, Español, English, Deutsch, 한국어), durante la instalación o desde la bandeja. Quien ya usaba Stackshot sigue en español; si su Windows está en otro idioma, se le ofrece una sola vez el que corresponde, y no cambia nada si no lo acepta. Francés, portugués, chino simplificado, hindi, árabe y bengalí se ofrecen como vista previa: traducen el selector de idioma y los controles comunes, y el resto queda en inglés; los textos que falten en coreano se muestran en inglés. La traducción al inglés la aportó [@altmashnaveed](https://github.com/altmashnaveed) y la del coreano [@Hobeom](https://github.com/Hobeom); el alemán y la redacción de claves vinieron de la PR #13 de [@aamershahzad2](https://github.com/aamershahzad2).
Sí: en español, inglés, alemán y coreano. Una instalación nueva sigue el idioma de Windows (coreano en un Windows en coreano; español en un Windows en español, catalán, gallego o euskera; alemán en uno alemán; inglés en los demás), y **Ajustes › General › Apariencia › Idioma** lo cambia al momento (Automático, Español, English, Deutsch, 한국어), durante la instalación o desde la bandeja. Quien ya usaba Stackshot sigue en español; si su Windows está en otro idioma, se le ofrece una sola vez el que corresponde, y no cambia nada si no lo acepta. La traducción al inglés la aportó [@altmashnaveed](https://github.com/altmashnaveed) y la del coreano [@Hobeom](https://github.com/Hobeom); el alemán y la redacción de claves vinieron de la PR #13 de [@aamershahzad2](https://github.com/aamershahzad2).
</details>

## Compilar desde el código
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ Running `Stackshot.exe` offers to install it for your user (no administrator rig
<summary><b>Is there an English interface?</b></summary>
<br>

Yes. Stackshot speaks Spanish, English, German and Korean. A new installation follows the Windows display language (Korean on a Korean Windows; Spanish on a Spanish, Catalan, Galician or Basque Windows; German on a German one; English everywhere else), and **Settings › General › Appearance › Language** switches it at once (Automatic, Español, English, Deutsch, 한국어), at setup or from the tray. Those who already used Stackshot keep Spanish; if their Windows is in another language, the matching language is offered once, and nothing changes unless they accept. French, Portuguese, Simplified Chinese, Hindi, Arabic and Bengali are offered as previews: they translate the language picker and the common controls, and the rest stays in English; any Korean text still missing is shown in English. The English translation was contributed by [@altmashnaveed](https://github.com/altmashnaveed) and the Korean one by [@Hobeom](https://github.com/Hobeom); German and the secrets redaction came from PR #13 by [@aamershahzad2](https://github.com/aamershahzad2).
Yes. Stackshot speaks Spanish, English, German and Korean. A new installation follows the Windows display language (Korean on a Korean Windows; Spanish on a Spanish, Catalan, Galician or Basque Windows; German on a German one; English everywhere else), and **Settings › General › Appearance › Language** switches it at once (Automatic, Español, English, Deutsch, 한국어), at setup or from the tray. Those who already used Stackshot keep Spanish; if their Windows is in another language, the matching language is offered once, and nothing changes unless they accept. The English translation was contributed by [@altmashnaveed](https://github.com/altmashnaveed) and the Korean one by [@Hobeom](https://github.com/Hobeom); German and the secrets redaction came from PR #13 by [@aamershahzad2](https://github.com/aamershahzad2).
</details>

## Building from source
Expand Down
2 changes: 1 addition & 1 deletion docs/new-features-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Stackshot adds **German (Deutsch)** alongside English and Spanish, and it is com
- All other display languages -> English (`en`)
- **One-time offer**: If you already used Stackshot in Spanish and your Windows is in another language, Stackshot offers the matching language once in a notice; nothing changes unless you accept, and you can always change it later in the settings.
- **Settings Selector**: Under **Settings › General › Appearance › Language**, open the picker and search by name or language code. Choose a language and select **Apply language**.
- **Preview languages**: French, Portuguese, Simplified Chinese, Hindi, Arabic and Bengali translate the picker and common controls. Other text appears in English. Select these languages manually. Automatic mode continues to choose Spanish, German, Korean or English based on Windows.
- **Complete languages only**: The picker lists only languages whose translation is complete: Spanish, English, German and Korean. Automatic mode chooses Spanish, German, Korean or English based on Windows.

---

Expand Down
3 changes: 1 addition & 2 deletions docs/novedades.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ Format: ein Abschnitt `## X.Y.Z` pro Version und darin eine Zeile pro Neuerung:
- **Oberfläche auf Englisch.** Stackshot folgt der Windows-Sprache: Eine neue Installation auf einem englischen Windows startet auf Englisch. Ändern kannst du das unter Einstellungen › Allgemein › Erscheinungsbild › Sprache.
- **Deutsch, vollständig.** Deutsch deckt jetzt die ganze App ab: Aufnahme, Editor, Aufzeichnung, das Maskottchen, Startseite, Verlauf und Berichte.
- **Oberfläche auf Koreanisch.** Wähle 한국어 unter Einstellungen › Allgemein › Erscheinungsbild › Sprache. Danke an @Hobeom für die Übersetzung.
- **Neue Sprachauswahl.** Suche Sprachen nach Name oder Code und erkenne, ob die Übersetzung vollständig oder nur eine Vorschau ist.
- **Neue Sprachauswahl.** Suche Sprachen nach Name oder Code; jede zeigt, dass ihre Übersetzung vollständig ist.
- **Automatische Sprache und ein einmaliges Angebot.** Automatisch folgt der Windows-Sprache (Spanisch, Englisch, Deutsch oder Koreanisch). Wenn du Stackshot schon auf Spanisch benutzt hast und Windows in einer anderen Sprache läuft, wird dir die passende Sprache einmal angeboten; wenn du nicht zustimmst, ändert sich nichts.
- **Sprachen als Vorschau.** Französisch, Portugiesisch, vereinfachtes Chinesisch, Hindi, Arabisch und Bengalisch erscheinen in der Auswahl als Vorschau: Die häufigsten Wörter sind übersetzt, der Rest bleibt Englisch.
- **Sensible Daten in jeder Sprache abgedeckt.** Sensible Daten in einer Aufnahme zu finden und abzudecken funktioniert gleich, egal welche Oberflächensprache eingestellt ist.

## 2.2.1
Expand Down
3 changes: 1 addition & 2 deletions docs/novedades.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ Format: one `## X.Y.Z` section per version and, in it, one line per item: `- **T
- **English interface.** Stackshot follows your Windows language: a new installation on an English Windows opens in English. You can change it under Settings › General › Appearance › Language.
- **German, complete.** German now covers the whole app: capture, editor, recording, the mascot, Home, history and reports.
- **Korean interface.** Choose 한국어 under Settings › General › Appearance › Language. Thanks to @Hobeom for the translation.
- **New language picker.** Search languages by name or code and check whether a translation is complete or a preview.
- **New language picker.** Search languages by name or code; each one says its translation is complete.
- **Automatic language and a one-time offer.** Automatic follows the Windows language (Spanish, English, German or Korean). If you already used Stackshot in Spanish on a Windows in another language, you are offered the matching language once; if you do not accept, nothing changes.
- **Preview languages.** French, Portuguese, Simplified Chinese, Hindi, Arabic and Bengali appear in the picker as previews: the most common words are translated and the rest stays in English.
- **Sensitive data covered in any language.** Finding and covering the sensitive data in a capture works the same whatever the interface language is.

## 2.2.1
Expand Down
7 changes: 3 additions & 4 deletions docs/novedades.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
- **영어 인터페이스.** Stackshot은 Windows 언어를 따릅니다. 영어 Windows에 새로 설치하면 영어로 열립니다. 설정 > 일반 > 화면 모양 > 언어에서 바꿀 수 있습니다.
- **독일어 번역 완료.** 이제 캡처, 편집기, 녹화, 마스코트, 홈, 기록, 보고서까지 앱 전체를 독일어로 사용할 수 있습니다.
- **한국어 인터페이스.** 설정 > 일반 > 화면 모양 > 언어에서 한국어를 선택할 수 있습니다. 번역해 주신 @Hobeom 님께 감사드립니다.
- **새 언어 선택기.** 이름이나 코드로 언어를 검색하고, 번역이 완료되었는지 미리 보기인지 확인할 수 있습니다.
- **새 언어 선택기.** 이름이나 코드로 언어를 검색할 수 있고, 각 언어에 번역이 완료되었다고 표시됩니다.
- **자동 언어와 한 번만 나오는 제안.** 자동 모드는 Windows 언어(스페인어, 영어, 독일어, 한국어)를 따릅니다. 이미 스페인어로 Stackshot을 쓰고 있는데 Windows가 다른 언어라면 맞는 언어로 바꿀지 한 번만 묻습니다. 수락하지 않으면 아무것도 바뀌지 않습니다.
- **미리 보기 언어.** 프랑스어, 포르투갈어, 중국어 간체, 힌디어, 아랍어, 벵골어는 선택기에 미리 보기로 표시됩니다. 자주 쓰는 표현만 번역되고 나머지는 영어로 보입니다.
- **어떤 언어에서도 민감한 정보 가림.** 인터페이스 언어와 관계없이 캡처에서 민감한 정보를 찾아 가리는 방식은 같습니다.

## 2.2.1
Expand Down Expand Up @@ -44,11 +43,11 @@
- **스크롤 캡처 안내.** 처음 사용할 때 방법을 알려 주고, 페이지가 내려가지 않으면 알림을 표시합니다. 몇 화면을 캡처했는지도 볼 수 있습니다.
- **바탕 화면 메모.** 메모를 색상 카드로 고정하고, 항상 위에 표시하거나 위치를 잠글 수 있습니다. 할 일은 클릭으로 완료하고, Enter로 목록을 이어 쓰며, 재시작 후에도 메모가 복원됩니다.
- **화면에 맞는 창.** 내 신고, 변경 사항, 알림 창이 커져도 화면 밖으로 잘리지 않습니다. 빈 곳을 드래그하면 창을 이동할 수 있습니다.
- **긴 Markdown 문서 PDF 저장.** 한 장의 이미지로 만들기에는 너무 긴 문서는 PDF로 저장할 수 있습니다.
- **긴 마크다운 문서 PDF 저장.** 한 장의 이미지로 만들기에는 너무 긴 문서는 PDF로 저장할 수 있습니다.
- **사용하는 기능만 표시.** 물 마시기, 휴식, 걸음 수 중 활성화한 항목만 마스코트 메뉴와 하루 요약에 표시합니다.
- **앱에서 문제 신고와 아이디어 제안.** 홈의 정보 페이지에서 GitHub 계정 없이 의견을 보낼 수 있습니다. 내 신고에서 진행 상황과 답변을 확인하세요.
- **마스코트와 건강한 휴식.** 물 마시기, 눈 휴식, 스트레칭, 호흡 운동 시간을 알려 줍니다. 마스코트 설정에서 조절할 수 있고, 알림에 응답하면 처리 결과를 알려 줍니다.
- **메모와 바로가기 도우미.** 마스코트 메뉴에서 알림을 예약하거나 Notas.md에 메모를 남기세요. PC가 꺼져 있을 때 놓친 알림은 다음 사용 시 표시됩니다. 이미지, 동영상, XML, Markdown, 텍스트도 끌어 놓을 수 있습니다. 감시 중인 폴더에 오류 응답 XML이 도착하면 알려 줍니다.
- **메모와 바로가기 도우미.** 마스코트 메뉴에서 알림을 예약하거나 Notas.md에 메모를 남기세요. PC가 꺼져 있을 때 놓친 알림은 다음 사용 시 표시됩니다. 이미지, 동영상, XML, 마크다운, 텍스트도 끌어 놓을 수 있습니다. 감시 중인 폴더에 오류 응답 XML이 도착하면 알려 줍니다.
- **워치 연동과 목표.** 물 한 잔을 기록하고, 하루 요약과 활동에 맞춘 휴식을 설정할 수 있습니다. Google Health를 통해 Pixel Watch 또는 Fitbit을 연결할 수 있습니다.
- **마스코트 집중 모드.** 집중 시간과 휴식을 번갈아 진행합니다. 마스코트가 옆에서 책을 읽고 남은 시간을 표시합니다. 건강 알림은 쉬는 시간까지 기다리고, 자리를 비우면 타이머가 멈춥니다.
- **성능 개선.** 큰 XML 파일이 더 빨리 열리고, 썸네일, 트레이 패널, 편집기, 동영상 플레이어가 더 적은 자원으로 부드럽게 동작합니다.
Expand Down
3 changes: 1 addition & 2 deletions docs/novedades.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ Formato: una sección `## X.Y.Z` por versión y, en ella, una línea por novedad
- **Interfaz en inglés.** Stackshot sigue el idioma de Windows: una instalación nueva en un Windows en inglés se abre en inglés. Puedes cambiarlo en Ajustes > General > Apariencia > Idioma.
- **Alemán completo.** El alemán cubre ya toda la aplicación: captura, editor, grabación, la mascota, Inicio, el historial y los informes.
- **Interfaz en coreano.** Elige 한국어 en Ajustes > General > Apariencia > Idioma. Gracias a @Hobeom por la traducción.
- **Selector de idioma nuevo.** Busca el idioma por nombre o por código y comprueba si su traducción está completa o es una vista previa.
- **Selector de idioma nuevo.** Busca el idioma por nombre o por código; cada uno indica que su traducción está completa.
- **Idioma automático y una oferta única.** El modo automático sigue el idioma de Windows (español, inglés, alemán o coreano). Si ya usabas Stackshot en español en un Windows en otro idioma, se te ofrece una sola vez el idioma que corresponde; si no aceptas, no cambia nada.
- **Idiomas en vista previa.** Francés, portugués, chino simplificado, hindi, árabe y bengalí aparecen en el selector como vista previa: traducen lo más común y el resto sigue en inglés.
- **Datos sensibles tapados en cualquier idioma.** Detectar y tapar los datos sensibles de una captura funciona igual sea cual sea el idioma de la interfaz.

## 2.2.1
Expand Down
5 changes: 3 additions & 2 deletions src/Home/LanguagePicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ double P(double dip)
header.Children.Add(new TextBlock { Text = Title, FontFamily = Ds.Title.FontFamily, FontWeight = Ds.Title.Weight, FontSize = 25, Foreground = Ds.Brush(pal.Label) });
header.Children.Add(new TextBlock
{
Text = I18n.T("Busca por nombre o código. Los idiomas en vista previa usan inglés donde falte traducción.",
"Search by name or code. Preview languages use English where translations are missing."),
Text = I18n.PreviewsListed ? I18n.T("Busca por nombre o código. Los idiomas en vista previa usan inglés donde falte traducción.",
"Search by name or code. Preview languages use English where translations are missing.")
: I18n.T("Busca por nombre o código.", "Search by name or code.", "Suche nach Name oder Sprachcode."),
Margin = new Thickness(0, 5, 0, 10), TextWrapping = TextWrapping.Wrap, Foreground = Ds.Brush(pal.Label2)
});
var field = new Border
Expand Down
Loading
Loading