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
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
run: |
v="${GITHUB_REF_NAME#v}"
awk -v v="$v" '/^## /{p = index($0, "## " v) == 1; next} p' CHANGELOG.md > notes.md
# The same news in Spanish, between markers the app reads to tell what a new version brings before updating.
# The same news in Spanish and English, between markers the app reads to tell what a new version brings before updating.
awk -v v="$v" '/^## /{p = $0 == "## " v; next} p' docs/novedades.md > es.md
if grep -q '^- ' es.md; then
{
Expand All @@ -139,6 +139,19 @@ jobs:
echo "</details>"
} >> notes.md
fi
awk -v v="$v" '/^## /{p = $0 == "## " v; next} p' docs/novedades.en.md > en.md
if grep -q '^- ' en.md; then
{
echo
echo "<details><summary>What's new in English</summary>"
echo
echo "<!-- novedades-en -->"
cat en.md
echo "<!-- /novedades-en -->"
echo
echo "</details>"
} >> notes.md
fi
base="https://github.com/${GITHUB_REPOSITORY}/releases/download/${GITHUB_REF_NAME}"
exe=$(cut -d' ' -f1 dist/Stackshot.exe.sha256)
msi=$(cut -d' ' -f1 dist/Stackshot.msi.sha256)
Expand Down
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

- **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).
- **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.
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 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).
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).
</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 until they choose otherwise. 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. 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).
</details>

## Building from source
Expand Down
3 changes: 2 additions & 1 deletion docs/new-features-tutorial.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stackshot: New Features Guide & Tutorial

This guide provides a walkthrough of the new features added in the `feature/multi-language-support` release, explaining what each feature does, how to use it, and how it protects your sensitive information and speeds up your workflow.
This guide provides a walkthrough of the language features that arrive with Stackshot 2.2.2, explaining what each feature does, how to use it, and how it protects your sensitive information and speeds up your workflow.

---

Expand All @@ -15,6 +15,7 @@ Stackshot adds **German (Deutsch)** alongside English and Spanish, and it is com
- Korean Windows (`ko-KR`) -> Korean (`ko`)
- Spanish Windows (`es-ES`, `es-MX`, `ca-ES`, `gl-ES`, `eu-ES`) -> Spanish (`es`)
- 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.

Expand Down
10 changes: 8 additions & 2 deletions docs/novedades.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ Format: ein Abschnitt `## X.Y.Z` pro Version und darin eine Zeile pro Neuerung:

## 2.2.2

- **Oberfläche auf Koreanisch.** In diesem Entwicklungs-Build kannst du 한국어 unter Einstellungen › Allgemein › Erscheinungsbild › Sprache wählen. Der Automatikmodus erkennt Windows auf Koreanisch, und eine selbst gewählte Sprache bleibt erhalten.
- **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.
- **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 All @@ -20,7 +26,7 @@ Format: ein Abschnitt `## X.Y.Z` pro Version und darin eine Zeile pro Neuerung:

## 2.2.0

- **Hintergründe wie CleanShot X.** Im Editor öffnet die Schaltfläche Fondo ein Seitenfenster: Verläufe, dein Desktop-Hintergrund und eigene Bilder, die Aufnahme selbst weichgezeichnet, einfarbige und jede andere Farbe, dazu Regler für Rand, Einrückung (mit automatischem Ausgleich), Schatten und Ecken sowie Ausrichtung und Seitenverhältnis.
- **Hintergründe wie CleanShot X.** Im Editor öffnet die Schaltfläche Hintergrund ein Seitenfenster: Verläufe, dein Desktop-Hintergrund und eigene Bilder, die Aufnahme selbst weichgezeichnet, einfarbige und jede andere Farbe, dazu Regler für Rand, Einrückung (mit automatischem Ausgleich), Schatten und Ecken sowie Ausrichtung und Seitenverhältnis.
- **Zieh mich.** In der unteren Leiste des Editors gibt es einen Griff, um die Aufnahme per Ziehen in einen Chat, eine E-Mail oder eine andere App zu tragen.
- **Vor dem Aufnehmen anpassen.** Eine Option (standardmäßig aus), um den Bereich mit einer Vorschau zu verschieben und anzupassen, bevor aufgenommen wird.
- **Schärfere Texte.** In jedem Fenster, in den Menüs und im Hinweis der Bereichsauswahl, die jetzt jede Taste in ihrer eigenen Farbe malt.
Expand Down
10 changes: 8 additions & 2 deletions docs/novedades.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ Format: one `## X.Y.Z` section per version and, in it, one line per item: `- **T

## 2.2.2

- **Korean interface.** In this development build you can choose 한국어 under Settings › General › Appearance › Language. Automatic mode recognizes Windows in Korean, and the language you chose yourself is kept.
- **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.
- **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 All @@ -20,7 +26,7 @@ Format: one `## X.Y.Z` section per version and, in it, one line per item: `- **T

## 2.2.0

