From 3cde72af9a360f3940178a8e4dda378bdecdebea Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 25 Nov 2022 12:38:00 +0100 Subject: [PATCH] minor on locales --- locales/index.js | 2 +- plugins/filters.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/locales/index.js b/locales/index.js index 4efc4f33..5808cf03 100644 --- a/locales/index.js +++ b/locales/index.js @@ -9,7 +9,7 @@ module.exports = { it: 'Italiano', nb: 'Norwegian Bokmål', pl: 'Polski', - pr: 'Português', + pt: 'Português', sk: 'Slovak', zh: '中国' } diff --git a/plugins/filters.js b/plugins/filters.js index b320151c..240f1965 100644 --- a/plugins/filters.js +++ b/plugins/filters.js @@ -16,6 +16,8 @@ import 'dayjs/locale/fr' import 'dayjs/locale/de' import 'dayjs/locale/gl' import 'dayjs/locale/sk' +import 'dayjs/locale/pt' +import 'dayjs/locale/zh' dayjs.extend(relativeTime) dayjs.extend(utc)