import type { AppTranslations } from './fr';

export const en = {
  common: {
    brand: 'Immotech',
    agent: 'Agent',
    cancel: 'Cancel',
    ok: 'OK',
    error: 'Error',
    save: 'Save',
    saving: 'Saving…',
    sending: 'Sending…',
    back: 'Back',
    close: 'Close',
    done: 'Done',
    loadMore: 'Load more',
    seeAll: 'See all',
    history: 'History',
    new: 'New',
    edit: 'Edit',
    loading: 'Loading…',
    unknownError: 'Unknown error',
    serverUnavailable: 'The server did not respond. Try again in a moment.',
    retry: 'Retry',
    success: 'Success',
    date: 'Date',
    time: 'Time',
    networkUnreachable:
      'Unable to reach the server. Check your Internet connection and try again.',
    networkTimeout:
      'The server is taking too long to respond. Check your connection and try again.',
    networkLocalHint:
      'Network unreachable ({{url}}). Phone and PC on the same Wi‑Fi, Windows firewall allows the port, use the PC IP (not localhost).',
    sessionExpired:
      'CRM session invalid or expired. Sign out and sign in again.',
    invalidData: 'Invalid data. Check the client, property and message.',
    yes: 'Yes',
    no: 'No',
    serverSaveError:
      'Server error while saving. Try again or check the visit / reminder.',
  },
  appUpdate: {
    title: 'Update available',
    versionLine: 'Version {{version}}',
    softBody: 'A new version of Immotech is available. Update to get the latest improvements.',
    forceBody: 'This version is no longer supported. Please update the app to continue.',
    update: 'Update',
    later: 'Later',
  },
  language: {
    title: 'Language',
    fr: 'Français',
    en: 'English',
    ar: 'العربية',
    rtlReload: 'The app restarts to apply Arabic (RTL). Your session is kept.',
  },
  tabs: {
    dashboard: 'Home',
    leads: 'Leads',
    contacts: 'Contacts',
    projects: 'Projects',
    properties: 'Properties',
    tasks: 'Tasks',
    profile: 'Profile',
    more: 'Menu',
    moreTitle: 'Shortcuts',
    moreSubtitle: 'Swipe down to close',
    moreProjectsHint: 'Project list',
    morePropertiesHint: 'Listings and properties',
    moreTasksHint: 'Agenda and to-dos',
  },
  projects: {
    title: 'Projects',
    search: 'Search a project…',
    empty: 'No accessible projects',
    notFound: 'Project not found',
    viewProperties: 'View properties',
    canOffer: 'Offer allowed',
    noAccess: 'Access restricted',
    propertiesTable: 'Project properties — select to create an offer',
    searchTitle: 'Title or reference…',
    rooms: 'Rooms',
    floor: 'Floor',
    availableOnly: 'Avail.',
    colTitle: 'Title',
    colRooms: 'Bedrooms',
    colDetails: 'Bd · m² · Floor',
    colFloor: 'Floor',
    colPrice: 'Price',
    colAction: 'Actions',
    actions: 'Actions',
    actionsUnavailableTitle: 'Property not available',
    actionsUnavailableHint:
      'Offer, hold and reservation are only for available properties (current status: {{status}}).',
    propertiesEmpty: 'No properties match these filters',
    fallbackName: 'Project #{{id}}',
  },
  demande: {
    action: 'Request',
    listTitle: 'Requests',
    listShort: 'Requests',
    listSearch: 'Reference, client, status…',
    listEmpty: 'No requests yet',
    fallbackRef: 'Request #{{id}}',
    newTitle: 'New request',
    create: 'Create request',
    created: 'Request created',
    createdRef: 'Reference {{ref}}',
    client: 'Client',
    clientHint: 'Existing CRM client, or quick create a new contact.',
    existingClient: 'Existing client',
    newClient: 'New client',
    pickClient: 'Choose a client',
    clientRequired: 'Select a client.',
    clientName: 'Full name',
    clientNamePlaceholder: 'e.g. Amel Ben Ali',
    phone: 'Phone',
    phoneRequired: 'Enter a valid phone number.',
    phonePlaceholder: 'e.g. 98 123 456',
    nameRequired: 'Enter the client name.',
    email: 'Email',
    emailPlaceholder: 'e.g. amel@exemple.com',
    identityChecking: 'Checking phone…',
    identityFound: 'Existing client: {{name}}',
    identityUseExisting: 'Tap to use them (no duplicate).',
    vocation: 'Purpose',
    vocationRequired: 'Choose buy or rent.',
    budgetMax: 'Max budget',
    budgetMin: 'Min budget',
    budgetMinHint: 'Auto (−30%) if empty',
    budgetRequired: 'Enter a maximum budget.',
    geo: 'Search area',
    geoRequired: 'Choose at least one delegation.',
    propertyTypes: 'Property types',
    propertySubTypes: 'Subtypes',
    rooms: 'Bedrooms',
    sourceRequired: 'Choose the source used in the CRM.',
    surfaceMin: 'Min surface (m²)',
    furnished: 'Furnished',
    parking: 'Parking',
    criteria: 'Features (pool, garden…)',
    floor: 'Floor',
    immediate: 'Immediate availability',
    status: 'Status',
    source: 'Source',
    note: 'Note',
    notePlaceholder: 'Search details…',
    sendMatching: 'Run property matching',
    sendToClient: 'Send to client',
    showMore: 'More filters',
    hideMore: 'Hide advanced filters',
    lookupsEmpty: 'No options available',
    noAccess: 'You are not allowed to create a request.',
    notFound: 'Request not found.',
    createdAt: 'Created on',
    detailTitle: 'Request details',
  },
  matching: {
    titleBiens: 'Property matching',
    titleDemandes: 'Request matching',
    tabBiens: 'Properties',
    tabSimilar: 'Similar',
    biensDemande: 'Matching properties',
    demandesBien: 'Matching requests',
    similarDemandes: 'Similar requests',
    forDemande: 'Request {{ref}}',
    forProperty: 'Property {{ref}}',
    loading: 'Calculating matches…',
    threshold: 'CRM threshold: {{min}}%',
    empty: 'No matching properties',
    emptyHint: 'Adjust the request criteria or refresh matching.',
    emptyDemandes: 'No matching requests',
    emptyDemandesHint: 'No client request matches this property yet.',
    emptySimilar: 'No similar requests',
    emptySimilarHint: 'No other close request in the portfolio.',
    refresh: 'Run matching again',
    qualified: 'Above threshold',
    belowThreshold: 'Below threshold',
    sendOffer: 'Send offer',
    sendBestOffer: 'Offer — best match',
    openDemande: 'Open request',
    openMatching: 'Property matching',
    openMatchingDemandes: 'Request matching',
    propertyNotFound: 'Property not found.',
    compare: 'Compare',
    compareSubtitle: 'Property ↔ Client request',
    compareLoading: 'Analyzing criteria…',
    compareScore: 'Overall score',
    compareDemande: 'Request',
    compareProperty: 'Property',
    compareMatch: 'Match',
    comparePartial: 'Close',
    compareMiss: 'No match',
    compareNa: 'Not set',
    compareEmpty: 'No comparable criteria on this request.',
    compareGoodMatch: 'Good match',
    compareWeakMatch: 'Below threshold',
    compareTipTitle: 'Good to know',
    compareTipMatch: 'This criterion is met: the property matches the request.',
    compareTipPartial: 'Not an exact match, but still compatible with the request.',
    compareTipMiss: 'This criterion is not met: the property is outside the requested range.',
    compareTipNa: 'Missing information on the request or property — not scored.',
    compareShare: 'Share',
    compareViewProperty: 'View property',
    compareCreateVisit: 'Create visit',
  },
  createActions: {
    title: 'Create…',
    subtitle: 'New action — swipe down to close',
    usefulBadge: 'Useful',
    moreSection: 'More actions',
    contact: 'Contact',
    contactHint: 'New prospect / lead',
    visit: 'New visit',
    visitHint: 'Schedule a visit (can stay open)',
    visitSpontaneous: 'Spontaneous visit',
    visitSpontaneousHint: 'Same-day visit — already completed',
    demande: 'Request',
    demandeHint: 'Client need (budget, area…)',
    offer: 'Offer',
    offerHint: 'Commercial proposal',
    reservation: 'Reservation',
    reservationHint: 'Reserve a property',
    blocage: 'Hold',
    blocageHint: 'Hold a property for a client',
    property: 'Property',
    propertyHint: 'New listing',
    prospecting: 'Prospecting property',
    prospectingHint: 'Capture a property before mandate',
    statePlace: 'Property condition report',
    statePlaceHint: 'Create a condition report',
    statePlacesList: 'Condition reports list',
    statePlacesListHint: 'Browse condition reports',
    logCall: 'Call',
    logCallHint: 'Log a call',
    demandesList: 'All requests',
    demandesListHint: 'Browse requests',
    blockagesList: 'All holds',
    blockagesListHint: 'Browse property holds',
    prospectingList: 'Prospecting list',
    prospectingListHint: 'My prospecting properties',
    visitsList: 'Visits list',
    visitsListHint: 'Agenda and visits',
  },
  statePlace: {
    listTitle: 'Condition reports',
    listCount: '{{count}} record(s)',
    listSearch: 'Title, reference, property…',
    listEmpty: 'No condition reports yet',
    newTitle: 'New condition report',
    createHint: 'Same as CRM: warranty, property, project and client.',
    create: 'Create report',
    created: 'Condition report created',
    title: 'Title',
    titleRequired: 'Enter a title.',
    reference: 'Reference',
    referenceAuto: 'Auto reference (optional)',
    guarantee: 'Warranty',
    status: 'Status',
    project: 'Project',
    pickProject: 'Choose a project',
    property: 'Property',
    pickProperty: 'Choose a property',
    propertyRequired: 'Select a property.',
    searchPropertyHint: 'Filter by title or reference…',
    client: 'Client',
    pickClient: 'Choose a client',
    etage: 'Floor',
    rooms: 'Rooms',
    comment: 'Comment',
    tabInfo: 'Info',
    tabHistory: 'Timeline',
    tabBilan: 'Summary',
    historyEmpty: 'No history yet.',
    bilanEmpty: 'No summary items.',
    notFound: 'Condition report not found.',
    seeList: 'See list',
    validatedByClient: 'Validated by client on {{date}}',
    validatedByClientShort: 'Validated by client',
    guaranteeOff: 'Out of warranty',
    statusPendingValidation: 'Awaiting client validation',
    statusValidatedByClient: 'Validated by client',
    statusInProgress: 'In progress',
    statusRepaired: 'Repaired',
    statusReceivedByClient: 'Received by client',
    statusDone: 'Completed',
    statusFallback: 'Status {{status}}',
  },
  prospecting: {
    listTitle: 'Prospecting properties',
    listHint: 'Opportunities before mandate',
    seeList: 'My prospecting properties',
    empty: 'No records yet',
    untitled: 'Untitled',
    derogation: 'Exception',
    newTitle: 'New prospecting',
    editTitle: 'Edit prospecting',
    saveEdit: 'Save changes',
    updatedOk: 'Changes saved',
    zoneStatus: 'Your location',
    myZone: 'My zone',
    myPosition: 'My position',
    suggestedPosition: 'Suggested position',
    zoneRadius: 'Zone radius',
    locationIdle: 'Tap “My location” to check the zone (optional).',
    locationDenied: 'Allow location access to check your zone.',
    useMyLocation: 'My location',
    refreshLocation: 'Refresh location',
    noZoneAssigned: 'No prospecting locality assigned',
    insideZone: 'You are in {{name}}',
    outsideZone: 'Outside zone ({{km}} km from {{name}})',
    derogationHint: 'You can still create — the record will be marked as an exception.',
    assignedZones: 'Assigned zones',
    sectionGeneral: 'General information',
    sectionOwner: 'Owner / Intermediate',
    sectionSpecs: 'Features',
    sectionLocation: 'Address and location',
    title: 'Property name',
    titlePlaceholder: 'e.g. Villa to confirm',
    titleRequired: 'Property name is required',
    typeRequired: 'Choose a property type',
    vocation: 'Offering',
    contactStatus: 'Contact status',
    contactStatus_1: 'To contact',
    contactStatus_2: 'Contacted',
    contactStatus_3: 'Interested',
    contactStatus_4: 'Visit planned',
    contactStatus_5: 'Negotiation',
    contactStatus_6: 'Refused',
    contactStatus_7: 'Closed',
    ownerName: 'Owner name',
    ownerPhone: 'Owner phone',
    clientName: 'Intermediate name',
    clientPhone: 'Intermediate phone',
    address: 'Address',
    price: 'Price',
    surface: 'Area (m²)',
    rooms: 'Total rooms',
    bedrooms: 'Bedrooms',
    bathrooms: 'Bathrooms',
    floor: 'Floor',
    notes: 'Note',
    save: 'Save prospecting',
    createdOk: 'Prospecting saved',
    createdWithDerogation: 'Prospecting saved outside zone (exception)',
    pickPointCta: 'Pick point on the map',
    pickPointLabel: 'Property point',
    pickPointHint: 'Move the map, then confirm the pin (satellite view available).',
    pickPointMoving: 'Moving…',
    pickPointRelease: 'Release to detect locality',
    pickPointSearching: 'Looking up CRM locality…',
    pointSelected: 'Property placed',
    confirmPoint: 'Confirm this property',
    mapStandard: 'Map',
    mapSatellite: 'Satellite',
    nearestLoading: 'Detecting locality…',
    nearestFound: 'Locality: {{name}}',
    nearestNone: 'No CRM locality nearby',
    nearestHint: 'The nearest locality will be filled in the form.',
    nearestDistance: '{{km}} away',
    geoOptionalHint: 'Governorate, delegation and locality are optional.',
    geoFilledTitle: 'Location detected',
    geoShowFields: 'Edit country, governorate, locality…',
    geoHideFields: 'Hide location fields',
    pickLocalite: 'Choose a locality',
    pickLocaliteCrm: 'CRM locality (search)',
    searchLocaliteHint: 'Type at least 2 letters to search…',
    localiteManualHint: 'Locality not detected — type the name or search in the CRM.',
    localiteManualLabel: 'Locality name',
    localiteManualPlaceholder: 'e.g. Ain Faroua',
    localiteManualToggle: 'Name doesn’t match? Enter manually',
    localiteManualHide: 'Hide manual entry',
    localiteEmpty: 'No locality found.',
  },
  blocage: {
    action: 'Hold',
    listTitle: 'Property holds',
    seeList: 'My holds list',
    listSearch: 'Reference, client, property…',
    listEmpty: 'No holds yet',
    listEmptySearch: 'No holds match this search',
    fallbackRef: 'Hold #{{id}}',
    newTitle: 'Add hold',
    create: 'Create hold',
    createHint: 'Select a project first. Only available properties can be selected.',
    created: 'Hold created',
    createdRef: 'Reference {{ref}}',
    client: 'Client',
    pickClient: 'Choose a client',
    clientRequired: 'Select a client.',
    project: 'Project',
    pickProject: 'Choose a project',
    pickProjectFirst: 'Choose a project first',
    projectRequired: 'Select a project.',
    projectRequiredTitle: 'Project required',
    property: 'Property',
    pickProperty: 'Choose a property',
    propertyRequired: 'Select an available property.',
    validityDays: 'Validity (days)',
    validityRequired: 'Enter a valid duration (at least 1 day).',
    checkDeadline: 'Make property available again and cancel hold at expiry.',
    note: 'Note',
    notePlaceholder: 'Optional comment…',
    searchProperty: 'Project properties',
    searchPropertyHint: 'Filter by title or reference…',
    availableOnlyHint: 'Available properties only (same as offers).',
    noAvailableProperties: 'No available properties for this project.',
    notSelectable: 'Unavailable',
    notFound: 'Hold not found.',
    detailTitle: 'Hold details',
    dateStart: 'Start date',
    dateEnd: 'End date',
    total: 'Amount',
    validatedAt: 'Validated on',
    createdAt: 'Created on',
    statusPending: 'Pending',
    statusValidated: 'Validated',
    statusCanceled: 'Cancelled',
    statusExpired: 'Expired',
    cancelTitle: 'Cancel hold',
    cancelConfirm: 'The property will become available again. Continue?',
    cancelAction: 'Cancel hold',
    canceled: 'Hold cancelled',
    canceledBody: 'The property is available again.',
    validateTitle: 'Validate hold',
    validateConfirm: 'Confirm validation? The property status will become blocked.',
    validateAction: 'Validate',
    validated: 'Hold validated',
    validatedBody: 'The property is now blocked.',
  },
  leads: {
    title: 'Leads',
    scopeAll: 'All leads',
    scopeMine: 'My leads',
    search: 'Search client, reference, subject…',
    all: 'All',
    allClassifications: 'All classif.',
    unclassified: 'Unclassified',
    empty: 'No leads found',
    total: '{{count}} leads',
    showingCount: '{{loaded}} / {{total}} leads',
    allLoaded: '{{count}} leads',
    classification: 'Classification',
    openClient: 'Client file',
    openLead: 'Open lead',
    actionsTitle: 'Actions',
    logCall: 'Log call',
    visit: 'Visit',
    edit: 'Edit',
    editLead: 'Edit lead',
    editContact: 'Edit contact',
    filterNew: 'New',
    filterFollowup: 'Follow-up',
    filterHot: 'Hot',
    filterWon: 'Won',
    filterUntreated: 'Untreated',
    filterTreated: 'Treated',
    filterTitle: 'Filters',
    filterStatus: 'Lead stage',
    qualification: 'Qualification',
    notQualified: 'Not qualified',
    lastAction: 'Last action',
    createdAt: 'Created',
    sectionOverdue: 'Overdue follow-ups',
    sectionToday: 'Follow-ups today',
    sectionNew: 'New leads',
    sectionOther: 'Other leads',
    hotTag: 'Hot',
    overdueBy_one: '{{count}} day overdue',
    overdueBy_other: '{{count}} days overdue',
    rooms_one: '{{count}} bedroom',
    rooms_other: '{{count}} bedrooms',
    budgetValue: '{{value}}',
    source: 'Source',
  },
  calls: {
    title: 'Calls',
    subtitle: 'Call back or process a call (record, reminder, visit)',
    empty: 'No calls logged',
    toProcess: 'To process',
    processed: 'Processed',
    sourceCrm: 'CRM',
    sourcePhone: 'Phone',
    filterMine: 'My calls',
    filterByAgent: 'By agent',
    agentSearch: 'Search an agent…',
    missed: 'Missed',
    incoming: 'Received',
    outgoing: 'Outgoing',
    permissionDenied: 'Call log access denied. Grant access to show all phone calls.',
    grantAccess: 'Grant access',
    deviceUnavailable: 'The phone call log requires the installed Android app (not available in Expo Go or on iPhone).',
    duration: 'Duration',
    addLog: 'Add a call log',
    emptyCrm: 'No call logged in the CRM yet. Use + to add one.',
    noNote: 'No note',
  },
  login: {
    subtitle: 'Mobile CRM for agents',
    editConfig: 'Edit configuration →',
    promoteurCode: 'Promoter code (ABC-123)',
    promoteurCodeHint: 'Identifies your promoter / agency. Required because usernames can be shared across tenants.',
    promoteurCodeInvalid: 'Invalid code — format ABC-123',
    username: 'Username',
    password: 'Password',
    remember: 'Remember login',
    rememberHint: 'Saves username and password on this device.',
    faceId: 'Face ID',
    touchId: 'Touch ID',
    biometrics: 'Biometrics',
    faceIdToggle: 'Unlock with {{method}}',
    faceIdHint: 'Quick sign-in without retyping your password.',
    unlockWith: 'Unlock with {{method}}',
    faceIdPrompt: 'Unlock Immotech',
    faceIdFailed: 'Authentication cancelled or failed.',
    faceIdUnavailable: 'Face ID / biometrics not available on this device.',
    submit: 'Sign in',
    submitting: 'Signing in…',
  },
  // Labels of the CRM agent form « Role » selector.
  roles: {
    semiAdmin: 'Semi admin',
    manager: 'Agency manager (power over his agency)',
    expert: 'Agent Expert (power over his agency)',
    coordinator: 'Agent coordinator (power over his agency + agenda)',
    superAgent: 'Super Agent (power over all agencies)',
    superCoordinator: 'Super coordinator (power over all agencies + agenda)',
    agent: 'Agent',
    agentWithoutPublish: 'Agent (without the right to publish)',
    freelancer: 'Freelancer',
    custom: 'Custom role',
    promoteur: 'Developer account',
    agence: 'Agency account',
    superAdmin: 'Super administrator',
  },
  profile: {
    connectedCrm: 'Connected CRM',
    crmConfig: 'CRM configuration',
    crmConfigSub: 'Production, local or legacy Symfony',
    contactSection: 'Contact details',
    languageSection: 'Language',
    aiSection: 'Assistant',
    callDetectSection: 'Calls',
    crmSection: 'CRM connection',
    accessSection: 'Roles & access',
    accessNoRole: 'No business role',
    accessAdmin: 'Administrator (full access)',
    accessAgent: 'Agent',
    accessDeduced: 'deduced from the account',
    accessAccountType: 'Account type',
    accessAgendaScope: 'Agenda',
    accessAgendaView: 'visible',
    accessAgendaFilter: 'Agent filter (agenda)',
    accessCallsFilter: 'Agent filter (calls)',
    accessRoles: 'CRM roles',
    tapFieldToEdit: 'Tap a field',
    tapToEditName: 'Tap to edit name',
    editProfile: 'Edit profile',
    editPhotoPassword: 'Photo & password',
    editTitle: 'My profile',
    photoHint: 'Tap to change photo',
    firstName: 'FIRST NAME',
    lastName: 'LAST NAME',
    phone: 'PHONE',
    phone2: 'PHONE 2',
    whatsapp: 'WHATSAPP',
    jobTitle: 'JOB TITLE',
    contactEmail: 'CONTACT EMAIL',
    salesPhone: 'SALES PHONE',
    rentalPhone: 'RENTAL PHONE',
    locale: 'LOCALE',
    password: 'NEW PASSWORD',
    passwordHint: 'Leave blank to keep current',
    agency: 'AGENCY',
    orgType: 'Account type',
    orgPromoteur: 'Developer',
    orgAgence: 'Agency',
    orgAgent: 'Agent',
    promoteurCode: 'PROMOTER CODE',
    promoteurCodeHint: 'Format ABC-123. Default: your promoter. Edit then OK to load the logo.',
    promoteurCodeInvalid: 'Invalid code',
    promoteurCodeMissing: 'Promoter code not found',
    promoteurCodeSaved: 'Promoter confirmed',
    saved: 'Profile saved',
    savedHint: 'Your information has been updated.',
    signOut: 'Sign out',
    signingOut: 'Signing out…',
    signOutTitle: 'Sign out',
    signOutMessage: 'Sign out from this CRM?',
    signOutConfirm: 'Sign out',
  },
  settings: {
    title: 'CRM configuration',
    hint: 'Default: ma.immotech.app. Change only if you use another server.',
    environment: 'Environment',
    pcIp: 'PC IP (physical phone)',
    useDetectedIp: 'Use detected IP ({{ip}})',
    ipMissing: 'Missing IP',
    ipMissingHint: 'e.g. 10.10.192.102 (PC Wi‑Fi IP).',
    invalidIp: 'Invalid IP',
    invalidIpHint: 'Enter a full IPv4 address (e.g. 10.10.192.102), not just a number.',
    ipNotDetected: 'IP not detected',
    ipNotDetectedHint: 'Start Expo on LAN (exp://192.168.x.x) or enter IP manually.',
    ipHelp: 'Same IP as Expo (exp://192.168.x.x). npm run dev + Laragon required.',
    apply: 'Apply',
    apiUrl: 'API URL',
    customUrl: 'Custom URL',
    save: 'Save and sign out',
    savedTitle: 'Configuration saved',
    savedMessage: 'Sign in again with the new server.',
    invalidUrl: 'Invalid URL',
    invalidUrlHint: 'URL must start with http:// or https://',
    localhostTitle: 'localhost on phone',
    localhostDetected: 'localhost detected',
    callPermsTitle: 'Call identification',
    callPermsHint:
      'Shows the Immotech client card when a call comes in. Tap Enable, accept permissions, then allow display over other apps.',
    callPermsRefresh: 'Enable',
    callPermsActivateHint:
      'In Android settings: enable Phone, Call log and Notifications for Immotech, then return here. Also enable “Display over other apps”.',
    callPermsPhone: 'Phone state',
    callPermsCallLog: 'Call log',
    callPermsNotif: 'Notifications',
    callPermsOverlayShort: 'Display over apps',
    callPermsAdvanced: 'Advanced options',
    callPermsOpenApp: 'App settings',
    callPermsOverlay: 'Allow display over apps',
    callPermsOverlayHint:
      'Turn on “Display over other apps” for Immotech, then return here.',
    callPermsBattery: 'Battery optimization',
    callPermsOk: 'Enabled',
    callPermsMissing: 'Action needed',
    callPermsExpoGoTitle: 'Expo Go is not enough',
    callPermsExpoGoHint:
      'Call identification (CRM sheet on ring, journal after hangup) needs the installed Immotech app (APK / native build). Expo Go only shows generic notifications — not the CRM sheet. On Home, use “Simulate a call” to preview the UI, or install with: npm run android:release:apk',
    callDetectTitle: 'Call detection',
    callDetectHint:
      'Open the CRM sheet only for the sources you enable. Messenger, Telegram and other VoIP apps are always ignored.',
    callDetectHintShort: 'CRM sheet on ring / after call — phone and WhatsApp only.',
    callDetectPhone: 'Phone (SIM)',
    callDetectPhoneHint: 'Cellular calls from the Android call log',
    callDetectWhatsapp: 'WhatsApp',
    callDetectWhatsappHint:
      'WhatsApp calls only if Android logs them. The number is often missing (unlike SIM calls).',
    callDetectOffHint: 'Detection off — no CRM modal when a call arrives.',
    callDetectIosHint: 'Call detection is available on Android only.',
  },
  crm: {
    preset: {
      'prod-new': 'New CRM — production',
      'local-new': 'New CRM — local',
      legacy: 'immodev',
      'legacy-ma': 'Immotech MA',
      'legacy-stke': 'STKE',
      custom: 'Custom URL',
    },
    presetDesc: {
      'prod-new': 'crm.immotech.app',
      'local-new': 'Laragon dev :5173 (Vite → API). On phone: PC IP.',
      legacy: 'immodev',
      'legacy-ma': 'Immotech MA',
      'legacy-stke': 'STKE',
    },
    mode: {
      new: 'New CRM',
      legacy: 'CRM',
    },
  },
  dashboard: {
    hello: 'Hello, {{name}}',
    activeLeads: 'Active leads',
    properties: 'Properties',
    todayTasks: 'Today\'s tasks',
    noVisits: 'No visits scheduled',
    visit: 'Visit',
    visitRef: 'Visit — {{ref}}',
    dateTbc: 'Date to confirm',
    recentCalls: 'Recent calls',
    noCalls: 'No calls logged',
    call: 'Call',
    callDone: 'Completed',
    callPending: 'Pending',
    simulate: 'Simulate a call (Expo Go)',
    phonePlaceholder: 'Client number',
    incomingCall: 'Incoming call',
    endCall: 'End call',
    addProperty: 'Add property',
    longPressHint: 'Long-press for more actions',
    actionsLeads: 'Lead actions',
    actionsProperties: 'Property actions',
    actionsVisits: 'Visit actions',
    actionsDemandes: 'Request actions',
    openLeads: 'View leads',
    openUntreated: 'Untreated leads',
    newContact: 'New contact',
    journalCall: 'Log a call',
    openProperties: 'Property list',
    openProjects: 'Projects',
    newProperty: 'Add property',
    openAgenda: 'Open agenda',
    newVisit: 'New visit',
    newSpontaneousVisit: 'Spontaneous visit',
    openDemandes: 'Request list',
    newDemande: 'New request',
    openCalls: 'Call history',
  },
  contacts: {
    title: 'Contacts',
    search: 'Search name, mobile, email…',
    minChars: 'Enter at least 2 characters',
    noResults: 'No contacts found',
  },
  properties: {
    title: 'Properties',
    empty: 'No properties — add your first listing',
    add: 'Add property',
    defaultTitle: 'Property',
    search: 'Search reference, title, city…',
    filters: 'Filters',
    reset: 'Reset',
    apply: 'Apply filters',
    priceRange: 'Price (TND)',
    priceMin: 'Min',
    priceMax: 'Max',
    transaction: 'Transaction type',
    status: 'Property status',
    statusAvailable: 'Available',
    statusUnavailable: 'Unavailable',
    macroType: 'Property type',
    macroAppartement: 'Apartment',
    macroMaison: 'House / Villa',
    macroBureau: 'Office & Retail',
    macroTerrain: 'Land',
    macroImmeuble: 'Building',
    location: 'Location',
    locationPlaceholder: 'Type at least 3 letters…',
    budgetMin: 'Min / max budget',
    budgetMax: 'Max',
    rooms: 'Bedrooms',
    roomsAny: 'Any',
    roomsN: '{{count}} bd',
    agent: 'Agent',
    reference: 'Reference',
    referencePlaceholder: 'e.g. Ref254…',
    resultCount: '{{count}} result(s)',
    actionsA11y: 'Property actions',
    actionEdit: 'Edit',
    actionStatus: 'Change status',
    actionPublish: 'Publication',
    publishSite: 'Published on the website',
    publishFeed: 'Published on portals (feed)',
    publishFeedAdvanced: 'Set portal by portal — change it from the CRM.',
    publishNoRight: 'You are not allowed to publish this property.',
    actionPhotos: 'Photos',
    confirmStatusTitle: 'Change status?',
    confirmStatusMessage: '« {{from}} » → « {{to}} »',
    confirmPublishOnSite: 'Publish this property on the website?',
    confirmUnpublishSite: 'Remove this property from the website?',
    confirmPublishOnFeed: 'Publish this property on the portals?',
    confirmUnpublishFeed: 'Remove this property from the portals?',
    confirm: 'Confirm',
  },
  tasks: {
    title: 'Tasks',
    subtitle: 'Visits, requests and assigned leads',
    empty: 'No tasks at the moment',
    visit: 'Visit',
    demande: 'Request',
    lead: 'Lead',
    visitRef: 'Visit — {{ref}}',
    demandeRef: 'Request — {{ref}}',
    leadRef: 'Lead — {{ref}}',
    toProcess: 'To process',
    pipeline: 'Pipeline',
    listView: 'List',
    calendarView: 'Calendar',
    emptyDay: 'Nothing planned this day',
    allDay: 'All day',
    today: 'Today',
    dayAgenda: '{{day}}',
    openActions: 'To do',
    upcomingVisits: 'Upcoming visits',
    agentMe: 'Me',
    filterAll: 'All',
    filterMine: 'My visits',
    filterByAgent: 'By agent',
    agentSearch: 'Search an agent…',
    noAgendaAccess: 'You do not have access to the agenda.',
    addVisit: 'Plan a visit',
    filterByAgency: 'By agency',
    agencySearch: 'Search an agency…',
    viewCalendar: 'Calendar',
    viewList: 'List ({{count}})',
    monthAgenda: '{{month}} agenda',
    emptyMonth: 'Nothing this month',
    kind: {
      visit: 'Visit',
      rappel: 'Reminder',
      event: 'Event',
    },
  },
  notifications: {
    title: 'Notifications',
    empty: 'No notifications.',
    seen: 'Seen',
    unseen: 'Unseen',
    markAll: 'Mark all as seen',
    markSeen: 'Mark as seen',
    markUnseen: 'Mark as unseen',
    unseenCount: 'Unseen: {{count}}',
    seenCount: 'Seen: {{count}}',
    all: 'All',
    open: 'Open',
    moduleLead: 'Lead',
    moduleDemande: 'Request',
    moduleMatch: 'Match',
    moduleProperty: 'Property',
    moduleVisit: 'Visit',
    moduleAgenda: 'Agenda',
    moduleOffer: 'Offer',
    modulePayment: 'Payment',
    moduleContact: 'Contact',
    fallback: 'iMMOTECH',
    leadAssigned: 'New lead',
    newDemande: 'New request',
    matching: 'New match',
    propertyApproval: 'Property to approve',
    devis: 'Quote to approve',
    offerComment: 'Comment on an offer',
    offerRejected: 'Offer declined',
    contact: 'New contact',
    leadReminder: 'Lead reminder',
    payment: 'Payment to process',
    rent: 'Rent to process',
  },
  property: {
    title: 'New property',
    subtitle: 'Saved directly to the connected CRM',
    titleLabel: 'LISTING TITLE',
    titlePlaceholder: 'e.g. Contemporary villa with sea view',
    typeLabel: 'PROPERTY TYPE',
    typeSelected: 'Selected: {{name}}',
    typePickHint: 'Choose a property type above.',
    vocationLabel: 'OFFERING',
    vocationSale: 'Buy',
    vocationForSale: 'Sale',
    vocationRent: 'Rent',
    vocationSeasonal: 'Seasonal rent',
    vocationRequired: 'Offering required',
    vocationRequiredHint: 'Choose Sale, Rent or Seasonal rent.',
    addPhoto: 'Add photo',
    priceWithCurrency: 'Price ({{currency}})',
    photoHint: 'Any image format — uploaded after property creation',
    photosLabel: 'PHOTOS',
    photoAddLogo: 'Add logo',
    photoLogoOnAll: 'Logo on every photo',
    photoLogoFirstFull: '1st photo: large logo, others: small logo',
    addPhotos: 'Add photos',
    photosSelected: '{{count}} photo(s) selected',
    photosHint: 'Multiple images — uploaded after property creation',
    photosLimit: 'Limit reached',
    photosLimitHint: 'Maximum {{max}} photos per property.',
    photoPrepareFail: 'Could not prepare one or more photos. Please try again.',
    titleRequired: 'Title required',
    titleRequiredHint: 'Enter a title for the listing.',
    typeRequired: 'Property type required',
    typeRequiredHint: 'Choose a property type.',
    saved: 'Property saved',
    savedRef: 'Reference {{ref}}',
    createdPhotoFail: 'Property created',
    createdPhotoFailMsg: 'Ref. {{ref}} — photo upload failed: {{error}}',
    createdPhotosFailMsg: 'Ref. {{ref}} — {{ok}} uploaded, {{fail}} failed: {{error}}',
    photosPerm: 'Photos',
    photosPermHint: 'Allow gallery access to add photos.',
    notFound: 'Property not found',
    edit: 'Edit',
    detailsSection: 'Details',
    extraSection: 'Additional info',
    extraEmpty: 'No additional information.',
    ownerSection: 'Owner & contact',
    ownerLabel: 'Owner',
    tenantLabel: 'Tenant',
    contactLabel: 'Contact',
    ownerEmpty: 'No owner or tenant recorded.',
    ownerPrivate: 'An owner or tenant is recorded in the CRM, but their client record is not accessible to you.',
    ownerDerived: 'Contact found through the sale or the rental of this property.',
    rentalActive: 'Active rental',
    rentalEnded: 'Last rental',
    ownerRestricted: 'You do not have access to the owner contact details.',
    keysAtAgencyLabel: 'Keys at the agency',
    positionSection: 'Location',
    openMap: 'Open map',
    locationRestricted: 'Exact location hidden for this property.',
    locationMissing: 'No GPS point saved on this property.',
    locationApprox: 'Approximate area — {{km}} km radius. Exact location restricted to authorised agents.',
    locationFromGeo: 'Indicative position from {{place}} — {{km}} km radius. No GPS point on this property.',
    yearBuiltLabel: 'Year built',
    coOwnershipChargeLabel: 'Co-ownership charges',
    cautionLabel: 'Deposit',
    conditionsLabel: 'Conditions',
    noteLabel: 'Observations',
    markLabel: 'Internal notes',
    descriptionLabel: 'Description',
    statusLabel: 'Status',
    subtypeLabel: 'Sub-type',
    noSubtypesForType: 'No sub-types for this type',
    projectLabel: 'Project',
    blockLabel: 'Block',
    surfaceLabel: 'Surface',
    roomsLabel: 'Rooms',
    bedroomsLabel: 'Bedrooms',
    bathroomsLabel: 'Bathrooms',
    cityLabel: 'City',
    addressLabel: 'Address',
    locationSection: 'LOCATION',
    paysLabel: 'Country',
    gouvernoratLabel: 'Governorate',
    delegationLabel: 'Delegation',
    localiteLabel: 'Locality',
    districtLabel: 'District',
    geoPick: 'Choose…',
    geoOptional: 'Optional',
    geoNone: 'None',
    geoSearch: 'Search district, locality, city…',
    geoSearchHint: 'Type at least 3 letters (e.g. Ariana, Lac 2, Marsa)',
    geoSearchEmpty: 'No place found',
    geoUnavailable: 'CRM location unavailable — use free city field.',
    shareEmail: 'Send by email',
    shareSubject: 'Immotech — {{title}} ({{ref}})',
    shareBody:
      'Hello,\n\nI would like to share this property that might interest you:\n\n• {{title}}\n• Reference: {{ref}}\n• Price: {{price}}\n• City: {{city}}\n\n{{description}}\n\nI remain available to arrange a visit.\n\nBest regards',
    roomsAbbrev: '{{count}} bd',
    groundFloor: 'GF',
    floorWithNumber: 'Floor {{floor}}',
    surfaceUnit: 'm²',
    surfaceWithUnit: '{{surface}} m²',
    currencyAmount: '{{amount}} {{currency}}',
  },
  message: {
    title: 'Send message',
    email: 'Email',
    whatsapp: 'WhatsApp',
    modelLabel: 'TEMPLATE',
    subjectLabel: 'SUBJECT',
    bodyLabel: 'MESSAGE',
    send: 'Send',
    sent: 'Message sent',
    emptyBody: 'Empty message',
    emptyBodyHint: 'Type a message or pick a template.',
    noModels: 'No templates available',
    defaultModel: 'Simple template',
    composePlaceholder: 'Your message…',
    saveTemplate: 'Save as CRM template',
    saveTemplateHint: 'Template name',
    createModel: 'New template',
    createModelName: '{{channel}} — {{date}}',
    templateSaved: 'Template saved in CRM',
    propertyContext: 'Property will be attached (PDF for email).',
    pickClient: 'Pick a contact',
    searchClient: 'Search by name or phone…',
    failed: 'Failed.',
    defaultOfferSubject: 'Property offer',
    defaultOfferBody:
      'Hello,\n\nPlease find our offer for the selected property(ies).\n\nBest regards',
    defaultPropertySubject: 'Property listing',
    defaultPropertyBody:
      'Hello,\n\nHere is a property that may interest you.\n\nBest regards',
    defaultClientSubject: 'Your property project',
    defaultClientBody:
      'Hello,\n\nFollowing our conversation, I remain at your disposal for your property project.\n\nBest regards',
  },
  offer: {
    title: 'Send offer',
    clientLabel: 'CLIENT',
    pickClient: 'Pick a client',
    projectLabel: 'PROJECT',
    allProjects: 'All projects',
    projectSelectedFallback: 'Project #{{id}}',
    pickProject: 'Choose a project',
    searchProject: 'Search project…',
    noProjectMatch: 'No project found',
    propertiesTable: 'Offer properties',
    colProperty: 'PROPERTY',
    colProject: 'PROJECT',
    colCatalog: 'CATALOG',
    colOffer: 'OFFER',
    pickProperty: 'Choose a property',
    addProperty: 'Add property',
    total: 'Total',
    searchProperty: 'Available properties',
    searchPropertyHint: 'Filter by title…',
    moreFilters: 'More filters',
    filterRooms: 'Rooms',
    filterFloor: 'Floor',
    filterType: 'Property type',
    filterBlock: 'Block',
    clearFilters: 'Clear',
    pickProjectFirstTitle: 'Project required',
    pickProjectFirstBody: 'Select a project first to see available properties.',
    availableInProject: 'Available properties in the selected project',
    noAvailableProperties: 'No available properties for this project.',
    modelLabel: 'EMAIL TEMPLATE',
    pdfModelLabel: 'PDF TEMPLATE',
    previewModel: 'Preview template',
    previewing: 'Preview…',
    sendOffer: 'Send offer',
    sendEmail: 'Send by email',
    sendWhatsapp: 'Send by WhatsApp',
    missingClient: 'Pick a client.',
    missingClientOrModel: 'Client and email template required.',
    pickChannel: 'Enable Email and/or WhatsApp.',
    missingModel: 'Pick an email template.',
    missingProperty: 'Add at least one property.',
    previewFirst: 'Message required',
    previewFirstHint: 'Pick a template or type the message, then send.',
    sent: 'Offer created',
    sentRef: 'Reference: {{ref}}',
    action: 'Offer',
    defaultSubject: 'Property offer',
    defaultBody:
      'Hello,\n\nPlease find our offer for the selected property(ies).\n\nBest regards',
  },
  pdf: {
    action: 'PDF',
    pickModel: 'CRM PDF template',
    pickModelHint: 'Pick the template configured in the CRM.',
    noModels: 'No PDF templates in the CRM.',
    generate: 'Generate',
    global: 'Global',
    default: 'Default',
  },
  whatsapp: {
    title: 'WhatsApp',
    actionsTitle: 'WhatsApp',
    presetMessage: 'Preset message',
    presetMessageHint: 'Pick a template, log it in the CRM, then open WhatsApp',
    callClient: 'Call the client',
    callClientHint: 'Start a WhatsApp voice call',
    openChat: 'Open WhatsApp',
    openChatHint: 'Open the client’s chat in the WhatsApp app',
    sessionReady: 'Session connected — auto sync every 15s',
    sessionMissing: 'WhatsApp session not connected in CRM',
    sendOnlyLegacy: 'Send via CRM — Baileys sync on new CRM only',
    noThread: 'No linked lead: sync requires a lead for this contact.',
    noMessages: 'No messages — tap ↻ to sync',
    composePlaceholder: 'Your message…',
    syncImported: '{{count}} message(s) imported',
    syncNone: 'Already up to date',
    missingPhone: 'This contact has no phone number.',
    pdfNeedOfferId: 'Offer created without id — PDF unavailable.',
    localReadyTitle: 'WhatsApp',
    localReadyHint:
      'WhatsApp opens on the client’s number. Then attach the PDF from the share sheet and send.',
    localReadyHintMulti:
      'WhatsApp opens on the client’s number. Attach each PDF (property sheet, project…) from the share sheet — the same files as in the CRM.',
    greeting: 'Hello,',
    greetingNamed: 'Hello {{name}},',
    attachPdf: 'Attach PDF ({{current}}/{{total}})',
    attachPdfIos: 'Attach PDF to WhatsApp ({{current}}/{{total}})',
    noPdf: 'No PDF to attach.',
    notInstalled: 'WhatsApp is not installed.',
    storageUnavailable: 'Local storage unavailable.',
  },
  lead: {
    notFound: 'Lead not found',
    saved: 'Lead saved',
    savedHint: 'Changes have been saved.',
    leadSection: 'Lead',
    interestedSection: 'Interested in',
    interestedEmpty: 'No criteria — edit them on the client file.',
    interestedOnClientHint:
      'These details live on the client file (shared across all leads for this contact).',
    contactActionsHint:
      'Client file = main info + all leads. Edit contact = update the client file (not this lead).',
    subjectLabel: 'Lead subject',
    subjectPlaceholder: 'E.g. Phone call…',
    contactSection: 'Contact',
    projectLabel: 'Project',
    propertyLabel: 'Property',
    budgetLabel: 'Budget',
    roomsLabel: 'Rooms',
    interestRoomsLabel: 'Rooms wanted',
    budgetMinLabel: 'Min budget',
    budgetMaxLabel: 'Max budget',
    vocationLabel: 'Purpose',
    floorLabel: 'Floor',
    typesLabel: 'Property types',
    projectsLabel: 'Projects',
    openClient: 'Client file',
    referenceLabel: 'Reference',
    crmIdLabel: 'CRM ID',
    noClientTitle: 'No linked contact',
    noClientHint:
      'This lead came from the website Contact form without a client file. In the web CRM, open Leads / Inbox and search for the reference above.',
    subjectContact: 'Website Contact request',
    source: 'Source',
  },
  incoming: {
    title: 'Incoming call',
    titleCrm: 'Incoming call · CRM',
    clientFound: 'CLIENT IDENTIFIED',
    currentInterest: 'CURRENT INTEREST',
    prospect: 'CRM prospect',
    summary: '{{visits}} visit(s) · {{demandes}} request(s) · {{leads}} lead(s)',
    summaryVisit: '{{count}} visit(s)',
    summaryDemande: '{{count}} request(s)',
    summaryLead: '{{count}} lead(s)',
    summaryCall: '{{count}} call(s)',
    lastContact: 'LAST CONTACT',
    lastCall: 'Last call: {{date}}',
    leadLine: 'Lead: {{subject}}',
    otherNumber: '(other number)',
    maskedNumber: 'Masked number',
    budget: 'BUDGET',
    openFile: 'Open client file',
    logCall: 'Log call',
    logCallShort: 'Log call',
    unknown: 'Unknown number',
    unknownHint: 'No matching client in CRM',
    unknownContactHint: 'Unknown contact in CRM — log the call to create a prospect.',
    noDeviceNumber:
      'Number not provided by the phone — allow Call log access (Settings).',
  },
  postCall: {
    title: 'Call report',
    noteNewProspect: 'Call {{type}} {{phone}} — mobile prospect creation.',
    noteWithClient: 'Call {{type}} with {{name}}.',
    noteOpenVisits: '{{count}} open visit(s).',
    titleEdit: 'Edit call',
    titleIncoming: 'Call ended',
    summary: 'Summary',
    createProspect: 'Create prospect',
    createVisit: 'Create visit',
    createRappel: 'Create reminder',
    notes: 'Note',
    notesPlaceholder: 'Note',
    submit: 'Save',
    submitting: 'Saving…',
    success: 'Call logged',
    successTitle: 'Saved',
    successMessage: 'Call logged.',
    newClient: 'New',
    knownClient: 'Known client',
    newContact: 'New contact',
    newContactWithPhone: 'New contact · {{phone}}',
    dateTime: 'Date / time',
    callType: 'Call type',
    callTypeOutgoing: 'Outgoing',
    callTypeIncoming: 'Incoming',
    callTypeCallback: 'Callback',
    hintAbsence: 'Missed call (not answered).',
    hintReceived: 'Incoming call (answered).',
    hintOutgoing: 'Outgoing call.',
    hintPickType: 'Log call: choose the call type.',
    classification: 'Classification',
    prospectName: 'Prospect name',
    prospectNamePlaceholder: 'Full name',
    agentResponsible: 'Assigned agent',
    me: 'Me',
    pickAgent: 'Choose an agent',
    searchAgent: 'Search an agent',
    callStatus: 'Call status',
    callDone: 'Call completed',
    callNotDone: 'Call not completed?',
    autoReminderHint: 'Reminder suggested for the next business day.',
    nextAction: 'Next action',
    markTreated: 'Mark as treated',
    scheduleReminder: 'Schedule a reminder',
    reminderAfter: 'Remind after',
    reminderCustom: 'Pick an exact date',
    reminderUseDays: 'Back to business days',
    reminderLessDays: 'One day less',
    reminderMoreDays: 'One day more',
    reminderDaysOne: '+{{count}} business day',
    reminderDaysMany: '+{{count}} business days',
    reminderDate: 'Reminder date and time',
    reminderScheduled: 'Scheduled for {{date}}',
    weekendSkip: 'Weekend excluded — moved to the next business day.',
    addVisit: 'Add a visit',
    visitDate: 'Visit date and time',
    projectOptional: 'Project (optional)',
    propertyOptional: 'Property (optional)',
    fieldAgentMyself: 'Field agent: myself',
    fieldAgent: 'Field agent',
    visitNotScheduled: 'Visit not scheduled yet',
    personalizeMessage: 'Personalize the message to send',
    personalizeHint:
      'After saving, open WhatsApp / email from the contact file to send the message.',
    call: 'Call',
    updateFiche: 'Update contact file',
    createContact: 'Create contact',
    close: 'Close',
    unknownContact: 'Unknown contact',
    alertStatusMissingTitle: 'Status missing',
    alertStatusMissing:
      'No call status available. Check the CRM connection or contact an administrator.',
    alertCallTypeTitle: 'Call type',
    alertCallType: 'Choose Incoming, Outgoing or Callback.',
    alertNameRequiredTitle: 'Name required',
    alertNameRequired: 'Enter the prospect name before saving.',
    alertAgentRequiredTitle: 'Agent required',
    alertAgentRequired: 'Choose the agent responsible for the lead.',
    alertInvalidPhoneTitle: 'Invalid number',
    statusNoAnswer: 'No answer',
    statusPhoneOff: 'Phone off',
    statusWrongNumber: 'Wrong number',
    classQualified: 'Qualified',
    classHot: 'Hot',
    classCold: 'Cold',
    classNotQualified: 'Not qualified',
    mobileProspectFallback: 'Mobile prospect',
    existingClientBadge: 'Existing client',
    newDemand: 'New request',
    identifyNeed: 'Why is this person calling?',
    needDemand: 'Request',
    needOwner: 'Owner',
    continueNeed: 'Continue',
  },
  client: {
    pick: {
      hint: 'Existing CRM client, or quickly create a new contact.',
      existing: 'Existing client',
      new: 'New client',
      pick: 'Choose a client',
      name: 'Full name',
      namePlaceholder: 'First and last name',
      phone: 'Phone',
      email: 'Email',
      checking: 'Checking phone…',
      found: 'Existing client: {{name}}',
      useExisting: 'Tap to use them (no duplicate).',
      required: 'Select a client.',
      nameRequired: 'Enter the client name.',
      phoneRequired: 'Enter a valid phone number.',
      createdAndLinked: 'New contact created and linked: {{name}}',
    },
    timeline: 'Timeline',
    call: 'Call',
    email: 'Email',
    classification: 'Classification',
    noTimeline: 'No events',
    notFound: 'Client not found',
    prospect: 'Prospect',
    gsm: 'Phone',
    mobileLabel: 'MOBILE',
    emailLabel: 'EMAIL',
    hidden: 'Hidden',
    edit: 'Edit',
    agentResponsible: 'Assigned agent',
    source: 'Source',
    project: 'Project',
    rooms: 'Rooms',
    budgetMax: 'Max budget',
    pastActivities: 'Past activities',
    leadsSection: 'Contact leads',
    leadsHint: 'One contact can have many leads. Open a lead to edit it.',
    leadsEmpty: 'No leads linked to this contact',
    demandesSection: 'Contact requests',
    demandesHint: 'Property search requests linked to this contact.',
    demandesEmpty: 'No requests for this contact',
    logCall: 'Log a call',
    emailSubject: 'Immotech — Follow-up on your real estate project',
    emailBody:
      'Hello {{name}},\n\nFollowing our conversation, I remain available to move forward with your real estate project.\n\nBest regards,\n{{agent}}',
    activity: {
      call: 'Call',
      email: 'Email sent',
      sms: 'SMS sent',
      visit: 'Visit',
      visitUpdated: 'Visit updated',
      visitPlanned: 'Visit scheduled',
      demande: 'Client request',
      reservation: 'Reservation',
      reservationExpired: 'Reservation expired',
      blocage: 'Hold',
      offer: 'Offer',
      propertySent: 'Property sent',
      propertyInquiry: 'Property inquiry',
      contract: 'Contract',
      payment: 'Payment',
      rent: 'Rent',
      note: 'Note',
      statusChanged: 'Status changed',
      engagementChanged: 'Engagement changed',
      created: 'Prospect created',
      reminder: 'Reminder scheduled',
      autoRelaunch: 'Automatic follow-up',
      leadQualification: 'Lead qualification',
      facebookImport: 'Facebook import',
      other: 'Activity',
    },
  },
  phone: {
    prefix: 'Country code',
    pickCountry: 'Choose a country',
    searchCountry: 'Search a country…',
    localHint: '8 digits (without +216)',
    invalidTunisia: 'Invalid Tunisian number: 8 digits without +216 (e.g. 55 123 456).',
    invalidFormat: 'Unrecognized phone number format.',
  },
  prospect: {
    newTitle: 'New contact',
    newSubtitle: '',
    editTitle: 'Edit contact',
    editSubtitle: 'Update the prospect information',
    vocation: 'Interest',
    sale: 'Sale',
    rent: 'Rent',
    genre: 'Title',
    fullName: 'Name',
    fullNamePlaceholder: 'First and last name',
    firstName: 'First name',
    firstNamePlaceholder: 'First name',
    lastName: 'Last name',
    lastNamePlaceholder: 'Last name',
    phone: 'Phone',
    phoneLocked: 'The phone number cannot be changed once saved.',
    email: 'Email',
    emailOptional: 'Email (optional)',
    project: 'Interested project',
    pickProject: 'Select a project',
    rooms: 'Number of rooms',
    roomType: 'Type:',
    roomsN_one: '{{count}} bd',
    roomsN_other: '{{count}} bd',
    roomStudio: 'Studio',
    roomShop: 'Shop',
    roomOffice: 'Office',
    budgetMax: 'Max budget',
    budgetMaxOptional: 'Max budget (optional)',
    budgetMaxPlaceholder: 'Optional',
    source: 'Source',
    sourceLocked: 'Existing client source (read-only).',
    showMore: 'More',
    showLess: 'Less',
    chipSheetHint: 'Your most-used choices appear first on the form.',
    frequent: 'Frequent',
    recentChoices: 'Recent',
    allChoices: 'All',
    recentSources: 'Recent sources',
    allSources: 'All sources',
    searchResults: 'Results',
    choiceEmpty: 'No results',
    pickChoice: 'Choose',
    searchChoice: 'Search…',
    pickSource: 'Choose a source',
    searchSource: 'Search a source',
    pickClassification: 'Choose a classification',
    searchClassification: 'Search a classification',
    pickAgent: 'Choose an agent',
    searchAgent: 'Search an agent',
    identityChecking: 'Checking phone…',
    identityExists: 'Existing client: {{name}}. A new lead will be attached.',
    existingClient: 'existing client',
    sourceEmpty: 'No source configured in the CRM.',
    lookupsEmpty: 'CRM lists unavailable — update the mobile server.',
    classification: 'Classification',
    address: 'Address',
    addressPlaceholder: 'Street, building…',
    city: 'City',
    cityPlaceholder: 'City',
    agent: 'Assigned agent',
    agentMe: 'Me',
    agentOther: 'Other',
    agentAdminHint: 'Defaults to you. Tap “Other” to pick a colleague.',
    agentRoundRobin: 'Automatic assignment',
    agentRoundRobinHint: 'Agent chosen from the source (round-robin).',
    note: 'Note',
    notePlaceholder: 'Budget, preferences, context…',
    nameRequired: 'Name is required.',
    create: 'Create contact',
    createdTitle: 'Contact created',
    createdMessage: 'The contact and lead have been created in the CRM.',
    createdLinkedTitle: 'Lead added',
    createdLinkedMessage: 'This number already existed: a new lead was linked to the contact.',
    savedTitle: 'Contact updated',
    savedMessage: 'The information has been saved.',
  },
  event: {
    title: 'Reminder',
    notFound: 'Reminder not found',
    loadError: 'Could not load reminder',
    when: 'Date / time',
    date: 'Date',
    time: 'Time',
    client: 'Client',
    phone: 'Phone',
    agent: 'Agent',
    agents: 'Agents',
    property: 'Property',
    project: 'Project',
    description: 'Description',
    initialComment: 'INITIAL COMMENT',
    openClient: 'Open client file',
    openClientShort: 'Client file',
    openVisit: 'Open visit',
    outcome: 'Done?',
    outcomeDone: 'Done',
    outcomeCanceled: 'Cancelled',
    outcomePostponed: 'Postponed',
    statusRequired: 'Choose Done, Cancelled or Postponed.',
    resultComment: 'Result comment',
    resultCommentPlaceholder: 'Comment (optional)…',
    newDate: 'New reminder date',
    newDateHint: 'Choose the new date and time.',
    rescheduleRequired: 'Choose a new date to postpone the reminder.',
    save: 'Save',
    saving: 'Saving…',
    saveError: 'Could not save',
    savedTitle: 'Reminder updated',
    savedBody: 'Status and comment have been saved.',
  },
  visit: {
    title: 'Visit',
    seeList: 'My visits',
    notFound: 'Visit not found',
    loadError: 'Could not load visit',
    date: 'Date',
    duration: 'Duration',
    client: 'Client',
    phone: 'Phone',
    email: 'Email',
    address: 'Address',
    classification: 'Classification',
    clientNote: 'Client note',
    agent: 'Agent',
    property: 'Property',
    project: 'Project',
    owner: 'Owner',
    callOwner: 'Owner',
    openMap: 'GPS',
    openClient: 'Client file',
    showClientDetails: 'Show details',
    hideClientDetails: 'Hide details',
    preVisitText: 'Text before visit',
    objectifTitle: 'VISIT GOAL / NOTE',
    rating: 'Rating',
    preNotes: 'Notes before / during visit',
    notesPlaceholder: 'Context, points to cover…',
    clientSection: 'Client details',
    visitSection: 'Visit details',
    fillTitle: 'Complete the visit',
    fillHint: 'Mark whether the visit was done, then add your report.',
    outcome: 'Visit outcome',
    status: 'Status',
    statusRequired: 'Choose a status (Done, Cancelled…)',
    noStatuses: 'No statuses available — check connection.',
    feedback: 'Comment',
    feedbackPlaceholder: 'Describe how the visit went…',
    feedbackRequired: 'Add a report for a completed or cancelled visit.',
    newDate: 'New visit date',
    newDateHint: 'Choose the new date and time.',
    rescheduleRequired: 'Choose a new date to postpone the visit.',
    save: 'Save',
    saving: 'Saving…',
    saveError: 'Could not save',
    savedTitle: 'Visit updated',
    savedBody: 'Status and report have been saved.',
    notMine: 'This visit is assigned to another agent. View only.',
    planned: {
      title: 'New visit',
      hero: 'Schedule a visit',
      heroHint: 'Upcoming visit — fill it in later when done.',
      submit: 'Schedule visit',
      savedTitle: 'Visit scheduled',
      savedBody: 'The visit was added to the agenda.',
      saveError: 'Could not schedule the visit.',
    },
    spontaneous: {
      title: 'Spontaneous visit',
      hero: 'Same-day visit',
      heroHint: 'Saved as completed — same as CRM.',
      client: 'Client',
      existingClient: 'Existing client',
      newClient: 'New client',
      pickClient: 'Choose a client…',
      name: 'Name',
      namePlaceholder: 'Client name',
      genre: 'Title',
      sources: 'Sources',
      date: 'Visit date',
      propertySearch: 'Project properties — search by title or reference',
      investisseur: 'Investor',
      whatsapp: 'Send WhatsApp message to client',
      reminder: 'Schedule a reminder',
      reminderAfter: 'Remind after',
      reminderCustom: 'Custom',
      reminderDate: 'Reminder date and time',
      reminderScheduled: 'Scheduled for {{date}}',
      offer: 'Create an offer next',
      submit: 'Save visit',
      sourceRequired: 'Choose at least one source.',
      projectRequired: 'Project is required.',
      clientRequired: 'Choose a client.',
      nameRequired: 'Client name is required.',
      phoneRequired: 'Phone is required.',
      genreRequired: 'Title is required.',
      savedTitle: 'Visit saved',
      savedBody: 'Spontaneous visit created (completed).',
      saveError: 'Could not save spontaneous visit.',
    },
  },
  maps: {
    chooseApp: 'Choose an app',
    apple: 'Maps',
    google: 'Google Maps',
    waze: 'Waze',
  },
  aiFill: {
    title: 'Fill from text',
    help: 'Dictate: the form fills itself. Or paste a text, then « Analyze and fill ».',
    placeholder: 'e.g. Mr Dupont is looking for an apartment in La Marsa, budget 350,000',
    placeholder_demande:
      'e.g. Sami Ben Ali 22 333 444 wants a 2-bedroom flat in La Marsa, budget 350k, with parking',
    placeholder_property:
      'e.g. 4-bedroom villa for sale in Hammamet, 300 m², pool and garden, price 900k',
    placeholder_visit: 'e.g. Visit with Mrs Trabelsi tomorrow at 5:30 pm, 98 765 432',
    analyze: 'Analyze and fill',
    analyzing: 'Analyzing…',
    filled: 'Filled: {{fields}}. Check before saving.',
    empty: 'No fields found in this text.',
    disabledTitle: 'Auto-fill turned off',
    disabledMessage: 'You can turn it back on from the profile.',
    enable: 'Auto-fill',
    enableHint: 'Dictate or paste text to suggest the form fields.',
    fClient: 'client',
    fPhone: 'phone',
    fEmail: 'email',
    fVocation: 'buy / rent',
    fType: 'property type',
    fBudget: 'budget',
    fBudgetMin: 'min budget',
    fPrice: 'price',
    fSurface: 'area',
    fRooms: 'rooms',
    fBedrooms: 'bedrooms',
    fBathrooms: 'bathrooms',
    fFloor: 'floor',
    fPlace: 'location',
    fFurnished: 'furnished',
    fCriteria: 'features',
    fNote: 'note',
    fTitle: 'title',
    fAddress: 'address',
    fDescription: 'description',
    fDate: 'date',
    fTime: 'time',
    placeNotFound: 'pick « {{city}} » manually',
  },
  propertyPhotos: {
    title: 'Photos',
    add: 'Add',
    uploading: 'Uploading {{progress}}',
    empty: 'No photos yet. Add some from the gallery.',
    hint: 'Tap a photo to move it, make it the main one or delete it.',
    main: 'Main',
    setMain: 'Main',
    moveBefore: 'Before',
    moveAfter: 'After',
    delete: 'Delete',
    deleteTitle: 'Delete this photo?',
    deleteMessage: 'It will be removed from the property and the website. This cannot be undone.',
    limitTitle: 'Limit reached',
    limitMessage: '{{max}} photos maximum per property.',
    uploadFailed: '{{count}} photo(s) not uploaded. {{error}}',
  },
  speech: {
    loading: 'Dictation…',
    dictate: 'Voice dictation',
    stop: 'Stop',
    info: 'Voice dictation info',
    transcription: 'Transcription',
    saveToNote: 'Save to note',
    append: 'Append',
    replace: 'Replace',
    discard: 'Discard',
    loadError: 'Voice dictation unavailable.',
    retry: 'Retry',
    unavailable: 'Voice dictation is not enabled for your organization.',
    noAudio: 'No audio recorded.',
    transcriptionFailed: 'Transcription failed.',
    transcriptionInProgress: 'Transcribing…',
    inserted: 'Text inserted.',
    micDenied: 'Microphone access denied.',
    startFailed: 'Could not start recording.',
    recording: 'Recording…',
    savedToNote: 'Text saved to the note.',
    appendedToNote: 'Text added to the note.',
    usageLine: 'You: {{self}} s · Organization: {{org}} / {{limit}} s this month',
    usageUnlimited:
      'You: {{self}} s · Organization: {{org}} s this month (unlimited)',
    maxDuration: 'Max duration: {{max}} s · Auto silence: {{silence}} s',
    insertHintPreview: 'After transcription: Append, Replace or Discard.',
    insertHintReplace:
      'Transcribed text replaces the field. Then save the form.',
    audioNotKept: 'Audio is not kept — only the transcription is sent to the CRM.',
  },
  dates: {
    days: ['SUNDAY', 'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY', 'SATURDAY'],
    months: ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC'],
    weekShort: ['M', 'T', 'W', 'T', 'F', 'S', 'S'],
  },
} as unknown as AppTranslations;
