Skip to content

Commit 763d1bd

Browse files
seokho-sonchalin
andauthored
Initial release of the Sign Language feature (#3406)
Signed-off-by: Seokho Son <[email protected]> Co-authored-by: Patrice Chalin <[email protected]>
1 parent 3fe28c8 commit 763d1bd

File tree

10 files changed

+57
-1
lines changed

10 files changed

+57
-1
lines changed

assets/scss/_styles_project.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
#cncf-logo {
2828
margin: 1rem 0;
2929
}
30+
31+
div.sign-language__video {
32+
padding-bottom: 1rem;
33+
}

content/en/auto-scaling.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ increasing the number of servers allowing for more video streaming and scaling b
2626

2727
* [Horizontal Scaling](/horizontal-scaling/)
2828
* [Vertical Scaling](/vertical-scaling/)
29+
30+
{{% sign-language-section cGONmC1smaM %}}

content/en/container.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ There are limitations, however.
2828
Since containers share the same operating system, processes can be considered less secure than alternatives.
2929
Containers also require limits on the shared resources.
3030
To guarantee resources, administrators must constrain and limit memory and CPU usage so that other applications do not perform poorly.
31+
32+
{{% sign-language-section meUtsFU7ndo %}}

content/en/reliability.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ From a cloud native perspective, reliability refers to how well a system respond
99
If we have a [distributed system](/distributed-systems/) that keeps working as infrastructure changes and individual components fail, it is reliable.
1010
On the other hand, if it fails easily and operators need to intervene manually to keep it running, it is unreliable.
1111
The goal of [cloud native applications](/cloud-native-apps/) is to build inherently reliable systems.
12+
13+
{{% sign-language-section pQluo2FG2eA %}}

content/en/serverless.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ Tasks such as operating system maintenance, security updates, load balancing, ca
3030

3131
Refer to the [Function-as-a-Service (FaaS)](/function-as-a-service/) glossary entry for more information.
3232
Although "serverless" and "FaaS" are often used as interchangeable terms, they embody distinct concepts.
33+
34+
{{% sign-language-section rbyBgXqCN2k %}}

content/en/service.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ In this definition, we'll focus on the more traditional one: service as in micro
1010
How or even if services differ from microservices is nuanced and different people may have different opinions.
1111
For a high-level definition, we'll treat them as the same.
1212
Please refer to the [microservices](/microservices-architecture/) definition.
13+
14+
{{% sign-language-section rE5OCe3upMo %}}

content/en/virtual-machine.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ VMs allow you to use your existing physical hardware resources better
3131
by placing multiple virtual machines on a single physical machine.
3232
Not bound to a particular physical machine, VMs are also more resilient than physical machines.
3333
When a physical machine needs to go offline,
34-
the VMs running on it can be moved to another machine with little to no downtime.
34+
the VMs running on it can be moved to another machine with little to no downtime.
35+
36+
{{% sign-language-section Fq-kda8kIHg %}}

i18n/en.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,14 @@ other = "Was this page helpful?"
8585
other = "Yes"
8686
[feedback_answer_no]
8787
other = "No"
88+
89+
# Sign language section
90+
[sign_language_header]
91+
other = "In sign language"
92+
[sign_language_info]
93+
other = """
94+
**Note**:
95+
While each country has its own sign language we,
96+
the [Deaf/Hoh Working Group](https://contribute.cncf.io/accessibility/deaf-and-hard-of-hearing/),
97+
aim to standardize signs for new cloud-native terms for global use.
98+
"""
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{{/*
2+
3+
Usage: {{% sign-language-section VIDEO_ID %}}
4+
5+
*/ -}}
6+
7+
{{ $youtube := "" -}}
8+
{{ $videoID := .Get 0 -}}
9+
{{ if $videoID -}}
10+
{{ $youtube = printf "{{< youtube id=\"%s?mute=1\" >}}" $videoID -}}
11+
{{ else -}}
12+
{{ $page := (and .Page.File .Page.File.Path) | default .Page.Title -}}
13+
{{ warnf "%s: Shortcode 'sign-language-section' requires a video ID as argument" $page -}}
14+
{{ end -}}
15+
16+
## {{ i18n "sign_language_header" }}
17+
18+
<div class="sign-language__video">
19+
{{ $.Page.RenderString $youtube }}
20+
</div>
21+
22+
{{ i18n "sign_language_info" }}

spellcheck.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,10 @@ matrix:
1717
ignores:
1818
- code
1919
- pre
20+
- pyspelling.filters.context:
21+
context_visible_first: true
22+
delimiters:
23+
- open: '{{<'
24+
close: '>}}'
25+
- open: '{{%'
26+
close: '%}}'

0 commit comments

Comments
 (0)