Skip to content

A free open source IT asset/license management system

Added/merged strings

snipe0459d9b16149
diff --git a/resources/lang/en-US/admin/accessories/general.php b/resources/lang/en-US/admin/accessories/general.php
index 02ab2161d0..21c15f31bf 100644
--- a/resources/lang/en-US/admin/accessories/general.php
+++ b/resources/lang/en-US/admin/accessories/general.php
@@ -20,9 +20,5 @@ return [
'clone' => 'Clone Accessory',
'delete_disabled' => 'This accessory cannot be deleted yet because some items are still checked out.',
'accessory_deleted_warning' => 'This accessory has been deleted. You must restore it before you can assign it.',
- 'bulk_delete_help' => 'Review the accessories you are about to delete. Accessories with checkouts are unselected and cannot be removed until their checkouts are returned.',
- 'bulk_delete_warn' => 'You are about to delete :accessory_count accessory.|You are about to delete :accessory_count accessories.',
- 'bulk_edit_warn' => 'You are editing :accessory_count accessory.|You are editing :accessory_count accessories.',
- 'bulk_edit_help' => 'Only fields you fill below are written to the selected accessories. Leave a field blank to leave it as-is.',
];
diff --git a/resources/lang/en-US/admin/components/general.php b/resources/lang/en-US/admin/components/general.php
index ed42f84ef7..a5233022f7 100644
--- a/resources/lang/en-US/admin/components/general.php
+++ b/resources/lang/en-US/admin/components/general.php
@@ -16,8 +16,4 @@ return [
'exclude_deleted' => 'Exclude Deleted Components',
'include_deleted' => 'Include Deleted Components',
'only_deleted' => 'Only Deleted Components',
- 'bulk_delete_help' => 'Review the components you are about to delete. Components with checkouts are unselected and cannot be removed until their checkouts are returned.',
- 'bulk_delete_warn' => 'You are about to delete :component_count component.|You are about to delete :component_count components.',
- 'bulk_edit_warn' => 'You are editing :component_count component.|You are editing :component_count components.',
- 'bulk_edit_help' => 'Only fields you fill below are written to the selected components. Leave a field blank to leave it as-is.',
];
diff --git a/resources/lang/en-US/admin/consumables/general.php b/resources/lang/en-US/admin/consumables/general.php
index d25baa104d..50c02269ef 100644
--- a/resources/lang/en-US/admin/consumables/general.php
+++ b/resources/lang/en-US/admin/consumables/general.php
@@ -12,4 +12,9 @@ return [
'exclude_deleted' => 'Exclude Deleted Consumables',
'include_deleted' => 'Include Deleted Consumables',
'only_deleted' => 'Only Deleted Consumables',
+ 'mark_consumed' => 'Mark as consumed',
+ 'bulk_consume' => 'Mark selected as consumed',
+ 'bulk_consume_warn' => 'You are about to mark :count distribution as consumed.|You are about to mark :count distributions as consumed.',
+ 'bulk_consume_help' => 'This closes the distribution lifecycle so it no longer counts against the parent consumable\'s outstanding total. This action cannot be undone.',
+ 'consumed_at' => 'Consumed on',
];
diff --git a/resources/lang/en-US/admin/consumables/message.php b/resources/lang/en-US/admin/consumables/message.php
index 0814995112..97eb9390e4 100644
--- a/resources/lang/en-US/admin/consumables/message.php
+++ b/resources/lang/en-US/admin/consumables/message.php
@@ -19,6 +19,8 @@ return [
'confirm' => 'Are you sure you wish to delete this consumable?',
'error' => 'There was an issue deleting the consumable. Please try again.',
'success' => 'The consumable was deleted successfully.',
+ 'bulk_success' => 'Consumable deleted successfully.|:count consumables were deleted successfully.',
+ 'partial_success' => ':count consumable was deleted successfully, but others could not be deleted. See below for details.|:count consumables were deleted successfully, but others could not be deleted. See below for details.',
],
'checkout' => [
@@ -28,10 +30,38 @@ return [
'unavailable' => 'There are not enough consumables for this checkout. Please check the quantity left. ',
],
+ 'consumed' => [
+ 'success' => 'Distribution marked as consumed.',
+ 'bulk_success' => ':count distribution was marked as consumed.|:count distributions were marked as consumed.',
+ 'already' => 'That distribution was already marked as consumed.',
+ 'error' => 'Could not mark the distribution as consumed, please try again.',
+ 'no_rows_selected' => 'No valid distributions were selected.',
+ ],
+
'checkin' => [
'error' => 'Consumable was not checked in, please try again',
'success' => 'Consumable checked in successfully.',
'user_does_not_exist' => 'That user is invalid. Please try again.',
],
+ 'restore' => [
+ 'error' => 'Consumable was not restored, please try again',
+ 'success' => 'Consumable restored successfully.',
+ ],
+
+ 'bulk' => [
+ 'no_consumables_selected' => 'No consumables were selected.',
+ 'no_action_selected' => 'Please pick an action from the dropdown.',
+ 'no_fields_updated' => 'No fields were changed, so nothing was updated.',
+ 'skipped_unauthorized' => ':count consumable(s) were skipped because you do not have permission to update them.',
+
+ 'update' => [
+ 'success' => ':count consumable was updated.|:count consumables were updated.',
+ 'none_updated' => 'The selected consumable could not be updated. See errors below for details.|None of the selected consumables could be updated. See errors below for details.',
+ ],
+
+ 'restore' => [
+ 'success' => ':count consumable was restored.|:count consumables were restored.',
+ ],
+ ],
];
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php
index 6dd5b20805..5e9ae01683 100644
--- a/resources/lang/en-US/general.php
+++ b/resources/lang/en-US/general.php
@@ -39,7 +39,9 @@ return [
'archived_help' => 'Archived :item_type_plural are hidden from the default list and cannot be requested or checked out.',
'archived_cancels_pending_requests' => ':count pending request will be canceled when you archive this :item_type.|:count pending requests will be canceled when you archive this :item_type.',
'item_archived_warning' => 'This :item_type has been archived. Unarchive it before you can check it out again.',
+ 'item_deleted_warning' => 'This :item_type has been deleted. Restore it before you can check it out again.',
'archived_blocked_by_checkouts' => 'This :item_type still has active checkouts. Check them back in before archiving.',
+ 'archived_blocked_by_outstanding' => 'This :item_type still has outstanding distributions. Mark them as consumed before archiving.',
'cannot_checkout_archived' => 'That :item_type has been archived and cannot be checked out. Unarchive it first on the :item_type edit screen.',
'unarchive' => 'Unarchive',
'unarchive_success' => ':item_type successfully unarchived.',
@@ -84,6 +86,10 @@ return [
'bulk_actions' => 'Bulk Actions',
'bulk_actions_selection_prompt' => 'Select rows to see available actions',
'bulk_actions_none_available' => 'No actions available for the selected rows',
+ 'bulk_delete_help' => 'Review the :items you are about to delete. :items with checkouts are unselected and cannot be removed until their checkouts are returned.',
+ 'bulk_delete_warn' => 'You are about to delete :count :item.|You are about to delete :count :items.',
+ 'bulk_edit_warn' => 'You are editing :count :item.|You are editing :count :items.',
+ 'bulk_edit_help' => 'Only fields you fill below are written to the selected :items. Leave a field blank to leave it as-is.',
'bulk_checkin_delete' => 'Bulk Checkin / Delete Users',
'byod' => 'BYOD',
'byod_help' => 'This device is owned by the user',
@@ -133,6 +139,7 @@ return [
'checkin_note' => 'Checkin Note',
'checkout_note' => 'Checkout Note',
'checkout' => 'Checkout',
+ 'consumed' => 'Consumed',
'checkouts_count' => 'Checkouts',
'checkins_count' => 'Checkins',
'checkin_and_delete' => 'Checkin and Delete',