add translations
This commit is contained in:
26
common/messages/hu/backend/money-movement.php
Normal file
26
common/messages/hu/backend/money-movement.php
Normal 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:',
|
||||||
|
];
|
||||||
30
common/messages/hu/common/money-movement.php
Normal file
30
common/messages/hu/common/money-movement.php
Normal 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',
|
||||||
|
];
|
||||||
35
common/messages/hu/common/sale.php
Normal file
35
common/messages/hu/common/sale.php
Normal 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',
|
||||||
|
];
|
||||||
23
common/messages/hu/common/shopping-cart.php
Normal file
23
common/messages/hu/common/shopping-cart.php
Normal 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ó',
|
||||||
|
];
|
||||||
@@ -17,12 +17,10 @@
|
|||||||
* NOTE: this file must be saved in UTF-8 encoding.
|
* NOTE: this file must be saved in UTF-8 encoding.
|
||||||
*/
|
*/
|
||||||
return [
|
return [
|
||||||
|
'Money movement' => 'Pénzmozgás',
|
||||||
|
'Pénzmozgás' => 'Pénzmozgás',
|
||||||
'Account' => 'Kassza',
|
'Account' => 'Kassza',
|
||||||
'All' => 'Mind',
|
'All' => 'Mind',
|
||||||
'Money total' => 'Összesen',
|
|
||||||
'Product' => 'Termék',
|
|
||||||
'Ticket' => 'Bérlet',
|
|
||||||
'Total' => 'Összesen',
|
|
||||||
'Comment' => 'Megjegyzés',
|
'Comment' => 'Megjegyzés',
|
||||||
'Count' => 'Mennyiség',
|
'Count' => 'Mennyiség',
|
||||||
'Created At' => 'Dátum',
|
'Created At' => 'Dátum',
|
||||||
@@ -34,8 +32,12 @@ return [
|
|||||||
'Item Price' => 'Termék ár',
|
'Item Price' => 'Termék ár',
|
||||||
'Money' => 'Összeg',
|
'Money' => 'Összeg',
|
||||||
'Money Currency' => 'Ár valuta',
|
'Money Currency' => 'Ár valuta',
|
||||||
|
'Money total' => 'Összesen',
|
||||||
|
'Product' => 'Termék',
|
||||||
'Rate' => 'Árfolyam',
|
'Rate' => 'Árfolyam',
|
||||||
'Status' => 'Státusz',
|
'Status' => 'Státusz',
|
||||||
|
'Ticket' => 'Bérlet',
|
||||||
|
'Total' => 'Összesen',
|
||||||
'Type' => 'Típus',
|
'Type' => 'Típus',
|
||||||
'Updated At' => 'Módosíáts',
|
'Updated At' => 'Módosíáts',
|
||||||
];
|
];
|
||||||
|
|||||||
21
common/messages/hu/customer/frontend.php
Normal file
21
common/messages/hu/customer/frontend.php
Normal 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ő!',
|
||||||
|
];
|
||||||
@@ -17,13 +17,13 @@
|
|||||||
* NOTE: this file must be saved in UTF-8 encoding.
|
* NOTE: this file must be saved in UTF-8 encoding.
|
||||||
*/
|
*/
|
||||||
return [
|
return [
|
||||||
'Account states' => 'Kassza műveletek',
|
'Default account' => 'Alapértelmezett kassza',
|
||||||
'Close account state' => 'Kassza zárás',
|
|
||||||
'Open account state' => 'Kassza nyitás',
|
|
||||||
'Account States' => 'Kassza műveletek',
|
'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?',
|
'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 State' => 'Kassza Zárás',
|
||||||
'Close account' => 'Kassza zárás',
|
'Close account' => 'Kassza zárás',
|
||||||
|
'Close account state' => 'Kassza zárás',
|
||||||
'Create' => 'Mentés',
|
'Create' => 'Mentés',
|
||||||
'Create Account State' => 'Új kassza művelet',
|
'Create Account State' => 'Új kassza művelet',
|
||||||
'Delete' => 'Törlés',
|
'Delete' => 'Törlés',
|
||||||
@@ -32,6 +32,7 @@ return [
|
|||||||
'Last closing money' => 'Útolsó záró összeg',
|
'Last closing money' => 'Útolsó záró összeg',
|
||||||
'Notes total' => 'Címletek összesen',
|
'Notes total' => 'Címletek összesen',
|
||||||
'Open Account State' => 'Kassza nyitás',
|
'Open Account State' => 'Kassza nyitás',
|
||||||
|
'Open account state' => 'Kassza nyitás',
|
||||||
'Reset' => 'Reset',
|
'Reset' => 'Reset',
|
||||||
'Search' => 'Keresés',
|
'Search' => 'Keresés',
|
||||||
'Update' => 'Módosítás',
|
'Update' => 'Módosítás',
|
||||||
|
|||||||
29
common/messages/hu/frontend/account.php
Normal file
29
common/messages/hu/frontend/account.php
Normal 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: ',
|
||||||
|
];
|
||||||
@@ -17,25 +17,29 @@
|
|||||||
* NOTE: this file must be saved in UTF-8 encoding.
|
* NOTE: this file must be saved in UTF-8 encoding.
|
||||||
*/
|
*/
|
||||||
return [
|
return [
|
||||||
|
'Customer cart' => 'Vendég kosár',
|
||||||
|
'Fizetve' => 'Fizetve',
|
||||||
|
'To cart' => 'Kosárba',
|
||||||
|
'User Cart' => 'Kosárba',
|
||||||
|
'Write up' => 'Felír',
|
||||||
'Account' => 'Kassza',
|
'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?',
|
'Are you sure you want to delete this item?' => 'Biztosan törölni szeretné ezt a vendéget?',
|
||||||
'Barcode' => 'Vonalkód',
|
'Barcode' => 'Vonalkód',
|
||||||
'Cart' => 'Kosár',
|
'Barcode or product code' => 'Vonalkód vagy termék kód',
|
||||||
|
'Comment' => 'Megjegyzés',
|
||||||
'Count' => 'Mennyiség',
|
'Count' => 'Mennyiség',
|
||||||
'Create' => 'Mentés',
|
'Create' => 'Mentés',
|
||||||
'Create Product' => 'Új termék',
|
'Create Product' => 'Új termék',
|
||||||
'Currency' => 'Valuta',
|
'Currency' => 'Valuta',
|
||||||
'Currency not found' => 'Valuta nem található',
|
'Currency not found' => 'Valuta nem található',
|
||||||
'Delete' => 'Törlés',
|
'Delete' => 'Törlés',
|
||||||
|
'Discount' => 'Kedvezmény',
|
||||||
'Discount not found' => 'Kedvezmény nem található',
|
'Discount not found' => 'Kedvezmény nem található',
|
||||||
'Item Price' => 'Termék ár',
|
'Item Price' => 'Termék ár',
|
||||||
'Name' => 'Név',
|
'Name' => 'Név',
|
||||||
'Paid' => 'Fizetve',
|
'Paid' => 'Fizetve',
|
||||||
'Price' => 'Ár',
|
'Price' => 'Ár',
|
||||||
|
'Product' => 'Termék',
|
||||||
'Product name' => 'Termék név',
|
'Product name' => 'Termék név',
|
||||||
'Product not found!' => 'Termék nem található',
|
'Product not found!' => 'Termék nem található',
|
||||||
'Product number' => 'Termák kód',
|
'Product number' => 'Termák kód',
|
||||||
@@ -44,7 +48,6 @@ return [
|
|||||||
'Sale Price' => 'Eladási ár',
|
'Sale Price' => 'Eladási ár',
|
||||||
'Search' => 'Keresés',
|
'Search' => 'Keresés',
|
||||||
'Sell product' => 'Termék eladá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' => 'Raktáron',
|
||||||
'Stock {stock} lower then {count}!' => 'Raktáron {stock} kevesebb mint {count}!',
|
'Stock {stock} lower then {count}!' => 'Raktáron {stock} kevesebb mint {count}!',
|
||||||
'Total Price' => 'Összesen',
|
'Total Price' => 'Összesen',
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
* NOTE: this file must be saved in UTF-8 encoding.
|
* NOTE: this file must be saved in UTF-8 encoding.
|
||||||
*/
|
*/
|
||||||
return [
|
return [
|
||||||
|
'Default account is set!' => 'Alapértelmezett kassza beállítva!',
|
||||||
'Cart' => 'Kosár',
|
'Cart' => 'Kosár',
|
||||||
'Invalid discount' => 'Érvénytelen kedvezmény',
|
'Invalid discount' => 'Érvénytelen kedvezmény',
|
||||||
'Invalid ticket type' => 'Érvénytelen bérlet típus',
|
'Invalid ticket type' => 'Érvénytelen bérlet típus',
|
||||||
|
|||||||
@@ -17,14 +17,15 @@
|
|||||||
* NOTE: this file must be saved in UTF-8 encoding.
|
* NOTE: this file must be saved in UTF-8 encoding.
|
||||||
*/
|
*/
|
||||||
return [
|
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?',
|
'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' => 'Mentés',
|
||||||
'Create Transfer' => 'Új pénzmozgás',
|
'Create Transfer' => 'Új pénzmozgás',
|
||||||
'Delete' => 'Törlés',
|
'Delete' => 'Törlés',
|
||||||
'Search' => 'Keresés',
|
'Search' => 'Keresés',
|
||||||
'Termékeladás' => 'Termékeladás',
|
'Termékeladás' => 'Termékeladás',
|
||||||
|
'Ticket' => 'Bérlet',
|
||||||
'Transfers' => 'Tranzakciók',
|
'Transfers' => 'Tranzakciók',
|
||||||
'Update' => 'Módosítás',
|
'Update' => 'Módosítás',
|
||||||
'Update {modelClass}: ' => '{modelClass} módosítás: ',
|
'Update {modelClass}: ' => '{modelClass} módosítás: ',
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class AccountController extends Controller
|
|||||||
$accounts = Account::read();
|
$accounts = Account::read();
|
||||||
|
|
||||||
if ($model->load(Yii::$app->request->post()) && $model->writeToSession()) {
|
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', [
|
return $this->render('select', [
|
||||||
'model' => $model,
|
'model' => $model,
|
||||||
|
|||||||
Reference in New Issue
Block a user