mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/structural_pages.git
synced 2026-04-25 02:31:57 -03:00
Add content translations for site_sections taxonomy terms
Taxonomy term names are content, not interface strings, so .po files don't translate them. This adds programmatic content translations via the ContentLanguageSettings API and addTranslation/setName on each term. - Add _structural_pages_term_translations() with pt-br name map - Add _structural_pages_add_term_translations() to create/update translations - Add _structural_pages_ensure_content_translation() using ContentLanguageSettings API - Add config/optional for new installs with content_translation enabled - Remove term name entries from .po file (ineffective for content) - Add update hook 10004 to fix existing installations Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -225,91 +225,6 @@ msgstr "Configuração do campo atualizada com sucesso."
|
||||
msgid "Configure allowed parent entity types for content pages."
|
||||
msgstr "Configure os tipos de entidade pai permitidos para páginas de conteúdo."
|
||||
|
||||
#: Default taxonomy terms (structural_pages.install)
|
||||
msgid "News"
|
||||
msgstr "Notícias"
|
||||
|
||||
msgid "Events"
|
||||
msgstr "Eventos"
|
||||
|
||||
msgid "People"
|
||||
msgstr "Pessoas"
|
||||
|
||||
msgid "Institutional"
|
||||
msgstr "Institucional"
|
||||
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
msgid "Communication"
|
||||
msgstr "Comunicação"
|
||||
|
||||
msgid "Information and Services"
|
||||
msgstr "Informações e Serviços"
|
||||
|
||||
msgid "Team"
|
||||
msgstr "Equipe"
|
||||
|
||||
msgid "Management"
|
||||
msgstr "Gestão"
|
||||
|
||||
msgid "Inclusion and Belonging"
|
||||
msgstr "Inclusão e Pertencimento"
|
||||
|
||||
msgid "Undergraduate"
|
||||
msgstr "Graduação"
|
||||
|
||||
msgid "Statistics"
|
||||
msgstr "Estatística"
|
||||
|
||||
msgid "Mathematics"
|
||||
msgstr "Matemática"
|
||||
|
||||
msgid "Applied Mathematics"
|
||||
msgstr "Matemática Aplicada"
|
||||
|
||||
msgid "Mathematics Teaching"
|
||||
msgstr "Licenciatura em Matemática"
|
||||
|
||||
msgid "Graduate"
|
||||
msgstr "Pós-Graduação"
|
||||
|
||||
msgid "Statistics Program"
|
||||
msgstr "Programa de Estatística"
|
||||
|
||||
msgid "Mathematics Program"
|
||||
msgstr "Programa de Matemática"
|
||||
|
||||
msgid "Applied Mathematics Program"
|
||||
msgstr "Programa de Matemática Aplicada"
|
||||
|
||||
msgid "Research"
|
||||
msgstr "Pesquisa"
|
||||
|
||||
msgid "Extension"
|
||||
msgstr "Extensão"
|
||||
|
||||
msgid "Administration"
|
||||
msgstr "Administração"
|
||||
|
||||
msgid "Departments"
|
||||
msgstr "Departamentos"
|
||||
|
||||
msgid "Statistics Department"
|
||||
msgstr "Departamento de Estatística"
|
||||
|
||||
msgid "Mathematics Department"
|
||||
msgstr "Departamento de Matemática"
|
||||
|
||||
msgid "Applied Mathematics Department"
|
||||
msgstr "Departamento de Matemática Aplicada"
|
||||
|
||||
msgid "Library"
|
||||
msgstr "Biblioteca"
|
||||
|
||||
msgid "IT Services"
|
||||
msgstr "Informática"
|
||||
|
||||
#: src/Plugin/Block/StructuralPagesMenuBlock.php
|
||||
msgid "Structural Pages Menu"
|
||||
msgstr "Menu das Páginas Estruturais"
|
||||
|
||||
Reference in New Issue
Block a user