Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pt br #301

Merged
merged 40 commits into from
Dec 2, 2019
Merged

Pt br #301

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7a15a80
started the pt-br integration, added a file with guide
Nov 5, 2019
c2aa0a5
adde pt-br to langs
FKrauss Nov 3, 2019
4aa25d7
started small tutorial for adding a new langauge
Nov 5, 2019
734f3f7
removed a bunch of empty new lines
Nov 5, 2019
6982ad9
added the dao_content for pt-br
Nov 5, 2019
6360778
added pt-br to languages.yml
Nov 5, 2019
c74f45a
added pt br to main_nav_tr.yml
Nov 5, 2019
23f9f10
added the ptbr strings
Nov 5, 2019
9a14195
small fix to the main_nav_tr
Nov 5, 2019
7261355
added images in svg
Nov 5, 2019
abb0ba2
added the telegram logo e link to @bisqbrasil to community page
Nov 5, 2019
65ad813
changed one string to not overflow the position
Nov 5, 2019
6b36220
corrected overflow
Nov 5, 2019
76becb8
Update pt-BR/community.md
FKrauss Nov 11, 2019
f69d9e6
Update _data/pt-BR.yml
FKrauss Nov 11, 2019
afc146a
Update _data/pt-BR.yml
FKrauss Nov 11, 2019
f924d5d
Update _data/pt-BR.yml
FKrauss Nov 11, 2019
49a2945
Update _data/pt-BR.yml
FKrauss Nov 11, 2019
84b142c
Update _data/pt-BR.yml
FKrauss Nov 11, 2019
7a8b160
Update _data/pt-BR.yml
FKrauss Nov 11, 2019
23384d1
Update _data/pt-BR.yml
FKrauss Nov 11, 2019
cfb3906
Update _data/pt-BR.yml
Nov 26, 2019
0ee1611
Update _data/pt-BR.yml
Nov 27, 2019
b4cccb6
Update _data/dao_content_tr.yml
Nov 27, 2019
8c92abf
Update _data/dao_content_tr.yml
Nov 27, 2019
3a6e1a3
Update _data/dao_content_tr.yml
Nov 27, 2019
f7484f4
Update _data/dao_content_tr.yml
Nov 27, 2019
c524cd4
Update _data/dao_content_tr.yml
Nov 27, 2019
26d0c8a
Update _data/pt-BR.yml
Nov 27, 2019
39178b5
Update pt-BR/faq.html
Nov 27, 2019
ac70035
Update _data/pt-BR.yml
Nov 27, 2019
b62ac91
Remove (BR) from language name
Nov 27, 2019
5d8bb7f
added the last two strings from transifex
FKrauss Nov 27, 2019
02a2579
Fixed the last 2 strings that were missing words
FKrauss Nov 27, 2019
e146060
a couple other outdated strings are now updated
FKrauss Nov 27, 2019
bebfed1
Update _data/pt-BR.yml
FKrauss Nov 28, 2019
72292a5
they keep coming! a few more fixes
FKrauss Nov 28, 2019
a7b8bc1
Merge branch 'master' into pt-br
Dec 2, 2019
c3c9448
Add closing anchor tag in faq
Dec 2, 2019
433cd92
fixed 2 strings
FKrauss Dec 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
152 changes: 46 additions & 106 deletions _data/dao_content_tr.yml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions _data/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@
accept_languages: ["zh", "zh-CN"]
site_name: "Bisq - 去中心化的比特币交易"
site_desc: "Bisq 是一个开源的电脑程序,使你能够使用当地货币或加密货币来买卖比特币。"
- name: "Português"
tag: "pt-BR"
enabled: Yes
accept_languages: ["pt-BR"]
site_name: "Bisq - A exchange de Bitcoin descentralizada"
site_desc: "Bisq é uma aplicação de desktop open-source que lhe permite comprar e vender bitcoins em troca de moedas nacionais ou altcoin."
31 changes: 31 additions & 0 deletions _data/main_nav_tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,34 @@ zh-CN:
- title: 文档
url: "https://docs.bisq.network/"
target: _blank

pt-BR:
links:

- title: Visão
url: /pt-BR/vision/

- title: A DAO Bisq
url: /pt-BR/dao/

- title: Estatísticas
url: /pt-BR/stats/

- title: FAQ
url: /pt-BR/faq/

- title: Mercados
url: /pt-BR/markets/

mobile_links:

- title: Comunidade
url: /pt-BR/community/

- title: Blog
url: /blog/

- title: Documentation
url: "https://docs.bisq.network/"
target: _blank

294 changes: 294 additions & 0 deletions _data/pt-BR.yml

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions _includes/how_to_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Updating from Transifex
=====

Example using `pt-BR`


