Browse Source

- Fixed Locales docs.

v3_develop
Alex de Mulder 10 years ago
parent
commit
b412764b43
2 changed files with 5 additions and 4 deletions
  1. +1
    -0
      HISTORY.md
  2. +4
    -4
      docs/network.html

+ 1
- 0
HISTORY.md View File

@ -17,6 +17,7 @@ http://visjs.org
- Made nodes who lost their group revert back to default color. - Made nodes who lost their group revert back to default color.
- Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color. - Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
- Fixed bug where box shaped nodes did not use hover color. - Fixed bug where box shaped nodes did not use hover color.
- Fixed Locales docs.
### Graph2d ### Graph2d

+ 4
- 4
docs/network.html View File

@ -2017,15 +2017,15 @@ To load a locale into the Timeline not supported by default, one can add a new l
locales: { locales: {
// create a new locale (text strings should be replaced with localized strings) // create a new locale (text strings should be replaced with localized strings)
mylocale: { mylocale: {
add: 'Add Node',
edit: 'Edit', edit: 'Edit',
link: 'Add Link',
del: 'Delete selected', del: 'Delete selected',
back: 'Back',
addNode: 'Add Node',
addEdge: 'Add Edge',
editNode: 'Edit Node', editNode: 'Edit Node',
editEdge: 'Edit Edge', editEdge: 'Edit Edge',
back: 'Back',
addDescription: 'Click in an empty space to place a new node.', addDescription: 'Click in an empty space to place a new node.',
linkDescription: 'Click on a node and drag the edge to another node to connect them.',
edgeDescription: 'Click on a node and drag the edge to another node to connect them.',
editEdgeDescription: 'Click on the control points and drag them to a node to connect to it.', editEdgeDescription: 'Click on the control points and drag them to a node to connect to it.',
createEdgeError: 'Cannot link edges to a cluster.', createEdgeError: 'Cannot link edges to a cluster.',
deleteClusterError: 'Clusters cannot be deleted.' deleteClusterError: 'Clusters cannot be deleted.'

Loading…
Cancel
Save