Our pure JavaScript Scheduler component


Post by bsod1 »

Hello, how i can edit standard labels in modal, and when i click right button mouse i need change this label too.
see screen below

Attachments
Przechwytywanie.PNG
Przechwytywanie.PNG (17.6 KiB) Viewed 452 times
2.PNG
2.PNG (3.09 KiB) Viewed 452 times

Post by pmiklashevich »

Please see this guide and Localization demo:
https://www.bryntum.com/docs/scheduler/#guides/customization/localization.md
https://www.bryntum.com/examples/scheduler/localization/

All the labels, buttons, menu items are localized. Just need to override corresponding locale.
Scheduler/lib/Scheduler/localization/En.js

    EventEdit : {
        Name         : 'Name',
        Resource     : 'Resource',
        Start        : 'Start',
        End          : 'End',
        Save         : 'Save',
        Delete       : 'Delete',
        Cancel       : 'Cancel',
        'Edit event' : 'Edit event',
        Repeat       : 'Repeat'
    },
    ....
    SchedulerBase : {
        'Add event'      : 'Add event',
        'Delete event'   : 'Delete event',
        'Unassign event' : 'Unassign event'
    },

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply