Extract translation strings

This commit is contained in:
Marcus Moore 2023-08-01 15:21:49 -07:00
parent ebfc395e78
commit 65de9c5e07
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -8,6 +8,8 @@ return array(
'clone' => 'Clone Category',
'create' => 'Create Category',
'edit' => 'Edit Category',
'email_will_be_sent_due_to_global_eula' => 'An email will be sent to the user because the global EULA is being used.',
'email_will_be_sent_due_to_category_eula' => 'An email will be sent to the user because a EULA is set for this category.',
'eula_text' => 'Category EULA',
'eula_text_help' => 'This field allows you to customize your EULAs for specific types of assets. If you only have one EULA for all of your assets, you can check the box below to use the primary default.',
'name' => 'Category Name',

View file

@ -133,8 +133,8 @@
let messageSpan = $('#email_will_be_sent_message');
let messages = {
global: 'An email will be sent to the user because the global EULA is being used.',
local: 'An email will be sent to the user because a EULA is set for this category.',
global: '{{ trans('admin/categories/general.email_will_be_sent_due_to_global_eula') }}',
local: '{{ trans('admin/categories/general.email_will_be_sent_due_to_category_eula') }}',
};
function handleEulaChange() {