Module sentence
Expand description
History entries as sentences for the person reading this app’s history: in their locale, from the app’s catalogue on this thread and the labels of the actions it publishes.
Structs§
- Thread
Words - History in this thread’s words: a step as
sentencesays it, and a person as a directory that knows nobody yet names them. What the history verbs below the toolkit (steps::undo) speak in for an app.
Functions§
- action_
label - The label this thread’s app publishes for
actionof a resource ofkind(or of any kind, when that one has none), in the reader’s language. - learn_
field_ titles - Remember the titles of the fields
shapelays out (and those of its nested records and items), so entries name a field by its title. - learn_
labels - Remember the labels of the actions
resourcespublish, as the app words them in the reader’s language, so entries naming them read the same. - sentence
- step_
summary - What a history row says about one change: what it did, else what its
actor said they were doing.
Nonewhen the entry says neither. - step_
title - What one step did, said without anything it carried: an action by its
published label (“Post a message”), never through an app’s message,
which may quote an argument (the words of the message posted). What
someone is doing is told to everyone here, and their words are not.
Nonewhen the entry says neither what it did nor why. - with_
reader - Run
readwith a reader in this thread’s locale and catalogues.