[josm-dev] Small patch for Lambert projection
Dirk Stöcker
openstreetmap at dstoecker.de
Sun Aug 24 22:11:01 BST 2008
On Sun, 24 Aug 2008, Pieren wrote:
> I created a patch to fix this issue.
> First, it will not raise an exception anymore if the nodes are outside
> the Lambert zones.
> Second, it will display once an error message if someone tries to use
> this Lambert projection beyond the latitudes it was designed for.
> Third, I renamed the projection as "Lambert Zone (France)" to show
> that this projection has limited coverage and is not for the whole
> planet (I hope the new name is more clear).
>
> If would be nice if someone with a write access could apply the patch
> to the source Lambert.java.
One note regarding translations (to you also Frederik! :-):
- Translations must be unmodifyable strings:
tr("Text" + variable + "text") does never work.
Use tr("Text{0}text", variable)
- EVERY user visible string should be translatable.
I'm going through JOSM code for some time now and fixed such stuff in so
many places, don't make my life harder by introducing new problems of that
style.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list