From f001bca849cb9d63a0349d4a45a5e820ebd34b36 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 15 Aug 2017 13:56:51 +0300 Subject: [PATCH] manage: show stats for filtered/total styles --- _locales/en/messages.json | 12 ++++++++++++ manage.html | 4 +++- manage/manage.css | 20 +++++++++++++++++++- manage/manage.js | 25 +++++++++++++++++++++++++ 4 files changed, 59 insertions(+), 2 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d96d7a69..68ca0bbd 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -237,6 +237,18 @@ "message": "Export", "description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)" }, + "filteredStyles": { + "message": "$numShown$ shown of $numTotal$ total", + "description": "TL note - make this message short", + "placeholders": { + "numShown": { + "content": "$1" + }, + "numTotal": { + "content": "$2" + } + } + }, "findStylesForSite": { "message": "Find more styles for this site", "description": "Text for a link that gets a list of styles for the current site" diff --git a/manage.html b/manage.html index 1a5cae15..8dbdb2bc 100644 --- a/manage.html +++ b/manage.html @@ -133,7 +133,9 @@