add translations

This commit is contained in:
rocho 2015-10-26 08:08:03 +01:00
parent 01da3c470c
commit 4a04c9efa2
12 changed files with 188 additions and 16 deletions

View File

@ -0,0 +1,26 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Create' => 'Mentés',
'Create Money Movement' => 'Új pénzmozágs',
'Money Movements' => 'Pénzmozgások',
'Search' => 'Keresés',
'Update' => 'Módosítás',
'Update {modelClass}: ' => '{modelClass} módosítása:',
];

View File

@ -0,0 +1,30 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Comment' => 'Megjegyzés',
'Created At' => 'Létrehozás ideje',
'Id Account' => 'Kassza',
'Id Money Movement' => 'Pénzmozgás',
'Id User' => 'Felhasználó',
'Invalid account!' => 'Érvénytelen kassza!',
'Money' => 'Összeg',
'Name' => 'Név',
'Type' => 'Típus',
'Updated At' => 'Módosítás ideje',
];

View File

@ -0,0 +1,35 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Comment' => 'Megjegyzés',
'Count' => 'Darab',
'Created At' => 'Létrehozás ideje',
'Id Currency' => 'Pénznem',
'Id Discount' => 'Kedvezmény',
'Id Product' => 'Termék',
'Id Sale' => 'Termékeladás',
'Id User' => 'Felhasználó',
'Item Price' => 'Egységár',
'Money' => 'Összeg',
'Money Currency' => 'Összeg valutában',
'Rate' => 'Árfolyam',
'Status' => 'Státusz',
'Type' => 'Típus',
'Updated At' => 'Módosítás ideje',
];

View File

@ -0,0 +1,23 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Id Customer' => 'Vendég',
'Id Shopping Cart' => 'Bevásárlókosár',
'Id Transfer' => 'Tranzakció',
];

View File

@ -17,12 +17,10 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Money movement' => 'Pénzmozgás',
'Pénzmozgás' => 'Pénzmozgás',
'Account' => 'Kassza',
'All' => 'Mind',
'Money total' => 'Összesen',
'Product' => 'Termék',
'Ticket' => 'Bérlet',
'Total' => 'Összesen',
'Comment' => 'Megjegyzés',
'Count' => 'Mennyiség',
'Created At' => 'Dátum',
@ -34,8 +32,12 @@ return [
'Item Price' => 'Termék ár',
'Money' => 'Összeg',
'Money Currency' => 'Ár valuta',
'Money total' => 'Összesen',
'Product' => 'Termék',
'Rate' => 'Árfolyam',
'Status' => 'Státusz',
'Ticket' => 'Bérlet',
'Total' => 'Összesen',
'Type' => 'Típus',
'Updated At' => 'Módosíáts',
];

View File

@ -0,0 +1,21 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'E-mail or phone number required!' => 'E-mail vagy telefon kötelező!',
];

View File

@ -17,13 +17,13 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Account states' => 'Kassza műveletek',
'Close account state' => 'Kassza zárás',
'Open account state' => 'Kassza nyitás',
'Default account' => 'Alapértelmezett kassza',
'Account States' => 'Kassza műveletek',
'Account states' => 'Kassza műveletek',
'Are you sure you want to delete this item?' => 'Biztosan törölni szereté ezt a műveletet?',
'Close Account State' => 'Kassza Zárás',
'Close account' => 'Kassza zárás',
'Close account state' => 'Kassza zárás',
'Create' => 'Mentés',
'Create Account State' => 'Új kassza művelet',
'Delete' => 'Törlés',
@ -32,6 +32,7 @@ return [
'Last closing money' => 'Útolsó záró összeg',
'Notes total' => 'Címletek összesen',
'Open Account State' => 'Kassza nyitás',
'Open account state' => 'Kassza nyitás',
'Reset' => 'Reset',
'Search' => 'Keresés',
'Update' => 'Módosítás',

View File

@ -0,0 +1,29 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Accounts' => 'Kasszák',
'Are you sure you want to delete this item?' => 'Biztosan törölni szeretné ezt az element?',
'Create' => 'Mentés',
'Create Account' => 'Új kassza',
'Delete' => 'Törlés',
'Reset' => 'Reset',
'Search' => 'Keresés',
'Update' => 'Módosítás',
'Update {modelClass}: ' => '{modelClass} módosítás: ',
];

View File

@ -17,25 +17,29 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Customer cart' => 'Vendég kosár',
'Fizetve' => 'Fizetve',
'To cart' => 'Kosárba',
'User Cart' => 'Kosárba',
'Write up' => 'Felír',
'Account' => 'Kassza',
'Barcode or product code' => 'Vonalkód vagy termék kód',
'Comment' => 'Megjegyzés',
'Discount' => 'Kedvezmény',
'Product' => 'Termék',
'Are you sure you want to delete this item?' => 'Biztosan törölni szeretné ezt a vendéget?',
'Barcode' => 'Vonalkód',
'Cart' => 'Kosár',
'Barcode or product code' => 'Vonalkód vagy termék kód',
'Comment' => 'Megjegyzés',
'Count' => 'Mennyiség',
'Create' => 'Mentés',
'Create Product' => 'Új termék',
'Currency' => 'Valuta',
'Currency not found' => 'Valuta nem található',
'Delete' => 'Törlés',
'Discount' => 'Kedvezmény',
'Discount not found' => 'Kedvezmény nem található',
'Item Price' => 'Termék ár',
'Name' => 'Név',
'Paid' => 'Fizetve',
'Price' => 'Ár',
'Product' => 'Termék',
'Product name' => 'Termék név',
'Product not found!' => 'Termék nem található',
'Product number' => 'Termák kód',
@ -44,7 +48,6 @@ return [
'Sale Price' => 'Eladási ár',
'Search' => 'Keresés',
'Sell product' => 'Termék eladás',
'Sell product and add to total' => 'Termék eladás és kosárba helyezés',
'Stock' => 'Raktáron',
'Stock {stock} lower then {count}!' => 'Raktáron {stock} kevesebb mint {count}!',
'Total Price' => 'Összesen',

View File

@ -17,6 +17,7 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Default account is set!' => 'Alapértelmezett kassza beállítva!',
'Cart' => 'Kosár',
'Invalid discount' => 'Érvénytelen kedvezmény',
'Invalid ticket type' => 'Érvénytelen bérlet típus',

View File

@ -17,14 +17,15 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Create Money Movement' => 'Új pénzmozgás',
'Reset' => 'Reset',
'Are you sure you want to delete this item?' => 'Biztosan törölni szeretné a bérletet?',
'Reset' => '',
'Ticket' => 'Bérlet',
'Create' => 'Mentés',
'Create Transfer' => 'Új pénzmozgás',
'Delete' => 'Törlés',
'Search' => 'Keresés',
'Termékeladás' => 'Termékeladás',
'Ticket' => 'Bérlet',
'Transfers' => 'Tranzakciók',
'Update' => 'Módosítás',
'Update {modelClass}: ' => '{modelClass} módosítás: ',

View File

@ -42,7 +42,7 @@ class AccountController extends Controller
$accounts = Account::read();
if ($model->load(Yii::$app->request->post()) && $model->writeToSession()) {
Yii::$app->session->setFlash('success', Yii::t('frontend/ticket', 'Default session is set!') );
Yii::$app->session->setFlash('success', Yii::t('frontend/ticket', 'Default account is set!') );
}
return $this->render('select', [
'model' => $model,