mirror of
https://github.com/manualdousuario/marreta.git
synced 2025-09-01 10:10:14 +00:00
55 lines
No EOL
2.3 KiB
PHP
55 lines
No EOL
2.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
'site_description' => 'Paywall hat is a sledgehammer!',
|
|
'walls_destroyed' => 'walls destroyed!',
|
|
'url_placeholder' => 'Enter URL (e.g., https://example.com)',
|
|
'analyze_button' => 'Analyze',
|
|
'direct_access' => 'Direct access:',
|
|
'bookmarklet_title' => 'Add to Bookmarks',
|
|
'bookmarklet_description' => 'Drag the button below to your bookmarks bar to quickly access {site_name} on any page:',
|
|
'open_in' => 'Open in {site_name}',
|
|
'alternative_services' => 'Alternative Services',
|
|
'api_title' => 'REST API',
|
|
'api_description' => '{site_name} provides a REST API for integration with other systems:',
|
|
'endpoint' => 'Endpoint:',
|
|
'success_response' => 'Success response:',
|
|
'error_response' => 'Error response:',
|
|
'open_source_title' => 'Open Source Project',
|
|
'open_source_description' => 'This is an <a href="https://github.com/manualdousuario/marreta/" class="underline" target="_blank">open source</a> project made with ❤️!<br />You can contribute, report issues, or make suggestions through <a href="https://github.com/manualdousuario/marreta/" class="underline" target="_blank">GitHub</a>.',
|
|
|
|
'messages' => [
|
|
'BLOCKED_DOMAIN' => [
|
|
'message' => 'This domain is blocked for extraction.',
|
|
'type' => 'error'
|
|
],
|
|
'DNS_FAILURE' => [
|
|
'message' => 'Failed to resolve DNS for the domain. Please verify if the URL is correct.',
|
|
'type' => 'warning'
|
|
],
|
|
'HTTP_ERROR' => [
|
|
'message' => 'The server returned an error while trying to access the page. Please try again later.',
|
|
'type' => 'warning'
|
|
],
|
|
'CONNECTION_ERROR' => [
|
|
'message' => 'Error connecting to the server. Check your connection and try again.',
|
|
'type' => 'warning'
|
|
],
|
|
'CONTENT_ERROR' => [
|
|
'message' => 'Could not get content. Try using archive services.',
|
|
'type' => 'warning'
|
|
],
|
|
'INVALID_URL' => [
|
|
'message' => 'Invalid URL format',
|
|
'type' => 'error'
|
|
],
|
|
'NOT_FOUND' => [
|
|
'message' => 'Page not found',
|
|
'type' => 'error'
|
|
],
|
|
'GENERIC_ERROR' => [
|
|
'message' => 'An error occurred while processing your request.',
|
|
'type' => 'warning'
|
|
]
|
|
]
|
|
]; |