Add translation

This commit is contained in:
Marcus Moore
2025-12-04 15:18:24 -08:00
parent da790136ff
commit d062cc45df
2 changed files with 6 additions and 10 deletions

View File

@@ -147,18 +147,13 @@ class BulkAssetCheckoutMail extends Mailable
return [];
}
if ($this->assets->count() > 1) {
return [
// todo: translate
trans_choice('mail.items_checked_out_require_acceptance', $this->assets->count()),
"**[✔ Click here to review the terms of use and accept the items]({$this->getAcceptanceUrl()})**",
];
}
return [
// todo: translate
trans_choice('mail.items_checked_out_require_acceptance', $this->assets->count()),
"**[✔ Click here to review the terms of use and accept the item]({$this->getAcceptanceUrl()})**",
sprintf(
'**[✔ %s](%s)**',
trans_choice('mail.click_here_to_review_terms_and_accept_item', $this->assets->count()),
$this->getAcceptanceUrl(),
),
];
}
}

View File

@@ -86,6 +86,7 @@ return [
'password_reset' => 'Password Reset',
'read_the_terms' => 'Please read the terms of use below.',
'read_the_terms_and_click' => 'Please read the terms of use below, and click on the link at the bottom to confirm that you read and agree to the terms of use, and have received the asset.',
'click_here_to_review_terms_and_accept_item' => 'Click here to review the terms of use and accept the item|Click here to review the terms of use and accept the items',
'requested' => 'Requested',
'reset_link' => 'Your Password Reset Link',
'reset_password' => 'Click here to reset your password:',