You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/server/tasks/simple/update-locales.js

13 lines
343 B

module.exports = async (payload) => {
WIKI.logger.info('Fetching latest localization data...')
try {
// TODO: Fetch locale updates
WIKI.logger.info('Fetched latest localization data: [ COMPLETED ]')
} catch (err) {
WIKI.logger.error('Fetching latest localization data: [ FAILED ]')
WIKI.logger.error(err.message)
}
}