From 03963e8bdfc8a1c6383f61897c15e61bd3314963 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 4 Aug 2022 22:20:00 +0900 Subject: [PATCH] feat(client): improve widget --- CHANGELOG.md | 1 + locales/ja-JP.yml | 1 + packages/client/src/widgets/digital-clock.vue | 39 ++++-- packages/client/src/widgets/index.ts | 2 + packages/client/src/widgets/unix-clock.vue | 116 ++++++++++++++++++ 5 files changed, 151 insertions(+), 8 deletions(-) create mode 100644 packages/client/src/widgets/unix-clock.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index 225e2fbae..5111cce43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ You should also include the user name that made the change. ### Improvements - Client: Add vi-VN language support +- Client: Add unix time widget @syuilo ### Bugfixes - Server: リモートユーザーを正しくブロックできるように修正する @xianonn diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index f8895bd99..b10cce923 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1312,6 +1312,7 @@ _widgets: activity: "アクティビティ" photos: "フォト" digitalClock: "デジタル時計" + unixClock: "UNIX時計" federation: "連合" instanceCloud: "インスタンスクラウド" postForm: "投稿フォーム" diff --git a/packages/client/src/widgets/digital-clock.vue b/packages/client/src/widgets/digital-clock.vue index a17ed040c..743c5657b 100644 --- a/packages/client/src/widgets/digital-clock.vue +++ b/packages/client/src/widgets/digital-clock.vue @@ -1,21 +1,21 @@ + +