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

Czech translation #2

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<p align="center"><img src="preview.jpg?v=3" /></p>
<h1 align="center">language-sl</h1>
<p align="center">Slovenian translations for WonderCMS (by Robert Isoski)</p>
<p align="center"><img src="preview.jpg?v=31" /></p>
<h1 align="center">language-cs</h1>
<p align="center">Czech translations for WonderCMS (by Miloslav Hermanek)</p>

<br><br>

This plugin adds Slovenian translations to the WonderCMS admin area, based on `https://github.com/StephanStanisic/zlanguage-nl_NL` (experimental version). Plugin author: Stephan Stanisic.
This plugin adds Czech translations to the WonderCMS admin area, based on `https://github.com/StephanStanisic/zlanguage-nl_NL` (experimental version). Plugin author: Stephan Stanisic.

# How to adapt to another language
1. Fork this repository (which is the latest with all included translations): https://github.com/robiso/translation-slovenian/
Expand Down
89 changes: 89 additions & 0 deletions cs.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
OVERLAYS
">Saving",">Ukládám"
">Checking for updates",">Vyhledávám aktualizace"


BUTTONS
">Settings",">Nastavení"


MENU ITEMS
">Current page",">Tato stránka"
">Menu",">Menu"
">Files",">Soubory"
">Themes",">Témata
">Plugins",">Pluginy"
">Security",">Bezpečnost"


CURRENT PAGE
">Page title",">Nadpis stránky"
">Page keywords",">Klíčová slova"
">Page description",">Shrnutí"
">Delete page",">Smazat stránku"
"return confirm\('Delete (.*?)\?'\)","return confirm('Smazat $1?')"


MENU
">Website title",">Název webu"
">Page to display on homepage",">Stránka použitá pro Homepage"
">visit",">zobrazit"
"> Add page","> Přidat stránku"


FILES
">Upload",">Nahrát"
">Delete files",">Smazat soubory"


THEMES AND PLUGINS
"> Check for updates","> Zjistit aktualizace"
"return confirm\('Remove (.*?)\?'\)","return confirm('Odstranit $1?')"
">Active",">Aktivní"
"return confirm\('Activate (.*?) theme\?'\)","return confirm('Aktivovat $1?')"
"> Activate","> Aktivuj"
"> More info","> Více informací"
"> Install","> Instalovat"
">Installed version:",">Instalovaná verze:"
">Custom repository",">Vlastní úložiště (custom repository)"
"Enter URL to custom repository","Napiš URL vlastního úložiště (custom repository)"
"> Add", "> Přidej"
"> Read more about custom repositories",">Podrobnější informace o vlastním úložišti"


SECURITY
">Admin login URL","> URL přihlašovací stránky"
">Save your login URL to log in to your website next time:",">Uložte novou URL pro příští přihlášení:"
">Password",">Heslo"
"Old password","Původní heslo"
"New password","Nové heslo"
"> Change password","> Změnit heslo"

"> How to restore backup","> Jak obnovit web ze zálohy"
">Improved security \(Apache only\)",">Vylepšení bezpečnosti (pouze Apache server)"
">HTTPS redirect, 30 day caching, iframes allowed only from same origin, mime type sniffing prevention, stricter cookie and refferer policy.",">HTTPS přesměrování, 30denní cache, iframe pouze ze stejné domény."
">ON \(warning: may break your website\)",">Ano (pozor, může snadno poškodit web)"
">OFF \(reset htaccess to default\)",">Ne (obnovit původní nastavení)"
"> Read more before enabling","> Více informací - přečtěte si před aktivací"
">Backup","> Záloha"
"> Backup website","> Záloha webu"
">Last 5 logins",">Posledních 5 přihlášení"


STATISTICS
">Statistics",">Statistiky"
">Today",">Dnes"
">This week",">Tento týden"
">Most popular page",">Nejnavštěvovanější stránky"
">Pageviews last two weeks",">Počet zobrazení v posledních dvou týdnech"
">Sessions last two weeks",">Počet sezení (sessions) v posledních dvou týdnech"
">Sessions",">Sezení (sessions)"
">Pageviews",">Zobrazení (pageviews)"


FOOTER
">News",">Novinky"
">Community",">Fórum"
">Docs",">Domumentace"
">Donate",">Podpořte vývoj"
">Shop\/Merch",">Obchod"
2 changes: 1 addition & 1 deletion language-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 0 additions & 89 deletions sl.csv

This file was deleted.

2 changes: 1 addition & 1 deletion summary
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Slovenian translation for WonderCMS settings.
Czech translation for WonderCMS settings.
2 changes: 1 addition & 1 deletion translation-slovenian.php → translation-czech.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
global $Wcms;

$Wcms->addListener('settings', function ($args) {
$translations = array_map('str_getcsv', file(__DIR__ . '/sl.csv')); // change accordingly to country locale
$translations = array_map('str_getcsv', file(__DIR__ . '/cs.csv')); // change accordingly to country locale

foreach ($translations as $replacement) {
if (count($replacement) !== 2) {
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.1.4