Skip to content

Report the label languages a chart states - #65

Open
beetlebugorg wants to merge 2 commits into
feat/nobjnm-namefrom
feat/chart-languages
Open

Report the label languages a chart states#65
beetlebugorg wants to merge 2 commits into
feat/nobjnm-namefrom
feat/chart-languages

Conversation

@beetlebugorg

Copy link
Copy Markdown
Owner

tile57_mariner.preferred_language accepts any ISO 639-2 code, and a host has no list to build a language menu from. A code the chart does not state draws the portrayed name, so a mariner can pick one and see a screen of unchanged labels. Stacked on #64, which adds the setting.

The bake collects the languages its portrayal passes ran for and splices them into the archive metadata under a languages key, beside scamin. Chart.languages reads them back and tile57_chart_languages hands them across the ABI as NUL-terminated codes, mirroring tile57_chart_scamin. The compositor borrows its charts, so a host reading a quilt unions the sets from the charts it opened, as it does for SCAMIN.

A baked S-57 cell with a national name states und, which answers any language because S-57 records none for NOBJNM. A native S-101 dataset naming its features in six languages states the four the bake keeps. A chart naming every feature in English states none, and the key is left out rather than written empty.

zig build, zig build test and zig fmt --check pass.

tile57_mariner.preferred_language accepts any code, and a host had no
list to build a language menu from. A code the chart does not state
draws the portrayed name, so a mariner could pick one and see a screen
of unchanged labels.

The bake collects the languages its portrayal passes ran for and splices
them into the archive metadata under a "languages" key, beside "scamin".
Chart.languages reads them back, and tile57_chart_languages hands them
across the ABI as NUL-terminated codes, mirroring tile57_chart_scamin.
The compositor borrows its charts, so a host unions the sets from the
charts it opened, as it does for SCAMIN.

A baked S-57 cell with a national name states und. A native S-101
dataset naming its features in six languages states the four the bake
keeps. A chart naming every feature in English states none and the key
is left out.
labelTextField composes the depth twin and one per language the chart
states. The comment still named text_nat, the single twin it composed
before the language passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant