Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forgotten translations, symbolizer layouts #165

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/script/locale/ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,16 @@ GeoExt.Lang.add("ca", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Escala"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,16 @@ GeoExt.Lang.add("en", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "聚焦度"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,16 @@ GeoExt.Lang.add("de", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Zoomstufe"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,16 @@ GeoExt.Lang.add("el", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Επίπεδο ζουμ"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,16 @@ GeoExt.Lang.add("en", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Zoom level"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,16 @@ GeoExt.Lang.add("es", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Escala"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,16 @@ GeoExt.Lang.add("fr", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Niveau de zoom"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/id.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,16 @@ GeoExt.Lang.add("id", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Zoom level"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,16 @@ GeoExt.Lang.add("nl", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Zoom niveau"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
10 changes: 10 additions & 0 deletions src/script/locale/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,16 @@ GeoExt.Lang.add("pl", {

"gxp.ScaleOverlay.prototype": {
zoomLevelText: "Poziom powiększenia"
},

"gxp.form.FilterField.prototype": {
lowerBoundaryTip: "lower boundary",
upperBoundaryTip: "upper boundary"
},

"gxp.form.ComparisonComboBox.prototype": {
betweenFilterText: "between",
likeFilterText: "like"
}

});
4 changes: 2 additions & 2 deletions src/script/widgets/FillSymbolizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ gxp.FillSymbolizer = Ext.extend(Ext.FormPanel, {

var sliderValue = 100;
if (this.opacityProperty in this.symbolizer) {
sliderValue = this.symbolizer[this.opacityProperty];
sliderValue = this.symbolizer[this.opacityProperty] * 100;
}
else if (OpenLayers.Renderer.defaultSymbolizer[this.opacityProperty]) {
sliderValue = OpenLayers.Renderer.defaultSymbolizer[this.opacityProperty]*100;
Expand All @@ -102,7 +102,7 @@ gxp.FillSymbolizer = Ext.extend(Ext.FormPanel, {
this.symbolizer.fill === false,
hideMode: "offsets",
defaults: {
width: 100 // TODO: move to css
anchor:'100%'
},
items: [{
xtype: "gxp_colorfield",
Expand Down
2 changes: 1 addition & 1 deletion src/script/widgets/FilterBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ gxp.FilterBuilder = Ext.extend(Ext.Container, {

initComponent: function() {
var defConfig = {
defaultBuilderType: gxp.FilterBuilder.ANY_OF
defaultBuilderType: gxp.FilterBuilder.ALL_OF
};
Ext.applyIf(this, defConfig);

Expand Down
4 changes: 2 additions & 2 deletions src/script/widgets/StrokeSymbolizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ gxp.StrokeSymbolizer = Ext.extend(Ext.FormPanel, {
if (this.colorManager) {
colorFieldPlugins = [new this.colorManager];
}

this.items = [{
xtype: "fieldset",
title: this.titleText,
Expand All @@ -97,7 +97,7 @@ gxp.StrokeSymbolizer = Ext.extend(Ext.FormPanel, {
this.symbolizer.stroke === false,
hideMode: "offsets",
defaults: {
width: 100 // TODO: move to css
anchor:'100%'
},
items: [{
xtype: "combo",
Expand Down
14 changes: 12 additions & 2 deletions src/script/widgets/form/ComparisonComboBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,25 @@ Ext.namespace("gxp.form");
*/
gxp.form.ComparisonComboBox = Ext.extend(Ext.form.ComboBox, {

/** api:config[betweenFilterText]
* ``String`` text for "between" value (i18n)
*/
betweenFilterText: "between",

/** api:config[likeFilterText]
* ``String`` text for "like" value (i18n)
*/
likeFilterText: "like",

allowedTypes: [
[OpenLayers.Filter.Comparison.EQUAL_TO, "="],
[OpenLayers.Filter.Comparison.NOT_EQUAL_TO, "<>"],
[OpenLayers.Filter.Comparison.LESS_THAN, "<"],
[OpenLayers.Filter.Comparison.GREATER_THAN, ">"],
[OpenLayers.Filter.Comparison.LESS_THAN_OR_EQUAL_TO, "<="],
[OpenLayers.Filter.Comparison.GREATER_THAN_OR_EQUAL_TO, ">="],
[OpenLayers.Filter.Comparison.LIKE, "like"],
[OpenLayers.Filter.Comparison.BETWEEN, "between"]
[OpenLayers.Filter.Comparison.LIKE, this.likeFilterText],
[OpenLayers.Filter.Comparison.BETWEEN, this.betweenFilterText]
],

allowBlank: false,
Expand Down