Modify ↓
#20750 closed enhancement (fixed)
Explain * and ∅ in Layer info window
Reported by: | Klumbumbus | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 21.04 |
Component: | Core | Version: | |
Keywords: | Cc: | simon04 |
Description
The new characters from #12326 should have an explanation. (While * is well-known, ∅ not so much I think.)
I made a patch, please review. It creates no additional i18n string and changes the term "document" to "layer". "document" was a bit strange.
-
OsmDataLayer.java
710 710 addConditionalInformation(p, tr("Download is blocked"), data.getDownloadPolicy() == DownloadPolicy.BLOCKED); 711 711 addConditionalInformation(p, tr("Upload is discouraged"), isUploadDiscouraged()); 712 712 addConditionalInformation(p, tr("Upload is blocked"), data.getUploadPolicy() == UploadPolicy.BLOCKED); 713 addConditionalInformation(p, "\u2205 " + tr("Empty layer"), this.getDataSet().isEmpty()); 714 addConditionalInformation(p, "* " + tr("Unsaved changes"), this.isDirty()); 713 715 714 716 return p; 715 717 } … … 1214 1216 if (isDataSetEmpty() && 1 != GuiHelper.runInEDTAndWaitAndReturn(() -> 1215 1217 new ExtendedDialog( 1216 1218 MainApplication.getMainFrame(), 1217 tr("Empty document"),1219 tr("Empty layer"), 1218 1220 tr("Save anyway"), tr("Cancel")) 1219 .setContent(tr("The documentcontains no data."))1221 .setContent(tr("The layer contains no data.")) 1220 1222 .setButtonIcons("save", "cancel") 1221 1223 .showDialog().getValue() 1222 1224 )) {
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Great, thank you!