Browse Source

Add Italian locale support for network (#2184)

Thanks @federicoco for providing the translation!
codeClimate
Uli Fahrer 8 years ago
committed by Alexander Wunschik
parent
commit
51f0db9d28
2 changed files with 19 additions and 1 deletions
  1. +1
    -1
      docs/network/index.html
  2. +18
    -0
      lib/network/locales.js

+ 1
- 1
docs/network/index.html View File

@ -336,7 +336,7 @@ network.setOptions(options);
<tr><td id="event_locales">locales</td>
<td>Object</td>
<td>defaultLocales</td>
<td>Locales object. By default only <code>'en'</code>, <code>'de'</code>, <code>'es'</code> and <code>'nl'</code> are supported. Take a look
<td>Locales object. By default only <code>'en'</code>, <code>'de'</code>, <code>'es'</code>, <code>'it'</code> and <code>'nl'</code> are supported. Take a look
at
the <a href="#locales" data-scroll=""
data-options="{ &quot;easing&quot;: &quot;easeInCubic&quot; }">locales

+ 18
- 0
lib/network/locales.js View File

@ -53,6 +53,24 @@ exports['es'] = {
};
exports['es_ES'] = exports['es'];
//Italiano
exports['it'] = {
edit: 'Modifica',
del: 'Cancella la selezione',
back: 'Indietro',
addNode: 'Aggiungi un nodo',
addEdge: 'Aggiungi un vertice',
editNode: 'Modifica il nodo',
editEdge: 'Modifica il vertice',
addDescription: 'Clicca per aggiungere un nuovo nodo',
edgeDescription: 'Clicca su un nodo e trascinalo ad un altro nodo per connetterli.',
editEdgeDescription: 'Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.',
createEdgeError: 'Non si possono collegare vertici ad un cluster',
deleteClusterError: 'I cluster non possono essere cancellati',
editClusterError: 'I clusters non possono essere modificati.'
};
exports['it_IT'] = exports['it'];
// Dutch
exports['nl'] = {
edit: 'Wijzigen',

Loading…
Cancel
Save