Remove translationmanager
This commit is contained in:
parent
7e19f77e4d
commit
09fc130306
|
@ -1,72 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
return [
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Routes group config
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| The default group settings for the elFinder routes.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
'route' => [
|
|
||||||
'prefix' => 'translations',
|
|
||||||
'middleware' => [
|
|
||||||
'web',
|
|
||||||
'auth',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable deletion of translations
|
|
||||||
*
|
|
||||||
* @type boolean
|
|
||||||
*/
|
|
||||||
'delete_enabled' => true,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Exclude specific groups from Laravel Translation Manager.
|
|
||||||
* This is useful if, for example, you want to avoid editing the official Laravel language files.
|
|
||||||
*
|
|
||||||
* @type array
|
|
||||||
*
|
|
||||||
* array(
|
|
||||||
* 'pagination',
|
|
||||||
* 'reminders',
|
|
||||||
* 'validation',
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
'exclude_groups' => [],
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Exclude specific languages from Laravel Translation Manager.
|
|
||||||
*
|
|
||||||
* @type array
|
|
||||||
*
|
|
||||||
* array(
|
|
||||||
* 'fr',
|
|
||||||
* 'de',
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
'exclude_langs' => [],
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Export translations with keys output alphabetically.
|
|
||||||
*/
|
|
||||||
'sort_keys' => false,
|
|
||||||
|
|
||||||
'trans_functions' => [
|
|
||||||
'trans',
|
|
||||||
'trans_choice',
|
|
||||||
'Lang::get',
|
|
||||||
'Lang::choice',
|
|
||||||
'Lang::trans',
|
|
||||||
'Lang::transChoice',
|
|
||||||
'@lang',
|
|
||||||
'@choice',
|
|
||||||
'__',
|
|
||||||
'$trans.get',
|
|
||||||
],
|
|
||||||
|
|
||||||
];
|
|
|
@ -1,38 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
|
||||||
|
|
||||||
class CreateTranslationsTable extends Migration {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Run the migrations.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function up()
|
|
||||||
{
|
|
||||||
Schema::create('ltm_translations', function(Blueprint $table)
|
|
||||||
{
|
|
||||||
$table->collation = 'utf8mb4_bin';
|
|
||||||
$table->bigIncrements('id');
|
|
||||||
$table->integer('status')->default(0);
|
|
||||||
$table->string('locale');
|
|
||||||
$table->string('group');
|
|
||||||
$table->text('key');
|
|
||||||
$table->text('value')->nullable();
|
|
||||||
$table->timestamps();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reverse the migrations.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function down()
|
|
||||||
{
|
|
||||||
Schema::drop('ltm_translations');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue