Skip to content

Commit b4ce9c8

Browse files
překlad základních pilířů jako README, CSS, _layouts, index a uvítací stránky
1 parent 8ae39b8 commit b4ce9c8

File tree

7 files changed

+92
-79
lines changed

7 files changed

+92
-79
lines changed

README.md

Lines changed: 40 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,42 @@
11
# PHP: The Right Way
22

3-
## Overview
3+
## Přehled
44

5-
This is the GitHub Pages repository for the _PHP: The Right Way_ project.
5+
Toto je repozitář GitHub Pages projektu _PHP: The Right Way_ přeloženého do češtiny.
66

7-
* This website is a Jekyll project.
8-
* Each section and sub-section are a Markdown file in `_posts/`.
9-
* Sub-sections have `isChild: true` in their front matter.
10-
* The navigation and page structure are automatically generated.
7+
* Tento web využívá strukturu Jekyll projektu.
8+
* Každá kapitola a podkapitola je soubor ve formátu Markdown v adresáři `_posts/`.
9+
* Podkapitoly mají v hlavičce uvedený parametr `isChild: true`.
10+
* Navigace a struktura stránky je generována automaticky.
1111

12-
## Spread the Word!
12+
## Předejte dál!
1313

14-
_PHP: The Right Way_ has web banner images you can use on your website. Show your support, and let new PHP
15-
developers know where to find good information!
14+
_PHP: The Right Way_ web bannery, které můžete použít na svých stránkách. Podpořte projekt a informujte začínající
15+
PHP vývojáře, kde najdou dobré informace!
1616

