Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored and andydotxyz committed Jan 5, 2025
1 parent ae26396 commit 9e09187
Show file tree
Hide file tree
Showing 52 changed files with 64 additions and 63 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source "https://rubygems.org"
# to publish on github page
gem 'github-pages', group: :jekyll_plugins

# to publich without github page
# to publish without github page
#gem "jekyll"

# to work with Ruby 3+
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bundle exec jekyll serve

## Run generator scripts

To generate new images etc you can use the following commands:
To generate new images etc. you can use the following commands:

```bash
cd _gen
Expand Down
2 changes: 1 addition & 1 deletion _api/v1.2/canvas.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Canvas interface {
// Scale returns the current scale (multiplication factor) this canvas uses to render
// The pixel size of a CanvasObject can be found by multiplying by this value.
Scale() float32
// SetScale sets ths scale for this canvas only, overriding system and user settings.
// SetScale sets this scale for this canvas only, overriding system and user settings.
//
// Deprecated: Settings are now calculated solely on the user configuration and system setup.
SetScale(float32)
Expand Down
2 changes: 1 addition & 1 deletion _api/v1.2/canvas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "fyne.io/fyne/canvas"

Package canvas contains all of the primitive CanvasObjects that make up a Fyne GUI

The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functonality is required, it's usually a sign that this type should be used as part of a custom Widget.
The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functionality is required, it's usually a sign that this type should be used as part of a custom Widget.

## Usage

Expand Down
3 changes: 2 additions & 1 deletion _api/v1.2/menuitem.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ type MenuItem struct {
}
```

MenuItem is a sligne item within any menu, it contains a dispay Label and Action function that is called when tapped.
MenuItem is a single item within any menu, it contains a display Label and Action function that is called when tapped.

#### func NewMenuItem

```go
func NewMenuItem(label string, action func()) *MenuItem
```

NewMenuItem creates a new menu item from the passed label and action parameters.
8 changes: 4 additions & 4 deletions _api/v1.2/theme/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ DarkTheme defines the built in dark theme colours and sizes
```go
func DefaultTextBoldFont() fyne.Resource
```
DefaultTextBoldFont retutns the font resource for the built-in bold font style
DefaultTextBoldFont returns the font resource for the built-in bold font style

#### func DefaultTextBoldItalicFont

Expand Down Expand Up @@ -152,7 +152,7 @@ DefaultTextItalicFont returns the font resource for the built-in italic font sty
```go
func DefaultTextMonospaceFont() fyne.Resource
```
DefaultTextMonospaceFont retutns the font resource for the built-in monospace font face
DefaultTextMonospaceFont returns the font resource for the built-in monospace font face

#### func DeleteIcon

Expand Down Expand Up @@ -544,7 +544,7 @@ ShadowColor returns the color (and translucency) for shadows used for indicating
```go
func TextBoldFont() fyne.Resource
```
TextBoldFont retutns the font resource for the bold font style
TextBoldFont returns the font resource for the bold font style

#### func TextBoldItalicFont

Expand Down Expand Up @@ -579,7 +579,7 @@ TextItalicFont returns the font resource for the italic font style
```go
func TextMonospaceFont() fyne.Resource
```
TextMonospaceFont retutns the font resource for the monospace font face
TextMonospaceFont returns the font resource for the monospace font face

#### func TextSize

