From 0afc453be4c8b14797ced81d0e722c6a7f0189cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sen=C3=A9n=20Rodero=20Rodr=C3=ADguez?= Date: Fri, 4 Sep 2020 10:29:27 +0200 Subject: [PATCH] Fix pt-BR locale code inside files I realized Crowdin suddenly started to change Portuguese-Brazilero locale codes so i asked for Crowdin support and they fixed the problem by configuring an internal post-processor for this project so the reason seems to be some change on the Crowdin side. I tested it successfully by making a dummy update on one translation to see if next commits for this language will come with the right locale ... and it worked nice! --- config/locales/pt-BR/activemodel.yml | 2 +- config/locales/pt-BR/community.yml | 2 +- config/locales/pt-BR/devise.yml | 2 +- config/locales/pt-BR/devise_views.yml | 2 +- config/locales/pt-BR/documents.yml | 2 +- config/locales/pt-BR/i18n.yml | 2 +- config/locales/pt-BR/images.yml | 2 +- config/locales/pt-BR/kaminari.yml | 2 +- config/locales/pt-BR/mailers.yml | 2 +- config/locales/pt-BR/management.yml | 2 +- config/locales/pt-BR/milestones.yml | 2 +- config/locales/pt-BR/moderation.yml | 2 +- config/locales/pt-BR/officing.yml | 2 +- config/locales/pt-BR/pages.yml | 38 ++++++++++---------- config/locales/pt-BR/responders.yml | 2 +- config/locales/pt-BR/seeds.yml | 2 +- config/locales/pt-BR/social_share_button.yml | 2 +- config/locales/pt-BR/stats.yml | 2 +- config/locales/pt-BR/valuation.yml | 2 +- config/locales/pt-BR/verification.yml | 2 +- 20 files changed, 38 insertions(+), 38 deletions(-) diff --git a/config/locales/pt-BR/activemodel.yml b/config/locales/pt-BR/activemodel.yml index bb38ab140..f530d2dff 100644 --- a/config/locales/pt-BR/activemodel.yml +++ b/config/locales/pt-BR/activemodel.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: activemodel: models: verification: diff --git a/config/locales/pt-BR/community.yml b/config/locales/pt-BR/community.yml index 1780f95a4..e4f09c995 100644 --- a/config/locales/pt-BR/community.yml +++ b/config/locales/pt-BR/community.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: community: sidebar: title: Comunidade diff --git a/config/locales/pt-BR/devise.yml b/config/locales/pt-BR/devise.yml index b6c327da2..2814ff81e 100644 --- a/config/locales/pt-BR/devise.yml +++ b/config/locales/pt-BR/devise.yml @@ -1,5 +1,5 @@ #Additional translations at https://github.com/plataformatec/devise/wiki/I18n -pt: +pt-BR: devise: password_expired: expire_password: "Senha expirada" diff --git a/config/locales/pt-BR/devise_views.yml b/config/locales/pt-BR/devise_views.yml index dd9f3c2e4..56dedd9b5 100644 --- a/config/locales/pt-BR/devise_views.yml +++ b/config/locales/pt-BR/devise_views.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: devise_views: confirmations: new: diff --git a/config/locales/pt-BR/documents.yml b/config/locales/pt-BR/documents.yml index 40cc80241..ec71833f8 100644 --- a/config/locales/pt-BR/documents.yml +++ b/config/locales/pt-BR/documents.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: documents: title: Documentos max_documents_allowed_reached: Você atingiu o número máximo de documentos permitidos. Apague um antes de carregar outro. diff --git a/config/locales/pt-BR/i18n.yml b/config/locales/pt-BR/i18n.yml index 1840e43cb..d6610f9b5 100644 --- a/config/locales/pt-BR/i18n.yml +++ b/config/locales/pt-BR/i18n.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: i18n: language: name: "Português brasileiro" diff --git a/config/locales/pt-BR/images.yml b/config/locales/pt-BR/images.yml index 18f531320..734d1ccb6 100644 --- a/config/locales/pt-BR/images.yml +++ b/config/locales/pt-BR/images.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: images: remove_image: Remover imagem form: diff --git a/config/locales/pt-BR/kaminari.yml b/config/locales/pt-BR/kaminari.yml index 81012bffd..6db38e182 100644 --- a/config/locales/pt-BR/kaminari.yml +++ b/config/locales/pt-BR/kaminari.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: helpers: page_entries_info: entry: diff --git a/config/locales/pt-BR/mailers.yml b/config/locales/pt-BR/mailers.yml index 62099de7e..2722b89eb 100644 --- a/config/locales/pt-BR/mailers.yml +++ b/config/locales/pt-BR/mailers.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: mailers: title: "Governo aberto" no_reply: "Esta mensagem foi enviada de um endereço de e-mail que não aceita respostas." diff --git a/config/locales/pt-BR/management.yml b/config/locales/pt-BR/management.yml index 82c468bc7..5f96139bc 100644 --- a/config/locales/pt-BR/management.yml +++ b/config/locales/pt-BR/management.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: management: account: menu: diff --git a/config/locales/pt-BR/milestones.yml b/config/locales/pt-BR/milestones.yml index 576cd0d7a..4d135559c 100644 --- a/config/locales/pt-BR/milestones.yml +++ b/config/locales/pt-BR/milestones.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: milestones: index: no_milestones: Não há marcos definidos diff --git a/config/locales/pt-BR/moderation.yml b/config/locales/pt-BR/moderation.yml index d0e457aec..1dff9a38a 100644 --- a/config/locales/pt-BR/moderation.yml +++ b/config/locales/pt-BR/moderation.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: moderation: comments: index: diff --git a/config/locales/pt-BR/officing.yml b/config/locales/pt-BR/officing.yml index 070290645..78aad5bcc 100644 --- a/config/locales/pt-BR/officing.yml +++ b/config/locales/pt-BR/officing.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: officing: header: title: Votações diff --git a/config/locales/pt-BR/pages.yml b/config/locales/pt-BR/pages.yml index d908fef87..daaf82fca 100644 --- a/config/locales/pt-BR/pages.yml +++ b/config/locales/pt-BR/pages.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: pages: conditions: title: Termos e condições de uso @@ -87,22 +87,22 @@ pt: key_header: Chave page_header: Página rows: - - + - key_column: 0 page_column: Início - - + - key_column: 1 page_column: Debates - - + - key_column: 2 page_column: Propostas - - + - key_column: 3 page_column: Votos - - + - key_column: 4 page_column: Orçamentos participativos - - + - key_column: 5 page_column: Processos legislativos browser_table: @@ -111,19 +111,19 @@ pt: browser_header: Navegador key_header: Combinação de teclas rows: - - + - browser_column: Explorer key_column: ALT + atalho, em seguida, ENTER - - + - browser_column: Firefox key_column: ALT + CAPS + atalho - - + - browser_column: Chrome key_column: ALT + atalho (CTRL + ALT + atalhos para MAC) - - + - browser_column: Safari key_column: ALT + atalho (CMD + atalho para MAC) - - + - browser_column: Opera key_column: CAPS + ESC + atalho textsize: @@ -133,28 +133,28 @@ pt: browser_header: Navegador action_header: Ação a ser tomada rows: - - + - browser_column: Explorer action_column: Exibir > Tamanho do texto - - + - browser_column: Firefox action_column: Exibir > Tamanho - - + - browser_column: Chrome action_column: Configurações (ícone) > Opções > Avançado > Conteúdo Web > Tamanho do texto - - + - browser_column: Safari action_column: Exibir > Aumentar Zoom / Diminuir Zoom - - + - browser_column: Opera action_column: Exibir > escala browser_shortcuts_table: description: "Outra maneira de modificar o tamanho do texto é utilizar os atalhos de teclado definidos em navegadores, em especial a combinação de teclas:" rows: - - + - shortcut_column: CTRL e + (CMD e + no MAC) description_column: Aumenta o tamanho do texto - - + - shortcut_column: CTRL e - (CMD e - no MAC) description_column: Diminui o tamanho do texto compatibility: diff --git a/config/locales/pt-BR/responders.yml b/config/locales/pt-BR/responders.yml index 9270ee55c..c6582572a 100644 --- a/config/locales/pt-BR/responders.yml +++ b/config/locales/pt-BR/responders.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: flash: actions: create: diff --git a/config/locales/pt-BR/seeds.yml b/config/locales/pt-BR/seeds.yml index 6e2490c23..eab2c3df5 100644 --- a/config/locales/pt-BR/seeds.yml +++ b/config/locales/pt-BR/seeds.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: seeds: settings: official_level_1_name: Autoridade/Cargo público 1 diff --git a/config/locales/pt-BR/social_share_button.yml b/config/locales/pt-BR/social_share_button.yml index 9816b6e1b..51e54a7de 100644 --- a/config/locales/pt-BR/social_share_button.yml +++ b/config/locales/pt-BR/social_share_button.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: social_share_button: share_to: "Compartilhar com %{name}" weibo: "Sina Weibo" diff --git a/config/locales/pt-BR/stats.yml b/config/locales/pt-BR/stats.yml index 215e8f2c1..3295cec3f 100644 --- a/config/locales/pt-BR/stats.yml +++ b/config/locales/pt-BR/stats.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: stats: title: "Dados sobre a participação" advanced: "Estatísticas avançadas" diff --git a/config/locales/pt-BR/valuation.yml b/config/locales/pt-BR/valuation.yml index 7727b6567..ed1835eb8 100644 --- a/config/locales/pt-BR/valuation.yml +++ b/config/locales/pt-BR/valuation.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: valuation: header: title: Avaliação diff --git a/config/locales/pt-BR/verification.yml b/config/locales/pt-BR/verification.yml index 48884d82e..83a64665a 100644 --- a/config/locales/pt-BR/verification.yml +++ b/config/locales/pt-BR/verification.yml @@ -1,4 +1,4 @@ -pt: +pt-BR: verification: alert: lock: Atingiste o número máximo de tentativas. Por favor, tente novamente mais tarde.