mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 23:54:44 +02:00
Small translation fixes (#1006)
* display_name_help: replace location with node * cpu_helper: 100% is one thread, not core * remove unnecessary "create_action" translation * nobody saw anything
This commit is contained in:
parent
b464bb4d25
commit
96ec2eb3c2
@ -58,7 +58,6 @@ class ListApiKeys extends ListRecords
|
|||||||
->emptyStateHeading(trans('admin/apikey.empty_table'))
|
->emptyStateHeading(trans('admin/apikey.empty_table'))
|
||||||
->emptyStateActions([
|
->emptyStateActions([
|
||||||
CreateAction::make('create')
|
CreateAction::make('create')
|
||||||
->label(trans('admin/apikey.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->button(),
|
->button(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -67,7 +66,6 @@ class ListApiKeys extends ListRecords
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Actions\CreateAction::make()
|
Actions\CreateAction::make()
|
||||||
->label(trans('admin/apikey.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->hidden(fn () => ApiKey::where('key_type', ApiKey::TYPE_APPLICATION)->count() <= 0),
|
->hidden(fn () => ApiKey::where('key_type', ApiKey::TYPE_APPLICATION)->count() <= 0),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ class ListDatabaseHosts extends ListRecords
|
|||||||
->emptyStateHeading(trans('admin/databasehost.no_database_hosts'))
|
->emptyStateHeading(trans('admin/databasehost.no_database_hosts'))
|
||||||
->emptyStateActions([
|
->emptyStateActions([
|
||||||
CreateAction::make('create')
|
CreateAction::make('create')
|
||||||
->label(trans('admin/databasehost.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->button(),
|
->button(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -68,7 +67,6 @@ class ListDatabaseHosts extends ListRecords
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Actions\CreateAction::make('create')
|
Actions\CreateAction::make('create')
|
||||||
->label(trans('admin/databasehost.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->hidden(fn () => DatabaseHost::count() <= 0),
|
->hidden(fn () => DatabaseHost::count() <= 0),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -58,8 +58,7 @@ class ListEggs extends ListRecords
|
|||||||
->emptyStateDescription('')
|
->emptyStateDescription('')
|
||||||
->emptyStateHeading(trans('admin/egg.no_eggs'))
|
->emptyStateHeading(trans('admin/egg.no_eggs'))
|
||||||
->emptyStateActions([
|
->emptyStateActions([
|
||||||
CreateAction::make()
|
CreateAction::make(),
|
||||||
->label(trans('admin/egg.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')])),
|
|
||||||
ImportEggAction::make(),
|
ImportEggAction::make(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -68,8 +67,7 @@ class ListEggs extends ListRecords
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
ImportEggHeaderAction::make(),
|
ImportEggHeaderAction::make(),
|
||||||
CreateHeaderAction::make()
|
CreateHeaderAction::make(),
|
||||||
->label(trans('admin/egg.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')])),
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,6 @@ class ListMounts extends ListRecords
|
|||||||
->emptyStateHeading(trans('admin/mount.no_mounts'))
|
->emptyStateHeading(trans('admin/mount.no_mounts'))
|
||||||
->emptyStateActions([
|
->emptyStateActions([
|
||||||
CreateAction::make('create')
|
CreateAction::make('create')
|
||||||
->label(trans('admin/mount.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->button(),
|
->button(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -61,7 +60,6 @@ class ListMounts extends ListRecords
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Actions\CreateAction::make()
|
Actions\CreateAction::make()
|
||||||
->label(trans('admin/mount.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->hidden(fn () => Mount::count() <= 0),
|
->hidden(fn () => Mount::count() <= 0),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,6 @@ class ListNodes extends ListRecords
|
|||||||
->emptyStateHeading(trans('admin/node.no_nodes'))
|
->emptyStateHeading(trans('admin/node.no_nodes'))
|
||||||
->emptyStateActions([
|
->emptyStateActions([
|
||||||
CreateAction::make('create')
|
CreateAction::make('create')
|
||||||
->label(trans('admin/node.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->button(),
|
->button(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -74,7 +73,6 @@ class ListNodes extends ListRecords
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Actions\CreateAction::make()
|
Actions\CreateAction::make()
|
||||||
->label(trans('admin/node.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->hidden(fn () => Node::count() <= 0),
|
->hidden(fn () => Node::count() <= 0),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -53,8 +53,7 @@ class ListRoles extends ListRecords
|
|||||||
protected function getHeaderActions(): array
|
protected function getHeaderActions(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
CreateAction::make()
|
CreateAction::make(),
|
||||||
->label(trans('admin/role.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')])),
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,6 @@ class ListServers extends ListRecords
|
|||||||
->emptyStateHeading(trans('admin/server.no_servers'))
|
->emptyStateHeading(trans('admin/server.no_servers'))
|
||||||
->emptyStateActions([
|
->emptyStateActions([
|
||||||
CreateAction::make('create')
|
CreateAction::make('create')
|
||||||
->label(trans('admin/server.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->button(),
|
->button(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -107,7 +106,6 @@ class ListServers extends ListRecords
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Actions\CreateAction::make()
|
Actions\CreateAction::make()
|
||||||
->label(trans('admin/server.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->hidden(fn () => Server::count() <= 0),
|
->hidden(fn () => Server::count() <= 0),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -78,8 +78,7 @@ class ListUsers extends ListRecords
|
|||||||
protected function getHeaderActions(): array
|
protected function getHeaderActions(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
CreateAction::make()
|
CreateAction::make(),
|
||||||
->label(trans('admin/user.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')])),
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,6 @@ class ListWebhookConfigurations extends ListRecords
|
|||||||
->emptyStateHeading(trans('admin/webhook.no_webhooks'))
|
->emptyStateHeading(trans('admin/webhook.no_webhooks'))
|
||||||
->emptyStateActions([
|
->emptyStateActions([
|
||||||
CreateAction::make('create')
|
CreateAction::make('create')
|
||||||
->label(trans('admin/webhook.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->button(),
|
->button(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -43,7 +42,6 @@ class ListWebhookConfigurations extends ListRecords
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
Actions\CreateAction::make()
|
Actions\CreateAction::make()
|
||||||
->label(trans('admin/webhook.create_action', ['action' => trans('filament-actions::create.single.modal.actions.create.label')]))
|
|
||||||
->hidden(fn () => WebhookConfiguration::count() <= 0),
|
->hidden(fn () => WebhookConfiguration::count() <= 0),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,6 @@ return [
|
|||||||
'nav_title' => 'API Keys',
|
'nav_title' => 'API Keys',
|
||||||
'model_label' => 'Application API Key',
|
'model_label' => 'Application API Key',
|
||||||
'model_label_plural' => 'Application API Keys',
|
'model_label_plural' => 'Application API Keys',
|
||||||
'create_action' => ':action API Key',
|
|
||||||
'table' => [
|
'table' => [
|
||||||
'key' => 'Key',
|
'key' => 'Key',
|
||||||
'description' => 'Description',
|
'description' => 'Description',
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'create_action' => ':action Database host',
|
|
||||||
'nav_title' => 'Database Hosts',
|
'nav_title' => 'Database Hosts',
|
||||||
'model_label' => 'Database Host',
|
'model_label' => 'Database Host',
|
||||||
'model_label_plural' => 'Database Hosts',
|
'model_label_plural' => 'Database Hosts',
|
||||||
@ -26,7 +25,7 @@ return [
|
|||||||
'max_database' => 'Max Databases',
|
'max_database' => 'Max Databases',
|
||||||
'max_databases_help' => 'The maximum number of databases that can be created on this host. If the limit is reached, no new databases can be created on this host. Blank is unlimited.',
|
'max_databases_help' => 'The maximum number of databases that can be created on this host. If the limit is reached, no new databases can be created on this host. Blank is unlimited.',
|
||||||
'display_name' => 'Display Name',
|
'display_name' => 'Display Name',
|
||||||
'display_name_help' => 'A short identifier used to distinguish this location from others. Must be between 1 and 60 characters, for example, us.nyc.lvl3.',
|
'display_name_help' => 'A short identifier used to distinguish this host from others. Must be between 1 and 60 characters, for example, us.nyc.lvl3.',
|
||||||
'username' => 'Username',
|
'username' => 'Username',
|
||||||
'username_help' => 'The username of an account that has enough permissions to create new users and databases on the system.',
|
'username_help' => 'The username of an account that has enough permissions to create new users and databases on the system.',
|
||||||
'password' => 'Password',
|
'password' => 'Password',
|
||||||
|
@ -19,7 +19,6 @@ return [
|
|||||||
'import_success' => 'Import Success',
|
'import_success' => 'Import Success',
|
||||||
],
|
],
|
||||||
'in_use' => 'In Use',
|
'in_use' => 'In Use',
|
||||||
'create_action' => ':action Egg',
|
|
||||||
'servers' => 'Servers',
|
'servers' => 'Servers',
|
||||||
'name' => 'Name',
|
'name' => 'Name',
|
||||||
'egg_uuid' => 'Egg UUID',
|
'egg_uuid' => 'Egg UUID',
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'create_action' => ':action Mount',
|
|
||||||
'nav_title' => 'Mounts',
|
'nav_title' => 'Mounts',
|
||||||
'model_label' => 'Mount',
|
'model_label' => 'Mount',
|
||||||
'model_label_plural' => 'Mounts',
|
'model_label_plural' => 'Mounts',
|
||||||
|
@ -4,7 +4,6 @@ return [
|
|||||||
'nav_title' => 'Nodes',
|
'nav_title' => 'Nodes',
|
||||||
'model_label' => 'Node',
|
'model_label' => 'Node',
|
||||||
'model_label_plural' => 'Nodes',
|
'model_label_plural' => 'Nodes',
|
||||||
'create_action' => ':action Node',
|
|
||||||
'tabs' => [
|
'tabs' => [
|
||||||
'overview' => 'Overview',
|
'overview' => 'Overview',
|
||||||
'basic_settings' => 'Basic Settings',
|
'basic_settings' => 'Basic Settings',
|
||||||
|
@ -4,7 +4,6 @@ return [
|
|||||||
'nav_title' => 'Roles',
|
'nav_title' => 'Roles',
|
||||||
'model_label' => 'Role',
|
'model_label' => 'Role',
|
||||||
'model_label_plural' => 'Roles',
|
'model_label_plural' => 'Roles',
|
||||||
'create_action' => ':action Role',
|
|
||||||
'no_roles' => 'No Roles',
|
'no_roles' => 'No Roles',
|
||||||
'name' => 'Role Name',
|
'name' => 'Role Name',
|
||||||
'permissions' => 'Permissions',
|
'permissions' => 'Permissions',
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'create_action' => ':action Server',
|
|
||||||
'nav_title' => 'Servers',
|
'nav_title' => 'Servers',
|
||||||
'model_label' => 'Server',
|
'model_label' => 'Server',
|
||||||
'model_label_plural' => 'Servers',
|
'model_label_plural' => 'Servers',
|
||||||
@ -30,7 +29,7 @@ return [
|
|||||||
'resource_limits' => 'Resource Limits',
|
'resource_limits' => 'Resource Limits',
|
||||||
'cpu' => 'CPU',
|
'cpu' => 'CPU',
|
||||||
'cpu_limit' => 'CPU Limit',
|
'cpu_limit' => 'CPU Limit',
|
||||||
'cpu_helper' => '100% equals one CPU core.',
|
'cpu_helper' => '100% equals one CPU thread.',
|
||||||
'unlimited' => 'Unlimited',
|
'unlimited' => 'Unlimited',
|
||||||
'limited' => 'Limited',
|
'limited' => 'Limited',
|
||||||
'enabled' => 'Enabled',
|
'enabled' => 'Enabled',
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'create_action' => ':action User',
|
|
||||||
'nav_title' => 'Users',
|
'nav_title' => 'Users',
|
||||||
'model_label' => 'User',
|
'model_label' => 'User',
|
||||||
'model_label_plural' => 'Users',
|
'model_label_plural' => 'Users',
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'create_action' => ':action Webhook',
|
|
||||||
'nav_title' => 'Webhooks',
|
'nav_title' => 'Webhooks',
|
||||||
'model_label' => 'Webhook',
|
'model_label' => 'Webhook',
|
||||||
'model_label_plural' => 'Webhooks',
|
'model_label_plural' => 'Webhooks',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user