Skip to content

Commit

Permalink
developer header updates (#116)
Browse files Browse the repository at this point in the history
* fix: link and order

* feat: add cookbook to dev header

* Remove duplicate entry for `en` lang

* Add appropriate translations.

---------

Co-authored-by: Catalin Rosu <[email protected]>
  • Loading branch information
nickfrosty and catalinred authored Nov 23, 2024
1 parent eb142b2 commit 86475ed
Show file tree
Hide file tree
Showing 21 changed files with 98 additions and 8 deletions.
4 changes: 4 additions & 0 deletions public/locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "وثائق مكتبة برامج سولانا",
"description": "الوثائق الرسمية لمكتبة برامج سولانا."
},
"cookbook": {
"title": "Cookbook",
"description": "قصاصات وأمثلة كود قابلة للنسخ لتطبيقات سولانا."
},
"resources": {
"title": "المصادر",
"description": "أدوات تطوير واسعة للبناء على سولانا."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Solana Program Library Dokumentation",
"description": "Offizielle Dokumentation für die Solana Program Library."
},
"cookbook": {
"title": "Cookbook",
"description": "Code-Snippets und kopierbarer Beispielcode für Solana-Anwendungen."
},
"resources": {
"title": "Ressourcen",
"description": "Umfassende Entwicklerwerkzeuge für die Entwicklung auf Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/el/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Τεκμηρίωση Βιβλιοθήκης Προγραμμάτων Solana",
"description": "Επίσημη τεκμηρίωση της Βιβλιοθήκης Προγραμμάτων Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Αποσπάσματα και αντιγράψιμος κώδικας παραδείγματος για εφαρμογές Solana."
},
"resources": {
"title": "Πόροι",
"description": "Εκτεταμένα εργαλεία προγραμματιστών για τη δημιουργία στο Solana."
Expand Down
6 changes: 5 additions & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Solana Program Library Documentation",
"description": "Official docs the Solana Program Library."
},
"cookbook": {
"title": "Cookbook",
"description": "Snippets and copyable example code for Solana applications."
},
"resources": {
"title": "Resources",
"description": "Extensive developer tooling for building on Solana."
Expand All @@ -810,7 +814,7 @@
"hello-world": "Hello World",
"bootcamp": "Bootcamp",
"evm-to-svm": "EVM to SVM",
"local-setup": "Local Setup"
"local-setup": "Installation"
}
},
"solutions": {
Expand Down
4 changes: 4 additions & 0 deletions public/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Documentación de la Biblioteca de Programas de Solana",
"description": "Documentos oficiales de la Biblioteca de Programas de Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Fragmentos de código y ejemplos copiables para aplicaciones de Solana."
},
"resources": {
"title": "Recursos",
"description": "Amplio conjunto de herramientas para desarrolladores para construir en Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/fi/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Solana-ohjelmakirjaston dokumentaatio",
"description": "Viralliset dokumentit Solana-ohjelmakirjastolle."
},
"cookbook": {
"title": "Cookbook",
"description": "Koodinpätkiä ja kopioitavaa esimerkkikoodia Solana-sovelluksille."
},
"resources": {
"title": "Resurssit",
"description": "Laajat kehittäjätyökalut Solanalle rakentamiseen."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Documentation de la bibliothèque de programmes Solana",
"description": "Documentation officielle de la bibliothèque de programmes Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Extraits de code et exemples copiables pour les applications Solana."
},
"resources": {
"title": "Ressources",
"description": "Outils de développement étendus pour construire sur Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/hi/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "सोलाना प्रोग्राम लाइब्रेरी दस्तावेज़ीकरण",
"description": "सोलाना प्रोग्राम लाइब्रेरी के लिए आधिकारिक दस्तावेज़।"
},
"cookbook": {
"title": "Cookbook",
"description": "सोलाना एप्लिकेशन के लिए स्निपेट्स और कॉपी करने योग्य उदाहरण कोड।"
},
"resources": {
"title": "संसाधन",
"description": "सोलाना पर निर्माण के लिए व्यापक डेवलपर टूलिंग।"
Expand Down
4 changes: 4 additions & 0 deletions public/locales/id/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Dokumentasi Perpustakaan Program Solana",
"description": "Dokumentasi resmi Perpustakaan Program Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Potongan kode dan contoh kode yang dapat disalin untuk aplikasi Solana."
},
"resources": {
"title": "Sumber Daya",
"description": "Alat pengembang yang luas untuk membangun di Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/it/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Documentazione della Solana Program Library",
"description": "Documentazione ufficiale della Solana Program Library."
},
"cookbook": {
"title": "Cookbook",
"description": "Frammenti di codice ed esempi copiabili per applicazioni Solana."
},
"resources": {
"title": "Risorse",
"description": "Strumenti estesi per sviluppatori per costruire su Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/ja/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Solanaプログラムライブラリドキュメント",
"description": "Solanaプログラムライブラリの公式ドキュメント。"
},
"cookbook": {
"title": "Cookbook",
"description": "Solanaアプリケーション用のスニペットとコピー可能なサンプルコード。"
},
"resources": {
"title": "リソース",
"description": "Solana上での開発のための広範な開発者ツール。"
Expand Down
4 changes: 4 additions & 0 deletions public/locales/ko/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "솔라나 프로그램 라이브러리 문서",
"description": "솔라나 프로그램 라이브러리의 공식 문서."
},
"cookbook": {
"title": "Cookbook",
"description": "Snippets and copyable example code for Solana applications."
},
"resources": {
"title": "자원",
"description": "솔라나에서 빌드하기 위한 광범위한 개발자 도구."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/nl/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Solana Programma Bibliotheek Documentatie",
"description": "Officiële documentatie van de Solana Programma Bibliotheek."
},
"cookbook": {
"title": "Cookbook",
"description": "Codefragmenten en kopieerbare voorbeeldcode voor Solana-applicaties."
},
"resources": {
"title": "Middelen",
"description": "Uitgebreide ontwikkelaarstools voor het bouwen op Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/pl/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Dokumentacja Biblioteki Programów Solany",
"description": "Oficjalna dokumentacja Biblioteki Programów Solany."
},
"cookbook": {
"title": "Cookbook",
"description": "Fragmenty kodu i przykłady do skopiowania dla aplikacji Solana."
},
"resources": {
"title": "Zasoby",
"description": "Obszerne narzędzia dla deweloperów do budowania na Solanie."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/pt/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Documentação da Biblioteca de Programas Solana",
"description": "Documentação oficial da Biblioteca de Programas Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Trechos de código e exemplos copiáveis para aplicações Solana."
},
"resources": {
"title": "Recursos",
"description": "Ferramentas extensivas para desenvolvedores construírem na Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/ru/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Документация библиотеки программ Solana",
"description": "Официальная документация библиотеки программ Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Фрагменты кода и копируемые примеры для приложений Solana."
},
"resources": {
"title": "Ресурсы",
"description": "Обширные инструменты для разработчиков для создания на Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/tr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Solana Program Kütüphanesi Belgeleri",
"description": "Solana Program Kütüphanesi için resmi belgeler."
},
"cookbook": {
"title": "Cookbook",
"description": "Solana uygulamaları için kod parçacıkları ve kopyalanabilir örnek kodlar."
},
"resources": {
"title": "Kaynaklar",
"description": "Solana üzerinde inşa etmek için kapsamlı geliştirici araçları."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/uk/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Документація бібліотеки програм Solana",
"description": "Офіційна документація бібліотеки програм Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Фрагменти коду та приклади для копіювання для додатків Solana."
},
"resources": {
"title": "Ресурси",
"description": "Широкий набір інструментів для розробників для створення на Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/vi/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Tài liệu Thư viện Chương trình Solana",
"description": "Tài liệu chính thức của Thư viện Chương trình Solana."
},
"cookbook": {
"title": "Cookbook",
"description": "Các đoạn mã và mã ví dụ có thể sao chép cho các ứng dụng Solana."
},
"resources": {
"title": "Tài nguyên",
"description": "Công cụ phát triển phong phú để xây dựng trên Solana."
Expand Down
4 changes: 4 additions & 0 deletions public/locales/zh/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,10 @@
"title": "Solana 程序库文档",
"description": "Solana 程序库的官方文档。"
},
"cookbook": {
"title": "Cookbook",
"description": "Solana 应用程序的代码片段和可复制的示例代码。"
},
"resources": {
"title": "资源",
"description": "用于在 Solana 上构建的广泛开发工具。"
Expand Down
24 changes: 17 additions & 7 deletions src/components/header/HeaderListBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,34 @@ const HeaderListBuild = () => {
{t("nav.developers.items.docs.description")}
</Link>
<Link
to="/developers/resources"
to="/developers/courses"
className="nav-link nav-link--secondary"
activeClassName="active"
>
<strong className="d-block text-white">
{t("nav.developers.items.resources.title")}
{t("nav.developers.items.courses.title")}
</strong>
{t("nav.developers.items.resources.description")}
{t("nav.developers.items.courses.description")}
</Link>
<Link
to="/developers/courses"
to="/developers/cookbook"
className="nav-link nav-link--secondary"
activeClassName="active"
>
<strong className="d-block text-white">
{t("nav.developers.items.courses.title")}
{t("nav.developers.items.cookbook.title")}
</strong>
{t("nav.developers.items.courses.description")}
{t("nav.developers.items.cookbook.description")}
</Link>
<Link
to="/developers/resources"
className="nav-link nav-link--secondary"
activeClassName="active"
>
<strong className="d-block text-white">
{t("nav.developers.items.resources.title")}
</strong>
{t("nav.developers.items.resources.description")}
</Link>
</div>
</div>
Expand All @@ -74,7 +84,7 @@ const HeaderListBuild = () => {
{t("nav.developers.tutorials.hello-world")}
</Link>
<Link
to="/developers/guides/getstarted/setup-local-development"
to="/docs/intro/installation"
className="nav-link nav-link--secondary text-white d-block text-white fw-bold"
activeClassName="active font-weight-bold"
>
Expand Down

0 comments on commit 86475ed

Please sign in to comment.