Skip to content

Commit 46d3118

Browse files
authored
Merge pull request #1408 from OnexiMedina/fixSearchBarWebsiteHomePage
Fixed Homepage Search Bar Translation to display correct text based on selected language
2 parents 473f280 + 45b5703 commit 46d3118

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

src/data/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tagline5: Processing community times JavaScript community
3333
tagline6: the power of Processing times the reach of JavaScript
3434
tagline7: The p5.js community stands in solidarity with Black Lives Matter.
3535
home:
36+
search-bar: Search p5js.org
3637
start-creating: Start creating with the p5 Editor!
3738
p1xh1: Hello!
3839
p1x1: >-

src/data/es.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tagline5: la comunidad de Processing x la comunidad de JavaScript
3333
tagline6: el poder de procesamiento de Processing x el alcance de JavaScript
3434
tagline7: La comunidad de p5.jS se solidariza con Black Lives Matter.
3535
home:
36+
search-bar: Buscar en p5js.org
3637
start-creating: ¡Empieza a crear con el Editor de p5!
3738
p1xh1: ¡Hola!
3839
p1x1: >-

src/data/hi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tagline5: प्रोसेसिंग का समुदाय गुणा
3333
tagline6: प्रोसेसिंग की शक्ति गुणा जावास्क्रिप्ट की पहुंच
3434
tagline7: The p5.js community stands in solidarity with Black Lives Matter.
3535
home:
36+
search-bar: p5js.org खोजें
3637
start-creating: P5 संपादक के साथ बनाना शुरू करें!
3738
p1xh1: नमस्ते!
3839
p1x1: >-

src/data/it.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ tagline5: la community di Processing x la community di JavaScript
2727
tagline6: il potere di Processing x la portata di JavaScript
2828
tagline7: La p5.js community esprime solidarietà con il movimento Black Lives Matter.
2929
home:
30+
search-bar: Cerca su p5js.org
3031
blmnamelistending: 'e tanti altri, troppi da elencare qui...'
3132
blmstatement1: >-
3233
Questo sito è attualmente offline, come piccolo segno di rispetto e di

src/data/ko.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tagline5: 프로세싱 커뮤니티에 자바스크립트 커뮤니티를 곱하
3333
tagline6: 프로세싱의 강력함에 자바스크립트의 범용성을 곱하다*
3434
tagline7: p5.js 커뮤니티는 Black Lives Matter와 연대합니다.
3535
home:
36+
search-bar: p5js.org 검색
3637
start-creating: p5 에디터로 프로젝트 시작하기
3738
p1xh1: 안녕하세요!
3839
p1x1: >-

src/data/zh-Hans.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tagline5: Processing 的社群结合 JavaScript 的社群
3333
tagline6: Processing 的力量结合 JavaScript 的范围
3434
tagline7: P5.js 社区与 Black Lives Matter 站在一起,表达团结和支持。
3535
home:
36+
search-bar: 搜寻 p5js.org
3637
start-creating: 使用 p5 编辑器开始创作!
3738
p1xh1: 你好!
3839
p1x1: >-

src/templates/pages/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ slug: /
1010
<form id="search" method="get" action="https://www.google.com/search">
1111
<input type="hidden" name="as_sitesearch" value="p5js.org">
1212
<input id="search_button" type="submit" aria-label="Search" class='sr-only'>
13-
<input id='search_field' type="text" size="20" placeholder="Search p5js.org" name="q">
13+
<input id='search_field' type="text" size="20" placeholder="{{#i18n "search-bar"}}{{/i18n}}" name="q">
1414
<label class="sr-only" for="search_field">Search p5js.org</label>
1515
</form>
1616

0 commit comments

Comments
 (0)