From 044907fa35fc8505a4dd4942fe37bc8164a4da3f Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 16 Nov 2020 20:02:52 +0300 Subject: [PATCH] show style version, size, and update age in manager --- _locales/en/messages.json | 36 ++++++++++++++++++++++ manage.html | 22 +++++++++----- manage/manage.css | 31 ++++++++++++++++++- manage/manage.js | 63 ++++++++++++++++++++++++++++++++++----- 4 files changed, 136 insertions(+), 16 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index f6f596da..c90203ce 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -260,6 +260,42 @@ "message": "Stop using customized name, switch to the style's own name", "description": "Tooltip of 'x' button shown in editor when changing the name input of a) styles updated from a URL i.e. not locally created, b) UserCSS styles" }, + "dateAbbrDay": { + "message": "$value$d", + "description": "Day suffix in a short relative date, for example: 8d", + "placeholders": { + "value": { + "content": "$1" + } + } + }, + "dateAbbrHour": { + "message": "$value$h", + "description": "Hour suffix in a short relative date, for example: 8h", + "placeholders": { + "value": { + "content": "$1" + } + } + }, + "dateAbbrMonth": { + "message": "$value$m", + "description": "Month suffix in a short relative date, for example: 8m", + "placeholders": { + "value": { + "content": "$1" + } + } + }, + "dateAbbrYear": { + "message": "$value$y", + "description": "Year suffix in a short relative date, for example: 8y", + "placeholders": { + "value": { + "content": "$1" + } + } + }, "dateInstalled": { "message": "Date installed", "description": "Option text for the user to sort the style by install date" diff --git a/manage.html b/manage.html index 2a5aa734..de1a1911 100644 --- a/manage.html +++ b/manage.html @@ -32,7 +32,10 @@ -