Skip to content

Commit 59d0c1b

Browse files
committed
Internationalize tooltip strings
1 parent 66e426d commit 59d0c1b

File tree

6 files changed

+31
-17
lines changed

6 files changed

+31
-17
lines changed

_i18n/en.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
meta:
22
description: Develop your 2D & 3D games, cross-platform projects, or even XR ideas!
33
header:
4+
godot_engine: Godot Engine
5+
main_menu: Main Menu
46
features: Features
57
showcase: Showcase
68
blog: Blog
79
community: Community
810
assets: Assets
11+
console_support: Console support
912
download: Download
1013
docs: Docs
1114
contribute: Contribute
12-
donate: Donate
1315
language: Language
14-
console_support: Console support
16+
donate: Donate
1517
footer:
1618
godot_engine: Godot Engine
1719
download: Download
@@ -39,16 +41,18 @@ footer:
3941
license: License
4042
privacy_policy: Privacy policy
4143
contact_us: Contact us
42-
text: "Juan Linietsky, Ariel Manzur and <a href='https://github.com/godotengine/godot/blob/master/AUTHORS.md' target='_blank' rel='noopener'>contributors</a>. Hosted by the <a href='https://godot.foundation/' target='_blank' rel='noopener'>Godot Foundation</a>. Website <a href='https://github.com/godotengine/godot-website' target='_blank' rel='noopener'>source code on GitHub</a>."
44+
text: "Juan Linietsky, Ariel Manzur and <a href='https://github.com/godotengine/godot/blob/master/AUTHORS.md' target='_blank' rel='noopener'>contributors</a>. Hosted by the <a href='https://godot.foundation/' target='_blank' rel='noopener'>Godot Foundation</a>. Website <a href='https://github.com/godotengine/godot-website' target='_blank' rel='noopener'>source code on GitHub</a>."
4345
sponsors:
4446
title: "Godot is sponsored by:"
4547
text: If you are interested in a corporate sponsorship, please write to <a href='mailto:[email protected]'>[email protected]</a>.<br>To donate as an individual, you can do so through the <a href='https://fund.godotengine.org/'>Godot Engine development fund</a>.
4648
cta: Donate
4749
home:
4850
h1: Your free, open&#8209;source<br>game engine.
4951
subtitle: Develop your 2D &amp; 3D games, cross-platform projects, or even XR ideas!
50-
whats_new: What's new
5152
download_latest: Download Latest
53+
download_latest_tooltip: Download the latest version of Godot 4
54+
whats_new: What's new
55+
whats_new_tooltip: See what's new in Godot
5256
looking_for: 'Looking for <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Download the long-term support version of Godot 3">Godot 3</a>, our <a href="/download/archive">experimental releases</a>, or a <a href="/download/archive">previous version</a>?'
5357
latest_news: Latest news
5458
more_news: More news
@@ -89,5 +93,6 @@ home:
8993
title: Report
9094
text: Found a problem with the engine? Don't forget to report it so that developers can track it down.
9195
foundation:
96+
logo: Godot Foundation logo
9297
text: "You don't need to be an engine developer to help Godot. Join the <a href='https://fund.godotengine.org/'>development fund</a> and help us make the Godot&nbsp;Engine even more awesome!"
9398
donate: Donate

_i18n/es.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ sponsors:
4747
home:
4848
h1: Tu motor de juegos gratuito<br> y de código abierto.
4949
subtitle: Desarrolla tus juegos 2D y 3D, proyectos multiplataforma o incluso XR
50-
whats_new: Novedades
5150
download_latest: Descargar Última Versión
51+
download_latest_tooltip: Descarga la última versión de Godot 4
52+
whats_new: Novedades
53+
whats_new_tooltip: Ver lo nuevo en Godot
5254
looking_for: '¿Buscas <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Descarga la versión de soporte a largo plazo de Godot 3">Godot 3</a>, nuestras <a href="/download/archive">versiones experimentales</a>, o una <a href="/download/archive">versión anterior</a>?'
5355
latest_news: Últimas noticias (en inglés)
5456
more_news: Más noticias

_i18n/fr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ sponsors:
4747
home:
4848
h1: Votre moteur de jeu gratuit et open&#8209;source.
4949
subtitle: Développez vos jeux en 2D et 3D, des projets cross-plateformes ou même des applications XR&nbsp;!
50-
whats_new: Nouveautés
5150
download_latest: Télécharger la dernière version
51+
download_latest_tooltip: Télécharger la dernière version de Godot 4
52+
whats_new: Nouveautés
53+
whats_new_tooltip: Voir les dernières nouveautés de Godot
5254
looking_for: 'Vous cherchez <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Téléchargez la version supportée à long terme de Godot 3">Godot 3</a>, des <a href="/download/archive">versions expérimentales</a> ou une <a href="/download/archive">ancienne version</a>&nbsp;?'
5355
latest_news: Dernières actualités (en anglais)
5456
more_news: Plus d'actualités

