Changeset ac3af33 in OpenWorkouts-current for ow/schemas/user.py

Timestamp:
Feb 26, 2019, 11:54:11 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
68d00f5
Parents:
e171dc2
Message:

(#69) Ensure month and weekday names are translated.

This is a dirty hack, which basically uses static strings marked for
translation within openworkouts, instead of relying on the python
locale and calendar translations.

We need this hack, as in some operating systems (OpenBSD), using
locale.setlocale() does not make any difference when using calendar.month_name
(names appear always in the system locale/LANG).

(No files)

Note: See TracChangeset for help on using the changeset viewer.