Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a2d374e
fix(security): Keep redaction independent of the interface language a…
rubenitx Nov 5, 2026
88ab64f
fix(i18n): Keep notice kinds, UTF-8 rescue and number formats right i…
rubenitx Nov 5, 2026
93f9171
refactor(i18n): Split the German catalog into one file per area
rubenitx Nov 5, 2026
876f86f
fix(security): Keep text OCR for every script and never lock the reda…
rubenitx Nov 5, 2026
7991b1f
fix(security): Recover the redaction queue and probe OCR off the UI t…
rubenitx Nov 5, 2026
d3b0471
feat(i18n): Complete German for the app shell, notices and reports
rubenitx Nov 5, 2026
0a42783
feat(i18n): Complete German for capture, recording, the editor and th…
rubenitx Nov 5, 2026
c84c6d7
feat(i18n): Complete German for the Home window, tray and sticky notes
rubenitx Nov 5, 2026
cd40f79
feat(i18n): Complete German for the mascot settings and the desktop m…
rubenitx Nov 5, 2026
284edd6
feat(i18n): Give the mascot's speech and personas a German voice
rubenitx Nov 5, 2026
69280d9
feat(i18n): Translate the mascot's costumes and characters to German
rubenitx Nov 5, 2026
c6bdada
feat(news): Show the release notes in the interface language
rubenitx Nov 5, 2026
eed908e
docs: Describe the four languages and how to add a translated string
rubenitx Nov 5, 2026
372a155
fix(i18n): Register every German key once and give each context its o…
rubenitx Nov 5, 2026
d31a476
test(i18n): Audit German on every surface and check catalog coverage …
rubenitx Nov 5, 2026
6dfa217
test(i18n): Count only unwrapped text as leaks and close the last Ger…
rubenitx Nov 5, 2026
e8327d9
fix(i18n): Give German its own date formats in History and the watch
rubenitx Nov 5, 2026
8fe0963
test(i18n): Flag glued English in German values and keep the news sec…
rubenitx Nov 6, 2026
f9525eb
fix(i18n): Give German the shared strings Korean routed through the c…
rubenitx Nov 22, 2026
2410453
feat(i18n): Give the language picker roomier rows with language monog…
rubenitx Nov 22, 2026
7183ad8
fix(i18n): Keep the language monograms unmirrored in right-to-left la…
rubenitx Nov 23, 2026
137b347
fix(i18n): Read an unknown language setting as automatic again
rubenitx Nov 23, 2026
d11ff95
feat(i18n): Offer German once on German Windows
rubenitx Nov 23, 2026
c19d007
test(security): Check redaction is the same in every interface language
rubenitx Nov 23, 2026
0f713b5
style(home): Put the sensitive-data note on its own line
rubenitx Nov 23, 2026
e0f4104
feat(i18n): Translate the remaining Korean interface strings
rubenitx Nov 23, 2026
6ad67d9
test(i18n): Snapshot the Arabic picker with the other languages
rubenitx Nov 23, 2026
7abde59
fix(i18n): Say Complete in the preview languages of the language picker
rubenitx Nov 23, 2026
67a7507
test(editor): Read ffmpeg's report as UTF-8 so accented metadata comp…
rubenitx Nov 5, 2026
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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Unreleased

- **Korean interface.** Select 한국어 in the language picker or use Automatic on Korean Windows. Existing language preferences are preserved.
- **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).
- **Redaction independent of the interface language.** The recognizer that reads a capture and decides what to cover is chosen once per session without looking at the interface language, so the same capture is read and covered the same in every language. For redaction only Latin-script recognizers are accepted, and it fails closed: on a Windows with none, the automatic cover option stays off with an explanation instead of letting unchecked data through, while copy text and history search still use any installed recognizer. If a capture cannot be checked, it is discarded and a notice says why; if the recognizer stumbles, the queue recovers without losing what was waiting.

## 2.2.1

