From af18ff39ff8cca8c599ff85ca6f53857cce2cb9a Mon Sep 17 00:00:00 2001 From: Thiago Talma Date: Tue, 14 Nov 2023 14:24:49 -0300 Subject: [PATCH] var Label --- src/generators/model/Generator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generators/model/Generator.php b/src/generators/model/Generator.php index 569e34fad..965b875d4 100644 --- a/src/generators/model/Generator.php +++ b/src/generators/model/Generator.php @@ -154,7 +154,7 @@ public function attributeLabels() 'generateRelations' => 'Generate Relations', 'generateJunctionRelationMode' => 'Generate Junction Relations As', 'generateRelationsFromCurrentSchema' => 'Generate Relations from Current Schema', - 'generateRelationNameFromDestinationTable' => 'Generate Relations Name Using Destination Table Name', + 'generateRelationNameFromDestinationTable' => 'Generate Relation Names Using Target Table Name', 'useClassConstant' => 'Use `::class`', 'generateLabelsFromComments' => 'Generate Labels from DB Comments', 'generateQuery' => 'Generate ActiveQuery', @@ -197,7 +197,7 @@ class.', Make sure you also generate the junction models when using the "Via Model" option. ', 'generateRelationsFromCurrentSchema' => 'This indicates whether the generator should generate relations from current schema or from all available schemas.', - 'generateRelationNameFromDestinationTable' => 'This indicates whether the relation name should reflect the target table name.', + 'generateRelationNameFromDestinationTable' => 'This indicates whether the relation names should use target table name.', 'useClassConstant' => 'Use the `::class` constant instead of the `::className()` method.', 'generateLabelsFromComments' => 'This indicates whether the generator should generate attribute labels by using the comments of the corresponding DB columns.',