aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--viewer/src/components/LdProposition.vue25
-rw-r--r--viewer/src/locales/en.json6
2 files changed, 23 insertions, 8 deletions
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 0da24ad..395611f 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -21,17 +21,28 @@
21<template> 21<template>
22 <div> 22 <div>
23 <div v-for="proposed in proposedTags" :key="proposed.rawTag" class="proposition"> 23 <div v-for="proposed in proposedTags" :key="proposed.rawTag" class="proposition">
24 <a class="operation-btns link" @click="add(Operation.SUBSTRACTION, proposed.rawTag)"> 24 <a
25 <fa-icon icon="minus" /> 25 class="operation-btns link"
26 </a> 26 :title="$t('tag-propositions.substraction')"
27 <a class="operation-btns link" @click="add(Operation.ADDITION, proposed.rawTag)"> 27 @click="add(Operation.SUBSTRACTION, proposed.rawTag)"
28 <fa-icon icon="plus" /> 28 ><fa-icon icon="minus" alt="[-]" /></a>
29 </a> 29
30 <a
31 class="operation-btns link"
32 :title="$t('tag-propositions.addition')"
33 @click="add(Operation.ADDITION, proposed.rawTag)"
34 ><fa-icon icon="plus" alt="[+]" /></a>
35
30 <a 36 <a
31 class="operation-tag link" 37 class="operation-tag link"
38 :title="$t('tag-propositions.intersection')"
32 @click="add(Operation.INTERSECTION, proposed.rawTag)" 39 @click="add(Operation.INTERSECTION, proposed.rawTag)"
33 >{{proposed.rawTag}}</a> 40 >{{proposed.rawTag}}</a>
34 <div class="disabled">x{{proposed.count}}</div> 41
42 <div
43 class="disabled"
44 :title="$t('tag-propositions.item-count')"
45 >{{proposed.count}}</div>
35 </div> 46 </div>
36 </div> 47 </div>
37</template> 48</template>
diff --git a/viewer/src/locales/en.json b/viewer/src/locales/en.json
index 987d4d1..453fc5f 100644
--- a/viewer/src/locales/en.json
+++ b/viewer/src/locales/en.json
@@ -7,9 +7,13 @@
7 "mode.search": "Search", 7 "mode.search": "Search",
8 "search.no-results": "No results", 8 "search.no-results": "No results",
9 "panelLeft.propositions": "Proposed tags", 9 "panelLeft.propositions": "Proposed tags",
10 "tag-propositions.substraction": "Exclude items with this tag",
11 "tag-propositions.addition": "Include all items with this tag",
12 "tag-propositions.intersection": "Search for this tag",
13 "tag-propositions.item-count": "Item count",
10 "gallery.unknowntype": "Unknown item type", 14 "gallery.unknowntype": "Unknown item type",
11 "title.tags": "Tags", 15 "title.tags": "Tags",
12 "title.home": "Home", 16 "title.home": "Home",
13 "title.back": "Back", 17 "title.back": "Back",
14 "title.parent": "Parent" 18 "title.parent": "Parent"
15} \ No newline at end of file 19}