Changeset fd6da93 in OpenWorkouts-current for ow/utilities.py
- Timestamp:
- Feb 26, 2019, 11:11:43 AM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- a4e4799
- Parents:
- d411dae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/utilities.py
rd411dae rfd6da93 296 296 if value[0] <= dt.hour <= value[1]: 297 297 return key 298 299 300 def get_available_locale_names(): 301 """ 302 Return a list of tuples with info about available locale/language 303 names. 304 305 The locale codes and names in this list match the available translations 306 under ow/locale for the UI elements 307 """ 308 return [ 309 ('en', _('English')), 310 ('es', _('Spanish')) 311 ]
Note: See TracChangeset
for help on using the changeset viewer.