Skip to content

Commit

Permalink
Internationalize the fallback element text
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Nov 18, 2024
1 parent 89d5b0c commit 56afb6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/resources/locales/en_US/field.po
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ msgstr "IP Address"
msgid "required"
msgstr "Required"

msgid "element_fallback"
msgstr "Element ID not provided"

msgid "role_key"
msgstr "Role Key"

Expand Down
2 changes: 1 addition & 1 deletion app/templates/element/form/elementFallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
declare(strict_types = 1);
?>

<span>Element ID not provided</span>
<span><?= __d('field', 'element_fallback') ?></span>

0 comments on commit 56afb6f

Please sign in to comment.