Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Add Bulgarian (bg) translation. #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const GLOBAL_CLIMATE_STRIKE_URLS = {
tr: 'https://sifirgelecek.org/',
pt: 'https://pt.globalclimatestrike.net/?source=digitalstrikebanner',
it: 'https://digital.globalclimatestrike.net/join/?source=digitalstrikebanner',
bg: 'https://bg.globalclimatestrike.net/?source=digitalstrikebanner',
}

const GLOBAL_CLIMATE_STRIKE_FULL_PAGE_URLS = {
Expand All @@ -25,6 +26,7 @@ const GLOBAL_CLIMATE_STRIKE_FULL_PAGE_URLS = {
tr: 'https://sifirgelecek.org',
pt: 'https://pt.globalclimatestrike.net/digital-strike-day/?source=digitalstrikebanner',
it: 'https://globalclimatestrike.net/digital-strike-day/?source=digitalstrikebanner',
bg: 'https://bg.globalclimatestrike.net/?source=digitalstrikebanner',
}

const LOCALE_CODE_MAPPING = {
Expand All @@ -37,6 +39,7 @@ const LOCALE_CODE_MAPPING = {
tr: 'tr-TR',
pt: 'pt-BR',
it: 'it-IT',
bg: 'bg-BG',
}

let joinUrls = null
Expand Down
21 changes: 21 additions & 0 deletions src/translations/bg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

full_page:
body: '
<span class="dcs-website-name__default">Нашият</span>
<span class="dcs-website-name__prefix"></span>
<span class="dcs-website-name"></span>
<span class="dcs-website-name__website">уеб сайт</span>
е<br />
част от глобалния<br />
#ClimateStrike сега.<br />
А вие?'
ready: 'Съгласен съм ➔'
footer: 'Вие ще можете да посетите този уеб сайт утре, <time id="dcs-tomorrow-date" datetime="2019-09-21">21 Септември</time>.'
footer:
body: 'Нашият уеб сайт ще се присъедини към глобалния #ClimateStrike на <time id="dcs-strike-date" datetime="2019-09-20">20 Септември</time>. А вие?'
ready: 'Да, включвам се. ➔'

title: 'Digital Climate Strike'
logo_alt: 'Digital Climate Strike лого'
close_overlay: 'Затвори overlay'
close_banner: 'Затвори banner'