mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
Add translation
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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:',
|
||||
|
||||
Reference in New Issue
Block a user