Expand Down
2 changes: 1 addition & 1 deletion _api/v1.3/canvas.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Canvas interface {
// Scale returns the current scale (multiplication factor) this canvas uses to render
// The pixel size of a CanvasObject can be found by multiplying by this value.
Scale() float32
// SetScale sets ths scale for this canvas only, overriding system and user settings.
// SetScale sets this scale for this canvas only, overriding system and user settings.
//
// Deprecated: Settings are now calculated solely on the user configuration and system setup.
SetScale(float32)
Expand Down
2 changes: 1 addition & 1 deletion _api/v1.3/canvas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "fyne.io/fyne/canvas"

Package canvas contains all of the primitive CanvasObjects that make up a Fyne GUI

The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functonality is required, it's usually a sign that this type should be used as part of a custom Widget.
The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functionality is required, it's usually a sign that this type should be used as part of a custom Widget.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion _api/v1.3/dialog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Package dialog defines standard dialog windows for application GUIs
```go
func NewFileIcon(uri fyne.URI) fyne.CanvasObject
```
NewFileIcon takes a filepath and creates an icon with an overlayed label using the detected mimetype and extension
NewFileIcon takes a filepath and creates an icon with an overlaid label using the detected mimetype and extension

#### func ShowConfirm

Expand Down
8 changes: 4 additions & 4 deletions _api/v1.3/theme/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ DarkTheme defines the built in dark theme colors and sizes
```go
func DefaultTextBoldFont() fyne.Resource
```
DefaultTextBoldFont retutns the font resource for the built-in bold font style
DefaultTextBoldFont returns the font resource for the built-in bold font style

#### func DefaultTextBoldItalicFont

Expand Down Expand Up @@ -152,7 +152,7 @@ DefaultTextItalicFont returns the font resource for the built-in italic font sty
```go
func DefaultTextMonospaceFont() fyne.Resource
```
DefaultTextMonospaceFont retutns the font resource for the built-in monospace font face
DefaultTextMonospaceFont returns the font resource for the built-in monospace font face

#### func DeleteIcon

Expand Down Expand Up @@ -586,7 +586,7 @@ ShadowColor returns the color (and translucency) for shadows used for indicating
```go
func TextBoldFont() fyne.Resource
```
TextBoldFont retutns the font resource for the bold font style
TextBoldFont returns the font resource for the bold font style

#### func TextBoldItalicFont

Expand Down Expand Up @@ -621,7 +621,7 @@ TextItalicFont returns the font resource for the italic font style
```go
func TextMonospaceFont() fyne.Resource
```
TextMonospaceFont retutns the font resource for the monospace font face
TextMonospaceFont returns the font resource for the monospace font face

#### func TextSize

Expand Down
2 changes: 1 addition & 1 deletion _api/v1.4/canvas.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Canvas interface {
// Scale returns the current scale (multiplication factor) this canvas uses to render
// The pixel size of a CanvasObject can be found by multiplying by this value.
Scale() float32
// SetScale sets ths scale for this canvas only, overriding system and user settings.
// SetScale sets this scale for this canvas only, overriding system and user settings.
//
// Deprecated: Settings are now calculated solely on the user configuration and system setup.
SetScale(float32)
Expand Down
2 changes: 1 addition & 1 deletion _api/v1.4/canvas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "fyne.io/fyne/canvas"

Package canvas contains all of the primitive CanvasObjects that make up a Fyne GUI

The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functonality is required, it's usually a sign that this type should be used as part of a custom Widget.
The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functionality is required, it's usually a sign that this type should be used as part of a custom Widget.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion _api/v1.4/dialog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Package dialog defines standard dialog windows for application GUIs.
```go
func NewFileIcon(uri fyne.URI) *widget.FileIcon
```
NewFileIcon takes a filepath and creates an icon with an overlayed label using the detected mimetype and extension
NewFileIcon takes a filepath and creates an icon with an overlaid label using the detected mimetype and extension

<div class="deprecated"> Deprecated: Use widget.NewFileIcon instead</div>

Expand Down
2 changes: 1 addition & 1 deletion _api/v1.4/theme/themedresource.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Content returns the underlying content of the resource adapted to the current te
```go
func (res *ThemedResource) Error() *ErrorThemedResource
```
Error resturns a different resource for indicating an error.
Error returns a different resource for indicating an error.

#### func (*ThemedResource) Name

Expand Down
2 changes: 1 addition & 1 deletion _api/v1.4/widget/fileicon.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ FileIcon is an adaption of widget.Icon for showing files and folders
```go
func NewFileIcon(uri fyne.URI) *FileIcon
```
NewFileIcon takes a filepath and creates an icon with an overlayed label using the detected mimetype and extension
NewFileIcon takes a filepath and creates an icon with an overlaid label using the detected mimetype and extension


<div class="since">Since: <code>
Expand Down
2 changes: 1 addition & 1 deletion _api/v2.0/canvas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "fyne.io/fyne/v2/canvas"

Package canvas contains all of the primitive CanvasObjects that make up a Fyne GUI

The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functonality is required, it's usually a sign that this type should be used as part of a custom Widget.
The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functionality is required, it's usually a sign that this type should be used as part of a custom Widget.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.0/widget/fileicon.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ FileIcon is an adaption of widget.Icon for showing files and folders
```go
func NewFileIcon(uri fyne.URI) *FileIcon
```
NewFileIcon takes a filepath and creates an icon with an overlayed label using the detected mimetype and extension
NewFileIcon takes a filepath and creates an icon with an overlaid label using the detected mimetype and extension


<div class="since">Since: <code>
Expand Down
2 changes: 1 addition & 1 deletion _api/v2.1/canvas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "fyne.io/fyne/v2/canvas"

Package canvas contains all of the primitive CanvasObjects that make up a Fyne GUI

The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functonality is required, it's usually a sign that this type should be used as part of a custom Widget.
The types implemented in this package are used as building blocks in order to build higher order functionality. These types are designed to be non-interactive, by design. If additional functionality is required, it's usually a sign that this type should be used as part of a custom Widget.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.1/widget/listsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Unselect does nothing for a list container.
```go
func (l *ListSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a list visual.
Update doesn't need to change a list visual.

#### func (*ListSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.1/widget/paragraphsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Unselect does nothing for a paragraph container.
```go
func (p *ParagraphSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a paragraph container.
Update doesn't need to change a paragraph container.

#### func (*ParagraphSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.1/widget/separatorsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Unselect does nothing for a separator.
```go
func (s *SeparatorSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a separator visual.
Update doesn't need to change a separator visual.

#### func (*SeparatorSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.2/widget/listsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Unselect does nothing for a list container.
```go
func (l *ListSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a list visual.
Update doesn't need to change a list visual.

#### func (*ListSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.2/widget/paragraphsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Unselect does nothing for a paragraph container.
```go
func (p *ParagraphSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a paragraph container.
Update doesn't need to change a paragraph container.

#### func (*ParagraphSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.2/widget/separatorsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Unselect does nothing for a separator.
```go
func (s *SeparatorSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a separator visual.
Update doesn't need to change a separator visual.

#### func (*SeparatorSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.3/driver/androidcontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type AndroidContext struct {
}
```

AndroidContext is passed to the `RunNative` callback when it is executed on an Android device. The VM, Env and Ctx pointers are reqiured to make various calls into JVM methods.
AndroidContext is passed to the `RunNative` callback when it is executed on an Android device. The VM, Env and Ctx pointers are required to make various calls into JVM methods.


<div class="since">Since: <code>
Expand Down
2 changes: 1 addition & 1 deletion _api/v2.3/widget/listsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Unselect does nothing for a list container.
```go
func (l *ListSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a list visual.
Update doesn't need to change a list visual.

#### func (*ListSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.3/widget/paragraphsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Unselect does nothing for a paragraph container.
```go
func (p *ParagraphSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a paragraph container.
Update doesn't need to change a paragraph container.

#### func (*ParagraphSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.3/widget/separatorsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Unselect does nothing for a separator.
```go
func (s *SeparatorSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a separator visual.
Update doesn't need to change a separator visual.

#### func (*SeparatorSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/dialog/customdialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Resize dialog, call this function after dialog show
```go
func (d *CustomDialog) SetButtons(buttons []fyne.CanvasObject)
```
SetButtons sets the row of buttons at the bottom of the dialog. Passing an empy slice will result in a dialog with no buttons.
SetButtons sets the row of buttons at the bottom of the dialog. Passing an empty slice will result in a dialog with no buttons.


<div class="since">Since: <code>
Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/dialog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ShowCustomConfirm shows a dialog over the specified application using custom con
```go
func ShowCustomWithoutButtons(title string, content fyne.CanvasObject, parent fyne.Window)
```
ShowCustomWithoutButtons shows a dialog, wihout buttons, over the specified application using custom content. The MinSize() of the CanvasObject passed will be used to set the size of the window.
ShowCustomWithoutButtons shows a dialog, without buttons, over the specified application using custom content. The MinSize() of the CanvasObject passed will be used to set the size of the window.


<div class="since">Since: <code>
Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/driver/androidcontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type AndroidContext struct {
}
```

AndroidContext is passed to the `RunNative` callback when it is executed on an Android device. The VM, Env and Ctx pointers are reqiured to make various calls into JVM methods.
AndroidContext is passed to the `RunNative` callback when it is executed on an Android device. The VM, Env and Ctx pointers are required to make various calls into JVM methods.


<div class="since">Since: <code>
Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Upgrading to v2.4

The 2.4 release is fully backward compatible with 2.3.5 and earlier, so upgrading
is as simple as updating the version of code you compile with.
From thie v2.4.0 release of Fyne it requires Go 1.17, and so all projects are assumed to be using Go modules.
As of release v2.4.0, Fyne requires Go 1.17, and so all projects are assumed to be using Go modules.

## Updating

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/widget/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ ShowPopUpMenuAtPosition creates a PopUp menu populated with items from the passe
```go
func ShowPopUpMenuAtRelativePosition(menu *fyne.Menu, c fyne.Canvas, rel fyne.Position, to fyne.CanvasObject)
```
ShowPopUpMenuAtRelativePosition creates a PopUp menu populated with meny items from the passed menu structure. It will automatically be positioned at the given position relative to stated object and shown as an overlay on the specified canvas.
ShowPopUpMenuAtRelativePosition creates a PopUp menu populated with menu items from the passed menu structure. It will automatically be positioned at the given position relative to stated object and shown as an overlay on the specified canvas.

Since 2.4

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/widget/listsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Unselect does nothing for a list container.
```go
func (l *ListSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a list visual.
Update doesn't need to change a list visual.

#### func (*ListSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/widget/paragraphsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Unselect does nothing for a paragraph container.
```go
func (p *ParagraphSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a paragraph container.
Update doesn't need to change a paragraph container.

#### func (*ParagraphSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _api/v2.4/widget/separatorsegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Unselect does nothing for a separator.
```go
func (s *SeparatorSegment) Update(fyne.CanvasObject)
```
Update doesnt need to change a separator visual.
Update doesn't need to change a separator visual.

#### func (*SeparatorSegment) Visual

Expand Down
2 changes: 1 addition & 1 deletion _sass/bootstrap/_input-groups.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
font-size: 0;
white-space: nowrap;

// Negative margin for spacing, position for bringing hovered/focused/actived
// Negative margin for spacing, position for bringing hovered/focused/activated
// element above the siblings.
> .btn {
position: relative;
Expand Down
Loading

0 comments on commit 9e09187

Please sign in to comment.