From 0a82942401f85dd34d1b9636e5997b3156d23607 Mon Sep 17 00:00:00 2001 From: Uli Fahrer Date: Fri, 28 Aug 2015 14:43:18 +0200 Subject: [PATCH] Add German locale to network --- docs/network/index.html | 4 ++-- lib/network/locales.js | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/network/index.html b/docs/network/index.html index 5abf3dcd..dc0eaf40 100644 --- a/docs/network/index.html +++ b/docs/network/index.html @@ -323,7 +323,7 @@ network.setOptions(options); locales Object defaultLocales - Locales object. By default only 'en', 'es' and 'nl' are supported. Take a look + Locales object. By default only 'en', 'de', 'es' and 'nl' are supported. Take a look at the locales @@ -333,7 +333,7 @@ network.setOptions(options); clickToUse Boolean false - Locales object. By default only 'en', 'es' and 'nl' are supported. Take a look + Locales object. By default only 'en', 'de', 'es' and 'nl' are supported. Take a look at the locales diff --git a/lib/network/locales.js b/lib/network/locales.js index 46d353d5..ba53f3a4 100644 --- a/lib/network/locales.js +++ b/lib/network/locales.js @@ -17,6 +17,24 @@ exports['en'] = { exports['en_EN'] = exports['en']; exports['en_US'] = exports['en']; +// German +exports['de'] = { + edit: 'Editieren', + del: 'L\u00f6sche Auswahl', + back: 'Zur\u00fcck', + addNode: 'Knoten hinzuf\u00fcgen', + addEdge: 'Kante hinzuf\u00fcgen', + editNode: 'Knoten editieren', + editEdge: 'Kante editieren', + addDescription: 'Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.', + edgeDescription: 'Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.', + editEdgeDescription: 'Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.', + createEdgeError: 'Es ist nicht m\u00f6glich, Kanten mit Clustern zu verbinden.', + deleteClusterError: 'Cluster k\u00f6nnen nicht gel\u00f6scht werden.', + editClusterError: 'Cluster k\u00f6nnen nicht editiert werden.' +}; +exports['de_DE'] = exports['de']; + // Spanish exports['es'] = { edit: 'Editar',