Skip to content

Commit

Permalink
Merge pull request #15072 from opf/bug/53584-fix-pt-br-and-pt-pt-tran…
Browse files Browse the repository at this point in the history
…slations

[53584] Fix Portuguese languages mapping
  • Loading branch information
cbliard authored Mar 21, 2024
2 parents eda9bc8 + d653ce6 commit a9fe3eb
Show file tree
Hide file tree
Showing 104 changed files with 115 additions and 102 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ jobs:
env:
OPENPROJECT_CROWDIN_PROJECT: ${{ secrets.OPENPROJECT_CROWDINV2_PROJECT }}
OPENPROJECT_CROWDIN_API_KEY: ${{ secrets.OPENPROJECT_CROWDINV2_API_KEY }}
- name: "Fix root key in Portuguese crowdin translation files"
run: |
script/i18n/fix_crowdin_pt_language_root_key
- name: "Commit translations"
run: |
git config user.name "OpenProject Actions CI"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
js:
ajax:
hide: "Ocultar"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
js:
ajax:
hide: "Ocultar"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/pt-BR.seeders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
pt:
pt-BR:
seeds:
common:
colors:
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
no_results_title_text: Atualmente, não há o que exibir.
activities:
index:
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/pt-PT.seeders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
pt:
pt-PT:
seeds:
common:
colors:
Expand Down
2 changes: 1 addition & 1 deletion config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
no_results_title_text: Atualmente, não há nada para exibir.
activities:
index:
Expand Down
2 changes: 1 addition & 1 deletion modules/avatars/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-BR:
js:
label_preview: 'Pré-visualizar'
button_update: 'Atualizar'
Expand Down
2 changes: 1 addition & 1 deletion modules/avatars/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-PT:
js:
label_preview: 'Pré visualizar'
button_update: 'Atualizar'
Expand Down
2 changes: 1 addition & 1 deletion modules/avatars/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-BR:
plugin_openproject_avatars:
name: "Imagens do perfil"
description: >-
Expand Down
2 changes: 1 addition & 1 deletion modules/avatars/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-PT:
plugin_openproject_avatars:
name: "Avatares"
description: >-
Expand Down
2 changes: 1 addition & 1 deletion modules/backlogs/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
js:
work_packages:
properties:
Expand Down
2 changes: 1 addition & 1 deletion modules/backlogs/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
js:
work_packages:
properties:
Expand Down
2 changes: 1 addition & 1 deletion modules/backlogs/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
plugin_openproject_backlogs:
name: "Backlogs OpenProject"
description: "Este módulo acrescenta recursos que permitem que as equipes ágeis trabalhem com o OpenProject em projetos Scrum."
Expand Down
2 changes: 1 addition & 1 deletion modules/backlogs/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
plugin_openproject_backlogs:
name: "Repositórios OpenProject"
description: "Este módulo acrescenta funcionalidades que permitem às equipas Agile trabalhar com o OpenProject em projetos Scrum."
Expand Down
2 changes: 1 addition & 1 deletion modules/bim/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-BR:
js:
bcf:
label_bcf: 'BCF'
Expand Down
2 changes: 1 addition & 1 deletion modules/bim/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-PT:
js:
bcf:
label_bcf: 'BCF'
Expand Down
2 changes: 1 addition & 1 deletion modules/bim/config/locales/crowdin/pt-BR.seeders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
pt:
pt-BR:
seeds:
bim:
priorities:
Expand Down
2 changes: 1 addition & 1 deletion modules/bim/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
pt:
pt-BR:
plugin_openproject_bim:
name: "Funcionalidade BIM e BCF do OpenProject"
description: "Este plugin do OpenProject introduz a funcionalidade BIM e BCF."
Expand Down
2 changes: 1 addition & 1 deletion modules/bim/config/locales/crowdin/pt-PT.seeders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#Please do not edit directly.
#This file is part of the sources sent to crowdin for translation.
---
pt:
pt-PT:
seeds:
bim:
priorities:
Expand Down
2 changes: 1 addition & 1 deletion modules/bim/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here for Rails i18n
pt:
pt-PT:
plugin_openproject_bim:
name: "Funcionalidade BIM e BCF do OpenProject"
description: "Este plugin do OpenProject introduz a funcionalidade BIM e BCF."
Expand Down
2 changes: 1 addition & 1 deletion modules/boards/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-BR:
js:
boards:
create_new: 'Criar novo quadro'
Expand Down
2 changes: 1 addition & 1 deletion modules/boards/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-PT:
js:
boards:
create_new: 'Criar novo quadro'
Expand Down
2 changes: 1 addition & 1 deletion modules/boards/config/locales/crowdin/pt-BR.seeders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#located in the modules directories are needed to have crowdin cli correctly
#compute the path to the uploaded source file.
#This file does not contain any i18n strings.
pt:
pt-BR:
2 changes: 1 addition & 1 deletion modules/boards/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-BR:
plugin_openproject_boards:
name: "Quadros do OpenProject"
description: "Fornece visualizações do quadro."
Expand Down
2 changes: 1 addition & 1 deletion modules/boards/config/locales/crowdin/pt-PT.seeders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#located in the modules directories are needed to have crowdin cli correctly
#compute the path to the uploaded source file.
#This file does not contain any i18n strings.
pt:
pt-PT:
2 changes: 1 addition & 1 deletion modules/boards/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-PT:
plugin_openproject_boards:
name: "Quadros do OpenProject"
description: "Fornece vistas do quadro."
Expand Down
2 changes: 1 addition & 1 deletion modules/budgets/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
js:
work_packages:
properties:
Expand Down
2 changes: 1 addition & 1 deletion modules/budgets/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
js:
work_packages:
properties:
Expand Down
2 changes: 1 addition & 1 deletion modules/budgets/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
plugin_budgets_engine:
name: 'Orçamentos'
activerecord:
Expand Down
2 changes: 1 addition & 1 deletion modules/budgets/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
plugin_budgets_engine:
name: 'Orçamentos'
activerecord:
Expand Down
2 changes: 1 addition & 1 deletion modules/calendar/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-BR:
js:
calendar:
create_new: 'Criar novo calendário'
Expand Down
2 changes: 1 addition & 1 deletion modules/calendar/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-PT:
js:
calendar:
create_new: 'Criar novo calendário'
Expand Down
2 changes: 1 addition & 1 deletion modules/calendar/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-BR:
plugin_openproject_calendar:
name: "Calendário OpenProject"
description: "Fornece visualizações do calendário."
Expand Down
2 changes: 1 addition & 1 deletion modules/calendar/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#English strings go here
pt:
pt-PT:
plugin_openproject_calendar:
name: "Calendário OpenProject"
description: "Fornece visualizações do calendário."
Expand Down
2 changes: 1 addition & 1 deletion modules/costs/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
js:
work_packages:
property_groups:
Expand Down
2 changes: 1 addition & 1 deletion modules/costs/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
js:
work_packages:
property_groups:
Expand Down
2 changes: 1 addition & 1 deletion modules/costs/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
plugin_costs:
name: "Tempo e custos"
description: "Este módulo acrescenta recursos para planejar e monitorar os custos dos projetos."
Expand Down
2 changes: 1 addition & 1 deletion modules/costs/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
plugin_costs:
name: "Tempo e custos"
description: "Este módulo acrescenta funcionalidades para planear e acompanhar os custos dos projetos."
Expand Down
2 changes: 1 addition & 1 deletion modules/dashboards/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pt:
pt-BR:
js:
dashboards:
label: 'Painel'
2 changes: 1 addition & 1 deletion modules/dashboards/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pt:
pt-PT:
js:
dashboards:
label: 'Painel de Controlo'
2 changes: 1 addition & 1 deletion modules/dashboards/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pt:
pt-BR:
dashboards:
label: 'Painéis'
project_module_dashboards: 'Painéis'
2 changes: 1 addition & 1 deletion modules/dashboards/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pt:
pt-PT:
dashboards:
label: 'Painéis de controlo'
project_module_dashboards: 'Painéis de controle'
2 changes: 1 addition & 1 deletion modules/documents/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
plugin_openproject_documents:
name: "Documentos do OpenProject"
description: "Um plugin OpenProject para permitir a criação de documentos em projetos."
Expand Down
2 changes: 1 addition & 1 deletion modules/documents/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
plugin_openproject_documents:
name: "Documentos do OpenProject"
description: "Um plugin OpenProject para permitir a criação de documentos em projetos."
Expand Down
2 changes: 1 addition & 1 deletion modules/gantt/config/locales/crowdin/js-pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pt:
pt-BR:
js:
queries:
all_open: 'Tudo aberto'
Expand Down
2 changes: 1 addition & 1 deletion modules/gantt/config/locales/crowdin/js-pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pt:
pt-PT:
js:
queries:
all_open: 'Tudo aberto'
Expand Down
2 changes: 1 addition & 1 deletion modules/gantt/config/locales/crowdin/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#English strings go here
pt:
pt-BR:
project_module_gantt: "Gráficos de Gantt"
2 changes: 1 addition & 1 deletion modules/gantt/config/locales/crowdin/pt-PT.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#English strings go here
pt:
pt-PT:
project_module_gantt: "Gráficos de Gantt"
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-BR:
js:
github_integration:
work_packages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#See COPYRIGHT and LICENSE files for more details.
#++
pt:
pt-PT:
js:
github_integration:
work_packages:
Expand Down
Loading

0 comments on commit a9fe3eb

Please sign in to comment.