diff --git a/README.md b/README.md index 66dce4ab..4ba6869f 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Installing dependencies on older Ubuntu and Debian distributions ### Import translations -**Update translations**: You can overwrite each language files in _translations by their updated version from Transifex. You should make sure that each .html files (in _layouts, _templates and _redirects) don't serve outdated content for those languages. You should also make sure that no url has been changed by translators. +**Update translations**: You can overwrite each language files in _translations by their updated version from Transifex. You should make sure that each .html files (in _layouts, _templates) don't serve outdated content for those languages. You should also make sure that no url has been changed by translators. If one page has been replaced or moved, a redirection can be added in _config.yml. **Add a new language**: You can put the language file from Transifex in _translations and add the language in _config.yml in the right display order for the language bar. Make sure to review all pages and check all links. diff --git a/_config.yml b/_config.yml index 1fe0627d..6eeb1279 100644 --- a/_config.yml +++ b/_config.yml @@ -32,6 +32,33 @@ langs: zh_CN: 简体中文 zh_TW: 繁體中文 +redirects: + /news: /en/version-history + /clients: /en/choose-your-wallet + /about: /en/faq + /de/ueber: /de/faq + /en/about: /en/faq + /es/acerca-de: /es/faq + /fr/a-propos: /fr/faq + /ru/описание: /ru/faq + /ar/بت-كوين-للهواة: /ar/innovation + /de/bitcoin-fuer-enthusiasten: /de/innovation + /en/bitcoin-for-enthusiasts: /en/innovation + /es/bitcoin-para-entusiastas: /es/innovacion + /fa/بیت-کوین-برای-علاقه-مندان: /fa/innovation + /fr/bitcoin-pour-passionnes: /fr/innovation + /it/bitcoin-per-appassionati: /it/innovazione + /nl/bitcoin-voor-liefhebbers: /nl/innovatie + /pl/bitcoin-dla-entuzjastow: /pl/innowacje + /ru/биткоин-энтузиастам: /ru/innovation + /en/bitcoin-for-press: /en/press + +aliases: + s_nakamoto: Satoshi Nakamoto + --author=Satoshi Nakamoto: Satoshi Nakamoto + gavinandresen: Gavin Andresen + tcatm: Nils Schneider + safe: false auto: false server: false @@ -72,9 +99,3 @@ kramdown: coderay_tab_width: 4 coderay_bold_every: 10 coderay_css: style - -aliases: - s_nakamoto: Satoshi Nakamoto - --author=Satoshi Nakamoto: Satoshi Nakamoto - gavinandresen: Gavin Andresen - tcatm: Nils Schneider diff --git a/_layouts/base.html b/_layouts/base.html index 43abfcd1..7fa95f95 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,17 +1,3 @@ ---- -menufor: -- id: bitcoin-for-individuals -- id: bitcoin-for-businesses -- id: bitcoin-for-developers -- id: bitcoin-for-enthusiasts -menu: -- id: how-it-works -- id: vocabulary -- id: resources -- id: community -- id: development -- id: about ----
@@ -68,10 +54,7 @@ if(typeof(legacyIE)==='undefined'){{% translate historytxt1 %}
-{% translate historytxt2 %}
-{% translate historytxt3 %}
-{% translate historytxt4 %}
- -{% translate technicalintro %}
-{% translate economicsintro %}
-{% translate statsintro %}
-{% translate summary %}
- -{% translate consensustext %}
- -{% translate networktext %}
- -{% translate freedomtext %}
- -{% translate globaltext %}
- -{% translate transparencytext %}
- -{% translate securetext %}
- -{% translate trusttext %}
diff --git a/_templates/faq.html b/_templates/faq.html index 049486c5..f9c5af1d 100755 --- a/_templates/faq.html +++ b/_templates/faq.html @@ -2,6 +2,49 @@ layout: base id: faq --- + +{% case page.lang %} +{% when 'ar' or 'es' or 'fa' or 'id' or 'it' or 'nl' or 'pl' or 'tr' or 'zh_CN' or 'zh_TW' %} + +{% translate historytxt1 %}
+{% translate historytxt2 %}
+{% translate historytxt3 %}
+{% translate historytxt4 %}
+ +{% translate technicalintro %}
+{% translate economicsintro %}
+{% translate statsintro %}
+{% translate summary %}
@@ -284,3 +327,5 @@ id: faq{% translate morehelptxt1 %}
+ +{% endcase %} diff --git a/_translations/ar.yml b/_translations/ar.yml index fa7581f0..1b50029d 100644 --- a/_translations/ar.yml +++ b/_translations/ar.yml @@ -1,5 +1,5 @@ ar: - about: + faq: title: "عن - بت كوين" pagetitle: "عن ألبت كوين" history: "نبذة تاريخية" @@ -65,7 +65,7 @@ ar: instanttext: "عادة معاملات ألبت كوين يتم إستلامها بغضون ثواني قليلة و يتم تأكيدها خلال 10 دقائق. قبل هذا, عملية ألدفع ممكن إعتبارها موثّقة لكن قابلة للعكس. إذا كنت تتطلب بشدة عمليات دفع فورية, من ألمفضل أن تسأل لرسوم نقل بسيطة و تستخدم نظام لكشف ألدفع ألمزدوج." micro: "مدفوعات مصغرة رخيصة" microtext: "ألبت كوين يوفر أقل رسوم لمعالجة ألمدفوعات لأي نوع من عمليات ألتبادل, بضمنها ألمدفوعات ألمصغرة. معنى ذلك أنه ممكن أيضا إستخدامها لتصميم و إنجاز خدمات مبدعة جديدة على ألإنترنت لم تكن ممكنة قبلا لمجرد سبب حدود ألتمويل." - bitcoin-for-enthusiasts: + innovation: title: "بت كوين للهواة" pagetitle: "بت كوين للهواة" summary: "يقوم ألبت كوين ألأن بتغيير عالم ألتمويل, عن طريق منحك قدرة ألتحكم بنقودك." @@ -435,7 +435,7 @@ ar: menu-bitcoin-for-individuals: "أفراد" menu-bitcoin-for-businesses: "أعمال" menu-bitcoin-for-developers: "مطورين" - menu-bitcoin-for-enthusiasts: "هواة" + menu-innovation: "ابتكار" menu-bitcoin-for-press: "" menu-how-it-works: "كيف يعمل" menu-vocabulary: "مفردات" @@ -444,14 +444,14 @@ ar: menu-development: "تطوير" menu-support-bitcoin: "شارك" menu-foundation: "مؤسسة" - menu-about: "عن" + menu-faq: "عن" menu-choose-your-wallet: "إختر محفظتك" menu-you-need-to-know: "تحتاج أن تعلم" footer: "Released under the MIT license" url: - about: "عن" + faq: "عن" bitcoin-for-developers: "بت-كوين-للمطورين" - bitcoin-for-enthusiasts: "بت-كوين-للهواة" + innovation: innovation bitcoin-for-individuals: "بت-كوين-للأفراد" bitcoin-for-businesses: "بت-كوين-للأعمال" bitcoin-for-press: "" diff --git a/_translations/bg.yml b/_translations/bg.yml index 9a0e2f3b..6b5dab30 100644 --- a/_translations/bg.yml +++ b/_translations/bg.yml @@ -557,10 +557,8 @@ bg: footer: "разпространен под лиценза на Масачузетския технологичен институт" getstarted: "Първи стъпки в Биткойн" url: - about: about about-us: about-us bitcoin-for-developers: bitcoin-for-developers - bitcoin-for-enthusiasts: bitcoin-for-enthusiasts bitcoin-for-individuals: bitcoin-for-individuals bitcoin-for-businesses: bitcoin-for-businesses choose-your-wallet: choose-your-wallet diff --git a/_translations/de.yml b/_translations/de.yml index 6703b2c1..681324f2 100644 --- a/_translations/de.yml +++ b/_translations/de.yml @@ -557,10 +557,8 @@ de: footer: "Veröffentlicht unter der MIT Lizenz" getstarted: "Legen Sie los mit Bitcoin" url: - about: ueber about-us: ueber-uns bitcoin-for-developers: bitcoin-fuer-entwickler - bitcoin-for-enthusiasts: bitcoin-fuer-enthusiasten bitcoin-for-individuals: bitcoin-fuer-einzelpersonen bitcoin-for-businesses: bitcoin-fuer-unternehmen choose-your-wallet: waehlen-sie-ihre-wallet diff --git a/_translations/en.yml b/_translations/en.yml index 4bd8fe3f..fe0d9ff7 100644 --- a/_translations/en.yml +++ b/_translations/en.yml @@ -561,10 +561,8 @@ en: footer: "Released under the MIT license" getstarted: "Get started with Bitcoin" url: - about: about about-us: about-us bitcoin-for-developers: bitcoin-for-developers - bitcoin-for-enthusiasts: bitcoin-for-enthusiasts bitcoin-for-individuals: bitcoin-for-individuals bitcoin-for-businesses: bitcoin-for-businesses choose-your-wallet: choose-your-wallet diff --git a/_translations/fa.yml b/_translations/fa.yml index cffc810c..1244fa3b 100644 --- a/_translations/fa.yml +++ b/_translations/fa.yml @@ -1,5 +1,5 @@ fa: - about: + faq: title: "درباره - بیت کوین" pagetitle: "درباره-بیت-کوین" history: "کمی از تاریخچه" @@ -65,7 +65,7 @@ fa: instanttext: "یک تراکنش بیت کوین معمولاً در چند ثانیه می رسد و در حدود 10 دقیقه تایید می شود. قبل از آن ، تراکنش می تواند موفق اما قابل بازگشت در نظر گرفته شود. اگر واقعاً به تراکنش های مستقیم نیاز دارید ، پیشنهاد می شود که یک هزینه ی کم تراکنش درخواست کرده و از یک سیستم تشخیض پرداخت دوباره یا به عبارتی تکراری استفاده کنید." micro: "پرداخت های خرد ارزان" microtext: "بیت کوین پایین ترین هزینه های پردازش پرداخت را برای هر نوع از تراکنش ارائه می دهد ، که شامل پرداخت های مایکرو یا خرد هم می شود. این به معنای این است که می تواند برای طراحی و پیاده سازی سرویس های آنلاین سازنده ی جدیدی که قبلاً به دلیل محدودیت های مالی نمی توانستند وجود داشته باشند ، استفاده شود." - bitcoin-for-enthusiasts: + innovation: title: "بیت کوین برای علاقه مندان - بیت کوین" pagetitle: "بیت کوین برای علاقه مندان" summary: "بیت کوین با دادن قابلیت کنترل روی پولتان به شما، در حال تغییر دنیای سرمایه گذاری است." @@ -340,8 +340,8 @@ fa: menu-bitcoin-for-individuals: افراد menu-bitcoin-for-businesses: کسب و کارها menu-bitcoin-for-developers: توسعه دهندگان - menu-bitcoin-for-enthusiasts: علاقه مندان menu-bitcoin-for-press: + menu-innovation: بدعت menu-how-it-works: "چگونه کار می کند" menu-vocabulary: واژگان menu-resources: منابع @@ -349,14 +349,14 @@ fa: menu-development: توسعه menu-support-bitcoin: شرکت کردن menu-foundation: بنیاد - menu-about: درباره + menu-faq: درباره menu-choose-your-wallet: "انتخاب کیف پول" menu-you-need-to-know: "آن چه باید بدانید" footer: "منتشر شده تحت MIT گواهینامه" url: - about: درباره + faq: درباره bitcoin-for-developers: بیت-کوین-برای-توسعه-دهندگان - bitcoin-for-enthusiasts: بیت-کوین-برای-علاقه-مندان + innovation: innovation bitcoin-for-individuals: بیت-کوین-برای-افراد bitcoin-for-businesses: بیت-کوین-برای-کسب-و-کار bitcoin-for-press: diff --git a/_translations/fr.yml b/_translations/fr.yml index 32fac66b..3192c9aa 100644 --- a/_translations/fr.yml +++ b/_translations/fr.yml @@ -560,10 +560,8 @@ fr: footer: "Publié sous la licence MIT" getstarted: "Débuter avec Bitcoin" url: - about: a-propos about-us: a-propos-de-nous bitcoin-for-developers: bitcoin-pour-developpeurs - bitcoin-for-enthusiasts: bitcoin-pour-passionnes bitcoin-for-individuals: bitcoin-pour-particuliers bitcoin-for-businesses: bitcoin-pour-entreprises choose-your-wallet: choisir-votre-porte-monnaie diff --git a/_translations/id.yml b/_translations/id.yml index 183f490f..1922a76e 100644 --- a/_translations/id.yml +++ b/_translations/id.yml @@ -382,7 +382,6 @@ id: url: about-us: mengenai-kami bitcoin-for-developers: bitcoin-untuk-para-pengembang - bitcoin-for-enthusiasts: bitcoin-untuk-penggemar bitcoin-for-individuals: bitcoin-untuk-perorangan bitcoin-for-businesses: bitcoin-untuk-bisnis choose-your-wallet: pilih-dompet-anda diff --git a/_translations/it.yml b/_translations/it.yml index d59c9607..72c8b5f1 100644 --- a/_translations/it.yml +++ b/_translations/it.yml @@ -1,5 +1,5 @@ it: - about: + faq: title: "A proposito - Bitcoin" pagetitle: "A proposito di Bitcoin" history: "Un po' di storia" @@ -391,7 +391,7 @@ it: blockchain: la Blockchain blockchaintxt: (un registro delle transazioni pubblico e condiviso) layout: - menu-about: A proposito + menu-faq: A proposito menu-about-us: "A proposito di Bitcoin" menu-bitcoin-for-businesses: Imprese menu-bitcoin-for-developers: Sviluppatori @@ -411,10 +411,9 @@ it: footer: "Rilasciato sotto licenza MIT" getstarted: "Come iniziare con Bitcoin" url: - about: a-proposito + faq: a-proposito about-us: chi-siamo bitcoin-for-developers: bitcoin-per-sviluppatori - bitcoin-for-enthusiasts: bitcoin-per-appassionati bitcoin-for-individuals: bitcoin-per-privati bitcoin-for-businesses: bitcoin-per-imprese choose-your-wallet: scegli-il-tuo-portafoglio diff --git a/_translations/nl.yml b/_translations/nl.yml index 9046dfa5..b4b7c326 100644 --- a/_translations/nl.yml +++ b/_translations/nl.yml @@ -1,5 +1,5 @@ nl: - about: + faq: title: "Over Bitcoin - Bitcoin" pagetitle: "Over Bitcoin" history: "Eerst wat geschiedenis" @@ -391,7 +391,7 @@ nl: blockchain: de blokketen blockchaintxt: (een gedeelde, openbare transactiegeschiedenis) layout: - menu-about: "Over Bitcoin" + menu-faq: "Over Bitcoin" menu-about-us: "Over bitcoin.org" menu-bitcoin-for-businesses: Bedrijven menu-bitcoin-for-developers: Ontwikkelaars @@ -411,10 +411,9 @@ nl: footer: "Beschikbaar onder de MIT-licentie" getstarted: "Ga aan de slag met Bitcoin" url: - about: over-bitcoin + faq: over-bitcoin about-us: over-ons bitcoin-for-developers: bitcoin-voor-ontwikkelaars - bitcoin-for-enthusiasts: bitcoin-voor-liefhebbers bitcoin-for-individuals: bitcoin-voor-particulieren bitcoin-for-businesses: bitcoin-voor-bedrijven choose-your-wallet: kies-uw-portemonnee diff --git a/_translations/pl.yml b/_translations/pl.yml index ca904f81..93451d19 100644 --- a/_translations/pl.yml +++ b/_translations/pl.yml @@ -1,5 +1,5 @@ pl: - about: + faq: title: "O Bitcoin" pagetitle: "O Bitcoin" history: "Kawałek historii" @@ -384,16 +384,15 @@ pl: menu-innovation: Innowacje menu-support-bitcoin: Uczestniczyć menu-foundation: Fundacja - menu-about: O bitcoinie + menu-faq: O bitcoinie menu-about-us: "O bitcoin.org" menu-choose-your-wallet: "Wybierz swój portfel" menu-you-need-to-know: "Powinieneś wiedzieć" footer: "Dostępny w ramach licencji MIT" url: - about: o + faq: o about-us: o-nas bitcoin-for-developers: bitcoin-dla-deweloperow - bitcoin-for-enthusiasts: bitcoin-dla-entuzjastow bitcoin-for-individuals: bitcoin-dla-osob-fizycznych bitcoin-for-businesses: bitcoin-dla-biznesu bitcoin-for-press: diff --git a/_translations/ru.yml b/_translations/ru.yml index ff347f01..e29e97d7 100644 --- a/_translations/ru.yml +++ b/_translations/ru.yml @@ -557,10 +557,8 @@ ru: footer: "Программное обеспечение распространяется под лицензией MIT" getstarted: "Начало работы с Биткоин" url: - about: описание about-us: about-us bitcoin-for-developers: биткоин-разработчикам - bitcoin-for-enthusiasts: биткоин-энтузиастам bitcoin-for-individuals: биткоин-частным-лицам bitcoin-for-businesses: биткоин-бизнесу choose-your-wallet: выберите-свой-кошелек diff --git a/_translations/tr.yml b/_translations/tr.yml index e2b735b1..4c30459d 100644 --- a/_translations/tr.yml +++ b/_translations/tr.yml @@ -1,5 +1,5 @@ tr: - about: + faq: title: "Hakkında - Bitcoin" pagetitle: "Bitcoin Hakkında" history: "Biraz tarih" @@ -391,7 +391,7 @@ tr: blockchain: Blok zinciri blockchaintxt: (paylaşılan halka açık işlem günlüğü) layout: - menu-about: Hakkında + menu-faq: Hakkında menu-about-us: "Bitcoin.org hakkında" menu-bitcoin-for-businesses: İşletmeler menu-bitcoin-for-developers: Geliştiriciler @@ -411,10 +411,9 @@ tr: footer: "MIT lisansı altında yayılmaktadır" getstarted: "Bitcoin'e başlayın" url: - about: hakkinda + faq: hakkinda about-us: hakkimizda bitcoin-for-developers: gelistiriciler-icin-bitcoin - bitcoin-for-enthusiasts: hevesliler-icin-bitcoin bitcoin-for-individuals: bireyler-icin-bitcoin bitcoin-for-businesses: isletmeler-icin-bitcoin choose-your-wallet: cuzdaninizi-secin diff --git a/_translations/zh_CN.yml b/_translations/zh_CN.yml index ca76e573..3c24b9eb 100644 --- a/_translations/zh_CN.yml +++ b/_translations/zh_CN.yml @@ -1,5 +1,5 @@ zh_CN: - about: + faq: title: "关于 - 比特币" pagetitle: "关于比特币" history: "历史背景" @@ -389,7 +389,7 @@ zh_CN: blockchain: 块链 blockchaintxt: (一个公开共享的交易记录) layout: - menu-about: 关于我们 + menu-faq: 关于我们 menu-about-us: "关于bitcoin.org" menu-bitcoin-for-businesses: 商家 menu-bitcoin-for-developers: 开发者 @@ -409,10 +409,9 @@ zh_CN: footer: "基于MIT协议授权发布" getstarted: "比特币入门指南" url: - about: about + faq: about about-us: about-us bitcoin-for-developers: bitcoin-for-developers - bitcoin-for-enthusiasts: bitcoin-for-enthusiasts bitcoin-for-individuals: bitcoin-for-individuals bitcoin-for-businesses: bitcoin-for-businesses choose-your-wallet: choose-your-wallet diff --git a/_translations/zh_TW.yml b/_translations/zh_TW.yml index e5da5a4b..0fbfccb1 100644 --- a/_translations/zh_TW.yml +++ b/_translations/zh_TW.yml @@ -1,5 +1,5 @@ zh_TW: - about: + faq: title: "關於 - Bitcoin" pagetitle: "關於 Bitcoin" history: "Bitcoin 簡史" @@ -384,16 +384,15 @@ zh_TW: menu-innovation: 創新 menu-foundation: 基金會 menu-support-bitcoin: 參與 - menu-about: 關於 + menu-faq: 關於 menu-about-us: "關於 bitcoin.org" menu-choose-your-wallet: "選擇你的錢包" menu-you-need-to-know: "Bitcoin 使用須知" footer: "以 MIT 授權發佈" url: - about: about + faq: about about-us: about-us bitcoin-for-developers: bitcoin-for-developers - bitcoin-for-enthusiasts: bitcoin-for-enthusiasts bitcoin-for-individuals: bitcoin-for-individuals bitcoin-for-businesses: bitcoin-for-businesses bitcoin-for-press: diff --git a/about.html b/about.html deleted file mode 100644 index 6808fba9..00000000 --- a/about.html +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: redirect -redirect: /en/faq -lang: en ---- diff --git a/clients.html b/clients.html deleted file mode 100644 index b739fb5b..00000000 --- a/clients.html +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: redirect -redirect: /en/choose-your-wallet -lang: en ---- diff --git a/news.html b/news.html deleted file mode 100644 index b2ebd202..00000000 --- a/news.html +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: redirect -redirect: /en/version-history -lang: en ----