cgxp icon indicating copy to clipboard operation
cgxp copied to clipboard

too many translation strings

Open elemoine opened this issue 13 years ago • 0 comments

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.

elemoine avatar Sep 17 '12 09:09 elemoine