diff --git a/internal/file/data.go b/internal/file/data.go index b26e92f..b83eac0 100644 --- a/internal/file/data.go +++ b/internal/file/data.go @@ -125,7 +125,7 @@ func ReadData(key *[]byte, username string) (exercises Data, err error) { return exercises, nil } -// Write writes new exercieses to the data file. +// Write writes new exercises to the data file. func (d *Data) Write(key *[]byte, username string) { //Marchal the xml content in to a file variable. file, err := json.Marshal(d) diff --git a/internal/gui/exercises.go b/internal/gui/exercises.go index 6cb7272..ff8f60f 100644 --- a/internal/gui/exercises.go +++ b/internal/gui/exercises.go @@ -20,7 +20,7 @@ func (u *user) exerciseDisplayer(label *widget.Label) { // Handle an empty data file. if len(u.data.Exercise) == 0 { // Start by informing the user that no data is available. - label.SetText("No exercieses have been created yet.") + label.SetText("No exercises have been created yet.") } else { // Refresh the widget to show the updated text. label.SetText(u.initialDisplay()) @@ -36,7 +36,7 @@ func (u *user) exerciseDisplayer(label *widget.Label) { case <-u.reorderExercises: label.SetText(u.initialDisplay()) case <-u.emptyExercises: - label.SetText("No exercieses have been created yet.") + label.SetText("No exercises have been created yet.") } }