From e975b10290c67ca7910266390a042fe9bc937af6 Mon Sep 17 00:00:00 2001
From: Michele Alberti <michele.alberti@cea.fr>
Date: Wed, 15 Jul 2020 11:38:22 +0200
Subject: [PATCH] [ivette] Better titles.

---
 ivette/src/renderer/Locations.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ivette/src/renderer/Locations.tsx b/ivette/src/renderer/Locations.tsx
index 2f30598f93f..375c4922e70 100644
--- a/ivette/src/renderer/Locations.tsx
+++ b/ivette/src/renderer/Locations.tsx
@@ -77,7 +77,10 @@ const LocationsTable = () => {
         <Space />
         <Label
           className="component-info"
-          title={`${numberOfSelections} selected location(s)`}
+          title={
+            `${numberOfSelections} selected ` +
+            `location${numberOfSelections > 1 ? 's' : ''}`
+          }
         >
           {multiple?.allSelections.length === 0 ?
             '0 / 0' : `${multiple?.index + 1} / ${numberOfSelections}`}
@@ -87,7 +90,7 @@ const LocationsTable = () => {
           icon="TRASH"
           onClick={() => updateSelection('MULTIPLE_CLEAR')}
           enabled={numberOfSelections > 0}
-          title="Clear the location(s)"
+          title={`Clear location${numberOfSelections > 1 ? 's' : ''}`}
         />
       </TitleBar>
       <Table
-- 
GitLab