HomePhorge

Make Datepicker translatable

Description

Make Datepicker translatable

Summary: This adds the Ablillity to translate the Content of the Date Picker. It is possible to display more than one Letter for the Day Captions.

Test Plan:

  • Change the Language in the User Preferences, make sure it translates 'S|M|T|W|T|F|S' and Months or add the following to the translation.override config to get German Translation:
{
    'S|M|T|W|T|F|S': 'So|Mo|Di|Mi|Do|Fr|Sa',
    'January': 'Januar',
    'February': 'Februar',
    'March': 'März',
    'May': 'Mai',
    'June': 'Juni',
    'July': 'Juli',
    'October': 'Oktober',
    'December': 'Dezember'
}
  • Open Datepicker on a Datefield (Edit Event or Edit for Custom Field of Type date)
  • The Day Headers and the Months should now be translated

Reviewers: O1 Blessed Committers, speck

Reviewed By: O1 Blessed Committers, speck

Subscribers: CSharp, 0, speck, tobiaswiese

Tags: Calendar

Differential Revision: https://we.phorge.it/D25016

Details

Provenance
Leon95Authored on Wed, Sep 22, 00:45
speckCommitted on Wed, Sep 22, 00:45
speckPushed on Wed, Sep 22, 00:45
Reviewer
Restricted Owners Package
Differential Revision
D25016: Make Datepicker translatable
Parents
rPfd1922c7631b: Update Install and Update Scripts to the new Paths and Repository links
Branches
Unknown
Tags
Unknown
References
HEAD -> master