From 64316f7d736ef9292b371d3c7ca064891adbb6a5 Mon Sep 17 00:00:00 2001 From: davotoula Date: Fri, 20 Mar 2026 22:55:31 +0100 Subject: [PATCH 1/2] update translations: CZ, DE, PT, SE add: find missing translations skill --- .../skills/find-missing-translations/SKILL.md | 77 +++++++++++++++++++ .../src/main/res/values-cs-rCZ/strings.xml | 36 ++++++++- .../src/main/res/values-de-rDE/strings.xml | 36 ++++++++- .../src/main/res/values-pt-rBR/strings.xml | 36 ++++++++- .../src/main/res/values-sv-rSE/strings.xml | 36 ++++++++- 5 files changed, 217 insertions(+), 4 deletions(-) create mode 100644 .claude/skills/find-missing-translations/SKILL.md diff --git a/.claude/skills/find-missing-translations/SKILL.md b/.claude/skills/find-missing-translations/SKILL.md new file mode 100644 index 000000000..36bf02c91 --- /dev/null +++ b/.claude/skills/find-missing-translations/SKILL.md @@ -0,0 +1,77 @@ +--- +name: find-missing-translations +description: Use when comparing Android strings.xml locale files to find untranslated string resources, missing translation keys, or preparing translation work for a specific language +--- + +# Find Missing Translations + +## Overview + +Extract string resource keys from the default `values/strings.xml` that are absent in a target locale's `strings.xml`, excluding non-translatable entries. Outputs a table ready for translation. + +## When to Use + +- Need to find untranslated strings for a specific locale +- Preparing a batch of strings for a translator +- Checking translation coverage after adding new features + +## Technique + +### 1. Identify files + +``` +Default: amethyst/src/main/res/values/strings.xml +Target: amethyst/src/main/res/values-/strings.xml +``` + +Default locale: `cs-rCZ` if none specified. User may override (e.g., `pt-rBR`, `ja`). + +### 2. Extract and diff keys + +Use a single bash pipeline to extract translatable keys from both files and diff them: + +```bash +# Extract translatable keys from default (exclude translatable="false") +comm -23 \ + <(grep 'Valid + Valid from %1$s + Lists +``` + +Also check `` and `` tags using the same approach if the project uses them. + +## Common Mistakes + +- **Forgetting `translatable="false"`** — these should never appear in locale files +- **Not checking string-arrays/plurals** — only checking `` misses other resource types +- **Modifying files** — this is a read-only research task unless the user asks to add entries \ No newline at end of file diff --git a/amethyst/src/main/res/values-cs-rCZ/strings.xml b/amethyst/src/main/res/values-cs-rCZ/strings.xml index f1f1e03d5..27be9f0ae 100644 --- a/amethyst/src/main/res/values-cs-rCZ/strings.xml +++ b/amethyst/src/main/res/values-cs-rCZ/strings.xml @@ -1621,5 +1621,39 @@ Stahování Chyba Dokončeno - + Přidat záložku + Přidat člena + Atestace + Potvrzuje + Neplatná + Žádost o atestaci + Žádost o atestaci události + Přijata + Zamítnuta + Odvolána + Ověřena + Ověřování + Platná + Platná od %1$s + Platná do %1$s + Odbornost atestátora + Odborník na ověřování druhů: %1$s + Doporučení atestátora + Doporučen pro druhy: %1$s + Akce záložky + Export + Komunity + Kanály + Hashtagy + Seznamy + Akce skupiny + Akce odkazu + Akce seznamu + Správa seznamu + Označit jako přečtené + Akce médií + Akce poznámky + Akce balíčku + Přehrávání + Akce profilu diff --git a/amethyst/src/main/res/values-de-rDE/strings.xml b/amethyst/src/main/res/values-de-rDE/strings.xml index fbb1dd544..56d7fb480 100644 --- a/amethyst/src/main/res/values-de-rDE/strings.xml +++ b/amethyst/src/main/res/values-de-rDE/strings.xml @@ -1626,5 +1626,39 @@ anz der Bedingungen ist erforderlich Herunterladen Fehler Abgeschlossen - + Lesezeichen hinzufügen + Mitglied hinzufügen + Attestierung + Bestätigt + Ungültig + Attestierungsanfrage + Attestierung für ein Ereignis anfordern + Akzeptiert + Abgelehnt + Widerrufen + Verifiziert + Wird verifiziert + Gültig + Gültig ab %1$s + Gültig bis %1$s + Kompetenz des Attestierers + Kompetent für die Verifizierung von Arten: %1$s + Empfehlung des Attestierers + Empfohlen für Arten: %1$s + Lesezeichen-Aktionen + Exportieren + Gemeinschaften + Feeds + Hashtags + Listen + Gruppenaktionen + Link-Aktionen + Listenaktionen + Listenverwaltung + Als gelesen markieren + Medienaktionen + Notiz-Aktionen + Paket-Aktionen + Wiedergabe + Profilaktionen diff --git a/amethyst/src/main/res/values-pt-rBR/strings.xml b/amethyst/src/main/res/values-pt-rBR/strings.xml index 6c4b48505..9e01f0b3c 100644 --- a/amethyst/src/main/res/values-pt-rBR/strings.xml +++ b/amethyst/src/main/res/values-pt-rBR/strings.xml @@ -1621,5 +1621,39 @@ Baixando Erro Concluído - + Adicionar favorito + Adicionar membro + Atestação + Atesta + Inválida + Solicitação de atestação + Solicitando atestação para um evento + Aceita + Rejeitada + Revogada + Verificada + Verificando + Válida + Válida a partir de %1$s + Válida até %1$s + Competência do atestante + Competente na verificação de tipos: %1$s + Recomendação do atestante + Recomendado para tipos: %1$s + Ações de favorito + Exportar + Comunidades + Feeds + Hashtags + Listas + Ações do grupo + Ações do link + Ações da lista + Gerenciamento de lista + Marcar como lida + Ações de mídia + Ações da nota + Ações do pacote + Reprodução + Ações do perfil diff --git a/amethyst/src/main/res/values-sv-rSE/strings.xml b/amethyst/src/main/res/values-sv-rSE/strings.xml index 770878ab7..857edc77a 100644 --- a/amethyst/src/main/res/values-sv-rSE/strings.xml +++ b/amethyst/src/main/res/values-sv-rSE/strings.xml @@ -1620,5 +1620,39 @@ Laddar ner Fel Slutfört - + Lägg till bokmärke + Lägg till medlem + Attestering + Intygar + Ogiltig + Attesteringsförfrågan + Begär attestering för en händelse + Accepterad + Avvisad + Återkallad + Verifierad + Verifierar + Giltig + Giltig från %1$s + Giltig till %1$s + Attestantens kompetens + Kompetent att verifiera typer: %1$s + Attestantens rekommendation + Rekommenderad för typer: %1$s + Bokmärkesåtgärder + Exportera + Gemenskaper + Flöden + Hashtags + Listor + Gruppåtgärder + Länkåtgärder + Liståtgärder + Listhantering + Markera som läst + Medieåtgärder + Anteckningsåtgärder + Paketåtgärder + Uppspelning + Profilåtgärder From 6bdf65da56a8ba16f8e61f97cc4261f5de7cf095 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Fri, 20 Mar 2026 21:59:53 +0000 Subject: [PATCH 2/2] New Crowdin translations by GitHub Action --- .../src/main/res/values-cs-rCZ/strings.xml | 36 +------------------ .../src/main/res/values-de-rDE/strings.xml | 36 +------------------ .../src/main/res/values-pt-rBR/strings.xml | 36 +------------------ .../src/main/res/values-sv-rSE/strings.xml | 36 +------------------ 4 files changed, 4 insertions(+), 140 deletions(-) diff --git a/amethyst/src/main/res/values-cs-rCZ/strings.xml b/amethyst/src/main/res/values-cs-rCZ/strings.xml index 27be9f0ae..f1f1e03d5 100644 --- a/amethyst/src/main/res/values-cs-rCZ/strings.xml +++ b/amethyst/src/main/res/values-cs-rCZ/strings.xml @@ -1621,39 +1621,5 @@ Stahování Chyba Dokončeno - Přidat záložku - Přidat člena - Atestace - Potvrzuje - Neplatná - Žádost o atestaci - Žádost o atestaci události - Přijata - Zamítnuta - Odvolána - Ověřena - Ověřování - Platná - Platná od %1$s - Platná do %1$s - Odbornost atestátora - Odborník na ověřování druhů: %1$s - Doporučení atestátora - Doporučen pro druhy: %1$s - Akce záložky - Export - Komunity - Kanály - Hashtagy - Seznamy - Akce skupiny - Akce odkazu - Akce seznamu - Správa seznamu - Označit jako přečtené - Akce médií - Akce poznámky - Akce balíčku - Přehrávání - Akce profilu + diff --git a/amethyst/src/main/res/values-de-rDE/strings.xml b/amethyst/src/main/res/values-de-rDE/strings.xml index 56d7fb480..fbb1dd544 100644 --- a/amethyst/src/main/res/values-de-rDE/strings.xml +++ b/amethyst/src/main/res/values-de-rDE/strings.xml @@ -1626,39 +1626,5 @@ anz der Bedingungen ist erforderlich Herunterladen Fehler Abgeschlossen - Lesezeichen hinzufügen - Mitglied hinzufügen - Attestierung - Bestätigt - Ungültig - Attestierungsanfrage - Attestierung für ein Ereignis anfordern - Akzeptiert - Abgelehnt - Widerrufen - Verifiziert - Wird verifiziert - Gültig - Gültig ab %1$s - Gültig bis %1$s - Kompetenz des Attestierers - Kompetent für die Verifizierung von Arten: %1$s - Empfehlung des Attestierers - Empfohlen für Arten: %1$s - Lesezeichen-Aktionen - Exportieren - Gemeinschaften - Feeds - Hashtags - Listen - Gruppenaktionen - Link-Aktionen - Listenaktionen - Listenverwaltung - Als gelesen markieren - Medienaktionen - Notiz-Aktionen - Paket-Aktionen - Wiedergabe - Profilaktionen + diff --git a/amethyst/src/main/res/values-pt-rBR/strings.xml b/amethyst/src/main/res/values-pt-rBR/strings.xml index 9e01f0b3c..6c4b48505 100644 --- a/amethyst/src/main/res/values-pt-rBR/strings.xml +++ b/amethyst/src/main/res/values-pt-rBR/strings.xml @@ -1621,39 +1621,5 @@ Baixando Erro Concluído - Adicionar favorito - Adicionar membro - Atestação - Atesta - Inválida - Solicitação de atestação - Solicitando atestação para um evento - Aceita - Rejeitada - Revogada - Verificada - Verificando - Válida - Válida a partir de %1$s - Válida até %1$s - Competência do atestante - Competente na verificação de tipos: %1$s - Recomendação do atestante - Recomendado para tipos: %1$s - Ações de favorito - Exportar - Comunidades - Feeds - Hashtags - Listas - Ações do grupo - Ações do link - Ações da lista - Gerenciamento de lista - Marcar como lida - Ações de mídia - Ações da nota - Ações do pacote - Reprodução - Ações do perfil + diff --git a/amethyst/src/main/res/values-sv-rSE/strings.xml b/amethyst/src/main/res/values-sv-rSE/strings.xml index 857edc77a..770878ab7 100644 --- a/amethyst/src/main/res/values-sv-rSE/strings.xml +++ b/amethyst/src/main/res/values-sv-rSE/strings.xml @@ -1620,39 +1620,5 @@ Laddar ner Fel Slutfört - Lägg till bokmärke - Lägg till medlem - Attestering - Intygar - Ogiltig - Attesteringsförfrågan - Begär attestering för en händelse - Accepterad - Avvisad - Återkallad - Verifierad - Verifierar - Giltig - Giltig från %1$s - Giltig till %1$s - Attestantens kompetens - Kompetent att verifiera typer: %1$s - Attestantens rekommendation - Rekommenderad för typer: %1$s - Bokmärkesåtgärder - Exportera - Gemenskaper - Flöden - Hashtags - Listor - Gruppåtgärder - Länkåtgärder - Liståtgärder - Listhantering - Markera som läst - Medieåtgärder - Anteckningsåtgärder - Paketåtgärder - Uppspelning - Profilåtgärder +