File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 166
166
"open-related" : " View items that are related to the current item" ,
167
167
"open-annotations" : " View all places where this item has been annotated" ,
168
168
"open-external" : " View links to external resources about this item" ,
169
+ "edit-annotation" : " Change the properties of this item" ,
170
+ "clone-annotation" : " Create a new annotation at the same position" ,
169
171
"view-operator-docs" : " View documentation of search operators" ,
170
172
"toggle-metadata" : " Show / hide the source metadata" ,
171
173
"toggle-annotations" : " Show / hide annotations"
Original file line number Diff line number Diff line change 3
3
"explore-menu" : " Get a random selection of reading experiences and annotations" ,
4
4
"open-related" : " View items that are related to the current item" ,
5
5
"open-annotations" : " View all places where this item has been annotated" ,
6
- "open-external" : " View links to external resources about this item"
6
+ "open-external" : " View links to external resources about this item" ,
7
+ "edit-annotation" : " Change the properties of this item" ,
8
+ "clone-annotation" : " Create a new annotation at the same position"
7
9
},
8
10
"annotation" : {
9
11
"edit-info" : {
Original file line number Diff line number Diff line change 166
166
"open-related" : " View items that are related to the current item" ,
167
167
"open-annotations" : " View all places where this item has been annotated" ,
168
168
"open-external" : " View links to external resources about this item" ,
169
+ "edit-annotation" : " Change the properties of this item" ,
170
+ "clone-annotation" : " Create a new annotation at the same position" ,
169
171
"view-operator-docs" : " View documentation of search operators" ,
170
172
"toggle-metadata" : " Show / hide the source metadata" ,
171
173
"toggle-annotations" : " Show / hide annotations"
Original file line number Diff line number Diff line change @@ -36,6 +36,16 @@ const tooltipData = {
36
36
'tooltip.open-external' ,
37
37
'View links to external resources about this item' ,
38
38
] ,
39
+ 'top .btn-edit' : [
40
+ // i18next.t('tooltip.edit-annotation')
41
+ 'tooltip.edit-annotation' ,
42
+ 'Change the properties of this item' ,
43
+ ] ,
44
+ 'top .btn-new' : [
45
+ // i18next.t('tooltip.clone-annotation')
46
+ 'tooltip.clone-annotation' ,
47
+ 'Create a new annotation at the same position' ,
48
+ ] ,
39
49
} ;
40
50
const tooltips = mapValues ( tooltipData , ( [ key , defaultValue ] ) => {
41
51
const model = new Model ;
You can’t perform that action at this time.
0 commit comments