Commit Graph
5 Commits
Author SHA1 Message Date
unknown b101faca5f Created a localizer wrapper
Added prefix as an optional argument to the format methods of localizer
Added the option to specify kvpairs for formating, all kvpairs has to
have a _ as prefix
Updated music.py to use the localizer wrapper
2019-01-28 01:37:08 +01:00
unknown b5b84c4c45 utf-8 support 2019-01-26 13:28:16 +01:00
unknown d3b05a1478 Added method for getting available localizations 2019-01-26 13:28:15 +01:00
unknown 2ced7905ea Added formating options for strings, dictionaries and embeds 2019-01-26 13:28:15 +01:00
unknown 5a299b6c59 Created a utility module dict_utils, containing a SafeDict and a
dictionary flattener

Created a localization module localizer.py that can load localization
files and return various translations of strings
2019-01-26 13:28:15 +01:00