Skip to content

Commit 72b2b2d

Browse files
committed
Refactor to translatable placeholder text
1 parent 88acdbc commit 72b2b2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

resources/lang/en-US/admin/settings/general.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'dashboard_message_help' => 'This text will appear on the dashboard for anyone with permission to view the dashboard.',
5151
'default_currency' => 'Default Currency',
5252
'default_eula_text' => 'Default EULA',
53+
'default_eula_text_placeholder' => 'Add your default EULA text',
5354
'default_language' => 'Default Language',
5455
'default_eula_help_text' => 'You can also associate custom EULAs to specific asset categories.',
5556
'acceptance_note' => 'Add a note for your decision (Optional)',

resources/views/settings/general.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
<x-input.textarea
229229
name="default_eula_text"
230230
:value="old('default_eula_text', $setting->default_eula_text)"
231-
placeholder="Add your default EULA text"
231+
placeholder="{{ trans('admin/settings/general.default_eula_text_placeholder') }}"
232232
/>
233233
{!! $errors->first('default_eula_text', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
234234
<p class="help-block">{{ trans('admin/settings/general.default_eula_help_text') }}</p>

0 commit comments

Comments
 (0)