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

Refactor translations. #204

Merged
merged 1 commit into from Jan 31, 2018
Jump to file or symbol
Failed to load files and symbols.
+891 −925
Diff settings

Always

Just for now

Copy path View file
@@ -1,21 +1,15 @@
# Homebrew webpage

# brew.sh
[![Build Status](https://travis-ci.org/Homebrew/homebrew.github.io.svg?branch=master)](https://travis-ci.org/Homebrew/homebrew.github.io)

The webpage uses [jekyll](https://github.com/mojombo/jekyll). The template for
The webpage uses [jekyll](https://github.com/jekyll/jekyll). The template for
the index is at `_layouts/index.html`.

## Translations
If you want to add a new translation, follow these steps:

1. In `_config.yml` append this:

```yml
- langcode: {the_lang_code}
lang_string: {the_link_string}
```
2. Copy `index.html` as `index_{langcode}.html`
3. Change the values of the strings to the translated strings.
1. Copy `index.html` to `index_{langcode}.html`
2. Copy `_data/locales/en.yml` to `_data/locales/{langcode}.yml`
3. Change the values of the English strings to the translated, new language strings.

You can see the translated webpage by running `jekyll serve` and opening
<http://localhost:4000/>
Copy path View file
@@ -29,67 +29,3 @@ defaults:
values:
layout: "post"
permalink: ":year/:month/:day/:title/"

langs:
- langcode: en
lang_string: English
- langcode: ar
lang_string: العربية
- langcode: az
lang_string: Azərbaycanca
- langcode: be
lang_string: Беларуская
- langcode: bg
lang_string: Български
- langcode: ca
lang_string: Català
- langcode: cs
lang_string: Čeština
- langcode: da
lang_string: Dansk
- langcode: de
lang_string: Deutsch
- langcode: es
lang_string: Español
- langcode: fa
lang_string: فارسی
- langcode: fi
lang_string: Suomi
- langcode: fr
lang_string: Français
- langcode: he
lang_string: עברית
- langcode: it
lang_string: Italiano
- langcode: ja
lang_string: 日本語
- langcode: ko
lang_string: 한국어
- langcode: nl
lang_string: Nederlands
- langcode: 'no'
lang_string: Norsk
- langcode: pl
lang_string: Polski
- langcode: pt-BR
lang_string: Português Brasileiro
- langcode: ro
lang_string: Română
- langcode: ru
lang_string: Русский
- langcode: se
lang_string: Svenska
- langcode: sr
lang_string: Српски
- langcode: th
lang_string: ไทย
- langcode: tr
lang_string: Türkçe
- langcode: uk
lang_string: Українська
- langcode: vi
lang_string: Tiếng Việt
- langcode: zh-CN
lang_string: 简体中文
- langcode: zh-TW
lang_string: 繁體中文
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Copy path View file
@@ -0,0 +1,27 @@
ar:
locale_name: العربية
subtitle: مدير الحزم الذي يفتقده macOS
pagecontent:
question: مالذي سيفعله Homebrew ؟
what: يثبّت Homebrew مالم توفره Apple، وأنت <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="List of Homebrew packages">بحاجته</a>.
how: يثبّت Homebrew الحزم في مجلداتها الخاصة ثم يعمل اختصارات "symlinks" لملفاتها في <code>/usr/local</code>
prefix: لن يثبّت Hombrew ملفات خارج المسار المحدد "prefix" وبإمكانك تحديد أي مسار تريد.
createpackages: تمتع بصنع حزمك الخاصة من Homebrew.
hack: جميع محتويات Homebrew متكونة من Git و Ruby، فلذلك أبحر بخبرتك وأضف ما تريد و اعلم أنك تستطيع التراجع عن تغييراتك أو دمجها بسهولة.
formula: "وصفات \"formulae\" الـHomebrew عبارة عن سكربتات Ruby بسيطة:"
editor: opens in $EDITOR!
complement: Homebrew مكمل للـMac، ثبّت الـgems بواسطة <code>gem</code> وثبّت متطلباتها بواسطة <code>brew</code>.
install:
install: ثبّت Homebrew
paste: الصق ذلك في الطرفية
what: السكربت سيوضح ماذا سيفعل ثم سيتوقف قبل فعله. هناك خيارات تثبيت اضافية <a href='https://docs.brew.sh/Installation.html'>هنا</a>, مطلوب للإصدار ١٠.٥
doc:
further: معلومات إضافية
patreon: Donate on Patreon
blog: Homebrew Blog
community: Community Discussion
formulae: Homebrew Packages
analytics: Analytics Data
foot:
code: <a href="https://mxcl.github.io/">Max Howell</a>. الكود الأساسي بواسطة
page: <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> and <a href="http://danilalo.com">Danielle Lalonde</a>. الموقع بواسطة
Copy path View file
@@ -0,0 +1,27 @@
az:
locale_name: Azərbaycanca
subtitle: Çatışmayan macOS paket meneceri
pagecontent:
question: What Does Homebrew Do?
what: Homebrew Apple-nin yaza bilmədiyi <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="Homebrew paketlərinin siyahısı">sizə lazım olan paketləri</a> yükləyir.
how: Homebrew paketləri öz qovluqlarına yazır və sonra onları <code>/usr/local</code>-a yönləndirir.
prefix: Homebrew faylları qovluqdan kənara yazmır, siz onları istədiyiniz qovluğa yaza bilərsiniz.
createpackages: Öz Homebrew paketlərinizi asanlıqla yaradın.
hack: Tamamilə git və ruby üzərində yazılmışdır. Beləliklə, siz yazdığınız kodu geri ala bilər və ya onu yeniləyə bilərsiniz.
formula: "Homebrew formulaları sadə Ruby proqramlarıdır:"
editor: opens in $EDITOR!
complement: Homebrew macOS-i tamamlayır. Gemlərinizi <code>gem</code> ilə, onların asılılıqlarını isə <code>brew</code> ilə yükləyin.
install:
install: Homebrew-i yükləyin
paste: Bunu Terminal-a əlavə edin.
what: Əməliyyatı yerinə yetirməmişdən əvvəl proqram sizə əməliyyat barədə məlumat verir. Daha çox yükləmə üsulları <a href='https://docs.brew.sh/Installation.html'>buradadır</a>.
doc:
further: Əlavə Sənədlər
patreon: Donate on Patreon
blog: Homebrew Blog
community: Community Discussion
formulae: Homebrew Packages
analytics: Analytics Data
foot:
code: Original kodun müəllifi — <a href="https://mxcl.github.io/">Max Howell</a>.
page: Saytı hazırlayan — <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> and <a href="http://danilalo.com">Danielle Lalonde</a>.
Copy path View file
@@ -0,0 +1,27 @@
be:
locale_name: Беларуская
subtitle: Менеджэр пакетаў для macOS
pagecontent:
question: Навошта патрэбен Homebrew?
what: Homebrew ўсталёўвае <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="Спіс пакетаў Homebrew">патрэбныя вам пакеты</a>, якія Apple не прадаставіў.
how: Homebrew ўсталёўвае праграмы ў іх уласныя дырэкторыі ды стварае сімвальную спасылку на іх у <code>/usr/local</code>.
prefix: Homebrew не ўсталёўвае файлы за межамі сваёй дырэкторыі, якую пры гэтым вы можаце вызначыць дзе хочаце.
createpackages: Без цяжкасці стварайце вашыя ўласныя пакеты.
hack: Усё функцыянуе пад кіраваннем ruby ды git, таму вы можаце з лёгкасцю адмяняць любыя змены ці аб'ядноўваць іх з апстрымам.
formula: "Формулы Homebrew — гэта простыя скрыпты на Ruby:"
editor: адкрыецца ў $EDITOR!
complement: Homebrew дапаўняе macOS. Усталёўвайце гемы камандай <code>gem</code>, а іх залежнасці — <code>brew</code>.
install:
install: Усталяванне Homebrew
paste: Скапіруйце і ўстаўце гэта ў тэрмінал.
what: Перад выкананнем якога-небудзь дзеянні, скрыпт прыпыніцца і растлумачыць, што ён збіраецца зрабіць. Дадатковыя параметры ўстаноўкі можна знайсці <a href='https://docs.brew.sh/Installation.html'>тут</a>.
doc:
further: Дадатковая дакументацыя
patreon: Donate on Patreon
blog: Homebrew Blog
community: Community Discussion
formulae: Homebrew Packages
analytics: Analytics Data
foot:
code: Распрацоўшчык — <a href="https://mxcl.github.io/">Max Howell</a>.
page: Вэб-сайт — <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> and <a href="http://danilalo.com">Danielle Lalonde</a>.
Copy path View file
@@ -0,0 +1,27 @@
bg:
locale_name: Български
subtitle: Мениджър на пакети за macOS
pagecontent:
question: Какво представлява Homebrew?
what: Homebrew инсталира <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="Списък с пакети за Homebrew">всичко необходимо</a>, което Apple не може.
how: Homebrew инсталира пакетите в неговата директория и след това създава линкове към техните файлове в <code>/usr/local</code>.
prefix: Можете да инсталирате Homebrew където пожелаете. Той няма да инсталира файлове извън зададената директория.
createpackages: Създаването на Homebrew пакети е лесно и просто.
hack: Под капака е rubi и git, така че с лекота можете да правите промени.
formula: "Homebrew формулите са прости Ruby скриптове:"
editor: opens in $EDITOR!
complement: Homebrew допълва macOS. Инсталирайте gem пакети, използвайки <code>gem</code>, а техните зависимости чрез <code>brew</code>.
install:
install: Инсталиране на Homebrew
paste: Поставете това в терминал.
what: Скрипта по-горе обяснява какво ще направи и паузира, преди да го извърши. Има и допълнителни опции за инсталиране <a href='https://github.com/Homebrew/homebrew-core/tree/master/Formula'>тук</a>.
doc:
further: Допълнителна документация
patreon: Donate on Patreon
blog: Homebrew Blog
community: Community Discussion
formulae: Homebrew Packages
analytics: Analytics Data
foot:
code: Разработчик — <a href="https://mxcl.github.io/">Max Howell</a>.
page: Сайт — <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> and <a href="http://danilalo.com">Danielle Lalonde</a>.
Copy path View file
@@ -0,0 +1,28 @@
ca:
locale_name: Català
subtitle: El gestor de paquets per macOS que faltava
pagecontent:
question: What Does Homebrew Do?
what: Homebrew instal·la <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="Llista de paquets Homebrew">tot allò que necessites</a> que Apple no trobava necessari.
how: Homebrew instal·la paquets al seu propi directori i després fa un <i>symlink</i> dels seus arxius a <code>/usr/local</code>.
prefix: Homebrew no instal·larà arxius fora del seu prefix, i pots instal·lar Homebrew allà on vulguis.
createpackages: Crea els teus propis paquets de Homebrew molt fàcilment.
hack: Per sota és tot git i ruby, de manera que pots fer canvis sabent que podràs fer i desfer les teves modificacions i obtenir actualitzacions sense problemes.
formula: "Les fórmules de Homebrew són senzills <i>scripts</i> Ruby:"
editor: opens in $EDITOR!
complement: Homebrew complementa macOS. Instal·la les teves <i>gems</i> amb <code>gem</code>, i les seves dependències amb <code>brew</code>.
install:
install: Instal·la Homebrew
paste: Enganxa el codi a una finestra de Terminal.
what: L'<i>script</i> explica el que fa i s'espera abans de fer-ho. Hi ha més opcions d'instal·lació <a href='https://docs.brew.sh/Installation.html'>aquí</a>.
doc:
further: Més Documentació
patreon: Donate on Patreon
blog: Homebrew Blog
community: Community Discussion
formulae: Homebrew Packages
analytics: Analytics Data
foot:
code: Codi original per <a href="https://mxcl.github.io/">Max Howell</a>.
page: Pàgina web per <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> and <a href="http://danilalo.com">Danielle Lalonde</a>.
translation: Traducció al català de <a href="https://twitter.com/msonsona">Miquel Sonsona
Copy path View file
@@ -0,0 +1,27 @@
cs:
locale_name: Čeština
subtitle: Chybějící správce balíků pro macOS
pagecontent:
question: Co Homebrew dělá?
what: Homebrew instaluje <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="Seznam Homebrew balíků">to, co potřebujete</a> a co Apple nenainstaloval.
how: Homebrew instaluje balíky do jejich vlastní složky a poté vytváří symbolické odkazy do <code>/usr/local</code>.
prefix: Homebrew nebude instalovat soubory mimo jeho prefix, Homebrew můžete nainstalovat kam chcete.
createpackages: Jednoduše vytvářejte vlastní Homebrew balíky.
hack: Všechno je to jen git a ruby, takže se současnými dovednostmi můžete snadno vytvářet modifikace a spojovat aktualizace z upstreamu.
formula: "Formule Homebrew jsou jednoduché Ruby scripty:"
editor: otevře se v $EDITOR!
complement: Homebrew doplňuje macOS. Instalujte vaše gemy příkazem <code>gem</code> a jejich závislosti příkazem <code>brew</code>.
install:
install: Instalace Homebrew
paste: Tohle vložte do okna Terminálu.
what: Script vysvětlí, co udělá, a než to udělá, pozastaví se. Další možnosti instalace naleznete <a href='https://docs.brew.sh/Installation.html'>zde</a>.
doc:
further: Další dokumentace
patreon: Donate on Patreon
blog: Homebrew Blog
community: Komunitní diskuze
formulae: Homebrew balíky
analytics: Analytická data
foot:
code: Homebrew byl vytvořen <a href="https://mxcl.github.io/">Maxem Howellem</a>.
page: Web vytvořili <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> a <a href="http://danilalo.com">Danielle Lalonde</a>.
Copy path View file
@@ -0,0 +1,29 @@
da:
locale_name: Dansk
subtitle: macOS's manglende pakkemanager
pagecontent:
question: What Does Homebrew Do?
what: Homebrew installerer <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="Liste over Homebrew-pakker">alt det du har brug for</a> som Apple ikke gjorde.
how: Homebrew installerer pakker i deres egne mapper for så at symlinke deres filer ind i <code>/usr/local</code>.
prefix: Homebrew vil ikke installere filer udenfor sit område, og du kan placere en Homebrew-installation hvor end du vil.
createpackages: Trivially create your own Homebrew packages.
createpackages: Skab dine egne Homebrew-pakker, let og enkelt.
hack: Under hjelmen er det bare git og ruby, så hack løs &ndash; velvidende om at du let kan annulere dine ændringer og flette andres rettelser ind.
formula: "Homebrew formulae are simple Ruby scripts:"
formula: "Homebrew formularer er simple Rubyscripts:"
editor: åbner i $EDITOR!
complement: Homebrew komplimenterer macOS. Installer dine gems med <code>gem</code> og pakkerne de er afhængige af med <code>brew</code>.
install:
install: Installer Homebrew
paste: Kopier og indsæt i din Terminal
what: Scriptet forklarer hvad det vil gøre, og pauser før den gør det. Der findes flere installeringsmuligheder <a href='https://docs.brew.sh/Installation.html' title="Flere installeringsmuligheder">her</a>.
doc:
further: Videre dokumentation
patreon: Donate on Patreon
blog: Homebrew Blog
community: Community Discussion
formulae: Homebrew Packages
analytics: Analytics Data
foot:
code: Originalkode af <a href="https://mxcl.github.io/">Max Howell</a>.
page: Hjemmeside af <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> and <a href="http://danilalo.com">Danielle Lalonde</a>.
Copy path View file
@@ -0,0 +1,27 @@
de:
locale_name: Deutsch
subtitle: Der fehlende Paketmanager für macOS
pagecontent:
question: Was macht Homebrew?
what: Homebrew installiert <a href="https://github.com/Homebrew/homebrew-core/tree/master/Formula" title="Liste der Homebrew-Pakete">die Sachen, die du brauchst</a> und die bei Apple nicht dabei sind.
how: Homebrew installiert Pakete in ihrem eigenen Verzeichnis und erstellt Symlinks zu ihren Dateien in <code>/usr/local</code>.
prefix: Homebrew installiert keine Dateien außerhalb seines Pfades und du kannst den Ort einer Homebrew-Installation frei wählen.
createpackages: Eigene Homebrew-Pakete zu erzeugen, ist kinderleicht.
hack: Unter der Haube werden git und Ruby verwendet. Modifikationen sind also schnell rückgängig gemacht und Änderungen lassen sich leicht zusammenfügen.
formula: "Homebrew-Formeln sind einfache Ruby-Skripte:"
editor: wird in $EDITOR geöffnet!
complement: Homebrew ergänzt macOS. Installiere deine Gems mit <code>gem</code> und ihre Abhängigkeiten mit <code>brew</code>.
install:
install: Installiere Homebrew
paste: Füge das im Terminal ein.
what: Das Skript erklärt dir, was es tun wird und wartet, bevor es etwas macht. Mehr Installationsoptionen findest du <a href='https://docs.brew.sh/Installation.html'>hier</a>.
doc:
further: Weitere Dokumentation
patreon: Donate on Patreon
blog: Homebrew-Blog
community: Community-Diskussion
formulae: Homebrew Packages
analytics: Analytics Data
foot:
code: Originalcode von <a href="https://mxcl.github.io/">Max Howell</a>.
page: Website von <a href="http://exomel.com">Rémi Prévost</a>, <a href="http://mikemcquaid.com">Mike McQuaid</a> und <a href="http://danilalo.com">Danielle Lalonde</a>.
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.