Skip to content

Commit 9a03156

Browse files
committed
Translate components/Waifu to pt-BR
1 parent 4b699dd commit 9a03156

3 files changed

Lines changed: 25 additions & 23 deletions

File tree

i18n/en-US/components/Waifu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
title: "Nulla-Chan"
22
description: "Nullstack's official waifu"
3+
tagline: "Nullstack's official waifu"
34
attributes:
45
- label: "🕐 Age"
56
value: "19"

i18n/pt-BR/components/Waifu.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
title: "Nulla-Chan"
2-
description: "Nullstack's official waifu"
3-
tagline: "Nullstack's official waifu"
2+
description: "Waifu oficial do Nullstack"
3+
tagline: "Waifu oficial do Nullstack"
44
attributes:
5-
- label: "🕐 Age"
5+
- label: "🕐 Idade"
66
value: "19"
7-
- label: "Sign"
8-
value: "Aquarius"
9-
- label: "🎂 Birthday"
10-
value: "January 28"
11-
- label: "💖 Blood Type"
7+
- label: "Signo"
8+
value: "Aquário"
9+
- label: "🎂 Aniversário"
10+
value: "28 de Janeiro"
11+
- label: "💖 Tipo Sanguíneo"
1212
value: "A"
13-
- label: "📏 Height"
14-
value: "1.55m"
15-
- label: "🍨 Fav Food"
16-
value: "Anything vanilla flavored"
13+
- label: "📏 Altura"
14+
value: "1,55m"
15+
- label: "🍨 Comida Favorita"
16+
value: "Qualquer coisa com sabor de baunilha"
1717
- label: "🧩 Hobby"
18-
value: "Reinventing Wheels"
19-
- label: "🧠 Neurodivergences"
20-
value: "ASD and ADHD"
18+
value: "Reinventar Rodas"
19+
- label: "🧠 Neurodivergências"
20+
value: "ASD e ADHD"
2121
artist:
22-
label: "🎨 Created by:"
22+
label: "🎨 Criada por:"
2323
href: "https://www.instagram.com/biancazanette"
2424
text: "Bilkaya"
2525
concept:
26-
label: "Check out the"
26+
label: "Confira o"
2727
href: "https://www.artstation.com/artwork/Vg4o6R"
28-
text: "Character Concept"
28+
text: "Conceito da Personagem"
2929
descriptions:
30-
- "A sweet and shy perfect waifu, is always hyperfocused in her studies but somehow distracted at the same time."
31-
- "She is always cheerful... until she has to face glue code or sees a post telling her which tech she should use."
30+
- "Uma doce e tímida waifu perfeita, está sempre hiperfocada em seus estudos, mas de alguma forma distraída ao mesmo tempo."
31+
- "Está sempre alegre... até que ela tenha que enfrentar código grudento ou ver um post dizendo que tecnologia ela deve usar."

src/Footer.njs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ class Footer extends Translatable {
1010
</a>
1111
)
1212
}
13-
14-
render() {
13+
14+
render({locale}) {
1515
if(!this.i18n) return false;
16+
const localUrl = locale !== "en-US" ? `/${locale.toLowerCase()}` : "";
1617
return (
1718
<footer class="xx m20t">
1819
<div class="x xr md+bcm2t yy md+p10y prtl">
19-
<a href="/waifu">
20+
<a href={`${localUrl}/waifu`}>
2021
<img
2122
src="/nullachan.png"
2223
alt={this.i18n.nullachan.alt}

0 commit comments

Comments
 (0)