From 5d36108463b16ce4cba66ceed596dc2f41c8e0b3 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Sun, 18 Feb 2024 04:15:07 -0800 Subject: [PATCH] Don't pluralize "1 row returned" --- App/StackExchange.DataExplorer/Scripts/query.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/App/StackExchange.DataExplorer/Scripts/query.js b/App/StackExchange.DataExplorer/Scripts/query.js index 7f141c1c..845d9c66 100644 --- a/App/StackExchange.DataExplorer/Scripts/query.js +++ b/App/StackExchange.DataExplorer/Scripts/query.js @@ -399,7 +399,7 @@ DataExplorer.ready(function () { } DataExplorer.template('#execution-stats', 'text', { - 'records': textOnly ? "Results" : records + " rows", + 'records': textOnly ? "Results" : records + " row" + (records == 1 ? "" : "s"), 'time': response.executionTime === 0 ? "<1" : response.executionTime, 'cached': response.fromCache ? ' (cached)' : '' }); @@ -648,4 +648,4 @@ DataExplorer.ready(function () { return needsCaptcha; } -}); \ No newline at end of file +});