// publish the migrations and seeds
$this->publishes([__DIR__ . '/database/migrations/' => database_path('migrations')], 'migrations');
+ $this->loadTranslationsFrom(__DIR__ . '/resources/lang', 'cubist_back');
+
// publish translation files
$this->publishes([__DIR__ . '/resources/lang' => resource_path('lang/vendor/cubist_back')], 'lang');
}
// register their aliases
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
- $loader->alias('Setting', \Backpack\Settings\app\Models\Template::class);
+ $loader->alias('Template', \Backpack\Settings\app\Models\Template::class);
}
}
+++ /dev/null
-<?php
-
-return [
- /*
- |--------------------------------------------------------------------------
- | Templates Language Lines
- |--------------------------------------------------------------------------
- |
- | The following language lines are used for Cubist backpack
- |
- */
- 'name' => 'Name',
- 'value' => 'Value',
- 'description' => 'Description',
- 'template_singular' => 'template',
- 'template_plural' => 'templates',
-
-];
--- /dev/null
+<?php
+
+return [
+ /*
+ |--------------------------------------------------------------------------
+ | Templates Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are used for Cubist backpack
+ |
+ */
+ 'name' => 'Name',
+ 'value' => 'Value',
+ 'description' => 'Description',
+ 'template_singular' => 'template',
+ 'template_plural' => 'templates',
+
+];