Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Dec 6, 2023
1 parent 1883142 commit 620d261
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions resources/lang/en/editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'align_right' => 'Align Text Right',
'blockquote' => 'Blockquote',
'blocks' => [
'panel' => 'Blocks',
'insert' => 'Insert Block',
'update' => 'Update Block',
],
Expand Down Expand Up @@ -79,6 +80,9 @@
'checked' => 'Checked List',
],
'media' => 'Insert / Edit Media',
'merge_tags' => [
'panel' => 'Merge tags',
],
'paragraph' => 'Paragraph',
'redo' => 'Redo',
'remove_color' => 'Remove Color',
Expand Down
4 changes: 2 additions & 2 deletions resources/views/tiptap-editor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ class="hidden shrink-0 space-y-2 max-w-sm md:flex flex-col h-full"
<div class="flex items-center mt-2">
<p class="text-xs font-bold" x-show="! isCollapsed">
@if ($shouldSupportBlocks)
Blocks
{{ __('filament-tiptap-editor::editor.blocks.panel') }}
@else
Merge Tags
{{ __('filament-tiptap-editor::editor.merge_tags.panel') }}
@endif
</p>

Expand Down

0 comments on commit 620d261

Please sign in to comment.