_i18n/ko.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
meta:
22
description: 2D 및 3D 게임, 크로스 플랫폼 프로젝트, 또는 XR 아이디어까지 개발하세요!
33
header:
4+
godot_engine: Godot 엔진
5+
main_menu: 주요 메뉴
46
features: 기능
57
showcase: 쇼케이스
68
blog: 블로그
79
community: 커뮤니티
810
assets: 애셋
11+
console_support: 콘솔 지원
912
download: 다운로드
1013
docs: 문서
1114
contribute: 기여
12-
donate: 기부
1315
language: 언어
14-
console_support: 콘솔 지원
16+
donate: 기부
1517
footer:
1618
godot_engine: Godot 엔진
1719
download: 다운로드
@@ -47,8 +49,10 @@ sponsors:
4749
home:
4850
h1: 자유 오픈 소스<br>게임 엔진.
4951
subtitle: 2D 및 3D 게임, 크로스 플랫폼 프로젝트, 또는 XR 아이디어까지 개발하세요!
50-
whats_new: 새로운 점
5152
download_latest: 최신 다운로드
53+
download_latest_tooltip: Godot 4의 최신 버전 다운로드
54+
whats_new: 새로운 기능
55+
whats_new_tooltip: Godot의 새로운 기능 보기
5256
looking_for: '<a href="/download/windows/" class="set-os-download-url" data-version="3" title="Godot 3의 장기 지원 버전 다운로드">Godot 3</a>, 우리의 <a href="/download/archive">실험적인 릴리스</a>, 또는 <a href="/download/archive">이전 버전</a>을 찾고 계십니까?'
5357
latest_news: 최신 뉴스
5458
more_news: 뉴스 더 보기
@@ -89,5 +93,6 @@ home:
8993
title: 보고
9094
text: 엔진에 문제를 찾았습니까? 개발자가 추적할 수 있도록 문제를 보고하는 것을 잊지 마세요.
9195
foundation:
92-
text: "Godot를 돕기 위해 엔진 개발자가 될 필요는 없습니다. <a href='https://fund.godotengine.org/'>개발 기금</a>에 가입하시고 Godot 엔진을 더욱 멋지게 만드는 데 도움을 주세요!"
96+
logo: Godot 재단 로고
97+
text: "Godot를 돕기 위해 엔진 개발자가 될 필요는 없습니다. <a href='https://fund.godotengine.org/'>개발 기금</a>에 가입하시고 Godot 엔진을 더욱 멋지게 만드는 데 우리를 도와주세요!"
9398
donate: 기부

_includes/header.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<div class="container flex align-center">
44
<div id="nav_head">
55
<a href="/" id="logo-link">
6-
<img class="nav-logo" src="/assets/logo.svg" width="136" height="48" alt="Godot Engine">
7-
<img class="nav-logo dark-logo" src="/assets/logo_dark.svg" width="136" height="48" alt="Godot Engine">
6+
<img class="nav-logo" src="/assets/logo.svg" width="136" height="48" alt="{% t header.godot_engine %}">
7+
<img class="nav-logo dark-logo" src="/assets/logo_dark.svg" width="136" height="48" alt="{% t header.godot_engine %}">
88
</a>
99
<div class="mobile-links">
10-
<span class="fund mobile"><a href="https://fund.godotengine.org"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 13px; fill: white; margin-right: 4px;"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"/></svg> Donate</a></span>
10+
<span class="fund mobile"><a href="https://fund.godotengine.org"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 13px; fill: white; margin-right: 4px;"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"/></svg> {% t header.donate %}</a></span>
1111
<label for="nav_toggle_cb" id="nav_toggle_btn">
12-
<img src="/assets/icons/hamburger.svg" width="24" height="24" alt="Main menu">
12+
<img src="/assets/icons/hamburger.svg" width="24" height="24" alt="{% t header.main_menu %}">
1313
</label>
1414
</div>
1515
</div>

pages/home.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,12 @@ <h1>{% t home.h1 %}</h1>
218218
<div class="main-download-links">
219219
<div class="main-download-links-buttons">
220220
<a href="/download/windows/" class="btn btn-download set-os-download-url" data-version="4"
221-
title="Download the latest version of Godot 4">
221+
title="{% t home.download_latest_tooltip %}">
222222
<div class="download-title">{% t home.download_latest %}</div>
223223
<div class="download-hint">{{ stable_version_4.name }}</div>
224224
</a>
225225
<a href="/releases/" class="btn btn-whats-new"
226-
title="See what's new in Godot">
226+
title="{% t home.whats_new_tooltip %}">
227227
<div class="download-title">{% t home.whats_new %}</div>
228228
</a>
229229
</div>
@@ -394,7 +394,7 @@ <h4>{%t home.get_involved.cards.report.title %}</h4>
394394
<section id="donations" class="padded">
395395
<div class="container sm-full">
396396
<a href="https://godot.foundation" target="_blank" style="display: inline-block;">
397-
<img id="foundation_graphic" src="/assets/home/foundation/godot-foundation-logo-dark.svg" alt="Godot Foundation logo" width="1" height="1"
397+
<img id="foundation_graphic" src="/assets/home/foundation/godot-foundation-logo-dark.svg" alt="{%t home.foundation.logo %}" width="1" height="1"
398398
class="img-auto-size" loading="lazy">
399399
</a>
400400
<p class="small auto-margin">{%t home.foundation.text %}</p>

0 commit comments

Comments
 (0)