Skip to content

Commit

Permalink
Update dev-it branch with main branch (#2)
Browse files Browse the repository at this point in the history
* [zh] Localize 'api_gateway' (cncf#893)

* [zh] Localize 'api_gateway' fix cncf#850

* [zh] remove english description

* [zh] move the hyperlink to the right place, add spacing

* [zh] optimize the description on home page (cncf#896)

* [zh] optimize the description on home page

* Update content/zh-cn/_index.md

Co-authored-by: Brian Yan <18373181742@163.com>

Co-authored-by: Brian Yan <18373181742@163.com>

* [zh] Localize 'infrastructure_as_a_service' (cncf#898)

* [zh] Localize 'infrastructure_as_a_service'

* [zh] refer to existing zh terms in iaas

* Create horizontal_scaling.md

* Create vertical_scaling.md

* Create chaos_engineering.md

* Update vertical_scaling.md

扩展 - > 伸缩 for scalability

* [zh] Localize auto_scaling.md (cncf#897)

* Create auto_scaling.md

* Update content/zh-cn/auto_scaling.md

Co-authored-by: Brian Yan <18373181742@163.com>

* unify expression

* Update auto_scaling.md

Co-authored-by: Brian Yan <18373181742@163.com>
Co-authored-by: Jacob953 <710297349@qq.com>

* Update vertical_scaling.md

* [zh] Localize 'application_programming_interface (cncf#902)

* [zh] translate api

* [zh] refine the transalation of scalability

* Create infrastructure_as_code.md (cncf#904)

* [zh] localize 'agile_software_development' into chinese

Signed-off-by: Andong Liao <adliao@thoughtworks.com>

* [zh] fixed some inconsistent subheadings

Signed-off-by: Andong Liao <adliao@thoughtworks.com>

* localize idempotence.md (cncf#919)

Signed-off-by: zhangxuhai <lenshood.zxh@gmail.com>

* refine the translation of scale (cncf#926)

Signed-off-by: Andong Liao <adliao@thoughtworks.com>

* Create firewall.md

Signed-off-by: Juncheng <37217311+JunchengL@users.noreply.github.com>

* Update firewall.md

Signed-off-by: Juncheng <37217311+JunchengL@users.noreply.github.com>

* localize platform_as_a_service.md

* [zh] Localize 'client_server_architecture' (cncf#933)

* [zh] cs archtecture

Signed-off-by: Andong Liao <adliao@thoughtworks.com>

* [zh] resolve comments and resubmit with sign

Signed-off-by: Andong Liao <adliao@thoughtworks.com>

* Update content/zh-cn/platform_as_a_service.md

Co-authored-by: Brian Yan <44219737+Rocksnake@users.noreply.github.com>

* [zh-cn] Update DevOps (cncf#941)

* [zh-cn] Update DevOps

Glossary `DevOps` is widely used, we can put it in title just as `CI` and `CD`.

Signed-off-by: tianzong48 <tianzong48@gmail.com>

* Update content/zh-cn/devops.md

Co-authored-by: Brian Yan <44219737+Rocksnake@users.noreply.github.com>

Signed-off-by: Submarinee <45026656+Submarinee@users.noreply.github.com>

Co-authored-by: Submarinee <45026656+Submarinee@users.noreply.github.com>

* docs: add missing slash

slash in `<em></em>` do not match

Signed-off-by: Yuedong Wu <57584831+lunarwhite@users.noreply.github.com>

* docs: fix terminologie and format

Signed-off-by: Yuedong Wu <57584831+lunarwhite@users.noreply.github.com>

* docs: update terminologie in zh-cn

Signed-off-by: Yuedong Wu <57584831+lunarwhite@users.noreply.github.com>

* docs: add missing blank

Signed-off-by: Yuedong Wu <57584831+lunarwhite@users.noreply.github.com>

* [zh] translate abstraction (cncf#947)

Signed-off-by: Andong Liao <adliao@thoughtworks.com>

* [zh] localize database_as_a_service.md (cncf#945)

* localize database_as_a_service.md

* Update database_as_a_service.md

Co-authored-by: Brian Yan <44219737+Rocksnake@users.noreply.github.com>

* format code style

* [zh] translate nodes

Signed-off-by: Andong Liao <adliao@thoughtworks.com>

* Update content/zh-cn/nodes.md

Co-authored-by: Brian Yan <44219737+Rocksnake@users.noreply.github.com>

* Update content/zh-cn/nodes.md

Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>

* Update content/zh-cn/nodes.md

* [zh] complete CNCF Slack link (cncf#1003)

* complete CNCF Slack link

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* revert invalid change

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* translate debugging into chinese (cncf#1044)

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* translate service discovery

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix link address

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* [zh]translate `loosely coupled architecture` (cncf#1053)

* translate loosely coupled architecture

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix link

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* translate versioncontrol

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* remove origin

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* remove code quote git

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* chore(deps): bump rojopolis/spellcheck-github-actions

Bumps [rojopolis/spellcheck-github-actions](https://github.com/rojopolis/spellcheck-github-actions) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/rojopolis/spellcheck-github-actions/releases)
- [Changelog](https://github.com/rojopolis/spellcheck-github-actions/blob/master/CHANGELOG.md)
- [Commits](rojopolis/spellcheck-github-actions@0.24.0...0.25.0)

---
updated-dependencies:
- dependency-name: rojopolis/spellcheck-github-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix old links to favicons in docsy

Signed-off-by: cjyabraham <cjyabraham@gmail.com>

* add some guidelines for localization teams (cncf#1075)

* add some guidelines for localization teams

Signed-off-by: Noah Ispas (iamNoah1) <noahispas@gmail.com>

* Small edits

Co-authored-by: Catherine Paganini <74001907+CathPag@users.noreply.github.com>

* remove adrianna from all files (cncf#1066)

* remove adriana from all files

Signed-off-by: Noah Ispas (iamNoah1) <noahispas@gmail.com>

* Update CODEOWNERS

Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>

* [zh]translate `tightly coupled architectures` (cncf#1054)

* translate tightly coupled architectures

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix link

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* translate continuous deployment

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix lang dir

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* [zh]update related term refer to the original (cncf#1088)

* update related term refer to the original.

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* replace localized link

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* Updating custom theme for Glossary site (cncf#1081)

Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>

* fix: insert empty lines after the header lines

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix: improve reading experience

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix: add semantic line breaks

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix: rename markdown filenames

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* fix: update relevant links

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* translate bare metal machine

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* translate security chaos engineering (cncf#1091)

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* add tags

Signed-off-by: Petrie <lpfvip2008@gmail.com>

* translate site reliability engineering

Signed-off-by: Petrie <lpfvip2008@gmail.com>

Co-authored-by: Andong LIAO <adliao@thoughtworks.com>
Co-authored-by: Brian Yan <18373181742@163.com>
Co-authored-by: Jiangyu Wang <wot.river@gmail.com>
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Jacob953 <710297349@qq.com>
Co-authored-by: Lenshood <xuhai.zhang@thoughtworks.com>
Co-authored-by: Juncheng <37217311+JunchengL@users.noreply.github.com>
Co-authored-by: Submarinee <17373067316@163.com>
Co-authored-by: Brian Yan <44219737+Rocksnake@users.noreply.github.com>
Co-authored-by: tianzong48 <tianzong48@gmail.com>
Co-authored-by: Submarinee <45026656+Submarinee@users.noreply.github.com>
Co-authored-by: Yuedong Wu <57584831+lunarwhite@users.noreply.github.com>
Co-authored-by: Jacob953 <jacob953@csu.edu.cn>
Co-authored-by: Seokho Son <shsongist@gmail.com>
Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
Co-authored-by: Petrie Liu <244236866@qq.com>
Co-authored-by: Petrie Liu <lpfvip2008@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cjyabraham <cjyabraham@gmail.com>
Co-authored-by: Noah Ispas <13436814+iamNoah1@users.noreply.github.com>
Co-authored-by: Catherine Paganini <74001907+CathPag@users.noreply.github.com>
Co-authored-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
  • Loading branch information
23 people authored Jul 26, 2022
1 parent e546f43 commit a3a1bb0
Show file tree
Hide file tree
Showing 85 changed files with 1,664 additions and 581 deletions.
4 changes: 0 additions & 4 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ collaborators:
- username: DaveVentura
permission: push

- username: Petria3s
permission: push

# l10n it approvers
- username: fsbaraglia
permission: push
Expand Down Expand Up @@ -247,7 +244,6 @@ branches:
users:
- iamNoah1
- DaveVentura
- Petria3s
teams: []
enforce_admins: null
required_linear_history: null
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/es-spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: GitHub Spellcheck Action
uses: rojopolis/spellcheck-github-actions@0.24.0
uses: rojopolis/spellcheck-github-actions@0.25.0
with:
config_path: content/es/.spellcheck.yml
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
- uses: actions/checkout@v3

- name: GitHub Spellcheck Action
uses: rojopolis/spellcheck-github-actions@0.24.0
uses: rojopolis/spellcheck-github-actions@0.25.0
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/content/hi/ @Garima-Negi @sayantani11 @anubha-v-ardhan @jayesh-srivastava

# Approvers for German contents
/content/de/ @iamNoah1 @DaveVentura @Petria3s
/content/de/ @iamNoah1 @DaveVentura @CathPag

# Approvers for Italian contents
/content/it/ @fsbaraglia @meryem-ldn @annalisag-spark @sistella
Expand Down
13 changes: 11 additions & 2 deletions LOCALIZATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ we'd love to start localizing it into different languages.

- [Initiate a new localization team](#initiating-a-new-localization-team)
- [Join an existing localization team](#join-an-existing-localization-team)
- [Localization team guidelines](#localization-team-guidelines)

Contributions to improving the following localization guides and localization policies are also welcome.

Expand Down Expand Up @@ -132,6 +133,14 @@ Once the PR is merged, the localized content will go live on its website 🎉

To join an existing team, hop on the #glossary-localizations and #glossary-localization-[language name] channels on the CNCF Slack. Introduce yourself, let the team know you want to contribute, and the team will take it from there.

If the team seems inactive (no response after several days), reach out to @Seokho Son, @Catherine Paganini, and @jmo on the #glossary-localizations channel.
If the team seems inactive (no response after several days), reach out to @Seokho Son, @Catherine Paganini, @jmo, @Jihoon Seo or @Noah Ispas on the #glossary-localizations channel.

Note, that every localization team may have their own process of working on localizing terms. However, one thing is common for all localization teams and important to keep in mind: Contributions have to be based on the `dev-xx` branch and PRs need to target `dev-xx`.
---

# Localization team guidelines
Every localization team may have its own process of working on localizing terms. However, here are some guidelines that are common for all localization teams:

1. Only terms with the status `Completed` in the English version are ready to be localized.
2. All contributions related to localization have to be based on the `dev-xx` branch, and PRs need to target `dev-xx`.
3. Localization teams need to get changes from the `main` branch in their `dev-xx` branch from time to time. Therefore a PR should be opened where the `main` branch is merged into `dev-xx`. The glossary maintainers will then choose the rebase method to complete the PR and keep the history linear.
4. A localized term does not have to match the English version completely. Also, the localized and English versions of terms can coexist independently throughout updates. Localization teams can decide to which degree localized terms have to match their English version and how to handle updates on the English term.
16 changes: 16 additions & 0 deletions assets/scss/_archive.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.article-teaser {
h3 {
margin-top: 34px;
a {
color: $black;
}
}
}

.articles-of-tag hr {
background: linear-gradient(180deg, #c4c4c4, hsla(0, 0%, 77%, 0));
border-bottom: 0;
height: 10px;
opacity: 0.15;
width: 100%;
}
37 changes: 37 additions & 0 deletions assets/scss/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// buttons.
.button-reset {
background: none;
border: none;
box-sizing: border-box;
cursor: pointer;
display: block;
margin-left: 0;
margin-right: 0;
padding: 0;
width: unset;
}

.cncf-button {
color: $white;
background-color: $black;
border: 0;
border-radius: 3px;
box-shadow: none;
box-sizing: border-box;
cursor: pointer;
font-size: 16px;
font-weight: 700;
letter-spacing: 0.02em;
line-height: 105%;
margin: 0;
max-width: 100%;
padding: 12px 40px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
transition: all 0.25s ease-out;
word-break: break-word;
&:hover {
background-color: $gray-700;
}
}
39 changes: 39 additions & 0 deletions assets/scss/_categories.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// Category.
.category {
margin-top: 0;
margin-right: 0;
margin-bottom: 1.875rem;
@media (min-width: 768px) {
margin-bottom: 3.125rem;
}
margin-right: 12px;
color: $gray-700;
font-weight: 700;
letter-spacing: 0.2em;
}

// Category labels.
i.technology,
i.property,
i.concept {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
font-family: 'Font Awesome 5 Free';
font-weight: 900;
padding-right: 0.5em;
color: $gray-700;
}
i.technology:before {
content: '\f7d9';
}
i.property:before {
content: '\f1ad';
}
i.concept:before {
content: '\f0eb';
}
57 changes: 57 additions & 0 deletions assets/scss/_footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// footer.
footer {
min-height: unset;
background-color: $black;
color: #eee;
padding: 4rem 0 3rem;
a {
color: $primary;
font-weight: 600;
&:hover {
color: $primary;
text-decoration: none;
}
}
.brand img {
height: 40px;
}
small a {
color: #eee;
}
}

// social links.
.social-links {
text-align: center;
@media (min-width: 992px) {
text-align: right;
}
a {
padding: 10px;
display: block;
}
svg {
fill: $white;
color: $white;
height: 25px;
max-width: 30px;
&:hover {
color: $link-color;
fill: $link-color;
}
}
}

.horizontal-rule {
background-color: $white;
height: 1px;
width: 100%;
margin: 1rem 0;
}

.copyright {
text-align: center;
@media (min-width: 992px) {
text-align: left;
}
}
92 changes: 92 additions & 0 deletions assets/scss/_hamburger.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/**
* Hamburger Menu
* Based on https://github.com/jonsuh/hamburgers
*
*/

// Setup variables for the hamburger.
$hamburger-active-layer-color: $black;
$hamburger-layer-color: $black;
$hamburger-padding-x: 12px;
$hamburger-padding-y: 0px;
$hamburger-layer-width: 28px;
$hamburger-layer-height: 4px;
$hamburger-layer-spacing: 4px;
$hamburger-hover-opacity: 1;
$hamburger-active-hover-opacity: 1;

// Output the hamburger CSS
.hamburger {
padding: $hamburger-padding-y $hamburger-padding-x;
cursor: pointer;

transition-property: opacity, filter;
transition-duration: 0.15s;
transition-timing-function: linear;

// Normalize the <button>
font: inherit;
color: inherit;
text-transform: none;
background-color: transparent;
border: 0;
margin: 0;
overflow: visible;

margin-left: 20px;

&:hover {
opacity: $hamburger-hover-opacity;
}

// Hide Hamburger on Desktop up.
@media (min-width: 768px) {
display: none;
}
}

.hamburger-box {
width: $hamburger-layer-width;
height: $hamburger-layer-height * 3 + $hamburger-layer-spacing * 2;
display: inline-block;
position: relative;
perspective: $hamburger-layer-width * 2;
}

.hamburger-inner {
display: block;
top: 50%;
margin-top: calc($hamburger-layer-height / -2);
transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);

&,
&::before,
&::after {
width: $hamburger-layer-width;
height: 3px;
background-color: $hamburger-layer-color;
position: absolute;
transition-property: transform;
transition-duration: 0.15s;
transition-timing-function: ease;
}

&::before,
&::after {
content: '';
display: block;
transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

&::before {
top: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
}

&::after {
bottom: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
}
@media (prefers-reduced-motion: reduce) {
transition: none !important;
}
}
84 changes: 84 additions & 0 deletions assets/scss/_header.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
// Header navigation bar.
.td-navbar {
background: hsla(0, 0%, 99%, 0.98);
padding-left: 0;
padding-right: 0;
@media (min-width: 768px) {
min-height: 5rem;
margin-bottom: 3rem;
padding: 0;
}
&:after {
background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent);
content: '';
height: 20px;
position: absolute;
top: 100%;
width: 100%;
z-index: 1;
}

.navbar-brand {
@media (min-width: 768px) {
padding-top: 0.5rem;
padding-bottom: 0rem;
margin-left: 1rem;
}
.navbar-logo {
margin-bottom: 10px;
display: block;
svg {
height: 40px;
}
}
}

.td-navbar-nav-scroll {
margin-top: 0;
margin-left: -0.5rem;
margin-right: -0.5rem;
.navbar-nav {
padding-bottom: 0;
display: flex;
align-items: center;
align-content: center;
@media (max-width: 500px) {
padding-bottom: 0;
line-height: 3;
background-image: linear-gradient(to right, hsla(0, 0%, 99%, 0.98), hsla(0, 0%, 99%, 0.98)),
linear-gradient(to right, hsla(0, 0%, 99%, 0.98), hsla(0, 0%, 99%, 0.98)),
linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)),
linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));
background-position: left center, right center, left center, right center;
background-repeat: no-repeat;
background-color: hsla(0, 0%, 99%, 0.98);
background-size: 20px 100%, 20px 100%, 10px 100%, 10px 100%;
background-attachment: local, local, scroll, scroll;
}
.nav-item {
.nav-link {
font-weight: 600;
transition: color 0.25s ease-in;
@media (max-width: 500px) {
padding: 0 !important;
}
@media (min-width: 768px) {
letter-spacing: 0.02em;
}
}
// Topnav dropdown.
&.dropdown {
margin-left: 1rem;
.dropdown-item {
font-weight: 600;
&:hover,
&:focus {
color: $black;
text-decoration: none;
}
}
}
}
}
}
}
Loading

0 comments on commit a3a1bb0

Please sign in to comment.