fix: [UI] Inconsistend pluralisation fixed, fixes #4360

pull/4370/head
iglocska 2019-03-25 12:34:17 +01:00
parent 45f84dfd72
commit 5f87ee0d2a
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ class AppController extends Controller
public $helpers = array('Utility', 'OrgImg');
private $__queryVersion = '62';
private $__queryVersion = '63';
public $pyMispVersion = '2.4.103';
public $phpmin = '7.0';
public $phprec = '7.2';

View File

@ -379,7 +379,7 @@
if (target_distribution >= 2 && target_distribution != 4
&& (this.distributionData.event[2] > 0 || this.distributionData.event[3] > 0)
) {
nodesToAdd.push({id: 'connected-community', label: 'Connected community', group: 'root-connected-community'});
nodesToAdd.push({id: 'connected-community', label: 'Connected communities', group: 'root-connected-community'});
this.distributionData.additionalDistributionInfo[2].forEach(function(orgName) {
if (orgName === 'This community') {
edgesToAdd.push({from: 'connected-community', to: 'this-community', length: that.options.EDGE_LENGTH_HUB});
@ -398,7 +398,7 @@
if (target_distribution >= 3 && target_distribution != 4
&& this.distributionData.event[3] > 0
) {
nodesToAdd.push({id: 'all-community', label: 'All community', group: 'web'});
nodesToAdd.push({id: 'all-community', label: 'All communities', group: 'web'});
this.distributionData.additionalDistributionInfo[3].forEach(function(orgName) {
if (orgName === 'This community') {
edgesToAdd.push({from: 'all-community', to: 'this-community', length: that.options.EDGE_LENGTH_HUB});