17-
[See Banner Images](http://www.phptherightway.com/banners.html)
17+
[Zobrazit bannery](http://www.phptherightway.com/banners.html)
1818

19-
## How to Contribute
19+
## Jak přispět
2020

21-
You should read the `CONTRIBUTING.md` file for precise instructions and tips. But, if you prefer a TL;DR:
21+
Měly byste si přečíst soubor `CONTRIBUTING.md` s přesnými pokyny a tipy. Ale dáváte-li přednost TL;DR:
2222

23-
1. Fork and edit
24-
2. Optionally install [Ruby](https://rvm.io/rvm/install/) with [Jekyll](https://github.com/mojombo/jekyll/) gem to preview locally
25-
3. Submit pull request for consideration
23+
1. Vytvořte si fork (větev) a upravte ji
24+
2. Volitelně nainstalujte [Ruby](https://rvm.io/rvm/install/) a [Jekyll](https://github.com/mojombo/jekyll/) gem pro lokální náhled
25+
3. Vytvořte pull request pro zvážení vašich úprav
2626

27-
### Contributor Style Guide
27+
### Průvodce stylem přispěvatele
2828

29-
1. Use American English spelling (*primary English repo only*)
30-
2. Use four (4) spaces to indent text; do not use tabs.
31-
3. Wrap all text to 120 characters.
32-
4. Code samples should adhere to PSR-1 or higher.
29+
1. Používejte pravovis americké angličtiny (*pouze primární anglické repozitáře*)
30+
2. Používejte čtyři (4) mezery pro odsazení textu; nepoužívejte tabulátory.
31+
3. Dodržujte maximální délku řádku na 120 znaků
32+
4. Ukázky kódu by měly dodržovat standard PSR-1 nebo vyšší.
3333

34-
## Where
34+
## Kde
3535

3636
<http://www.phptherightway.com>
3737

3838
* [English](http://www.phptherightway.com)
39+
* [Čeština](http://cs.phptherightway.com)
3940
* [Deutsch](http://rwetzlmayr.github.io/php-the-right-way)
4041
* [Español](http://phpdevenezuela.github.io/php-the-right-way)
4142
* [Français](http://eilgin.github.io/php-the-right-way/)
@@ -58,34 +59,38 @@ You should read the `CONTRIBUTING.md` file for precise instructions and tips. Bu
5859
* [简体中文](http://laravel-china.github.io/php-the-right-way/)
5960
* [繁體中文](http://laravel-taiwan.github.io/php-the-right-way)
6061

61-
### Translations
62+
### Překlady
6263

63-
If you are interested in translating _PHP: The Right Way_, fork this repo on GitHub and publish your localized fork to your own GitHub Pages account. We'll link to your translation from the primary document.
64+
Pokud máte zájem přeložit _PHP: The Right Way_, vytvořte si větev (fork)
65+
[hlavního repozitáře](https://github.com/codeguy/php-the-right-way/) na GitHubu a publikujte svůj lokalizovaný
66+
fork na svém GitHub Pages účtu. Na váš překlad budeme odkazovat z primárního dokumentu.
6467

65-
To avoid fragmentation and reader confusion, please choose one of these options:
68+
Abyste předešli fragmentaci a zmatení čtenářů, zvolte jednu z těchto možností:
6669

67-
1. We link to your GitHub Pages fork with `[username].github.io/php-the-right-way`
68-
2. We link to your GitHub Pages fork with a subdomain (e.g. "ru.phptherightway.com")
70+
1. Odkazujeme na váš GitHub Pages fork `[username].github.io/php-the-right-way`
71+
2. Odkazujeme na váš GitHub Pages fork subdoménou (např. "ru.phptherightway.com")
6972

70-
If you use a subdomain, enter the subdomain into the `CNAME` file, and ask us to setup DNS for you. If you do not use a subdomain, remove the `CNAME` file entirely else your fork will not build when pushed.
73+
Pokud používáte subdoménu, zadejte ji do souboru `CNAME` a požádejte nás o nastavení DNS. Pokud subdoménu nepoužíváte,
74+
úplně odstraňte soubor `CNAME`, jinak se váš fork po odeslání nesestaví.
7175

72-
Add information about your translation in the [wiki page](https://github.com/codeguy/php-the-right-way/wiki/Translations).
76+
Přidejte informace o vašem překladu do [wiki stránky](https://github.com/codeguy/php-the-right-way/wiki/Translations).
7377

74-
When your translation is ready, open an issue on the Issue Tracker to let us know.
78+
Až bude váš překlad připravený, dejte nám vědět otevřením issue na Issue Tracker.
7579

76-
## Why
80+
## Proč
7781

78-
There's been a lot of discussion lately about how the PHP community lacks sufficient, credible information for programmers new to PHP. This repository aims to solve this problem.
82+
V poslední době se hodně diskutuje o tom, že komunita PHP nemá dostatek důvěryhodných informací pro začínající
83+
programátory. Tento repozitář si klade za cíl zmíněný problém vyřešit.
7984

80-
## Who
85+
## Kdo
8186

82-
My name is [Josh Lockhart](http://twitter.com/codeguy). I'm the author of the [Slim Framework](http://www.slimframework.com/), and I work for [New Media Campaigns](http://www.newmediacampaigns.com/).
87+
Jmenuje se [Josh Lockhart](http://twitter.com/codeguy). Je autorem [Slim Frameworku](http://www.slimframework.com/) a pracuje pro [New Media Campaigns](http://www.newmediacampaigns.com/).
8388

84-
### Collaborators
89+
### Přispěvatelé
8590

8691
* [Kris Jordan](http://krisjordan.com/)
8792
* [Phil Sturgeon](http://philsturgeon.co.uk/)
8893

89-
## License
94+
## Licence
9095

9196
[Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-nc-sa/3.0/)

_includes/welcome.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
# Welcome
21

3-
There's a lot of outdated information on the Web that leads new PHP users astray,
4-
propagating bad practices and insecure code. _PHP: The Right Way_ is an easy-to-read,
5-
quick reference for PHP popular coding standards, links to authoritative tutorials
6-
around the Web and what the contributors consider to be best practices at the present
7-
time.
2+
# Vítejte
83

9-
_There is no canonical way to use PHP_. This website aims to introduce new PHP
10-
developers to some topics which they may not discover until it is too late, and aims
11-
to give seasoned pros some fresh ideas on those topics they've been doing for years
12-
without ever reconsidering. This website will also not tell you which tools to use, but
13-
instead offer suggestions for multiple options, when possible explaining the differences
14-
in approach and use-case.
4+
Na internetu je mnoho zastaralých informací, které svádějí nové uživatele PHP na zcestí,
5+
šíření špatných praktik a nebezpečného kódu. _PHP: The Right Way_ je snadno čitelný,
6+
rychlý odkaz na oblíbené PHP stantardy, odkazy na autoritativní návody po internetu
7+
a co přispěvatelé považují za nejlepší postupy v současnosti.
158

16-
This is a living document and will continue to be updated with more helpful information
17-
and examples as they become available.
9+
_Neexistuje žádný kanonický způsob použití PHP_. Tento web má za cíl představit novým PHP
10+
vývojářům některá témata, která nemuseli objevit, dokud není příliš pozdě, a poskytnout
11+
ostříleným profesionálům nové nápady k tématům, kterými se zabývají již roky bez
12+
přehodnocení. Tento web vám také neřekne jaké nástroje použít, ale nabízí návrhy na
13+
více možností, pokud možno s vysvětlením rozdílů v přístupu a použití.
1814

19-
## Translations
15+
Toto je živý dokument a bude nadále aktualizován o další užitečné informace a příklady
16+
jakmile budou k dispozici.
2017

21-
_PHP: The Right Way_ is translated into many different languages:
18+
## Překlady
19+
20+
_PHP: The Right Way_ je přeloženo do mnoha různých jazyků:
2221

2322
* [English](http://www.phptherightway.com)
23+
* [Čeština](http://cs.phptherightway.com)
2424
* [Español](http://phpdevenezuela.github.io/php-the-right-way)
2525
* [Français](http://eilgin.github.io/php-the-right-way/)
2626
* [Indonesia](http://id.phptherightway.com)
@@ -42,13 +42,13 @@ _PHP: The Right Way_ is translated into many different languages:
4242
* [简体中文](https://laravel-china.github.io/php-the-right-way/)
4343
* [繁體中文](https://laravel-taiwan.github.io/php-the-right-way)
4444

45-
## Book
45+
## Kniha
4646

47-
The most recent version of _PHP: The Right Way_ is also available in PDF, EPUB and MOBI formats. [Go to Leanpub][1]
47+
Nejnovější verze _PHP: The Right Way_ je k dispozici také ve formátech PDF, EPUB a MOBI. [Přejít na Leanpub][1]
4848

49-
## How to Contribute
49+
## Jak přispět
5050

51-
Help make this website the best resource for new PHP programmers! [Contribute on GitHub][2]
51+
Pomozte z webu vytvořit nejlepší zdroj pro nové PHP programátory! [Přispět na GitHub][2]
5252

5353
[1]: https://leanpub.com/phptherightway
5454
[2]: https://github.com/codeguy/php-the-right-way/tree/gh-pages

_layouts/default.html

Lines changed: 14 additions & 10 deletions
Large diffs are not rendered by default.

_layouts/page.html

Lines changed: 14 additions & 10 deletions
Large diffs are not rendered by default.

css/all.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
description: "An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web"
3+
description: "Snadno čitelný, rychlý odkaz na PHP osvědčené postupy, akceptované standardy kódování a odkazy na autoritativní PHP návody po internetu"
44
sitemap: true
55
---
66

@@ -9,7 +9,7 @@
99
{{ welcome_content|markdownify }}
1010
</section>
1111

12-
{% capture backtotop %}[Back to Top](#top){:.top}{% endcapture %}
12+
{% capture backtotop %}[Zpět na začátek](#top){:.top}{% endcapture %}
1313
{% for post in site.posts reversed %}
1414
{% if post.isChild != true and loop.first != true %}<div class="back-to-top">{{ backtotop|markdownify }}</div>{% endif %}
1515
<section class="chapter" id="{{ post.anchor }}">

less/all.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ pre{
396396

397397
&:before{
398398
display: inline-block;
399-
content: "Chapter " counter(chapter) ".";
399+
content: "Kapitola " counter(chapter) ".";
400400
position: absolute;
401401
top: 30px;
402402
left: 50%;

0 commit comments

Comments
 (0)