BeatLink / trilium-scripts

Useful Scripts for Trilium
GNU General Public License v3.0
25 stars 0 forks source link

improvement: setting the local language for the label. #3

Closed marco10x15 closed 1 year ago

marco10x15 commented 1 year ago

Following your work, using the day.js plugin, I have set the language of the branch text in Italian.

var localeData = require('dayjs/plugin/localeData')
api.dayjs.extend(localeData)
api.dayjs.locale('it') // use loaded locale globally

Thanks for your work, I'm learning a lot!

BeatLink commented 1 year ago

Way to go!