<?php

return [

    'update' => [
        'error' => 'Ralat berlaku semasa kemaskini. ',
        'success' => 'Tetapan berjaya dikemaskini.',
    ],
    'backup' => [
        'delete_confirm' => 'Adakah anda pasti mahu memadam fail sandaran ini? Tindakan ini tidak dapat dibatalkan.',
        'file_deleted' => 'Fail sandaran telah berjaya dihapuskan.',
        'generated' => 'Fail sandaran baharu berjaya dibuat.',
        'file_not_found' => 'Fail sandaran itu tidak dapat dijumpai di pelayan.',
        'restore_warning' => 'Yes, restore it. I acknowledge that this will overwrite any existing data currently in the database. This will also log out all of your existing users (including you).',
        'restore_confirm' => 'Are you sure you wish to restore your database from :filename?',
        'delete_disabled_help' => 'Deleting backups is disabled. Contact your administrator if you wish to enable deleting backups.',
    ],
    'restore' => [
        'success' => 'Your system backup has been restored. Please log in again.',
        'archive_invalid' => 'The selected backup file (:filename) is not a valid zip archive. Restore aborted before touching the database.',
        'zip_extension_missing' => 'PHP zip extension is not loaded on this server. Cannot validate the backup archive, and restore has been aborted to prevent data loss. Ask your server administrator to install ext-zip.',
        'pre_backup_failed' => 'Could not create a pre-restore safety backup. Restore aborted so that the existing database is not destroyed without a recovery path.',
        'failed_with_backup' => 'Restore failed. The pre-existing database was wiped as part of the restore attempt, but a pre-restore backup was saved to :backup and can be used to recover.',
    ],
    'purge' => [
        'error' => 'Ralat telah berlaku semasa pembersihan.',
        'validation_failed' => 'Pengesahan pembersihan anda tidak betul. Sila taip perkataan "DELETE" dalam kotak pengesahan.',
        'success' => 'Rekod dipadamkan berjaya dibersihkan.',
    ],
    'mail' => [
        'sending' => 'Sending Test Email...',
        'success' => 'Mail sent!',
        'error' => 'Mail could not be sent.',
        'additional' => 'No additional error message provided. Check your mail settings and your app log.',
    ],
    'ldap' => [
        'testing' => 'Testing LDAP Connection, Binding & Query ...',
        '500' => '500 Server Error. Please check your server logs for more information.',
        'error' => 'Something went wrong :(',
        'sync_success' => 'A sample of 10 users returned from the LDAP server based on your settings:',
        'testing_authentication' => 'Testing LDAP Authentication...',
        'authentication_success' => 'User authenticated against LDAP successfully!',
    ],
    'labels' => [
        'null_template' => 'Label template not found. Please select a template.',
    ],
    'webhook' => [
        'sending' => 'Sending :app test message...',
        'success' => 'Your :webhook_name Integration works!',
        'success_pt1' => 'Success! Check the ',
        'success_pt2' => ' channel for your test message, and be sure to click SAVE below to store your settings.',
        '500' => '500 Server Error.',
        'error' => 'Something went wrong. :app responded with: :error_message',
        'error_redirect' => 'ERROR: 301/302 :endpoint returns a redirect. For security reasons, we don’t follow redirects. Please use the actual endpoint.',
        'error_misc' => 'Something went wrong. :( ',
        'webhook_fail' => ' webhook notification failed: Check to make sure the URL is still valid.',
        'webhook_channel_not_found' => ' webhook channel not found.',
        'ms_teams_deprecation' => 'The selected Microsoft Teams webhook URL will be deprecated Dec 31st, 2025. Please use a workflow URL. Microsoft\'s documentation on creating a workflow can be found <a href="https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498" target="_blank"> here.</a>',
    ],
    'location_scoping' => [
        'not_saved' => 'Your settings were not saved.',
        'mismatch' => 'There is 1 item in the database that need your attention before you can enable location scoping.|There are :count items in the database that need your attention before you can enable location scoping.',
    ],
    'oauth' => [
        'token_revoked' => 'Personal access token revoked successfully.',
        'token_unrevoked' => 'Personal access token reinstated successfully.',
        'token_not_found' => 'That personal access token could not be found.',
        'token_revoke_error' => 'An error occurred while revoking the token.',
        'token_unrevoke_error' => 'An error occurred while reinstating the token.',
        'client_created' => 'OAuth client created successfully.',
        'client_updated' => 'OAuth client updated successfully.',
        'client_deleted' => 'OAuth client deleted successfully.',
        'client_revoked' => 'OAuth client revoked successfully.',
        'client_unrevoked' => 'OAuth client reinstated successfully.',
        'client_not_found' => 'That OAuth client could not be found.',
        'token_deleted' => 'Token revoked successfully.',
        'client_delete_denied' => 'You are not authorized to delete this client.',
        'client_edit_denied' => 'You are not authorized to edit this client.',
        'token_delete_denied' => 'You are not authorized to revoke this token.',
    ],
];
