- Portal bilingüe (Bootstrap), biblioteca FRM, consulta y perfiles con QR. - Integración REST penasquito.wotbi.com (Token, búsqueda por passport y polling). - Webhook de sincronización, esquema MariaDB y semillas FRM/NOM. - Documentación en docs/ y extracto DatosPdf.txt; ejemplo de config sin secretos locales. Co-authored-by: Cursor <cursoragent@cursor.com>
56 lines
2.6 KiB
PHP
56 lines
2.6 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'nav_home' => 'Home',
|
|
'nav_frm' => 'FRM library',
|
|
'nav_lookup' => 'Certificate lookup',
|
|
'nav_login' => 'Sign in',
|
|
'nav_logout' => 'Sign out',
|
|
'nav_dashboard' => 'My dashboard',
|
|
'lang_en' => 'English',
|
|
'lang_es' => 'Spanish',
|
|
'app_tagline' => 'Certification management — Penasquito',
|
|
'frm_title' => 'Public FRM standards library',
|
|
'frm_intro' => 'Read-only references, verifications, and permissions. Links to corporate documentation where applicable.',
|
|
'frm_nom_related' => 'Related NOM competencies',
|
|
'lookup_title' => 'Employee or contractor lookup',
|
|
'lookup_intro' => 'Scan the QR code or enter the employee number or contractor ID.',
|
|
'lookup_type' => 'Person type',
|
|
'lookup_employee' => 'Employee',
|
|
'lookup_contractor' => 'Contractor',
|
|
'lookup_code' => 'Number / ID',
|
|
'lookup_submit' => 'Search',
|
|
'lookup_qr_hint' => 'QR URL: paste the signed link if your deployment enables HMAC.',
|
|
'profile_green' => 'Green license',
|
|
'profile_green_yes' => 'Critical authorizations valid',
|
|
'profile_green_no' => 'Requirements pending',
|
|
'profile_certs' => 'Certifications / DC3',
|
|
'profile_auths' => 'FRM authorizations',
|
|
'status_valid' => 'Valid',
|
|
'status_expiring' => 'Expiring soon',
|
|
'status_expired' => 'Expired',
|
|
'status_pending' => 'Pending',
|
|
'login_title' => 'CertiMine sign-in',
|
|
'login_user' => 'Username',
|
|
'login_pass' => 'Password',
|
|
'login_submit' => 'Sign in',
|
|
'login_error' => 'Sign-in failed. Check credentials or enable API mock for demo.',
|
|
'dashboard_welcome' => 'Welcome, :name',
|
|
'dashboard_courses' => 'Suggested courses from your competencies',
|
|
'dashboard_profile' => 'My profile and certifications',
|
|
'no_results' => 'No results',
|
|
'api_unreachable' => 'Mobiliseme service unavailable. Try again later.',
|
|
'csrf_invalid' => 'Session expired. Resubmit the form.',
|
|
'footer_docs' => 'API documentation',
|
|
'contractor_profile' => 'Contractor profile',
|
|
'employee_profile' => 'Employee profile',
|
|
'expires' => 'Expires',
|
|
'issued' => 'Issued',
|
|
'sync_title' => 'Synchronization',
|
|
'webhook_ok' => 'Event received',
|
|
'dc3_lookup_error' => 'Could not load DC3 competencies. Check passport or API token.',
|
|
'login_passport_hint' => 'With DC3 API (CERTIMINE_DC3_TOKEN), use your passport (e.g. E000055821). Password is unused. Without token: demo user with «contract» or employee.',
|
|
'login_demo_hint' => 'Without DC3 API: username containing «contract» simulates contractor; otherwise demo employee.',
|
|
];
|