summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rennie <Michael_Rennie@ca.ibm.com>2014-08-12 15:45:27 -0400
committerMike Rennie <Michael_Rennie@ca.ibm.com>2014-08-12 15:45:38 -0400
commitfa0854b90426094fb6246620db50e9b50b2c79db (patch)
tree3644acf76bac7237ef182942c62f167b0b17bd43
parent75343aa4218ff8a3bbbea624e0e19e944fee6f0b (diff)
downloadorg.eclipse.orion.client-origin/stable_20140813.zip
org.eclipse.orion.client-origin/stable_20140813.tar.gz
org.eclipse.orion.client-origin/stable_20140813.tar.bz2
Bug 440944 - PreTVT44: Unexternalized string ":" - remove colon additionorigin/stable_20140813
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledCheckbox.js6
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledSelect.js6
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledTextfield.js6
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/plugins/nonnlsPlugin.js2
4 files changed, 4 insertions, 16 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledCheckbox.js b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledCheckbox.js
index fba734e..78faf4f 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledCheckbox.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledCheckbox.js
@@ -27,11 +27,7 @@ define(['orion/objects', 'orion/webui/littlelib', 'orion/widgets/input/Checkbox'
postCreate: function() {
Checkbox.prototype.postCreate.call(this);
- if(typeof this.fieldlabel === 'string' && this.fieldlabel.length > 0 && this.fieldlabel.charAt(this.fieldlabel.length-1) === ':') {
- this.mylabel.textContent = this.fieldlabel;
- } else {
- this.mylabel.textContent = this.fieldlabel + ':'; //$NON-NLS-0$
- }
+ this.mylabel.textContent = this.fieldlabel;
},
destroy: function() {
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledSelect.js b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledSelect.js
index 9ae0464..3e353d9 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledSelect.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledSelect.js
@@ -28,11 +28,7 @@ define(['orion/objects', 'orion/webui/littlelib', 'orion/widgets/input/Select'],
postCreate: function() {
Select.prototype.postCreate.call(this);
- if(typeof this.fieldlabel === 'string' && this.fieldlabel.length > 0 && this.fieldlabel.charAt(this.fieldlabel.length-1) === ':') {
- this.mylabel.textContent = this.fieldlabel;
- } else {
- this.mylabel.textContent = this.fieldlabel + ':'; //$NON-NLS-0$
- }
+ this.mylabel.textContent = this.fieldlabel;
},
destroy: function() {
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledTextfield.js b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledTextfield.js
index 4e5de94..c7c8f4c 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledTextfield.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/LabeledTextfield.js
@@ -32,11 +32,7 @@ define(['orion/objects', 'orion/webui/littlelib', 'orion/widgets/input/TextField
postCreate: function(){
TextField.prototype.postCreate.call(this);
- if(typeof this.fieldlabel === 'string' && this.fieldlabel.length > 0 && this.fieldlabel.charAt(this.fieldlabel.length-1) === ':') {
- this.mylabel.textContent = this.fieldlabel;
- } else {
- this.mylabel.textContent = this.fieldlabel + ':'; //$NON-NLS-0$
- }
+ this.mylabel.textContent = this.fieldlabel;
}
});
return LabeledTextfield;
diff --git a/bundles/org.eclipse.orion.client.ui/web/plugins/nonnlsPlugin.js b/bundles/org.eclipse.orion.client.ui/web/plugins/nonnlsPlugin.js
index e27d82a..5192fc0 100644
--- a/bundles/org.eclipse.orion.client.ui/web/plugins/nonnlsPlugin.js
+++ b/bundles/org.eclipse.orion.client.ui/web/plugins/nonnlsPlugin.js
@@ -103,7 +103,7 @@ define([
tags: 'validation javascript js nls'.split(' '),
properties: [
{ id: 'enabled',
- name: 'Warn on unexternalized strings',
+ name: 'Warn on unexternalized strings:',
defaultValue: true,
type: 'boolean'
}