Janitor: Fix typos in comments and user-facing strings

Also adapt tests for error messages containing the fixed strings.

No behavior change is intended!
This commit is contained in:
Tobias Hunger 2021-06-27 16:29:02 +02:00 committed by Olivier Goffart
parent 4b12ed03cf
commit 13d7f5e7bd
96 changed files with 290 additions and 288 deletions

View file

@ -45,7 +45,7 @@ This will generate a header with the following contents (edited for documentatio
class SampleComponent {
public:
/// Contructor
/// Constructor
inline auto create () -> sixtyfps::ComponentHandle<MainWindow>;
/// Destructor
inline ~SampleComponent ();

View file

@ -13,8 +13,8 @@ The follow table summarizes the entire mapping:
| `image` | [`sixtyfps::Image`](../api/structsixtyfps_1_1_image.html) | |
| `physical_length` | `float` | The unit are physical pixels. |
| `length` | `float` | At run-time, logical lengths are automatically translated to physical pixels using the device pixel ratio. |
| `duration` | `std::int64_t` | At run-time, durations are always represented as signed 64-bit integers with milisecond precision. |
| stucture | A `class` of the same name | The order of the data member are in the lexicographic order of their name |
| `duration` | `std::int64_t` | At run-time, durations are always represented as signed 64-bit integers with millisecond precision. |
| structure | A `class` of the same name | The order of the data member are in the lexicographic order of their name |
## Structures