Skip to content

Commit

Permalink
translate this as well
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 12, 2024
1 parent 8763277 commit 5877702
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lang/en/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

'assets_base_url_instructions' => 'The base URL to prepend to the path.',
'assets_download_when_missing_instructions' => 'If the asset can\'t be found in the asset container, should it be downloaded?',
'assets_folder_instructions' => 'By default, downloaded assets will use same folder structure as the original URL. You can specify a different folder here.',
'assets_related_field_instructions' => 'Which field does the data reference?',
'entries_create_when_missing_instructions' => 'Create the entry if it doesn\'t exist.',
'entries_related_field_instructions' => 'Which field does the data reference?',
Expand Down
2 changes: 1 addition & 1 deletion src/Transformers/AssetsTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function fieldItems(): array
'folder' => [
'type' => 'asset_folder',
'display' => __('Folder'),
'instructions' => __('By default, downloaded assets will use same folder structure as the original URL. You can specify a different folder here.'),
'instructions' => __('importer::messages.assets_folder_instructions'),
'if' => ['download_when_missing' => true],
'container' => $this->field->get('container'),
'max_items' => 1,
Expand Down
2 changes: 1 addition & 1 deletion src/Transformers/BardTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function fieldItems(): array
'assets_folder' => [
'type' => 'asset_folder',
'display' => __('Folder'),
'instructions' => __('By default, downloaded assets will use same folder structure as the original URL. You can specify a different folder here.'),
'instructions' => __('importer::messages.assets_folder_instructions'),
'if' => ['assets_download_when_missing' => true],
'container' => $this->field->get('container'),
'max_items' => 1,
Expand Down

0 comments on commit 5877702

Please sign in to comment.