Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in 02-stats-overview.md #14790

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/actions/resources/lang/ca/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'placeholder' => 'Carregar un arxiu CSV',
'rules' => [
'duplicate_columns' => '{0} El fitxer no ha de contenir més d\'un encapçalament de columna buit.|{1,*} El fitxer no ha de contenir encapçalaments de columna duplicats: :columns.',
],
],
],

'columns' => [
Expand Down
1 change: 0 additions & 1 deletion packages/actions/src/Concerns/CanImportRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ public function getUploadedFileStream(TemporaryUploadedFile $file)
$s3Adapter = Storage::disk($fileDisk)->getAdapter();

invade($s3Adapter)->client->registerStreamWrapper(); /** @phpstan-ignore-line */

$fileS3Path = (string) str('s3://' . config("filesystems.disks.{$fileDisk}.bucket") . '/' . $filePath)->replace('\\', '/');

$resource = fopen($fileS3Path, mode: 'r', context: stream_context_create([
Expand Down
1 change: 0 additions & 1 deletion packages/forms/resources/lang/ca/components.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@

],


'delete' => [
'label' => 'Esborrar',
],
Expand Down
1 change: 0 additions & 1 deletion packages/forms/resources/lang/de/components.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@

],


'reorder' => [
'label' => 'Verschieben',
],
Expand Down
1 change: 0 additions & 1 deletion packages/tables/resources/lang/ca/table.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
'label' => 'Acció|Accions',
],


'text' => [

'actions' => [
Expand Down
8 changes: 4 additions & 4 deletions packages/widgets/docs/02-stats-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,18 @@ protected static bool $isLazy = false;

## Adding a header and description

You may also add a header and description text above the widget by overriding the `$header` and `$description` properties:
You may also add a header and description text above the widget by overriding the `$heading` and `$description` properties:

```php
protected ?string $header = 'Analytics';
protected ?string $heading = 'Analytics';

protected ?string $description = 'An overview of some analytics.';
```

If you need to dynamically generated the header or description text, you can instead override the `getHeader()` and `getDescription()` methods:
If you need to dynamically generated the header or description text, you can instead override the `getHeading()` and `getDescription()` methods:

```php
protected function getHeader(): ?string
protected function getHeading(): ?string
{
return 'Analytics';
}
Expand Down
Loading