datawareforge/services/repository
Marcos A. Lucas 0e378555c1
Removed unnecessary languages and made adjustments to translations for "DATAWARE Forge", including text and URL updates in configuration files and templates. / Remoção de idiomas desnecessários e ajustes na tradução para o "DATAWARE Forge", atualizando textos e URLs em arquivos de configuração e templates.
**[PT-BR]**
Este commit remove os idiomas adicionais do sistema de internacionalização, mantendo apenas os idiomas "en-US" e "pt-BR", e padroniza diversas mensagens, textos e placeholders para refletir a nova identidade DATAWARE Forge.

Principais alterações:
- **Internacionalização (i18n):**
  - Atualização de `modules/setting/i18n.go` para restringir os idiomas padrão apenas a "en-US" e "pt-BR".
- **Arquivos de Locale:**
  - Em `locale_en-US.ini` e `locale_pt-BR.ini`, foram atualizados textos, URLs e placeholders para refletir a marca DATAWARE Forge (ex.: "help_url", "powered_by", "return_to_forge", "swagger_title", etc.).
  - Padronização de termos: substituição de "Forgejo" por "DATAWARE Forge"; ajustes de termos como "issues" para "tickets" e "milestones" para "metas", conforme apropriado.
- **Templates:**
  - Em diversos templates (footer, head_navbar, home, swagger, etc.), as referências e textos foram ajustados para utilizar as novas chaves de localização e refletir a nova marca.
- **Serviço de Criação de Repositório:**
  - Em `services/repository/create.go`, atualização na variável de "OwnerName" para utilizar o nome completo do proprietário, garantindo a exibição correta no repositório.

Essas alterações garantem consistência e facilidade de manutenção, centralizando as traduções nos dois idiomas suportados e alinhando a comunicação visual e textual à identidade DATAWARE Forge.

---

**[EN-US]**
This commit removes the extra languages from the internationalization system, keeping only "en-US" and "pt-BR", and standardizes various messages, texts, and placeholders to reflect the new DATAWARE Forge branding.

Key changes include:
- **Internationalization (i18n):**
  - Updated `modules/setting/i18n.go` to restrict the default languages to only "en-US" and "pt-BR".
- **Locale Files:**
  - In `locale_en-US.ini` and `locale_pt-BR.ini`, texts, URLs, and placeholders have been updated to reflect the DATAWARE Forge brand (e.g., "help_url", "powered_by", "return_to_forge", "swagger_title", etc.).
  - Standardization of terminology: replacing "Forgejo" with "DATAWARE Forge"; adjusting terms such as "issues" to "tickets" and "milestones" to "metas" where appropriate.
- **Templates:**
  - Various templates (footer, head_navbar, home, swagger, etc.) have been updated to use the new localization keys and reflect the new branding.
- **Repository Creation Service:**
  - In `services/repository/create.go`, updated the "OwnerName" variable to use the full name of the owner, ensuring correct display on the repository page.

These changes ensure consistency and easier maintenance by centralizing translations in the two supported languages and aligning the visual and textual communication with the DATAWARE Forge identity.
2025-03-20 16:43:50 -03:00
..
archiver Add github compatible tarball download API endpoints (#32572) 2024-12-03 10:19:22 +01:00
commitstatus create "shared" package to workaround import loop issues 2024-10-31 03:49:14 +01:00
files Fix: return correct type in GetSubModule 2024-12-02 01:08:09 +01:00
adopt.go Fix incorrect default branch when adopt a repository (#30912) 2024-05-12 20:03:10 +02:00
adopt_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
avatar.go fix: repo avatar generating (#6338) 2024-12-22 18:18:37 +01:00
avatar_test.go fix: repo avatar generating (#6338) 2024-12-22 18:18:37 +01:00
branch.go Detect whether action view branch was deleted (#32764) 2024-12-15 09:45:10 +01:00
cache.go Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
check.go Update tool dependencies (#29030) 2024-02-02 19:11:39 -05:00
collaboration.go Fix DeleteCollaboration transaction behaviour (#28886) 2024-01-22 07:19:56 +00:00
collaboration_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
commit.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
contributors_graph.go [CHORE] Move cache library 2024-08-27 21:28:56 +02:00
contributors_graph_test.go disable gravatar in test (#32529) 2024-11-24 15:42:36 +00:00
create.go Removed unnecessary languages and made adjustments to translations for "DATAWARE Forge", including text and URL updates in configuration files and templates. / Remoção de idiomas desnecessários e ajustes na tradução para o "DATAWARE Forge", atualizando textos e URLs em arquivos de configuração e templates. 2025-03-20 16:43:50 -03:00
create_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
delete.go mysql: use inner join for hook_task deletion 2024-05-24 10:31:41 +02:00
fork.go chore(refactor): split repo_service.ForkRepository in two 2024-08-11 12:40:34 +02:00
fork_test.go chore(refactor): split repo_service.ForkRepository in two 2024-08-11 12:40:34 +02:00
generate.go fix: template config path (#2836) 2024-12-22 11:05:24 +01:00
generate_test.go Move generate from module to service (#29465) 2024-03-06 12:10:44 +08:00
hooks.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
init.go Move generate from module to service (#29465) 2024-03-06 12:10:44 +08:00
lfs.go log concise repo names in lfs doctor 2024-10-03 16:15:08 +02:00
lfs_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrate.go Distinguish LFS object errors to ignore missing objects during migration (#31702) 2024-08-04 18:24:10 +02:00
push.go Fix broken releases when re-pushing tags (#32435) 2024-11-16 15:12:25 +01:00
repository.go Merge branch 'forgejo' into forgejo-federated-pr5 2024-05-29 18:26:16 +02:00
repository_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
review.go Use context parameter in services/repository (#23186) 2023-02-28 16:17:51 -06:00
review_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
setting.go fix: don't cancel schedule workflows on push to main branch 2024-10-05 12:14:44 +02:00
star.go feat(federated-star) star repositories via ActivityPub (#1680) 2024-06-06 08:58:11 +02:00
template.go Move generate from module to service (#29465) 2024-03-06 12:10:44 +08:00
transfer.go Add lint-go-gopls (#30729) 2024-06-09 11:13:39 +02:00
transfer_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00