diff --git a/core/lib/Thelia/Action/Lang.php b/core/lib/Thelia/Action/Lang.php index 059b685c9..b44c1b6b3 100644 --- a/core/lib/Thelia/Action/Lang.php +++ b/core/lib/Thelia/Action/Lang.php @@ -41,6 +41,9 @@ class Lang extends BaseAction implements EventSubscriberInterface ->setCode($event->getCode()) ->setDateFormat($event->getDateFormat()) ->setTimeFormat($event->getTimeFormat()) + ->setDecimalSeparator($event->getDecimalSeparator()) + ->setThousandsSeparator($event->getThousandsSeparator()) + ->setDecimals($event->getDecimals()) ->save(); $event->setLang($lang); @@ -69,6 +72,9 @@ class Lang extends BaseAction implements EventSubscriberInterface ->setLocale($event->getLocale()) ->setDateFormat($event->getDateFormat()) ->setTimeFormat($event->getTimeFormat()) + ->setDecimalSeparator($event->getDecimalSeparator()) + ->setThousandsSeparator($event->getThousandsSeparator()) + ->setDecimals($event->getDecimals()) ->save(); $event->setLang($lang); diff --git a/core/lib/Thelia/Config/I18n/cs_CZ.php b/core/lib/Thelia/Config/I18n/cs_CZ.php new file mode 100644 index 000000000..634c0e768 --- /dev/null +++ b/core/lib/Thelia/Config/I18n/cs_CZ.php @@ -0,0 +1,4 @@ + $lang->getCode(), 'locale' => $lang->getLocale(), 'date_format' => $lang->getDateFormat(), - 'time_format' => $lang->getTimeFormat() + 'time_format' => $lang->getTimeFormat(), + 'decimal_separator' => $lang->getDecimalSeparator(), + 'thousands_separator' => $lang->getThousandsSeparator(), + 'decimals' => $lang->getDecimals(), )); $this->getParserContext()->addForm($langForm); @@ -124,6 +127,9 @@ class LangController extends BaseAdminController ->setLocale($form->get('locale')->getData()) ->setDateFormat($form->get('date_format')->getData()) ->setTimeFormat($form->get('time_format')->getData()) + ->setDecimalSeparator($form->get('decimal_separator')->getData()) + ->setThousandsSeparator($form->get('thousands_separator')->getData()) + ->setDecimals($form->get('decimals')->getData()) ; } diff --git a/core/lib/Thelia/Core/Event/Lang/LangCreateEvent.php b/core/lib/Thelia/Core/Event/Lang/LangCreateEvent.php index f32121a11..0b0c35bdc 100644 --- a/core/lib/Thelia/Core/Event/Lang/LangCreateEvent.php +++ b/core/lib/Thelia/Core/Event/Lang/LangCreateEvent.php @@ -24,6 +24,9 @@ class LangCreateEvent extends LangEvent protected $locale; protected $date_format; protected $time_format; + protected $decimal_separator; + protected $thousands_separator; + protected $decimals; /** * @param mixed $code @@ -125,4 +128,60 @@ class LangCreateEvent extends LangEvent return $this->title; } + /** + * @param mixed $decimal_separator + */ + public function setDecimalSeparator($decimal_separator) + { + $this->decimal_separator = $decimal_separator; + + return $this; + } + + /** + * @return mixed + */ + public function getDecimalSeparator() + { + return $this->decimal_separator; + } + + /** + * @param mixed $decimals + */ + public function setDecimals($decimals) + { + $this->decimals = $decimals; + + return $this; + } + + /** + * @return mixed + */ + public function getDecimals() + { + return $this->decimals; + } + + /** + * @param mixed $thousands_separator + */ + public function setThousandsSeparator($thousands_separator) + { + $this->thousands_separator = $thousands_separator; + + return $this; + } + + /** + * @return mixed + */ + public function getThousandsSeparator() + { + return $this->thousands_separator; + } + + + } diff --git a/core/lib/Thelia/Form/Lang/LangCreateForm.php b/core/lib/Thelia/Form/Lang/LangCreateForm.php index ee1fd47f9..44c149511 100644 --- a/core/lib/Thelia/Form/Lang/LangCreateForm.php +++ b/core/lib/Thelia/Form/Lang/LangCreateForm.php @@ -91,6 +91,30 @@ class LangCreateForm extends BaseForm 'for' => 'time_lang' ) )) + ->add('decimal_separator', 'text', array( + 'constraints' => array( + new NotBlank() + ), + 'label' => Translator::getInstance()->trans('decimal separator'), + 'label_attr' => array( + 'for' => 'decimal_separator' + ) + )) + ->add('thousands_separator', 'text', array( + 'label' => Translator::getInstance()->trans('thousands separator'), + 'label_attr' => array( + 'for' => 'thousands_separator' + ) + )) + ->add('decimals', 'text', array( + 'constraints' => array( + new NotBlank() + ), + 'label' => Translator::getInstance()->trans('Sets the number of decimal points'), + 'label_attr' => array( + 'for' => 'decimals' + ) + )) ; } diff --git a/core/lib/Thelia/Model/Lang.php b/core/lib/Thelia/Model/Lang.php index a6a138a65..a0baa80c2 100644 --- a/core/lib/Thelia/Model/Lang.php +++ b/core/lib/Thelia/Model/Lang.php @@ -122,4 +122,10 @@ class Lang extends BaseLang $this->dispatchEvent(TheliaEvents::AFTER_DELETELANG, new LangEvent($this)); } + public function preSave(ConnectionInterface $con = null) + { + $this->setDatetimeFormat(sprintf("%s %s", $this->getDateFormat(), $this->getTimeFormat())); + + return true; + } } diff --git a/core/lib/Thelia/Tests/Action/LangTest.php b/core/lib/Thelia/Tests/Action/LangTest.php index 33ad1b63e..e4fc50e71 100644 --- a/core/lib/Thelia/Tests/Action/LangTest.php +++ b/core/lib/Thelia/Tests/Action/LangTest.php @@ -55,6 +55,9 @@ class LangTest extends \PHPUnit_Framework_TestCase ->setCode('TES') ->setDateFormat('Y-m-d') ->setTimeFormat('H:i:s') + ->setDecimalSeparator(".") + ->setThousandsSeparator(" ") + ->setDecimals("2") ->setDispatcher($this->dispatcher) ; @@ -72,6 +75,10 @@ class LangTest extends \PHPUnit_Framework_TestCase $this->assertEquals('TES', $createdLang->getCode()); $this->assertEquals('Y-m-d', $createdLang->getDateFormat()); $this->assertEquals('H:i:s', $createdLang->getTimeFormat()); + $this->assertEquals('.', $createdLang->getDecimalSeparator()); + $this->assertEquals(' ', $createdLang->getThousandsSeparator()); + $this->assertEquals('2', $createdLang->getDecimals()); + $this->assertEquals('Y-m-d H:i:s', $createdLang->getDatetimeFormat()); return $createdLang; } @@ -90,6 +97,9 @@ class LangTest extends \PHPUnit_Framework_TestCase ->setCode('TEST') ->setDateFormat('d-m-Y') ->setTimeFormat('H-i-s') + ->setDecimalSeparator(",") + ->setThousandsSeparator(".") + ->setDecimals("1") ->setDispatcher($this->dispatcher) ; @@ -105,6 +115,10 @@ class LangTest extends \PHPUnit_Framework_TestCase $this->assertEquals('test update', $updatedLang->getTitle()); $this->assertEquals('d-m-Y', $updatedLang->getDateFormat()); $this->assertEquals('H-i-s', $updatedLang->getTimeFormat()); + $this->assertEquals(',', $updatedLang->getDecimalSeparator()); + $this->assertEquals('.', $updatedLang->getThousandsSeparator()); + $this->assertEquals('1', $updatedLang->getDecimals()); + $this->assertEquals('d-m-Y H-i-s', $updatedLang->getDatetimeFormat()); return $updatedLang; } diff --git a/setup/insert.sql b/setup/insert.sql index adb1b0822..2da553904 100644 --- a/setup/insert.sql +++ b/setup/insert.sql @@ -2,7 +2,9 @@ INSERT INTO `lang`(`id`,`title`,`code`,`locale`,`url`,`date_format`,`time_format (1, 'Français', 'fr', 'fr_FR', '', 'd/m/Y', 'H:i:s', 'd/m/y H:i:s', ',', ' ', '2', '0', NOW(), NOW()), (2, 'English', 'en', 'en_US', '', 'm-d-Y', 'h:i:s', 'm-d-Y h:i:s', '.', ' ', '2', '1', NOW(), NOW()), (3, 'Castellano', 'es', 'es_ES', '', 'm-d-Y', 'h:i:s', 'm-d-Y h:i:s', ',', '.', '2', '0', NOW(), NOW()), -(4, 'Italiano', 'it', 'it_IT', '', 'd/m/Y', 'H:i:s', 'd/m/y H:i:s', ',', ' ', '2', '0', NOW(), NOW()); +(4, 'Italiano', 'it', 'it_IT', '', 'd/m/Y', 'H:i:s', 'd/m/y H:i:s', ',', ' ', '2', '0', NOW(), NOW()), +(5, 'Russian', 'ru', 'ru_RU', '', 'j.n.Y', 'H:i:s', 'j.n.Y H:i:s', ',', ' ', '2', 0, NOW(), NOW()), +(6, 'Czech', 'cs', 'cs_CZ', '', 'j.n.Y', 'H:i:s', 'j.n.Y H:i:s', ',', ' ', '2', 0, NOW(), NOW()); INSERT INTO `config` (`name`, `value`, `secured`, `hidden`, `created_at`, `updated_at`) VALUES ('session_config.handlers', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler', 0, 0, NOW(), NOW()), diff --git a/setup/update/2.0.1.sql b/setup/update/2.0.1.sql index e1afc48a9..6fea973a8 100644 --- a/setup/update/2.0.1.sql +++ b/setup/update/2.0.1.sql @@ -101,6 +101,16 @@ INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES (@max, 'en_US', 'export of newsletter subscribers'), (@max, 'fr_FR', 'export des inscrits à la newsletter'); +SELECT @max := MAX(`id`) FROM `lang`; +SET @max := @max+1; + +INSERT INTO `lang`(`id`,`title`,`code`,`locale`,`url`,`date_format`,`time_format`,`datetime_format`,`decimal_separator`,`thousands_separator`,`decimals`,`by_default`,`created_at`,`updated_at`)VALUES +(@max, 'Russian', 'ru', 'ru_RU', '', 'j.n.Y', 'H:i:s', 'j.n.Y H:i:s', ',', ' ', '2', 0, NOW(), NOW()); + +SET @max := @max+1; + +INSERT INTO `lang`(`id`,`title`,`code`,`locale`,`url`,`date_format`,`time_format`,`datetime_format`,`decimal_separator`,`thousands_separator`,`decimals`,`by_default`,`created_at`,`updated_at`)VALUES +(@max, 'Czech', 'cs', 'cs_CZ', '', 'j.n.Y', 'H:i:s', 'j.n.Y H:i:s', ',', ' ', '2', 0, NOW(), NOW()); SET FOREIGN_KEY_CHECKS = 1; diff --git a/templates/backOffice/default/I18n/cs_CZ.php b/templates/backOffice/default/I18n/cs_CZ.php new file mode 100644 index 000000000..634c0e768 --- /dev/null +++ b/templates/backOffice/default/I18n/cs_CZ.php @@ -0,0 +1,4 @@ +{intl l='The syntax used is identical to the PHP date() function'} {/form_field} + {form_field form=$form field='decimal_separator'} +
+ + + {intl l='Sets the separator for the decimal point'} +
+ {/form_field} + {form_field form=$form field='thousands_separator'} +
+ + + {intl l='Sets the thousands separator.'} +
+ {/form_field} + {form_field form=$form field='decimals'} +
+ + + {intl l='Sets the number of decimal points'} +
+ {/form_field} diff --git a/templates/backOffice/default/assets/img/flags/cz.png b/templates/backOffice/default/assets/img/flags/cs.png similarity index 100% rename from templates/backOffice/default/assets/img/flags/cz.png rename to templates/backOffice/default/assets/img/flags/cs.png diff --git a/templates/backOffice/default/languages.html b/templates/backOffice/default/languages.html index 3054db1c0..5e5c21bec 100644 --- a/templates/backOffice/default/languages.html +++ b/templates/backOffice/default/languages.html @@ -47,8 +47,6 @@ {intl l="Language name"} {intl l="ISO 639 Code"} {intl l="Locale"} - {intl l="date form"} - {intl l="time form"} {intl l="Default"} {intl l="Actions"} @@ -60,8 +58,6 @@ {$TITLE} {$CODE} {$LOCALE} - {$DATE_FORMAT} - {$TIME_FORMAT}
@@ -210,6 +206,27 @@ {intl l='The syntax used is identical to the PHP date() function'}
{/form_field} + {form_field form=$form field='decimal_separator'} +
+ + + {intl l='Sets the separator for the decimal point'} +
+ {/form_field} + {form_field form=$form field='thousands_separator'} +
+ + + {intl l='Sets the thousands separator.'} +
+ {/form_field} + {form_field form=$form field='decimals'} +
+ + + {intl l='Sets the number of decimal points'} +
+ {/form_field} {module_include location='language_create_form'} diff --git a/templates/email/default/I18n/cs_CZ.php b/templates/email/default/I18n/cs_CZ.php new file mode 100644 index 000000000..4906fa89d --- /dev/null +++ b/templates/email/default/I18n/cs_CZ.php @@ -0,0 +1,36 @@ + 'Všechna práva vyhrazena.', + 'Billing address:' => 'Fakturační adresa:', + 'Copyright' => 'Autorská práva', + 'Delivery address:' => 'Doručovací adresa:', + 'Delivery method:' => 'Způsob doručení:', + 'Email not displaying correctly?' => 'E-mail se nezobrazuje správně?', + 'For any questions, or concerns, feel free to contact %mail.' => 'V případě jakýchkoliv dotazů nebo připomínek, neváhejte nás kontaktovat na %mail.', + 'Here are the details of your purchase:' => 'Podrobnosti o nákupu:', + 'Hi there' => 'Zdravím', + 'Kind regards' => 'S pozdravem', + 'Order Number:' => 'Číslo objednávky:', + 'Order Total' => 'Objednávka celkem', + 'Order Total:' => 'Objednávka celkem:', + 'Our contact us at:' => 'Kontaktujte nás na:', + 'Our mailing address is:' => 'Naše poštovní adresa je:', + 'Paid With:' => 'Zaplaceno:', + 'Password' => 'Heslo', + 'Price in' => 'Cena v', + 'Purchase Date:' => 'Datum nákupu:', + 'Shipping:' => 'Poštovné:', + 'Support' => 'Podpora', + 'Thank you for your order!' => 'Děkujeme za objednávku!', + 'Thanks' => 'Děkuji', + 'Thelia V2' => 'Thelia V2', + 'Total' => 'Celkem', + 'View it in your browser' => 'Zobrazit v prohlížeči', + 'What You Purchased' => 'Co jste si zakoupili', + 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Můžete změnit své heslo ve vašem uživatelském účtu tak, že otevře odkaz "Změnit heslo" v záložce vaše osobní údaje', + 'You have requested a new password for your account' => 'Požádali jste o nové heslo pro váš účet', + 'Your new password is' => 'Vaše nové heslo je', + 'Your order confirmation Nº %ref' => 'Potvrzení objednávky č. %ref', + 'Your password for %store' => 'Vaše heslo pro %store', +); diff --git a/templates/email/default/I18n/ru_RU.php b/templates/email/default/I18n/ru_RU.php new file mode 100644 index 000000000..73a6f76ff --- /dev/null +++ b/templates/email/default/I18n/ru_RU.php @@ -0,0 +1,36 @@ + 'Все права защищены.', + 'Billing address:' => 'Адрес плательщика:', + 'Copyright' => 'Авторское право', + 'Delivery address:' => 'Адрес доставки:', + 'Delivery method:' => 'Способ доставки:', + 'Email not displaying correctly?' => 'Письмо отображается неправильно?', + 'For any questions, or concerns, feel free to contact %mail.' => 'С любыми вопросами или предложениями Вы можете обратиться к нам на %mail.', + 'Here are the details of your purchase:' => 'Подробности Вашего заказа:', + 'Hi there' => 'Привет', + 'Kind regards' => 'С наилучшими пожеланиями', + 'Order Number:' => 'Номер заказа:', + 'Order Total' => 'Сумма заказа', + 'Order Total:' => 'Сумма заказа:', + 'Our contact us at:' => 'Наша контактная информация:', + 'Our mailing address is:' => 'Наш почтовый адрес:', + 'Paid With:' => 'Заплачено:', + 'Password' => 'Пароль', + 'Price in' => 'Цена в', + 'Purchase Date:' => 'Дата покупки:', + 'Shipping:' => 'Доставка:', + 'Support' => 'Поддержка', + 'Thank you for your order!' => 'Спасибо за заказ!', + 'Thanks' => 'Спасибо', + 'Thelia V2' => 'Thelia V2', + 'Total' => 'Итого', + 'View it in your browser' => 'Просмотреть в браузере', + 'What You Purchased' => 'То, что вы приобрели', + 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Вы можете изменить свой пароль в учетной записи пользователя, открыв ссылку «Изменить пароль» в разделе личная информация', + 'You have requested a new password for your account' => 'Вы запросили новый пароль для Вашей учетной записи', + 'Your new password is' => 'Ваш новый пароль', + 'Your order confirmation Nº %ref' => 'Подтверждение заказа № %ref', + 'Your password for %store' => 'Ваш пароль на %store', +); diff --git a/templates/frontOffice/default/I18n/cs_CZ.php b/templates/frontOffice/default/I18n/cs_CZ.php new file mode 100644 index 000000000..e7b6b81fc --- /dev/null +++ b/templates/frontOffice/default/I18n/cs_CZ.php @@ -0,0 +1,234 @@ + '%nb položka', + '%nb Items' => '%nb položky', + '+' => '+', + '+ View All' => '+ Zobrazit vše', + '404' => '404', + 'Sorry! We are not able to give you a delivery method for your order.' => 'Promiňеу! Nemáme žádný způsob doručení vaší objednávku.', + 'A problem occured' => 'Nastal problém', + 'A summary of your order email has been sent to the following address' => 'E-mail se souhrnem objednávky byl odeslán na následující adresu', + 'Account' => 'Účet', + 'Add a new address' => 'Přidat novou adresu', + 'Add to cart' => 'Přidat do košíku', + 'Additional Info' => 'Další informace', + 'Address' => 'Adresa', + 'Address %nb' => 'Adresa %nb', + 'Address Update' => 'Aktualizace adresy', + 'All contents' => 'Celý obsah', + 'All contents in' => 'Celý obsah v', + 'All products' => 'Všechna zboží', + 'All products in' => 'Všechna zboží v', + 'Amount' => 'Množství', + 'Availability' => 'Dostupnost', + 'Available' => 'K dispozici', + 'Back' => 'Zpět', + 'Billing address' => 'Fakturační adresa', + 'Billing and delivery' => 'Dodání a platba', + 'Cancel' => 'Zrušit', + 'Cart' => 'Košík', + 'Categories' => 'Kategorie', + 'Change Password' => 'Změnit heslo', + 'Change address' => 'Změnit adresu', + 'Change my account information' => 'Změnit informace o účtu', + 'Change my password' => 'Změnit heslo', + 'Check my order' => 'Zkontrolovat objednávku', + 'Checkout' => 'Objednat', + 'Choose your delivery address' => 'Zvolte vaši dodací adresu', + 'Choose your delivery method' => 'Zvolte způsob doručení', + 'Choose your payment method' => 'Zvolte způsob platby', + 'Code :' => 'Kód:', + 'Connecting to the secure payment server, please wait a few seconds...' => 'Připojení k serveru bezpečného placení, děkuji za vaši trpělivost.', + 'Contact Us' => 'Kontaktujte nás', + 'Continue Shopping' => 'Pokračovat v nákupu', + 'Copyright' => 'Autorská práva', + 'Coupon code' => 'Kód kupónu', + 'Create' => 'Vytvořit', + 'Create New Account' => 'Vytvořit nový účet', + 'Create New Address' => 'Vytvořit novou adresu', + 'Currency' => 'Měna', + 'Currency:' => 'Měna:', + 'Date' => 'Datum', + 'Delivery Information' => 'Informace o dodání', + 'Delivery address' => 'Doručovací adresa', + 'Demo product description' => 'Popis demo výrobku', + 'Demo product title' => 'Název demo výrobku', + 'Description' => 'Popis', + 'Discount' => 'Sleva', + 'Do you have an account?' => 'Máte účet?', + 'Do you really want to delete this address ?' => 'Opravdu chcete odstranit tuto adresu?', + 'Edit' => 'Úpravy', + 'Edit this address' => 'Upravit tuto adresu', + 'Email address' => 'E-mailová adresa', + 'Estimated shipping ' => 'Předpokládaná doba dodání ', + 'Facebook' => 'Facebook', + 'Follow us' => 'Sledujte nás', + 'Follow us introduction' => 'Sledujte nás na', + 'Forgot your Password?' => 'Zapomněli jste heslo?', + 'Free shipping' => 'Doprava zdarma', + 'Go home' => 'Na hlavní', + 'Google+' => 'Google+', + 'Grid' => 'Mřížka', + 'Home' => 'Domů', + 'I\'ve read and agreed on Terms & Conditions' => 'Přečetl jsem a souhlasím z obchodními podmínkami', + 'If nothing happens within 10 seconds, please click here.' => 'Pokud se nic nestane během 10 vteřin, kliknete sem. ', + 'In Stock' => 'Skladem', + 'Instagram' => 'Instagram', + 'Language' => 'Jazyk', + 'Language:' => 'Jazyk:', + 'Latest' => 'Nejnovější', + 'Latest articles' => 'Nejnovější články', + 'Latest products' => 'Nejnovější produkty', + 'List' => 'Seznam', + 'List of orders' => 'Seznam objednávek', + 'Log In!' => 'Přihlásit se!', + 'Log out!' => 'Odhlásit se!', + 'Login' => 'Přihlášení', + 'Login Information' => 'Přihlašovací informace', + 'Main Navigation' => 'Hlavní navigace', + 'Minimum 2 characters.' => 'Minimálně 2 znaky.', + 'Multi-payment platform' => 'Multi-platební platforma', + 'My Account' => 'Můj účet', + 'My Address Books' => 'Moje adresáře', + 'My Address book' => 'Můj adresář', + 'My Orders' => 'Moje objednávky', + 'My order' => 'Moje objednávka', + 'Name' => 'Název', + 'Name ascending' => 'Název vzestupně', + 'Name descending' => 'Název sestupně', + 'Need help ?' => 'Potřebujete pomoc?', + 'Newsletter' => 'Odběr novinek', + 'Newsletter Subscription' => 'Přihlášení k odběru novinek', + 'Next' => 'Další', + 'Next Step' => 'Další krok', + 'Next product' => 'Další produkt', + 'No Content in this folder.' => 'Žádný obsah v této složce.', + 'No articles currently' => 'Nejsou žádné články', + 'No deliveries available for this cart and this country' => 'Žádný způsob dodání pro tuto zemi', + 'No products available in this category' => 'Žádné produkty v této kategorii', + 'No results found' => 'Nebylo nic nalezeno', + 'No.' => 'č.', + 'Offers' => 'Nabídky', + 'Ok' => 'Ok', + 'Order details' => 'Detail objednávky', + 'Order number' => 'Číslo objednávky', + 'Orders over $50' => 'Objednávky nad 50 dolarů', + 'Out of Stock' => 'Není skladem', + 'Pagination' => 'Stránkování', + 'Password' => 'Heslo', + 'Password Forgotten' => 'Zapomenuté heslo', + 'Pay with %module_title' => 'Zaplatit přes %module_title', + 'Personal Information' => 'Osobní údaje', + 'Placeholder address label' => 'Domácí, pracovní, jiná', + 'Placeholder address1' => '76 Ninth Avenue', + 'Placeholder address2' => 'Adresa', + 'Placeholder cellphone' => 'Mobilní telefonní číslo', + 'Placeholder city' => 'New York', + 'Placeholder company' => 'Google', + 'Placeholder contact email' => 'So I can get back to you.', + 'Placeholder contact message' => 'A Vaše zpráva...', + 'Placeholder contact name' => 'Jak se jmenujete?', + 'Placeholder contact subject' => 'Předmět Vaší zprávy.', + 'Placeholder email' => 'johndoe@domain.com', + 'Placeholder firstname' => 'John', + 'Placeholder lastname' => 'Doe', + 'Placeholder phone' => 'Telefonní číslo', + 'Placeholder zipcode' => 'NY 10011', + 'Please enter your email address below.' => 'Zadejte prosím níže vaši e-mailovou adresu.', + 'Please try again to order' => 'Zkuste prosím objednat znovu', + 'Position' => 'Pozice', + 'Previous' => 'Předchozí', + 'Previous product' => 'Předchozí produkt', + 'Price' => 'Cena', + 'Price ascending' => 'Cena vzestupně', + 'Price descending' => 'Cena sestupně', + 'Proceed checkout' => 'Pokračovat', + 'Product Empty Button' => 'Přidejte svůj první produkt', + 'Product Empty Message' => 'Přidání produktu je to opravdu rychlé. +
    +
  1. Zvolte NEW v záložce podrobnosti, pokud chcete vidět váš produkt v sekci nejnovější.
  2. +
  3. Zvolte SALE v záložce podrobnosti, pokud chcete vidět váš produkt v sekci akčních nabídek.
  4. +
', + 'Product Empty Title' => 'Vítejte', + 'Product Name' => 'Název produktu', + 'Product Offers' => 'Akční nabídka', + 'Qty' => 'Množství', + 'Quantity' => 'Množství', + 'Questions ? See our F.A.Q.' => 'Potřebujete pomoc? Podívejte se na F.A.Q.', + 'RSS' => 'RSS', + 'Rating' => 'Hodnocení', + 'Redirect to bank service' => 'Přesměrovat na bankovní služby', + 'Ref.' => 'č.', + 'Register' => 'Registrace', + 'Register!' => 'Registrace!', + 'Regular Price:' => 'Běžná cena:', + 'Related' => 'Související', + 'Remove' => 'Odstranit', + 'Remove this address' => 'Odstranit tuto adresu', + 'SELECT YOUR CURRENCY' => 'VYBERTE SVOU MĚNU', + 'SELECT YOUR LANGUAGE' => 'VYBERTE SVŮJ JAZYK', + 'Search' => 'Vyhledávání', + 'Search Result for' => 'Výsledek hledání pro', + 'Search a product' => 'Vyhledat produkt', + 'Search...' => 'Vyhledávání...', + 'Secure Payment' => 'Bezpečné platby', + 'Secure payment' => 'Bezpečné platby', + 'Select Country' => 'Vyberte zemi', + 'Select Title' => 'Vyberte název', + 'Select your country:' => 'Vyberte svou zemi:', + 'Send' => 'Odeslat', + 'Send us a message' => 'Pošlete nám zprávu', + 'Shipping Tax' => 'Cena dopravy', + 'Show' => 'Zobrazit', + 'Sign In' => 'Přihlásit se', + 'Sign up to receive our latest news.' => 'Přihlaste se k odběru novinek.', + 'Skip to content' => 'Přeskočit na obsah', + 'Sorry, your cart is empty. There\'s nothing to pay.' => 'Je nám líto, ale Váš nákupní košík je prázdný. Nemáte za co platit.', + 'Sort By' => 'Seřadit podle', + 'Special Price:' => 'Speciální cena:', + 'Status' => 'Stav', + 'Subscribe' => 'Odebírat', + 'Thank you for the trust you place in us.' => 'Děkujeme Vám za důvěru.', + 'Thanks !' => 'Děkuji!', + 'Thanks for signing up! We\'ll keep you posted whenever we have any new updates.' => 'Díky za přihlášení! Budeme vás informovat o všech novinkách.', + 'Thanks for your message, we will contact as soon as possible.' => 'Díky za zprávu, budeme Vás co nejdříve kontaktovat.', + 'The page cannot be found' => 'Stránka nebyla nalezena', + 'Thelia V2' => 'Thelia V2', + 'Toggle navigation' => 'Přepnout navigace', + 'Total' => 'Celkem', + 'Try again' => 'Zkuste to znovu.', + 'Twitter' => 'Twitter', + 'Unit Price' => 'Jednotková cena', + 'Update' => 'Aktualizovat', + 'Update Profile' => 'Aktualizovat profil', + 'Update Quantity' => 'Aktualizovat množství', + 'Upsell Products' => 'Zboží se slevou', + 'Useful links' => 'Užitečné odkazy', + 'View' => 'Prohlížet', + 'View Cart' => 'Zobrazit košík', + 'View all' => 'Zobrazit vše', + 'View as' => 'Zobrazit jako', + 'View order %ref as pdf document' => 'Zobrazit objednávku %ref jako pdf dokument', + 'View product' => 'Zobrazit produkt', + 'Warning' => 'Upozornění', + 'We\'re sorry, a problem occured and your payment was not successful.' => 'Omlouváme se, došlo k problému a platba nebyla provedená.', + 'You are here:' => 'Nacházíte se tady:', + 'You choose to pay by' => 'Zvolil jste platbu', + 'You don\'t have orders yet.' => 'Ještě nemáte objednávky.', + 'You have no items in your shopping cart.' => 'Nákupní košík je prázdný.', + 'You may have a coupon ?' => 'Máte kupón?', + 'You want to subscribe to the newsletter? Please enter your email address below.' => 'Chcete se přihlásit k odběru novinek? Zadejte prosím níže Vaši e-mailovou adresu.', + 'You will receive a link to reset your password.' => 'Obdržíte odkaz pro obnovení hesla.', + 'Your Cart' => 'Váš košík', + 'Your email address' => 'Vaše e-mailová adresa', + 'Your order will be confirmed by us upon receipt of your payment.' => 'Vaše objednávka bude potvrzena po obdržení platby.', + 'Youtube' => 'Youtube', + 'deliveries' => 'doručení', + 'for' => 'pro', + 'instead of' => 'namísto', + 'missing or invalid data' => 'chybějící nebo neplatné údaje', + 'per page' => 'na stránce', + 'update' => 'aktualizovat', + 'with:' => 's:', +); diff --git a/templates/frontOffice/default/I18n/ru_RU.php b/templates/frontOffice/default/I18n/ru_RU.php new file mode 100644 index 000000000..f839d9fa3 --- /dev/null +++ b/templates/frontOffice/default/I18n/ru_RU.php @@ -0,0 +1,234 @@ + '%nb', + '%nb Items' => '%nb', + '+' => '+', + '+ View All' => '+ Просмотреть все', + '404' => '404', + 'Sorry! We are not able to give you a delivery method for your order.' => 'Сожалеем! Мы не можем Вам предложить способы доставки для вашего заказа.', + 'A problem occured' => 'Возникла проблема', + 'A summary of your order email has been sent to the following address' => 'Информация о заказе была отправлен на следующий адрес', + 'Account' => 'Учетная запись', + 'Add a new address' => 'Добавить новый адрес', + 'Add to cart' => 'Добавить в корзину', + 'Additional Info' => 'Дополнительная информация', + 'Address' => 'Адрес', + 'Address %nb' => 'Адрес %nb', + 'Address Update' => 'Обновить адрес', + 'All contents' => 'Все содержимое', + 'All contents in' => 'Все содержимое в', + 'All products' => 'Все товары', + 'All products in' => 'Все товары в', + 'Amount' => 'Количество', + 'Availability' => 'Наличие', + 'Available' => 'Доступно', + 'Back' => 'Назад', + 'Billing address' => 'Адрес плательщика', + 'Billing and delivery' => 'Оплата и доставка', + 'Cancel' => 'Отмена', + 'Cart' => 'Корзина', + 'Categories' => 'Категории', + 'Change Password' => 'Сменить пароль', + 'Change address' => 'Изменить адрес', + 'Change my account information' => 'Изменить персональные данные', + 'Change my password' => 'Сменить пароль', + 'Check my order' => 'Проверить мой заказ', + 'Checkout' => 'Оформление заказа', + 'Choose your delivery address' => 'Выберите адрес доставки', + 'Choose your delivery method' => 'Выберите способ доставки', + 'Choose your payment method' => 'Выберите способ оплаты', + 'Code :' => 'Код:', + 'Connecting to the secure payment server, please wait a few seconds...' => 'Подключение к безопасному платежному серверу, благодарим за ваше терпение.', + 'Contact Us' => 'Связаться с нами', + 'Continue Shopping' => 'Продолжить покупки', + 'Copyright' => 'Авторское право', + 'Coupon code' => 'Код купона', + 'Create' => 'Создать', + 'Create New Account' => 'Создать новую учетную запись', + 'Create New Address' => 'Создать новый адрес', + 'Currency' => 'Валюта', + 'Currency:' => 'Валюта:', + 'Date' => 'Дата', + 'Delivery Information' => 'Информация о доставке', + 'Delivery address' => 'Адрес доставки', + 'Demo product description' => 'Описание демо продукта', + 'Demo product title' => 'Название демо продукта', + 'Description' => 'Описание', + 'Discount' => 'Скидка', + 'Do you have an account?' => 'Есть ли у вас учетная запись?', + 'Do you really want to delete this address ?' => 'Вы действительно хотите удалить этот адрес?', + 'Edit' => 'Редактировать', + 'Edit this address' => 'Изменить этот адрес', + 'Email address' => 'Адрес электронной почты', + 'Estimated shipping ' => 'Расчетное время доставки ', + 'Facebook' => 'Facebook', + 'Follow us' => 'Следите за нами', + 'Follow us introduction' => 'Следите за нами на', + 'Forgot your Password?' => 'Забыли пароль?', + 'Free shipping' => 'Бесплатная доставка', + 'Go home' => 'На главную', + 'Google+' => 'Google+', + 'Grid' => 'Сетка', + 'Home' => 'Главная', + 'I\'ve read and agreed on Terms & Conditions' => 'Я прочитал и согласен с правилами и условиями', + 'If nothing happens within 10 seconds, please click here.' => 'Если ничего не произойдет в течение следующих 10 секунд, нажмите сюда. ', + 'In Stock' => 'В наличии', + 'Instagram' => 'Instagram', + 'Language' => 'Язык', + 'Language:' => 'Язык:', + 'Latest' => 'Последние', + 'Latest articles' => 'Последние статьи', + 'Latest products' => 'Новые продукты', + 'List' => 'Список', + 'List of orders' => 'Список заказов', + 'Log In!' => 'Войти!', + 'Log out!' => 'Выход!', + 'Login' => 'Вход', + 'Login Information' => 'Данные для входа', + 'Main Navigation' => 'Навигация', + 'Minimum 2 characters.' => 'Не менее 2 символов.', + 'Multi-payment platform' => 'Мульти платежная платформа', + 'My Account' => 'Моя учетная запись', + 'My Address Books' => 'Мои адресные книги', + 'My Address book' => 'Моя адресная книга', + 'My Orders' => 'Мои заказы', + 'My order' => 'Мой заказ', + 'Name' => 'Имя', + 'Name ascending' => 'Название по возрастанию', + 'Name descending' => 'Название по убыванию', + 'Need help ?' => 'Нужна помощь?', + 'Newsletter' => 'Рассылка', + 'Newsletter Subscription' => 'Подписка на рассылку', + 'Next' => 'Следующая', + 'Next Step' => 'Следующий шаг', + 'Next product' => 'Следующий продукт', + 'No Content in this folder.' => 'Содержимое в папке отсутствует.', + 'No articles currently' => 'В настоящее время нет статей', + 'No deliveries available for this cart and this country' => 'К сожалению мы не можем предложить способ доставки для этой страны', + 'No products available in this category' => 'Нет продуктов в этой категории', + 'No results found' => 'Ничего не найдено', + 'No.' => '№', + 'Offers' => 'Предложения', + 'Ok' => 'Хорошо', + 'Order details' => 'Информация о заказе', + 'Order number' => 'Номер заказа', + 'Orders over $50' => 'Заказы свыше $50', + 'Out of Stock' => 'Нет в наличии', + 'Pagination' => 'Нумерация страниц', + 'Password' => 'Пароль', + 'Password Forgotten' => 'Забыли пароль', + 'Pay with %module_title' => 'Оплатить с помощью %module_title', + 'Personal Information' => 'Персональные данные', + 'Placeholder address label' => 'Домашний, рабочий, другой', + 'Placeholder address1' => '76 Ninth Avenue', + 'Placeholder address2' => 'Адрес', + 'Placeholder cellphone' => 'Мобильный телефон', + 'Placeholder city' => 'New York', + 'Placeholder company' => 'Google', + 'Placeholder contact email' => 'So I can get back to you.', + 'Placeholder contact message' => 'И ваше сообщение...', + 'Placeholder contact name' => 'Как вас зовут?', + 'Placeholder contact subject' => 'Тема вашего сообщения.', + 'Placeholder email' => 'johndoe@domain.com', + 'Placeholder firstname' => 'John', + 'Placeholder lastname' => 'Doe', + 'Placeholder phone' => 'Номер телефона', + 'Placeholder zipcode' => 'NY 10011', + 'Please enter your email address below.' => 'Пожалуйста, задайте ниже Ваш адрес электронной почты.', + 'Please try again to order' => 'Пожалуйста, попробуйте заказать еще раз', + 'Position' => 'Позиция', + 'Previous' => 'Предыдущий', + 'Previous product' => 'Предыдущий продукт', + 'Price' => 'Цена', + 'Price ascending' => 'Цена по возрастанию', + 'Price descending' => 'Цена по убыванию', + 'Proceed checkout' => 'Продолжить', + 'Product Empty Button' => 'Добавить свой первый товар', + 'Product Empty Message' => 'Это действительно быстро добавить товар. +
    +
  1. Выберите NEW во вкладке подробнее, если вы хотите видеть товар в разделе новых товаров.
  2. +
  3. Выберите SALE во вкладке подробнее, если вы хотите видеть товар в разделе специальное предложение.
  4. +
', + 'Product Empty Title' => 'Добро пожаловать', + 'Product Name' => 'Название продукта', + 'Product Offers' => 'Специальное предложение', + 'Qty' => 'Кол-во', + 'Quantity' => 'Количество', + 'Questions ? See our F.A.Q.' => 'Остались вопросы? Посмотрите F.A.Q.', + 'RSS' => 'RSS', + 'Rating' => 'Оценка', + 'Redirect to bank service' => 'Перенаправление к банковскому сервису', + 'Ref.' => 'Номер.', + 'Register' => 'Регистрация', + 'Register!' => 'Регистрация!', + 'Regular Price:' => 'Обычная цена:', + 'Related' => 'Связанные', + 'Remove' => 'Удалить', + 'Remove this address' => 'Удалить этот адрес', + 'SELECT YOUR CURRENCY' => 'ВЫБЕРИТЕ ВАШУ ВАЛЮТУ', + 'SELECT YOUR LANGUAGE' => 'ВЫБЕРИТЕ ВАШ ЯЗЫК', + 'Search' => 'Поиск', + 'Search Result for' => 'Результат поиска для', + 'Search a product' => 'Найти товар', + 'Search...' => 'Поиск...', + 'Secure Payment' => 'Безопасная оплата', + 'Secure payment' => 'Безопасная оплата', + 'Select Country' => 'Выберите страну', + 'Select Title' => 'Выберите название', + 'Select your country:' => 'Выберите Вашу страну:', + 'Send' => 'Отправить', + 'Send us a message' => 'Отправить нам сообщение', + 'Shipping Tax' => 'Стоимость доставки', + 'Show' => 'Показать', + 'Sign In' => 'Войти', + 'Sign up to receive our latest news.' => 'Зарегистрируйтесь, чтобы получать последние новости.', + 'Skip to content' => 'Перейти к содержанию', + 'Sorry, your cart is empty. There\'s nothing to pay.' => 'К сожалению, Ваша корзина пуста. Нет ничего, за что бы было можно заплатить.', + 'Sort By' => 'Сортировать по', + 'Special Price:' => 'Специальная цена:', + 'Status' => 'Статус', + 'Subscribe' => 'Подписаться', + 'Thank you for the trust you place in us.' => 'Благодарим вас за доверие.', + 'Thanks !' => 'Спасибо!', + 'Thanks for signing up! We\'ll keep you posted whenever we have any new updates.' => 'Спасибо за регистрацию! Мы будем держать вас в курсе новинок.', + 'Thanks for your message, we will contact as soon as possible.' => 'Спасибо за ваше сообщение, мы свяжемся с как можно скорее.', + 'The page cannot be found' => 'Страница не найдена', + 'Thelia V2' => 'Thelia V2', + 'Toggle navigation' => 'Переключить навигацию', + 'Total' => 'Итого', + 'Try again' => 'Попробуйте пожалуйста еще раз.', + 'Twitter' => 'Twitter', + 'Unit Price' => 'Цена за единицу', + 'Update' => 'Обновить', + 'Update Profile' => 'Обновить профиль', + 'Update Quantity' => 'Обновить количество', + 'Upsell Products' => 'Товары со скидкой', + 'Useful links' => 'Полезные ссылки', + 'View' => 'Посмотреть', + 'View Cart' => 'Просмотреть корзину', + 'View all' => 'Просмотреть все', + 'View as' => 'Посмотреть как', + 'View order %ref as pdf document' => 'Просмотреть заказ %ref как pdf документ', + 'View product' => 'Просмотр продукта', + 'Warning' => 'Внимание', + 'We\'re sorry, a problem occured and your payment was not successful.' => 'Извините, возникла проблема, и не удалось завершить платеж.', + 'You are here:' => 'Вы находитесь здесь:', + 'You choose to pay by' => 'Вы выбрали оплату', + 'You don\'t have orders yet.' => 'У вас пока еще нет заказов.', + 'You have no items in your shopping cart.' => 'У вас нет товаров в корзине.', + 'You may have a coupon ?' => 'Возможно у вас есть купон?', + 'You want to subscribe to the newsletter? Please enter your email address below.' => 'Вы хотите подписаться на рассылку новостей? Пожалуйста, введите ниже ваш адрес электронной почты.', + 'You will receive a link to reset your password.' => 'Вы получите ссылку для сброса пароля.', + 'Your Cart' => 'Ваша корзина', + 'Your email address' => 'Ваш адрес электронной почты', + 'Your order will be confirmed by us upon receipt of your payment.' => 'Ваш заказ будет подтвержден после получения платежа.', + 'Youtube' => 'Youtube', + 'deliveries' => 'доставки', + 'for' => 'для', + 'instead of' => 'вместо', + 'missing or invalid data' => 'отсутствуют или неневерные данные', + 'per page' => 'на странице', + 'update' => 'обновить', + 'with:' => 'с:', +); diff --git a/templates/pdf/default/I18n/cs_CZ.php b/templates/pdf/default/I18n/cs_CZ.php new file mode 100644 index 000000000..45b66e616 --- /dev/null +++ b/templates/pdf/default/I18n/cs_CZ.php @@ -0,0 +1,28 @@ + 'Číslo zákazníka', + 'DELIVERY' => 'DODÁNÍ', + 'Delivery module' => 'Doručovací modul', + 'INVOICE' => 'FAKTURA', + 'Invoice REF' => 'Faktura číslo', + 'Invoice date' => 'Datum vystavení', + 'Payment module' => 'Platební modul', + 'Postage' => 'Poštovné', + 'Product' => 'Zboží', + 'Quantity' => 'Množství', + 'Ref' => 'Číslo', + 'THANK YOU' => 'Děkuji', + 'Tax' => 'Daň', + 'Taxed total' => 'Celkem před zdaněním', + 'Total' => 'Celkem', + 'Total with tax' => 'Celkem včetně daně', + 'Total without tax' => 'Celkem bez daně', + 'Unit taxed price' => 'Jednotková cena včetně daně', + 'Unit. price' => 'Jednotková cena', + 'delivery adress' => 'Doručovací adresa', + 'delivery module' => 'doručovací modul', + 'invoice address' => 'fakturační adresa', + 'page' => 'stránka', + 'product' => 'zboží', +); diff --git a/templates/pdf/default/I18n/ru_RU.php b/templates/pdf/default/I18n/ru_RU.php new file mode 100644 index 000000000..b64b6de53 --- /dev/null +++ b/templates/pdf/default/I18n/ru_RU.php @@ -0,0 +1,28 @@ + 'Номер заказчика', + 'DELIVERY' => 'ДОСТАВКА', + 'Delivery module' => 'Модуль доставки', + 'INVOICE' => 'СЧЕТ-ФАКТУРА', + 'Invoice REF' => 'Счет-фактура номер', + 'Invoice date' => 'Дата фактуры', + 'Payment module' => 'Модуль оплаты', + 'Postage' => 'Почтовые расходы', + 'Product' => 'Товар', + 'Quantity' => 'Количество', + 'Ref' => 'Номер', + 'THANK YOU' => 'Спасибо', + 'Tax' => 'Налог', + 'Taxed total' => 'Итого без налогов', + 'Total' => 'Итого', + 'Total with tax' => 'Итого с налогом', + 'Total without tax' => 'Итого без налога', + 'Unit taxed price' => 'Цена единицы с налогом', + 'Unit. price' => 'Цена единицы', + 'delivery adress' => 'Адрес доставки', + 'delivery module' => 'модуль доставки', + 'invoice address' => 'Адрес плательщика', + 'page' => 'страница', + 'product' => 'товар', +);