You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Fix missing transolations 🆙
This commit is contained in:
@@ -26,9 +26,8 @@ use Filament\Actions\RestoreBulkAction;
|
|||||||
use Filament\Actions\ViewAction;
|
use Filament\Actions\ViewAction;
|
||||||
use Filament\Forms\Components\FileUpload;
|
use Filament\Forms\Components\FileUpload;
|
||||||
use Filament\Forms\Components\Hidden;
|
use Filament\Forms\Components\Hidden;
|
||||||
use Filament\Forms\Components\TextInput;
|
|
||||||
use Illuminate\Support\Str;
|
|
||||||
use Filament\Forms\Components\RichEditor;
|
use Filament\Forms\Components\RichEditor;
|
||||||
|
use Filament\Forms\Components\TextInput;
|
||||||
use Filament\Forms\Components\Toggle;
|
use Filament\Forms\Components\Toggle;
|
||||||
use Filament\Resources\Resource;
|
use Filament\Resources\Resource;
|
||||||
use Filament\Schemas\Components\Tabs;
|
use Filament\Schemas\Components\Tabs;
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ use Filament\Forms\Components\Toggle;
|
|||||||
use Filament\Forms\Components\ToggleButtons;
|
use Filament\Forms\Components\ToggleButtons;
|
||||||
use Filament\Pages\Enums\SubNavigationPosition;
|
use Filament\Pages\Enums\SubNavigationPosition;
|
||||||
use Filament\Resources\Resource;
|
use Filament\Resources\Resource;
|
||||||
use Illuminate\Support\Str;
|
|
||||||
use Filament\Schemas\Components\Grid;
|
use Filament\Schemas\Components\Grid;
|
||||||
use Filament\Schemas\Components\Section;
|
use Filament\Schemas\Components\Section;
|
||||||
use Filament\Schemas\Components\Tabs;
|
use Filament\Schemas\Components\Tabs;
|
||||||
@@ -26,9 +25,10 @@ use Filament\Schemas\Components\Tabs\Tab;
|
|||||||
use Filament\Tables\Columns\TextColumn;
|
use Filament\Tables\Columns\TextColumn;
|
||||||
use Filament\Tables\Columns\ToggleColumn;
|
use Filament\Tables\Columns\ToggleColumn;
|
||||||
use Filament\Tables\Table;
|
use Filament\Tables\Table;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
|
||||||
use Illuminate\Support\Facades\Schema;
|
use Illuminate\Support\Facades\Schema;
|
||||||
use Illuminate\Support\HtmlString;
|
use Illuminate\Support\HtmlString;
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
// ensure Str is imported once
|
// ensure Str is imported once
|
||||||
|
|
||||||
class PermissionResource extends Resource
|
class PermissionResource extends Resource
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ use Filament\Schemas\Schema;
|
|||||||
use Filament\Tables\Columns\IconColumn;
|
use Filament\Tables\Columns\IconColumn;
|
||||||
use Filament\Tables\Columns\TextColumn;
|
use Filament\Tables\Columns\TextColumn;
|
||||||
use Filament\Tables\Table;
|
use Filament\Tables\Table;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
|
||||||
|
|
||||||
class TeamResource extends Resource
|
class TeamResource extends Resource
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
namespace App\Filament\Resources\Hotel\BadgeUploads\Pages;
|
namespace App\Filament\Resources\Hotel\BadgeUploads\Pages;
|
||||||
|
|
||||||
use Filament\Forms\Components\FileUpload;
|
use Filament\Forms\Components\FileUpload;
|
||||||
use Filament\Forms\Components\TextInput;
|
|
||||||
use Filament\Forms\Concerns\InteractsWithForms;
|
use Filament\Forms\Concerns\InteractsWithForms;
|
||||||
use Filament\Forms\Contracts\HasForms;
|
use Filament\Forms\Contracts\HasForms;
|
||||||
use Filament\Notifications\Notification;
|
use Filament\Notifications\Notification;
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ use Filament\Resources\Pages\EditRecord;
|
|||||||
use Filament\Support\Exceptions\Halt;
|
use Filament\Support\Exceptions\Halt;
|
||||||
use Illuminate\Database\Eloquent\Builder;
|
use Illuminate\Database\Eloquent\Builder;
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
use Illuminate\Support\Str;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @method \App\Models\User getRecord()
|
* @method \App\Models\User getRecord()
|
||||||
|
*
|
||||||
* @property-read \App\Models\User $record
|
* @property-read \App\Models\User $record
|
||||||
*/
|
*/
|
||||||
class EditUser extends EditRecord
|
class EditUser extends EditRecord
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ use Filament\Tables\Columns\IconColumn;
|
|||||||
use Filament\Tables\Columns\TextColumn;
|
use Filament\Tables\Columns\TextColumn;
|
||||||
use Filament\Tables\Table;
|
use Filament\Tables\Table;
|
||||||
use Illuminate\Database\Eloquent\Builder;
|
use Illuminate\Database\Eloquent\Builder;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
|
||||||
use Illuminate\Support\Facades\Hash;
|
use Illuminate\Support\Facades\Hash;
|
||||||
|
|
||||||
class UserResource extends Resource
|
class UserResource extends Resource
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ if (! function_exists('findMigration')) {
|
|||||||
foreach (glob(database_path('migrations/*.php')) as $filename) {
|
foreach (glob(database_path('migrations/*.php')) as $filename) {
|
||||||
// Check if the migration file has the Schema::create() line with the given table name
|
// Check if the migration file has the Schema::create() line with the given table name
|
||||||
$content = file_get_contents($filename);
|
$content = file_get_contents($filename);
|
||||||
if (preg_match("/Schema::create\\(['\"]".preg_quote($tableName, '/')."['\"]/", $content)) {
|
if (preg_match("/Schema::create\\(['\"]" . preg_quote($tableName, '/') . "['\"]/", $content)) {
|
||||||
return basename($filename, '.php');
|
return basename($filename, '.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ use App\Models\Community\RareValue\WebsiteRareValue;
|
|||||||
use App\Models\Community\RareValue\WebsiteRareValueCategory;
|
use App\Models\Community\RareValue\WebsiteRareValueCategory;
|
||||||
use App\Models\Game\Furniture\Item;
|
use App\Models\Game\Furniture\Item;
|
||||||
use App\Services\Community\RareValues\RareValueCategoriesService;
|
use App\Services\Community\RareValues\RareValueCategoriesService;
|
||||||
use Illuminate\Http\RedirectResponse;
|
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Illuminate\View\View;
|
use Illuminate\View\View;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
namespace App\Http\Middleware;
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
use App\Exceptions\MigrationFailedException;
|
|
||||||
use App\Models\Miscellaneous\WebsiteInstallation;
|
use App\Models\Miscellaneous\WebsiteInstallation;
|
||||||
use App\Services\InstallationService;
|
use App\Services\InstallationService;
|
||||||
use Closure;
|
use Closure;
|
||||||
|
|||||||
@@ -13,14 +13,17 @@ class ExternalTextsParser
|
|||||||
'flash' => [],
|
'flash' => [],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updateNitroBadgeTexts(string $code, string $title, string $description): void
|
public function updateNitroBadgeTexts(string $code, string $title, string $description): void
|
||||||
{
|
{
|
||||||
// stub
|
// stub
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updateFlashBadgeTexts(string $code, string $title, string $description): void
|
public function updateFlashBadgeTexts(string $code, string $title, string $description): void
|
||||||
{
|
{
|
||||||
// stub
|
// stub
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBadgeImageUrl(string $badgeCode): string
|
public function getBadgeImageUrl(string $badgeCode): string
|
||||||
{
|
{
|
||||||
return '';
|
return '';
|
||||||
|
|||||||
@@ -258,9 +258,10 @@ class RconService
|
|||||||
/**
|
/**
|
||||||
* Send an RCON command safely from dashboard with error handling
|
* Send an RCON command safely from dashboard with error handling
|
||||||
*
|
*
|
||||||
* @param string $command The command to send
|
* @param string $command The command to send
|
||||||
* @param array $params The parameters for the command
|
* @param array $params The parameters for the command
|
||||||
* @param string $errorMessage The error message to log if command fails
|
* @param string $errorMessage The error message to log if command fails
|
||||||
|
*
|
||||||
* @throws RconConnectionException
|
* @throws RconConnectionException
|
||||||
* @throws JsonException
|
* @throws JsonException
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Indstilling',
|
'label' => 'Indstilling',
|
||||||
'plural' => 'CMS Indstillinger',
|
'plural' => 'CMS Indstillinger',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Administrer Hjælpekategorier',
|
||||||
|
'label' => 'Hjælpekategori',
|
||||||
|
'plural' => 'Hjælpekategorier',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Administrer Kategorier',
|
'navigation_label' => 'Administrer Kategorier',
|
||||||
'label' => 'Kategori',
|
'label' => 'Kategori',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Setting',
|
'label' => 'Setting',
|
||||||
'plural' => 'CMS Settings',
|
'plural' => 'CMS Settings',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Manage Help Categories',
|
||||||
|
'label' => 'Help Category',
|
||||||
|
'plural' => 'Help Categories',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Manage Categories',
|
'navigation_label' => 'Manage Categories',
|
||||||
'label' => 'Category',
|
'label' => 'Category',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Setting',
|
'label' => 'Setting',
|
||||||
'plural' => 'CMS Settings',
|
'plural' => 'CMS Settings',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Manage Help Categories',
|
||||||
|
'label' => 'Help Category',
|
||||||
|
'plural' => 'Help Categories',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Manage Categories',
|
'navigation_label' => 'Manage Categories',
|
||||||
'label' => 'Category',
|
'label' => 'Category',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Configuración',
|
'label' => 'Configuración',
|
||||||
'plural' => 'Configuraciones de CMS',
|
'plural' => 'Configuraciones de CMS',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Administrar Categorías de Ayuda',
|
||||||
|
'label' => 'Categoría de Ayuda',
|
||||||
|
'plural' => 'Categorías de Ayuda',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Administrar Categorías',
|
'navigation_label' => 'Administrar Categorías',
|
||||||
'label' => 'Categoría',
|
'label' => 'Categoría',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Asetus',
|
'label' => 'Asetus',
|
||||||
'plural' => 'CMS-asetukset',
|
'plural' => 'CMS-asetukset',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Hallinnoi Ohjecategories',
|
||||||
|
'label' => 'Ohjekategoria',
|
||||||
|
'plural' => 'Ohjekategoriat',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Hallinnoi kategorioita',
|
'navigation_label' => 'Hallinnoi kategorioita',
|
||||||
'label' => 'Kategoria',
|
'label' => 'Kategoria',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Paramètre',
|
'label' => 'Paramètre',
|
||||||
'plural' => 'Paramètres CMS',
|
'plural' => 'Paramètres CMS',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Gérer les catégories d\'aide',
|
||||||
|
'label' => 'Catégorie d\'aide',
|
||||||
|
'plural' => 'Catégories d\'aide',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Gérer les catégories de questions',
|
'navigation_label' => 'Gérer les catégories de questions',
|
||||||
'label' => 'Catégorie',
|
'label' => 'Catégorie',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Instelling',
|
'label' => 'Instelling',
|
||||||
'plural' => 'CMS instellingen',
|
'plural' => 'CMS instellingen',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Beheer Help Categorieën',
|
||||||
|
'label' => 'Help Categorie',
|
||||||
|
'plural' => 'Help Categorieën',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Beheer Vraag Categorieën',
|
'navigation_label' => 'Beheer Vraag Categorieën',
|
||||||
'label' => 'Vraag Categorie',
|
'label' => 'Vraag Categorie',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Configuração',
|
'label' => 'Configuração',
|
||||||
'plural' => 'Configurações da CMS',
|
'plural' => 'Configurações da CMS',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Gerenciar Categorias de Ajuda',
|
||||||
|
'label' => 'Categoria de Ajuda',
|
||||||
|
'plural' => 'Categorias de Ajuda',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Gerenciar Categorias',
|
'navigation_label' => 'Gerenciar Categorias',
|
||||||
'label' => 'Categoria',
|
'label' => 'Categoria',
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ return [
|
|||||||
'label' => 'Ayar',
|
'label' => 'Ayar',
|
||||||
'plural' => 'CMS Ayarları',
|
'plural' => 'CMS Ayarları',
|
||||||
],
|
],
|
||||||
|
'help-categories' => [
|
||||||
|
'navigation_label' => 'Yardım Kategorilerini Yönet',
|
||||||
|
'label' => 'Yardım Kategorisi',
|
||||||
|
'plural' => 'Yardım Kategorileri',
|
||||||
|
],
|
||||||
'help-question-categories' => [
|
'help-question-categories' => [
|
||||||
'navigation_label' => 'Kategorileri Yönet',
|
'navigation_label' => 'Kategorileri Yönet',
|
||||||
'label' => 'Kategori',
|
'label' => 'Kategori',
|
||||||
|
|||||||
Reference in New Issue
Block a user