Modify

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#24161 closed defect (fixed)

Preset / Offices / It has capitalization issues

Reported by: guardian.oil Owned by: team
Priority: minor Milestone: 25.02
Component: Internal preset Version:
Keywords: template_report it specialist Cc:

Description

What steps will reproduce the problem?

  1. Select any node or way.
  2. Click on Presets > Offices > It specialist
  3. Observe the new "Change 1 object" popup

What is the expected result?

The t in IT and the s in Specialist would be capitalized.

What happens instead?

It appears as It specialist instead.

It specialist
 ^-^------------- capitalize these

Please provide any additional information below. Attach a screenshot if possible.

IT as an acronym should be fully capitalized. And since every other preset uses title case, the S in Specialist should also be capitalized.

Revision:19307
Build-Date:2025-02-04 10:33:54

Identification: JOSM/1.5 (19307 en) Mac OS X 15.3.1
OS Build number: macOS 15.3.1 (24D70)
Memory Usage: 512 MB / 49152 MB (251 MB allocated, but free)
Java version: 21.0.6+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 3 2560x1440x32bpp@60Hz (scaling 1.00×1.00) Display 4 2560x1440x32bpp@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_CA
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=19307, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (36387)
+ BuildingGeneralization (47)
+ DirectUpload (36387)
+ FixAddresses (36387)
+ HouseNumberTaggingTool (36387)
+ ImproveWay (30)
+ Mapillary (1792)
+ MicrosoftStreetside (36387)
+ OpeningHoursEditor (36387)
+ PicLayer (262)
+ ShapeTools (67)
+ alignways (36387)
+ apache-commons (36379)
+ auto_tools (76)
+ buildings_tools (36387)
+ continuosDownload (114)
+ ejml (36379)
+ geotools (36384)
+ jackson (36387)
+ javafx (36387)
+ jaxb (36379)
+ jts (36379)
+ libphonenumber (8.13.55)
+ measurement (36374)
+ merge-overlap (36379)
+ phonenumber (1.1.1)
+ pt_assistant (648)
+ rex (52)
+ sidewalks (71)
+ tageditor (36379)
+ terracer (36379)
+ turnlanes-tagging (1736422495)
+ turnrestrictions (36379)
+ utilsplugin2 (36389)
+ webp-v0.0.4 (v0.0.4)
+ wikipedia (430)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00001.226 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.userdata>/plugins/ImproveOsm.jar.new'
- 00001.226 W: Failed to scan file 'ImproveOsm.jar.new' for plugin information. Skipping.
- 00001.424 W: java.util.zip.ZipException: zip file is empty
- 00001.424 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.userdata>/plugins/ImproveOsm.jar.new'
- 00001.424 W: Failed to scan file 'ImproveOsm.jar.new' for plugin information. Skipping.
- 00003.378 W: java.util.zip.ZipException: zip file is empty
- 00003.378 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.userdata>/plugins/ImproveOsm.jar.new'
- 00003.378 W: Failed to scan file 'ImproveOsm.jar.new' for plugin information. Skipping.
- 00003.417 W: Failed to install plugin '<josm.userdata>/plugins/ImproveOsm.jar' from temporary download file '<josm.userdata>/plugins/ImproveOsm.jar.new'. zip file is empty: java.util.zip.ZipException: zip file is empty
- 00015.122 E: Failed to locate image 'mapmode/presets/transport/way/way_pedestrian.svg'

Attachments (2)

Screenshot 2025-02-20 at 11.10.20.png (88.1 KB ) - added by guardian.oil 2 months ago.
Screenshot 2025-02-20 at 11.13.46.png (103.3 KB ) - added by guardian.oil 2 months ago.
Screenshot showing the Offices/It specialist preset against several other presets that use title case

Download all attachments as: .zip

Change History (13)

by guardian.oil, 2 months ago

by guardian.oil, 2 months ago

Screenshot showing the Offices/It specialist preset against several other presets that use title case

comment:1 by skyper, 2 months ago

Component: CoreInternal preset
Keywords: it specialist added
Priority: normalminor
Summary: Preset / Offices / It specialist has capitalization issuesPreset / Offices / It has capitalization issues

comment:2 by stoecker, 2 months ago

I'll have to write a script to preserve existing translations...Weekend...

comment:3 by stoecker, 2 months ago

Milestone: 25.02

comment:4 by stoecker, 2 months ago

Resolution: fixed
Status: newclosed

In 19332/josm:

fix #24161, typo

comment:5 by stoecker, 2 months ago

In 36398/osm:

see #24161, add script to preserve translations for typos

comment:6 by stoecker, 2 months ago

In 19333/josm:

fix #24161, second typo

comment:7 by stoecker, 2 months ago

Over the programming I totally forgot the second lower case letter.

P.S. You don't need to make such detailed bug reports. Which text from where should be replaced and how is enough. Essentially condensed form of questions 1-3. ;-)

I know you're working on recent texts...

in reply to:  7 comment:8 by guardian.oil, 2 months ago

P.S. You don't need to make such detailed bug reports. Which text from where should be replaced and how is enough. Essentially condensed form of questions 1-3. ;-)

I know you're working on recent texts...

Ah, in https://josm.openstreetmap.de/ticket/24160#comment:1 I wasn't sure if you were joking or not!

Version 0, edited 2 months ago by guardian.oil (next)

comment:9 by stoecker, 2 months ago

Well, that was no joke. I really needed to read it 5 times. A "add an h" would have helped. :-) Though this ticket proves I may have overlooked it ;-)

comment:10 by stoecker, 2 months ago

Changes are online, translations survived the reupload. Yeah.

in reply to:  10 comment:11 by guardian.oil, 2 months ago

Replying to stoecker:

Changes are online, translations survived the reupload. Yeah.

Awesome!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.