Browse Source

fixed tooltips; illegal characters in messages.json

pull/2/head
gorhill 10 years ago
parent
commit
448a56cc70
  1. 25
      src/css/common.css
  2. 8
      tools/_locales/en/messages.json
  3. 14
      tools/_locales/fr/messages.json

25
src/css/common.css

@ -49,25 +49,26 @@
cursor: pointer; cursor: pointer;
} }
*[data-tip]:hover:after { *[data-tip]:hover:after {
position: absolute;
content: attr(data-tip);
padding: 4px 6px;
font: 11px sans-serif;
line-height: 140%;
text-align: left;
color: black;
background-color: white; background-color: white;
top: 110%;
white-space: pre;
z-index: 20;
border: 1px solid gray; border: 1px solid gray;
border-radius: 3px; border-radius: 3px;
box-shadow: 1px 1px 3px gray; box-shadow: 1px 1px 3px gray;
color: black;
content: attr(data-tip);
font: 12px sans-serif;
line-height: 140%;
min-width: 40vw;
padding: 4px 6px;
position: absolute;
text-align: start;
top: 110%;
white-space: pre-line;
z-index: 20;
} }
.tip-anchor-left[data-tip]:hover:after { .tip-anchor-left[data-tip]:hover:after {
left: 0;
left: -5vw;
} }
.tip-anchor-right[data-tip]:hover:after { .tip-anchor-right[data-tip]:hover:after {
right: 0;
right: -5vw;
} }

8
tools/_locales/en/messages.json

@ -76,19 +76,19 @@
"description": "" "description": ""
}, },
"matrixMtxButtonTip" : { "matrixMtxButtonTip" : {
"message": "Disable/enable matrix filtering \u000a for this scope. \u000aRequests blocked through \u000a matrix filtering on this page: {{count}}.",
"message": "Disable/enable matrix filtering for this scope.\nRequests blocked through matrix filtering on this page: {{count}}.",
"description": "Tool tip for matrix button: {{}} is a placeholder for number of blocked requests." "description": "Tool tip for matrix button: {{}} is a placeholder for number of blocked requests."
}, },
"matrixPersistButtonTip" : { "matrixPersistButtonTip" : {
"message": "Save all temporary changes \u000a for this scope.",
"message": "Save all temporary changes for this scope.",
"description": "Tool tip for the persist button" "description": "Tool tip for the persist button"
}, },
"matrixRevertButtonTip" : { "matrixRevertButtonTip" : {
"message": "Remove temporary changes \u000a for this scope.",
"message": "Remove temporary changes for this scope.",
"description": "Tool tip for the revert local permission button" "description": "Tool tip for the revert local permission button"
}, },
"matrixRevertButtonAllTip" : { "matrixRevertButtonAllTip" : {
"message": "Remove all temporary \u000a changes.",
"message": "Remove all temporary changes.",
"description": "Tool tip for the revert all permissions button" "description": "Tool tip for the revert all permissions button"
}, },
"matrixReloadButton" : { "matrixReloadButton" : {

14
tools/_locales/fr/messages.json

@ -72,25 +72,19 @@
"description":"" "description":""
}, },
"matrixMtxButtonTip":{ "matrixMtxButtonTip":{
"message":"Cliquez pour activer\/désactiver \
les filtres matriciels pour le contexte actuel. \
Nombre de requêtes bloquées via \
les filtres matriciels : {{count}}",
"message":"Cliquez pour activer\/désactiver les filtres matriciels pour le contexte actuel.\\nNombre de requêtes bloquées via les filtres matriciels : {{count}}",
"description":"Tool tip for matrix button: {{}} is a placeholder for number of blocked requests." "description":"Tool tip for matrix button: {{}} is a placeholder for number of blocked requests."
}, },
"matrixPersistButtonTip":{ "matrixPersistButtonTip":{
"message":"Conserver définitivement les changements \
du contexte actuel",
"message":"Conserver définitivement les changements du contexte actuel",
"description":"Tool tip for the persist button" "description":"Tool tip for the persist button"
}, },
"matrixRevertButtonTip":{ "matrixRevertButtonTip":{
"message":"Annuler les changements temporaires \
du contexte actuel",
"message":"Annuler les changements temporaires du contexte actuel",
"description":"Tool tip for the revert local permission button" "description":"Tool tip for the revert local permission button"
}, },
"matrixRevertButtonAllTip":{ "matrixRevertButtonAllTip":{
"message":"Annuler la totalité des changements \
temporaires de tous les contextes",
"message":"Annuler la totalité des changements temporaires de tous les contextes",
"description":"Tool tip for the revert all permissions button" "description":"Tool tip for the revert all permissions button"
}, },
"matrixReloadButton":{ "matrixReloadButton":{

Loading…
Cancel
Save