Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(pt-br): replace old-style specification tables part1 #15989

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Sep 21, 2023

Description

replace old-style specification tables part1.

Used script is this, logic:

  1. check if the SpecName macro is in file
  2. if has, check if the specification macro is in en-US
  3. if in en-us, replace this section with specification macro

Related issues and pull requests

Part of: #11594

@github-actions github-actions bot added the l10n-pt-br Issues related to Brazilian Portuguese label Sep 21, 2023
| ----------------------------------------------------------------------------- | --------------------------------- | ------------------ |
| {{SpecName('CSS4 Pseudo-Elements', '#selectordef-selection', '::selection')}} | {{Spec2('CSS4 Pseudo-Elements')}} | Definição inicial. |

> **Nota:** `::selection` estava nos rascunhos do Nível 3 dos Seletores de CSS, mas foi removido na fase Recomendação do Candidato porque estava subespecificado (especialmente com elementos aninhados) e a interoperabilidade não foi alcançada ([com base na lista de discussão de estilos W3C](http://lists.w3.org/Archives/Public/www-style/2008Oct/0268.html)). Ele retornou no [Nível 4 dos Pseudo-Elementos](http://dev.w3.org/csswg/css-pseudo-4/).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed in en-US

Comment on lines -104 to -140
1. [**CSS**](/pt-BR/docs/Web/CSS)
2. [**CSS Referência**](/pt-BR/docs/Web/CSS/Reference)
3. [CSS Grid Layout](/pt-BR/docs/Web/CSS/CSS_Grid_Layout)
4. **Guias**

1. [Conceitos básicos de grid layout](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout)
2. [Relação com outros métodos de layout](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Relationship_of_Grid_Layout)
3. [Posicionamento baseado em linha](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Line-based_Placement_with_CSS_Grid)
4. [Grid template areas](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Grid_Template_Areas)
5. [Layout usando grid lines nomeadas](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Layout_using_Named_Grid_Lines)
6. [Posicionamento Automático no grid layout](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Auto-placement_in_CSS_Grid_Layout)
7. [Alinhamento box no grid layout](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Box_Alignment_in_CSS_Grid_Layout)
8. [Grids, Valores Lógicos e Modos de Escrita](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/CSS_Grid,_Logical_Values_and_Writing_Modes)
9. [CSS Grid Layout e Acessibilidade](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/CSS_Grid_Layout_and_Accessibility)
10. [CSS Grid Layout e Aprimoramento Progressivo](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/CSS_Grid_and_Progressive_Enhancement)
11. [Realizando layouts comuns usando CSS Grids](/pt-BR/docs/Web/CSS/CSS_Grid_Layout/Realizing_common_layouts_using_CSS_Grid_Layout)

5. **Propriedades**

1. [grid](/pt-BR/docs/Web/CSS/grid)
2. [grid-area](/pt-BR/docs/Web/CSS/grid-area)
3. [grid-auto-columns](/pt-BR/docs/Web/CSS/grid-auto-columns)
4. [grid-auto-flow](/pt-BR/docs/Web/CSS/grid-auto-flow)
5. [grid-auto-rows](/pt-BR/docs/Web/CSS/grid-auto-rows)
6. [grid-column](/pt-BR/docs/Web/CSS/grid-column)
7. [grid-column-end](/pt-BR/docs/Web/CSS/grid-column-end)
8. [grid-column-gap](/pt-BR/docs/Web/CSS/grid-column-gap)
9. [grid-column-start](/pt-BR/docs/Web/CSS/grid-column-start)
10. [grid-gap](/pt-BR/docs/Web/CSS/grid-gap)
11. [grid-row](/pt-BR/docs/Web/CSS/grid-row)
12. [grid-row-end](/pt-BR/docs/Web/CSS/grid-row-end)
13. [grid-row-gap](/pt-BR/docs/Web/CSS/grid-row-gap)
14. [grid-row-start](/pt-BR/docs/Web/CSS/grid-row-start)
15. [grid-template](/pt-BR/docs/Web/CSS/grid-template)
16. [grid-template-areas](/pt-BR/docs/Web/CSS/grid-template-areas)
17. [grid-template-colunms](/pt-BR/docs/Web/CSS/grid-template-columns)
18. [grid-template-rows](/pt-BR/docs/Web/CSS/grid-template-rows)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced with sidebar macro and reserve the "glossary items" (I've used Google translate to check this, if this is not correct, feel free to modify)

@yin1999 yin1999 marked this pull request as ready for review September 21, 2023 03:23
@yin1999 yin1999 requested a review from a team as a code owner September 21, 2023 03:23
@yin1999 yin1999 requested review from nathipg and removed request for a team September 21, 2023 03:23
@yin1999 yin1999 force-pushed the replace-spec-name-pt-1 branch from 4b5ebe5 to ef95402 Compare September 21, 2023 04:21
@yin1999
Copy link
Member Author

yin1999 commented Sep 21, 2023

I believe the PR test errors are not related to this PR.

Copy link
Collaborator

@josielrocha josielrocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ;)

@josielrocha josielrocha merged commit 22a7c8b into mdn:main Oct 2, 2023
@yin1999 yin1999 deleted the replace-spec-name-pt-1 branch October 2, 2023 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-pt-br Issues related to Brazilian Portuguese
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants