noteSolver: a few issues, I'd love your input for
Kai Michael Poppe - OSM
osm at poppe.dev
Sun Jul 4 21:11:15 UTC 2021
Good afternoon everyone!
As you might or might not know, I'm the developer of the noteSolver_plugin.
There are two things I'd love your input on:
https://github.com/kmpoppe/noteSolver/issues/6: I'd very much love using the standard i18n techniques of JOSM, but I'm unable to figure out how to get started creating the required files. When I looked at this last year I didn't find a working documentation for my newbie knowledge about that. Can someone describe in layman's terms how I can create translation sources (as well as publish these of others the translate and re-import the translated files)?
https://github.com/kmpoppe/noteSolver/issues/11: The user reports that the Upload of the changeset was cancelled due to the validator firing and some things needed to change. The plugin will decide upon event.getType() == AbstractDatasetChangedEvent.DatasetEventType.CHANGESET_ID_CHANGED in a new DataSetListener with void otherDatasetChange(AbstractDatasetChangedEvent event) if it will start closing notes with that Changeset. Now it seems that this event gets fired even if the Changeset upload was cancelled - which I find strange with the event Type being CHANGESET_ID_CHANGED. Retrieving the changeset Id that "was just created" I use event.getPrimitives().iterator().next().getChangesetId(), which then returns an earlier CS if the CS upload was cancelled. Is there a flag for an unfinished Changeset Upload? Or do I have to grab that Changeset ID I get returned, ask the API for the creation date and check if that's not older than - say - 2 minutes?
Any input of you guys would be very much appreciated!
Kai
More information about the josm-dev
mailing list