KiteViewerStrings
The words that KiteDocView and its widgets give a screen reader. The defaults are English; provide a translated set through LocalKiteViewerStrings:
CompositionLocalProvider(
LocalKiteViewerStrings provides KiteViewerStrings(
page = { number, count -> if (count == null) "Seite $number" else "Seite $number von $count" },
previousPage = "Vorherige Seite",
nextPage = "Nächste Seite",
),
) {
KiteDocView(state)
}Parameters
the name of a page from its number, starting at 1, and the page count. The count is null while a book still lays out and does not know it.
the name of the button that turns back.
the name of the button that turns forward.
the name of a colour of the selection menu from its place, starting at 1, and the count of colours.
the name of the input of a form field that has no tooltip and no name.
the name of a link that has no text on the page and no address.
the question the viewer asks before it opens an address outside the document, such as a web page (#519).
the button that opens that address.
the button that closes the question and opens nothing.
the notice on the first page of a chapter whose markup is not well-formed XML, from the first error and the count of errors (#517).