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