feat(links): surface source repo + Weblate links on site and in app

- site: set sourceURL (git.comunes.org/comunes/tane) and weblateURL
  (translate.comunes.org/projects/tane) — activates footer + collaborate links
- app About screen: add 'Source code' and 'Help translate' link tiles
- i18n: add about.sourceCode / about.translate / about.translateSubtitle
  (en base + es/pt/fr/de/ast; ja falls back to base), regenerate slang
- docs: add TRANSLATIONS.md runbook for the Weblate app component + git
  token + slang-regeneration workflow
This commit is contained in:
vjrj 2026-07-15 19:12:16 +02:00
parent 991785821f
commit 7d5f26ff4a
16 changed files with 187 additions and 16 deletions

View file

@ -329,6 +329,9 @@ class _Translations$about$pt extends Translations$about$en {
@override String get license => 'Licença';
@override String get licenseValue => 'AGPL-3.0';
@override String get website => 'Sítio web';
@override String get sourceCode => 'Código-fonte';
@override String get translate => 'Ajuda a traduzir';
@override String get translateSubtitle => 'Ajuda a trazer o Tane para o teu idioma';
@override String get openSourceLicenses => 'Licenças de código aberto';
@override String get openSourceLicensesSubtitle => 'Bibliotecas de terceiros e as suas licenças';
@override String copyright({required Object years}) => '© ${years} Associação Comunes, sob AGPLv3';
@ -1536,6 +1539,9 @@ extension on TranslationsPt {
'about.license' => 'Licença',
'about.licenseValue' => 'AGPL-3.0',
'about.website' => 'Sítio web',
'about.sourceCode' => 'Código-fonte',
'about.translate' => 'Ajuda a traduzir',
'about.translateSubtitle' => 'Ajuda a trazer o Tane para o teu idioma',
'about.openSourceLicenses' => 'Licenças de código aberto',
'about.openSourceLicensesSubtitle' => 'Bibliotecas de terceiros e as suas licenças',
'about.copyright' => ({required Object years}) => '© ${years} Associação Comunes, sob AGPLv3',
@ -1922,11 +1928,11 @@ extension on TranslationsPt {
'sale.title' => 'Vendas',
'sale.help' => 'Regista semente vendida ou comprada — dinheiro, Ğ1 ou qualquer moeda. Um modelo separado do presente e do Plantare. Nunca se cobra comissão pelas sementes.',
'sale.add' => 'Registar venda',
_ => null,
} ?? switch (path) {
'sale.empty' => 'Ainda não há vendas. Anota aqui o que vendes ou compras.',
'sale.iSold' => 'Vendi',
'sale.iBought' => 'Comprei',
_ => null,
} ?? switch (path) {
'sale.direction' => 'Vendes ou compras?',
'sale.counterparty' => 'Com quem?',
'sale.counterpartyHint' => 'Uma pessoa ou um coletivo (opcional)',