-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
zh-CN: Update block and inline terms for /glossary/*
#12662
Conversation
|
||
沿着这些轴,可以使用[盒模型对齐规范](/zh-CN/docs/Web/CSS/CSS_Grid_Layout/Box_Alignment_in_CSS_Grid_Layout)中定义的属性对项目进行行对齐和列对齐。 | ||
沿着这些轴可以使用[盒对齐规范](/zh-CN/docs/Web/CSS/CSS_Grid_Layout/Box_Alignment_in_CSS_Grid_Layout)中定义的属性对项目按块向轴或行向轴对齐。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
规范原文用 align 和 justify 分别指沿不同的轴对齐。
Preview URLs
(comment last updated: 2023-04-10 12:04:26) |
这个 |
slug: Glossary/Flex_Container | ||
--- | ||
|
||
定义一个{{glossary("flexbox")}}(伸缩盒布局),需要在一个父级元素上使用`display`属性的值:`flex`或`inline-flex`。这个父级元素将成为**flex container**(伸缩容器),而它的所有子元素将变成{{glossary("flex item")}}(伸缩项)。 | ||
在父元素的 `display` 属性上使用 `flex` 或 `inline-flex` 值可定义{{glossary("flexbox", "弹性盒")}}布局。此元素由此变为**弹性容器**,其任意子元素变为{{glossary("flex item", "弹性项目")}}。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
考虑一下在 CSS 里面,要不要将“item”翻译为“元素”,为感觉平时“数组元素”这种叫法用的比较多(item of array)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我是觉得“项目”和“元素”的译法都有明显的不足。“项目”听起来怪怪的,但是 Word 是这样翻译的;而“元素”在 CSS 中无法体现 item 是容器或列表中多个相似物体中的一个,因此无法与 element 区分。不过如果可以保证不会出现 flex element 这种说法的话,把 item 译为“元素”也没有问题。(我先改为“元素”。)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
或者统一约定 flex element 根据上下文区分为“弹性容器”或“弹性元素”。list element 可作类似约定。
Co-authored-by: A1lo <yin199909@aliyun.com>
Description
Motivation
Additional details
为了控制术语更新工程的工作量,图示的汉化就交给未来的贡献者了。
Related issues and pull requests
Relates to #12632.