aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2017-02-20 11:46:59 +0100
committerStas Vilchik <vilchiks@gmail.com>2017-02-20 11:46:59 +0100
commit5483bc39edbefea0df93f3326d744ebcff305794 (patch)
tree223ee95ec028c20038c41e9676afc07b85756edb
parent297243e70a3ed48eb281a0a1e5ea00813f61eb40 (diff)
downloadsonarqube-5483bc39edbefea0df93f3326d744ebcff305794.tar.gz
sonarqube-5483bc39edbefea0df93f3326d744ebcff305794.zip
change wording in organization form
-rw-r--r--server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js2
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties4
2 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js b/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js
index d85e3413036..9a0c10de08c 100644
--- a/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js
+++ b/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js
@@ -136,6 +136,7 @@ class CreateOrganizationForm extends React.Component {
name="name"
required={true}
type="text"
+ minLength="2"
maxLength="64"
value={this.state.name}
disabled={this.state.loading}
@@ -151,6 +152,7 @@ class CreateOrganizationForm extends React.Component {
<input id="organization-key"
name="key"
type="text"
+ minLength="2"
maxLength="64"
value={this.state.key}
disabled={this.state.loading}
diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
index 56479a79be1..108206c6bce 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -2773,7 +2773,7 @@ organization.delete.description=Delete this organization from SonarQube. All pro
organization.delete.question=Are you sure you want to delete this organization?
organization.deleted=Organization has been deleted.
organization.description=Description
-organization.description.description=Description of the organization (256 characters max).
+organization.description.description=Description of the organization.
organization.edit=Edit Organization
organization.key=Key
organization.key.description=Key of the organization (2 to 32 characters). All chars must be lower-case letters (a to z), digits or dash (but dash can neither be trailing nor heading). When not specified, the key is computed from the name.
@@ -2781,4 +2781,4 @@ organization.name=Name
organization.name.description=Name of the organization (2 to 64 characters).
organization.updated=Organization details have been updated.
organization.url=Url
-organization.url.description=Url of the homepage of the organization (256 characters max).
+organization.url.description=Url of the homepage of the organization.