Expand Down
29 changes: 20 additions & 9 deletions 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 UI language registry is in `src/I18n.Languages.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.

## Build and test

Expand Down Expand Up @@ -70,12 +70,23 @@ Windows 10 and 11 only. The UI language registry is in `src/I18n.Languages.cs`;
## Code rules

- **C# 5 only**: no `$""`, `?.`, `nameof`, expression-bodied members, `out var` or auto-property initializers.
- **Localize visible text.** What the user reads or hears goes through `I18n.T("español", "English")`, or
`I18n.Fmt(...)` when it carries values (same `{0}` placeholders in both); Korean translations in `src/I18n.Korean*.cs` use the exact English source string as their key, including whitespace and format placeholders. Missing keys display English. For lists, select the language at use time and pass the English array through `I18n.LocalizeList`. Keep shortcut bindings separate from labels. Never initialize a static label with `I18n.T`, which would freeze the language at startup.
Logs, settings keys, file names on disk and anything compared to decide behaviour stay as they are: never decide by a
translated text (use an id or a flag). A notice's kind comes from its title's first words (`Notice.KindFor`): give a new
title a start of the same kind in both languages. `tests\app\run-tests.ps1 i18n` checks that Automatic follows Windows
and that no page shows Spanish in English.
- **Every text in all four languages.** What the user reads or hears goes through `I18n.T("español", "English")`, or
`I18n.Fmt(...)` when it carries values (the same `{0}` placeholders in all of them); lists are `XxxEs`/`XxxEn`/`XxxDe`
arrays behind a property that picks one by `I18n.IsSpanish` / `IsGerman` and passes the English array through
`I18n.LocalizeList` for the rest, never a static field that calls `I18n.T` (it would freeze the language at startup).
German lives in one catalog file per area (`src/I18n.German.<Area>.cs`), registered as `reg(en, es, de)` from the
English key (the Spanish one when it differs); when one line needs its own German, use the three-argument
`I18n.T(es, en, de)` right at the call site. Korean translations in `src/I18n.Korean*.cs` use the exact English source
string as their key, including whitespace and format placeholders, and a missing key displays English: when you change
an English text, change its Korean key too, and build a sentence with `{0}` placeholders instead of gluing translated
pieces together. Keep shortcut bindings separate from labels. The in-app news are the same for the four languages
(`docs/novedades.md` and its `.en`, `.de` and `.ko` twins, embedded by `build.ps1`): a version that brings user-visible
changes adds its section to all four. Logs, settings keys, file names on disk and anything compared to decide behaviour
stay as they are: never decide by a translated text (use an id or a flag). A notice's kind comes from its English key
(`I18n.EnglishKey`), not from the words of one language: give a new title a start of the same kind in all languages.
`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.
- **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 Expand Up @@ -164,8 +175,8 @@ Windows 10 and 11 only. The UI language registry is in `src/I18n.Languages.cs`;

## Releasing a version

