cgxp
cgxp copied to clipboard
too many translation strings
The code itself includes translation strings. For example, plugins/ContextualData.js includes this:
defaultTpl: "Local Coordinates : {coord_x} {coord_y}<br />" +
"WGS 84 : {wsg_x} {wsg_y}<br />",
This is overwritten in the en.js file:
"cgxp.plugins.ContextualData.Tooltip.prototype": {
defaultTpl: "Suisses Coord. : {coord_x} {coord_y}<br />" +
"WGS 84 : {wsg_x} {wsg_y}<br />",
We should either use translation keys in the code, or use english in the code and remove translations in en.js. GeoExt uses english in the code, and I think we should the same.
If people agree I'll write a patch.