Delete hard-coding lines of locale
Hard-coding of canvas translation for ja-JP is not supposed to be in javasript files. Delete related lines in vis-network controller. Change-Id: Ic71d8b04607854d0cb40cd0de6751632f7380639 Partial-Bug: #1747302
This commit is contained in:
parent
14e898b3ad
commit
62a93c9b80
@ -89,40 +89,6 @@
|
|||||||
callback(data);
|
callback(data);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
locales: {
|
|
||||||
en: {
|
|
||||||
edit: 'Edit',
|
|
||||||
del: 'Delete',
|
|
||||||
back: 'Back',
|
|
||||||
addNode: 'Add Node', // hided
|
|
||||||
addEdge: 'Connect',
|
|
||||||
editNode: 'Edit Node',
|
|
||||||
editEdge: 'Edit Connection', // hided
|
|
||||||
// All of following is not used.
|
|
||||||
addDescription: 'Click in an empty space to place a new node.',
|
|
||||||
edgeDescription: '',
|
|
||||||
editEdgeDescription: '',
|
|
||||||
createEdgeError: 'Cannot link edges to a cluster.',
|
|
||||||
deleteClusterError: 'Clusters cannot be deleted.',
|
|
||||||
editClusterError: 'Clusters cannot be edited.'
|
|
||||||
},
|
|
||||||
ja: {
|
|
||||||
edit: '編集',
|
|
||||||
del: 'このリソースを削除する',
|
|
||||||
back: '戻る',
|
|
||||||
addNode: 'Add Node', // hided
|
|
||||||
addEdge: 'リソースを接続',
|
|
||||||
editNode: 'Edit Node', // hided
|
|
||||||
editEdge: '接电脑端続を編集', // hided
|
|
||||||
// All of following is not used.
|
|
||||||
addDescription: 'Click in an empty space to place a new node.',
|
|
||||||
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.',
|
|
||||||
createEdgeError: 'Cannot link edges to a cluster.',
|
|
||||||
deleteClusterError: 'Clusters cannot be deleted.',
|
|
||||||
editClusterError: 'Clusters cannot be edited.'
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.click = function(params){
|
$scope.click = function(params){
|
||||||
|
Loading…
Reference in New Issue
Block a user