Skip to content

Commit

Permalink
Merge pull request #36 from BRACKETS-by-TRIAD/release-v3.0-fix-3
Browse files Browse the repository at this point in the history
Release v3.0 fix 3
  • Loading branch information
dejwCake authored Jan 18, 2019
2 parents 5ba9c6a + b601544 commit b7247dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Generate/Traits/Names.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ protected function initCommonNames(
}
$this->exportBaseName = Str::studly($tableName) . 'Export';

$this->titleSingular = Str::singular(str_replace(['-', '_'], ' ', Str::title($this->tableName)));
$this->titlePlural = str_replace(['-', '_'], ' ', Str::title($this->tableName));
$this->titleSingular = Str::singular(str_replace(['_'], ' ', Str::title($this->tableName)));
$this->titlePlural = str_replace(['_'], ' ', Str::title($this->tableName));
}

public function valueWithoutId($string)
Expand Down
6 changes: 3 additions & 3 deletions tests/Feature/Appenders/LangTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ function namespaced_model_lang_append(){
return [
\'billing_categ-ory\' => [
\'title\' => \'CategOries\',
\'title\' => \'Categories\',
\'actions\' => [
\'index\' => \'CategOries\',
\'create\' => \'New CategOry\',
\'index\' => \'Categories\',
\'create\' => \'New Category\',
\'edit\' => \'Edit :name\',
],
Expand Down

0 comments on commit b7247dc

Please sign in to comment.