Skip to content

A free open source IT asset/license management system

Updated string

snipe277a4dd8a400
diff --git a/resources/lang/en-US/admin/settings/general.php b/resources/lang/en-US/admin/settings/general.php
index 22ffc593cc..c2898d50da 100644
--- a/resources/lang/en-US/admin/settings/general.php
+++ b/resources/lang/en-US/admin/settings/general.php
@@ -539,14 +539,15 @@ return [
'sync_adapters_none_registered' => 'No sync adapters are registered in this installation.',
'sync_adapter_base_url' => 'Base URL',
'sync_adapter_base_url_help' => 'The base URL of your :type instance.',
- 'sync_adapter_sync_now' => 'Sync Now',
+ 'sync_adapter_pull_now' => 'Pull Now',
'sync_adapter_not_configured' => 'This adapter has not been configured yet.',
'sync_adapter_sync_complete' => 'Sync complete. Synced :count host(s), :errors error(s).',
'sync_adapter_sync_failed' => 'Sync failed: :summary. See storage/logs/sync-adapters.log for full details.',
'sync_adapter_sync_failed_network' => 'network error',
'sync_adapter_last_synced_label' => 'Last Synced',
'sync_adapter_never_synced' => 'Never',
- 'sync_adapter_large_fleet_note' => 'For large fleets, schedule the CLI command :command instead of clicking Sync Now.',
+ 'sync_adapter_large_fleet_note' => 'For large fleets, schedule these CLI commands instead of clicking the buttons above: :pull_command to pull inventory, :push_command to push Snipe-IT values back to the vendor.',
+ 'sync_adapter_large_fleet_note_pull_only' => 'For large fleets, schedule the CLI command :pull_command instead of clicking Pull Now.',
'sync_adapter_log_heartbeats_label' => 'Log every sync, including heartbeats',
'sync_adapter_log_heartbeats_help' => 'By default, syncs that only update the last-seen timestamp are not written to the asset history to avoid heartbeat noise. Turn this on to record every sync as a history entry.',
'sync_adapter_field_mapping_title' => 'Field mapping',
@@ -557,6 +558,7 @@ return [
'sync_adapter_field_serial' => 'Hardware serial',
'sync_adapter_field_asset_tag' => 'Asset tag',
'sync_adapter_target_native_asset_tag' => 'Asset tag',
+ 'sync_adapter_target_native_notes' => 'Asset notes',
'sync_adapter_asset_tag_pattern' => 'Asset tag pattern',
'sync_adapter_asset_tag_pattern_help' => 'Applied only to newly-created assets from this adapter. Supported placeholders: <code>{serial}</code>, <code>{external_id}</code>, <code>{hostname}</code>, <code>{model}</code>, <code>{source}</code>. Leave blank to fall back to Snipe-IT\'s auto-increment setting. If auto-increment is also off, the asset tag defaults to <code>{source}-{external_id}</code>. Assets already synced keep their existing asset tag.',
'sync_adapter_default_category' => 'Model Category',
@@ -564,8 +566,9 @@ return [
'sync_adapter_user_match_strategy' => 'Assign to Snipe-IT user',
'sync_adapter_user_match_strategy_help' => 'When a match is found, the asset checks out to that user. Missing or unmatched users are skipped and written to <code>storage/logs/sync-adapters.log</code> as warnings. Existing assignments are never cleared by a payload that omits the user field.',
'sync_adapter_user_match_none' => 'Do not assign users',
- 'sync_adapter_user_match_email' => 'Match by email address',
- 'sync_adapter_user_match_username' => 'Match by username',
+ 'sync_adapter_user_match_username_then_email' => 'Match by username, fall back to email',
+ 'sync_adapter_user_match_username' => 'Match by username only',
+ 'sync_adapter_user_match_email' => 'Match by email address only',
'sync_adapter_suppress_notifications_label' => 'Suppress notifications (email, webhooks) on sync-driven assignments',
'sync_adapter_default_status' => 'Default Status Label',
'sync_adapter_default_status_help' => 'When a device from this adapter is created in Snipe-IT for the first time, its status label is set to this value. Leave blank to use the first deployable status label (or the first status label if none are marked deployable).',
@@ -593,11 +596,29 @@ return [
'sync_adapter_zentral_token_help' => 'Generate a service-account API token under Setup -> User -> Users in your Zentral console. Needs the "Django REST Framework Token" flag and read access to the inventory app.',
'sync_adapter_ninjaone_client_id_help' => 'Register an app under Administration -> Apps -> API in your NinjaOne dashboard. Set the authorization type to "Client Credentials" and grant it the Monitoring scope so it can read devices. Copy the Client ID from the app detail page.',
'sync_adapter_ninjaone_client_secret_help' => 'Paired with Client ID above. NinjaOne shows the secret once when the OAuth app is created.',
+ 'sync_adapter_ninjaone_asset_tag_field_help' => 'Optional. NinjaOne has no built-in asset_tag column, so push writes to a per-device Custom Field instead. Create the field under Administration -> Devices -> Custom Fields in your Ninja dashboard, then paste its exact name here. Leave blank if you are not pushing asset_tag to Ninja.',
'sync_adapter_readiness_active' => 'Active, configured and will sync',
'sync_adapter_readiness_partial' => 'Turned on but the configuration is incomplete',
'sync_adapter_readiness_inactive' => 'Turned off',
+ 'sync_adapter_direction_pull' => 'Pull from vendor',
+ 'sync_adapter_direction_push' => 'Push to vendor',
+ 'sync_adapter_direction_both' => 'Both (last-write-wins)',
+ 'sync_adapter_direction_skip' => 'Skip',
+ 'sync_adapter_push_now' => 'Push Now',
+ 'sync_adapter_push_complete' => 'Push complete. Pushed :count asset(s), :errors error(s).',
+ 'sync_adapter_push_failed' => 'Push failed: :summary. See storage/logs/sync-adapters.log for full details.',
+ 'sync_adapter_push_not_supported' => 'This adapter does not support pushing data to the vendor.',
+ 'sync_adapter_push_dry_run_label' => 'Dry-run push (log payloads, do not send)',
+ 'sync_adapter_push_dry_run_help' => 'When on, Push Now builds every payload and writes it to the sync-adapters log without calling the vendor API. Useful for verifying your direction + mapping configuration end-to-end before flipping the switch on real data.',
+ 'sync_adapter_push_notes_section_title' => 'Composite Field',
+ 'sync_adapter_push_notes_section_intro' => 'Optional composite field where you can assemble multiple attributes from an asset and push it into a compatible field on the vendor side. This is useful for vendors that do not support multiple fields or custom attributes, but do support a single notes field.',
+ 'sync_adapter_push_notes_target_label' => 'Vendor field',
+ 'sync_adapter_push_notes_target_help' => 'Vendor field the composed notes get written to. Leave blank to use the adapter\'s default (shown as placeholder). Set to a Custom Attribute / Custom Field name if you want the composed notes to be pushed to a specific vendor-side field instead of the default notes column.',
+ 'sync_adapter_push_notes_target_placeholder_none' => 'No default (specify a target)',
+ 'sync_adapter_push_notes_template_label' => 'Template',
+ 'sync_adapter_push_notes_template_help' => 'Blade-style template rendered per asset and pushed to the vendor field above. Leave blank to skip notes push. Placeholders: <code>{asset_tag}</code>, <code>{name}</code>, <code>{serial}</code>, <code>{model}</code>, <code>{manufacturer}</code>, <code>{category}</code>, <code>{status}</code>, <code>{status_type}</code>, <code>{assigned_to}</code>, <code>{assigned_to_email}</code>, <code>{assigned_to_username}</code>, <code>{location}</code>, <code>{company}</code>, <code>{supplier}</code>, <code>{last_checkout}</code>, <code>{last_checkin}</code>, <code>{expected_checkin}</code>, <code>{notes}</code>, <code>{order_number}</code>, <code>{purchase_date}</code>, <code>{purchase_cost}</code>, <code>{warranty_months}</code>, <code>{warranty_expires}</code>. Custom fields: <code>{custom.Field Name}</code>. Unknown or empty placeholders render as blank.',
'sync_adapter_checkin_on_null_user_label' => 'Check assets in when the vendor reports no assigned user',
- 'sync_adapter_checkin_on_null_user_help' => 'When the vendor stops reporting an assigned user for a device, check the asset in from whoever had it. Off by default because a single missed sync cycle (device offline, empty field on a fresh enrollment) would flap the assignment. Turn this on only if you trust your vendor\'s user reporting to be consistent every sync.',
+ 'sync_adapter_checkin_on_null_user_help' => 'When the vendor stops reporting an assigned user for a device, check the asset in from whoever had it. Off by default because a single missed sync cycle (device offline, empty field on a fresh enrollment) would unassign the asset. Turn this on only if you trust your vendor\'s user reporting to be consistent every sync.',
'sync_adapter_group_mapping_title' => ':label to Snipe-IT company mapping',
'sync_adapter_group_mapping_intro' => 'Map each :label from the vendor to a Snipe-IT company. Synced devices land in the mapped company. Unmapped groups fall back to this adapter\'s own company setting. Click Refresh to pull the current list from the vendor.',
'sync_adapter_group_mapping_empty' => 'No :label list loaded yet. Click Refresh to fetch the current list from the vendor.',
@@ -621,7 +642,7 @@ return [
'sync_adapter_field_also_pulled_title' => 'Also pulled',
'sync_adapter_field_also_pulled_intro' => 'These values are pulled and saved alongside the asset. They are not surfaced in any dedicated UI yet.',
'sync_adapter_active_label' => 'Active',
- 'sync_adapter_active_help' => 'When off, scheduled runs and manual Sync Now clicks both skip this adapter. Stored credentials stay intact so you can re-enable without reconfiguring.',
+ 'sync_adapter_active_help' => 'When off, scheduled runs and manual Pull Now / Push Now clicks all skip this adapter. Stored credentials stay intact so you can re-enable without reconfiguring.',
'sync_adapter_instance_created' => 'Adapter added. Fill in the URL and credentials below, then check "Active" and Save to enable sync.',
'sync_adapter_not_found' => 'Adapter ":slug" does not exist. It may have been deleted or the URL is out of date.',
'sync_adapter_instance_deleted' => 'Adapter removed. Previously synced assets stay in place with their existing external-id links.',