add procurement translatiosn

This commit is contained in:
rocho 2015-09-25 19:06:24 +02:00
parent fe61803670
commit cdb77b7a49
5 changed files with 48 additions and 2 deletions

View File

@ -6,7 +6,7 @@ use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\Procurement */
$this->title = $model->id_procurement;
$this->title = Yii::t('common/procurement','Procurement') .' ' . $model->id_procurement;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/procurement', 'Procurements'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
@ -42,7 +42,6 @@ $this->params['breadcrumbs'][] = $this->title;
'format' => 'raw'
],
'created_at:datetime',
'updated_at:datetime',
],
]) ?>

View File

@ -55,6 +55,9 @@ return [
// Message categories to ignore
'ignoreCategories' => [
'yii',
'fileinput',
'kvdate',
'kvdatetime',
],
/*

View File

@ -17,6 +17,7 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'It is recommended you use an upgraded browser to display the {type} control properly.' => 'Ajánlott újabb böngésző verziót használni!',
'Aktív' => 'Aktív',
'Are you sure you want to delete this item?' => 'Biztosan törölni szeretné ezt az element?',
'Delete' => 'Törlés',

View File

@ -0,0 +1,40 @@
<?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 [
'Count' => 'Beszerzett mennyiség',
'Create' => 'Mentés',
'Create Procurement' => 'Új beszerzés',
'Created At' => 'Beszerzés ideje',
'Description' => 'Megjegyzés',
'Id Procurement' => 'Beszerzés azonosító',
'Id Product' => 'Termék',
'Id User' => 'Felhasználó',
'Id Warehouse' => 'Raktár',
'Invalid product' => 'Termék nincs megadva',
'No active warehouse found.' => 'Nem találtam aktív raktárat',
'Procurement' => 'Beszerzés',
'Procurements' => 'Beszerzések',
'Product name, product number or barcode' => 'Termék neve, termék száma vagy vonalkód',
'Purchase Price' => 'Beszerzési ár',
'Search' => 'Keresés',
'Stock' => 'Beszerzés előtti raktárkészlet',
'Update' => 'Módosítás',
'Update {modelClass}: ' => '{modelClass} módosítása: ',
'Updated At' => 'Módosítva',
];

View File

@ -17,6 +17,9 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Details' => 'Részletek',
'Procurement' => 'Beszerzés',
'Product' => 'Termék',
'Active' => 'Aktív',
'All' => 'Mind',
'Barcode' => 'Vonalkód',