Bump `AssemblyVersion` / `AssemblyFileVersion` in `src/Program.cs`, record the changes in `CHANGELOG.md`, then create and
push the tag `vX.Y.Z`. The workflow `.github/workflows/build.yml` builds and attaches `Stackshot.exe`, `Stackshot.msi`,
Bump `AssemblyVersion` / `AssemblyFileVersion` in `src/Program.cs`, record the changes in `CHANGELOG.md` and in the app's
news (`docs/novedades.md`, with its `novedades.en.md`, `novedades.de.md` and `novedades.ko.md` twins), then create and push the tag `vX.Y.Z`. The workflow `.github/workflows/build.yml` builds and attaches `Stackshot.exe`, `Stackshot.msi`,
their `.sha256` files and a build provenance attestation to the release. A published version is never rebuilt: every
change is a new version. Installed copies (1.3.0 and later) check GitHub once a day and show the new version in the tray,
on the home page and under About.
Expand Down
6 changes: 3 additions & 3 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Para Windows 10 y 11 · Versión 2.1.0 · También como [paquete MSI](https://gi
**Contenido:** [Tres pasos](#tres-pasos-ningún-menú) · [Novedades](#novedades-de-la-21) · [Funciones](#funciones-de-un-vistazo) · [Modos](#siete-formas-de-capturar) · [Capturar](#selecciona-captura-listo) · [Marcar](#márcala-en-segundos) · [Datos sensibles](#tápalo-antes-de-compartir) · [Desplazamiento](#captura-la-página-entera) · [Grabar](#graba-la-pantalla-con-sonido) · [Historial](#encuéntrala-por-lo-que-decía) · [XML y Markdown](#xml-y-markdown-a-otro-nivel) · [Ventana principal](#una-ventana-a-tu-manera) · [Pixel](#conoce-a-pixel-39-disfraces) · [Más](#y-mucho-más) · [Rendimiento](#ligera-rápida-privada) · [Instalación](#instalación) · [Línea de órdenes](#línea-de-órdenes-y-directivas-de-empresa) · [Atajos](#atajos-de-teclado) · [Privacidad](#privacidad-y-seguridad) · [Preguntas frecuentes](#preguntas-frecuentes) · [Compilar](#compilar-desde-el-código) · [Licencia](#licencia)

> [!NOTE]
> En las compilaciones de esta rama, elige **한국어** en **Ajustes › General › Apariencia › Idioma**, o deja **Automático** para seguir el idioma de Windows. Las capturas de esta página muestran la interfaz en español.
> La interfaz de Stackshot está en español, inglés, alemán y coreano: una instalación nueva sigue el idioma de Windows (Automático) y se cambia cuando quieras en **Ajustes › General › Apariencia › Idioma**. Las capturas de esta página muestran la interfaz en español.

## Tres pasos, ningún menú

Expand Down Expand Up @@ -404,7 +404,7 @@ La sección **Personajes** la disfraza con homenajes fan a personajes de anime,

**Fíjala encima de todo.** Fija cualquier captura desde su miniatura y flotará encima de todas las ventanas: la rueda hace zoom, <kbd>Ctrl</kbd>+rueda cambia la transparencia, arrastrándola la mueves y con doble clic o <kbd>Esc</kbd> se cierra. Ideal para copiar datos de una ventana a otra.

**Copiar texto con OCR.** Selecciona un área con <kbd>Ctrl</kbd>+<kbd>Mayús</kbd>+<kbd>Alt</kbd>+<kbd>T</kbd> y su texto pasa al portapapeles, listo para pegar. También desde el botón **Texto** de cada miniatura, del editor (<kbd>Ctrl</kbd>+<kbd>Mayús</kbd>+<kbd>C</kbd>, **Copiar texto**) o de una imagen fijada. Usa el reconocimiento de texto que trae Windows 10 y 11, así que no se descarga nada y nada sale del equipo. Prefiere el español cuando está instalado y, si no, usa los idiomas de tu Windows. Lee la letra pequeña de la pantalla y las capturas con desplazamiento enteras, línea a línea. Si tu Windows no tiene instalado el reconocimiento de texto, Stackshot te lo dice.
**Copiar texto con OCR.** Selecciona un área con <kbd>Ctrl</kbd>+<kbd>Mayús</kbd>+<kbd>Alt</kbd>+<kbd>T</kbd> y su texto pasa al portapapeles, listo para pegar. También desde el botón **Texto** de cada miniatura, del editor (<kbd>Ctrl</kbd>+<kbd>Mayús</kbd>+<kbd>C</kbd>, **Copiar texto**) o de una imagen fijada. Usa el reconocimiento de texto que trae Windows 10 y 11, así que no se descarga nada y nada sale del equipo. Prefiere el español cuando ese reconocedor está instalado; después prefiere tus propios idiomas de Windows entre los de alfabeto latino (un usuario francés con en-US y fr-FR lee con fr-FR), luego cualquier otro reconocedor latino instalado en orden alfabético, luego el idioma de la interfaz, tus idiomas de Windows y por último cualquier reconocedor instalado, así que funciona en todo Windows que tenga reconocimiento de texto. Lee la letra pequeña de la pantalla y las capturas con desplazamiento enteras, línea a línea. Si tu Windows no tiene instalado el reconocimiento de texto, Stackshot te lo dice. (El tapado de datos sensibles es más estricto: se detiene antes de cualquier alfabeto no latino, porque una mala lectura allí podría dejar pasar datos sin tapar.)

**Línea de órdenes.** Un botón de un teclado auxiliar, un acceso directo o un script pueden lanzar cualquier modo: mira [Línea de órdenes y directivas de empresa](#línea-de-órdenes-y-directivas-de-empresa).
</details>
Expand Down 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>

La versión de desarrollo ofrece español, inglés, alemán (parcial) y coreano, además de traducciones preliminares al francés, portugués, chino simplificado, hindi, árabe y bengalí. En modo automático, Windows en coreano usa coreano, Windows en español, catalán, gallego o euskera usa español, y Windows en alemán usa alemán. En los demás casos se usa inglés. Puedes elegir el idioma en **Ajustes › General › Apariencia › Idioma**, durante la instalación o desde la bandeja. La elección se aplica al momento y se conserva al reiniciar. Los perfiles anteriores sin idioma siguen en español hasta que elijas otro. Los textos que falten en coreano se muestran en inglés. La traducción al inglés la aportó [@altmashnaveed](https://github.com/altmashnaveed).
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 mientras no elija otro. 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).
</details>

## Compilar desde el código
Expand Down
Loading