- **Backdrops like CleanShot X.** In the editor, the Fondo button opens a side panel: gradients, your desktop wallpaper and your own pictures, the capture itself blurred, plain colours and any other colour, plus sliders for margin, inset (with auto-balancing), shadow and corners, and alignment and proportion.
- **Backdrops like CleanShot X.** In the editor, the Backdrop button opens a side panel: gradients, your desktop wallpaper and your own pictures, the capture itself blurred, plain colours and any other colour, plus sliders for margin, inset (with auto-balancing), shadow and corners, and alignment and proportion.
- **Drag me.** The editor's bottom bar has a handle to carry the capture dragging to a chat, an email or another app.
- **Adjust before capturing.** An option (off by default) to move and adjust the area with a preview before capturing.
- **Sharper text.** In every window, the menus and the area picker's notice, which now paints each key in its own colour.
Expand Down
8 changes: 7 additions & 1 deletion docs/novedades.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

## 2.2.2

- **한국어 인터페이스.** 이 개발 빌드에서는 설정 > 일반 > 화면 모양 > 언어에서 한국어를 선택할 수 있습니다. 자동 모드는 한국어 Windows를 인식하며, 직접 지정한 언어는 재시작 후에도 유지됩니다.
- **영어 인터페이스.** Stackshot은 Windows 언어를 따릅니다. 영어 Windows에 새로 설치하면 영어로 열립니다. 설정 > 일반 > 화면 모양 > 언어에서 바꿀 수 있습니다.
- **독일어 번역 완료.** 이제 캡처, 편집기, 녹화, 마스코트, 홈, 기록, 보고서까지 앱 전체를 독일어로 사용할 수 있습니다.
- **한국어 인터페이스.** 설정 > 일반 > 화면 모양 > 언어에서 한국어를 선택할 수 있습니다. 번역해 주신 @Hobeom 님께 감사드립니다.
- **새 언어 선택기.** 이름이나 코드로 언어를 검색하고, 번역이 완료되었는지 미리 보기인지 확인할 수 있습니다.
- **자동 언어와 한 번만 나오는 제안.** 자동 모드는 Windows 언어(스페인어, 영어, 독일어, 한국어)를 따릅니다. 이미 스페인어로 Stackshot을 쓰고 있는데 Windows가 다른 언어라면 맞는 언어로 바꿀지 한 번만 묻습니다. 수락하지 않으면 아무것도 바뀌지 않습니다.
- **미리 보기 언어.** 프랑스어, 포르투갈어, 중국어 간체, 힌디어, 아랍어, 벵골어는 선택기에 미리 보기로 표시됩니다. 자주 쓰는 표현만 번역되고 나머지는 영어로 보입니다.
- **어떤 언어에서도 민감한 정보 가림.** 인터페이스 언어와 관계없이 캡처에서 민감한 정보를 찾아 가리는 방식은 같습니다.

## 2.2.1

Expand Down
8 changes: 7 additions & 1 deletion docs/novedades.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ Formato: una sección `## X.Y.Z` por versión y, en ella, una línea por novedad

## 2.2.2

- **Interfaz en coreano.** En esta compilación de desarrollo puedes elegir 한국어 en Ajustes > General > Apariencia > Idioma. El modo automático reconoce Windows en coreano y se mantiene el idioma que ya hayas elegido.
- **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.
- **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
Binary file removed docs/screens/language-ko.png
Binary file not shown.
Binary file removed docs/screens/settings-ko.png
Binary file not shown.
5 changes: 2 additions & 3 deletions src/Home/HomeDashboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,9 @@ FrameworkElement UpdateCard()
np.Children.Add(nt);
text.Children.Add(np);
}
// What the new version brings: its Spanish news when the release has them, its headlines otherwise.
// What the new version brings, in the interface language (see Updater.Release.Items).
List<string> heads = new List<string>();
if (r != null) { foreach (News.Item it in r.News) if (heads.Count < 5) heads.Add(it.Title); }
if (r != null && heads.Count == 0) heads.AddRange(r.Notes);
if (r != null) { foreach (News.Item it in r.Items()) if (heads.Count < 5) heads.Add(it.Title); }
if (r != null && !working && heads.Count > 0)
{
StackPanel notes = new StackPanel { Margin = new Thickness(0, 10, 0, 0) };
Expand Down
2 changes: 1 addition & 1 deletion src/Home/HomePages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ void BuildGeneral()
new SegRow(I18n.T("Guardar las temporales", "Temporary captures retention"), I18n.T("Cu\u00E1nto duran las capturas que no guardas en tu carpeta.", "How long unsaved captures remain."), "stack", Mac.Teal, Mac.Blue,
new string[] { I18n.T("1 hora", "1 hour", "1 Stunde"), I18n.T("Al cerrar", "On close", "Beim Schließen"),
I18n.T("1 d\u00EDa", "1 day", "1 Tag"), I18n.T("7 d\u00EDas", "7 days", "7 Tage"), I18n.T("30 d\u00EDas", "30 days", "30 Tage") },
delegate { return settings.TempKeep; }, delegate(int i) { settings.TempKeep = i; owner.Sweep(); }),
delegate { return settings.TempKeep; }, delegate(int i) { settings.TempKeep = i; owner.Sweep(); }) { Stacked = true },
new ButtonRow(I18n.T("Borrar recientes", "Clear recents"), I18n.T("Quita las capturas temporales; las de tu carpeta no se tocan.", "Removes temporary captures; saved files are untouched."), "trash", Mac.Red, Mac.Orange, I18n.T("Borrar", "Clear"), ClearRecent),
recovered);
Group(I18n.T("Al capturar", "When capturing"),
Expand Down
Loading
Loading