diff --git a/backend/views/procurement/view.php b/backend/views/procurement/view.php index d29613a..ec2370b 100644 --- a/backend/views/procurement/view.php +++ b/backend/views/procurement/view.php @@ -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', ], ]) ?> diff --git a/common/config/i18n.php b/common/config/i18n.php index df77983..1366edf 100644 --- a/common/config/i18n.php +++ b/common/config/i18n.php @@ -55,6 +55,9 @@ return [ // Message categories to ignore 'ignoreCategories' => [ 'yii', + 'fileinput', + 'kvdate', + 'kvdatetime', ], /* diff --git a/common/messages/hu/app.php b/common/messages/hu/app.php index fc44c90..fa06131 100644 --- a/common/messages/hu/app.php +++ b/common/messages/hu/app.php @@ -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', diff --git a/common/messages/hu/common/procurement.php b/common/messages/hu/common/procurement.php new file mode 100644 index 0000000..42fd7bc --- /dev/null +++ b/common/messages/hu/common/procurement.php @@ -0,0 +1,40 @@ + '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', +]; diff --git a/common/messages/hu/common/product.php b/common/messages/hu/common/product.php index da3e15f..9afa7e9 100644 --- a/common/messages/hu/common/product.php +++ b/common/messages/hu/common/product.php @@ -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',