download translated files
----
go to transifex, get your language and download the files:
https://www.transifex.com/bisq/bisq-website/

You should end up with 6 files:
1. `for_use_bisq-website_community_pt_BR.md`
2. `for_use_bisq-website_dao_content_pt_BR.yml`
3. `for_use_bisq-website_images_pt_BR.yml`
4. `for_use_bisq-website_main_nav_pt_BR.yml`
5. `for_use_bisq-website_strings_pt_BR.md`
6. `for_use_bisq-website_vision_pt_BR.md`


Copy the language folder from another language
----

Take another language that has a folder and make a copy of it. name it by the ISO code of the language you translated to.

i.e. copying `pt-PT` as `pt-BR`


Adapt the headers
----

Within the folder you just created, in the markdown files (.md)
edit the parts that need changing.

```
lang: pt-BR
flag: 🇧🇷
language: Português (BR)
```

Updating
---

head to the `_data` folder

now we're going to open the files from transifex and copy them into their respective place in `_data`

note the files here are in pairs: i.e. `dao_content.yml` & `dao_content_tr.yml`

We are going to edit the second one. `_tr` refers to "translation"


Note: when copying the `main_nav_tr.yml` keep in mind that the characters used in transifex are not valid and yield an error when Jekyll is initialising. So the way to deal with it is to simply copy a previous language from above in that file. Open the 4th file from transifex (`for_use_bisq-website_main_nav_pt_BR.yml`) side by side and copy the contents
53 changes: 53 additions & 0 deletions images/community/telegram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions pt-BR/community.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: page
title: Community ‹ Bisq - The decentralized Bitcoin exchange
ref: community
lang: pt-BR
flag: 🇧🇷
language: Português
---
# Comunidade
{: .mb-5}

### Faça parte da nossa comunidade e ajude a construir uma exchange que foi pensada com os mesmos princípios do Bitcoin.
{: .mt-5 .col-sm-12 .col-md-10 .pl-0}



##### Conectar
{: .mt-5 .mb-sm-3 .mb-md-0 }

<div class="row mb-sm-4 mb-md-0">

<ul class="mt-sm-0 mb-0 mt-md-3 mb-md-5 community-links grey col-sm-12 col-md-4 pr-3">
<li><img src="/images/community/github.svg" alt="github"> <a href="https://github.com/bisq-network">@bisq-network no GitHub</a><br>O principal repositório de código da Bisq</li>
<li><img src="/images/community/twitter.svg" alt="twitter"> <a href="https://twitter.com/bisq_network">@bisq_network no Twitter</a><br>Para anúncios e atualizações da comunidade</li>
<li><img src="/images/community/telegram.svg" alt="telegram"> <a href="https://t.me/bisqbrasil">@bisqbrasil no Telegram</a><br>Para ajuda e suporte da comunidade em português</li>
<li><img src="/images/community/youtube.svg" alt="youtube"> <a href="https://www.youtube.com/c/bisq-network">Canal Bisq no YouTube</a><br>Assista e participe de nossos calls semanais sobre crescimento. Veja entrevistas com desenvolvedores e outros conteúdos em vídeo</li>
</ul>
<ul class="mt-sm-0 mb-0 mt-md-3 mb-md-5 community-links grey col-sm-12 col-md-4 pr-3">
<li><img src="/images/community/slack.svg" alt="slack"> <a href="https://bisq.network/slack-invite">Bisq Slack </a><br> Participe da conversa sobre como melhorar a Bisq </li>
<li><img src="/images/community/forum.svg" alt="forum"> <a href="https://bisq.community">Forum Bisq </a><br>Publique sua opinião e perguntas no forum da Bisq </li>
<li><img src="/images/community/mailinglist.svg" alt="mailinglist"> <a href="https://lists.bisq.network/listinfo/bisq-contrib"> Newsletter de contribuidores da Bisq </a><br>Increva-se na nossa newsletter</li>
</ul>
<ul class="mt-sm-0 mb-0 mt-md-3 mb-md-5 community-links grey col-sm-12 col-md-4 pr-3">
<li><img src="/images/community/irc.svg" alt="irc"> <a href="https://webchat.freenode.net/?channels=bisq">#bisq no IRC Freenode </a><br> Servidor IRC freenode para uma conversa mais decentralizada </li>
<li><img src="/images/community/reddit.svg" alt="reddit"> <a href="https://www.reddit.com/r/bisq">r/Bisq Subreddit</a><br> Para suporte e para conversar com outros membros da comunidade Bisq </li>
<li><img src="/images/community/keybase.svg" alt="keybase"> <a href="https://keybase.io/team/bisq">Bisq Keybase</a><br>Junte-se ao time da Bisq no Keybase</li>
</ul>
</div>
Loading