1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-06 06:42:56 +00:00

chor: correct misspellings (#352)

This commit is contained in:
Viktor Szépe
2025-03-18 12:54:39 +01:00
committed by GitHub
parent 0423d354f5
commit a0f93bda49
4 changed files with 5 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ body:
required: false
attributes:
label: "Log Output"
description: "Output of log files when the issue occured to help us diagnose the issue."
description: "Output of log files when the issue occurred to help us diagnose the issue."
- type: markdown
attributes:
value: |

View File

@@ -27,7 +27,7 @@ func GetTemplate[U any, V any](templateMap TemplateMap[U], template Template[V])
return templateMap[template.Path]
}
type clonable[V pareseable[V]] interface {
type cloneable[V pareseable[V]] interface {
Clone() (V, error)
}
@@ -35,7 +35,7 @@ type pareseable[V any] interface {
ParseFS(fs.FS, ...string) (V, error)
}
func prepareTemplate[V pareseable[V]](templateFS fs.FS, template string, rootTemplate clonable[V], suffix string) (V, error) {
func prepareTemplate[V pareseable[V]](templateFS fs.FS, template string, rootTemplate cloneable[V], suffix string) (V, error) {
tmpl, err := rootTemplate.Clone()
if err != nil {
return *new(V), fmt.Errorf("clone root template: %w", err)

View File

@@ -31,7 +31,7 @@
{#if !appConfig}
<Error
message="A critical error occured. Please contact your administrator."
message="A critical error occurred. Please contact your administrator."
showButton={false}
/>
{:else}

View File

@@ -21,7 +21,7 @@
await userService
.requestOneTimeAccessEmail(email, data.redirect)
.then(() => (success = true))
.catch((e) => (error = e.response?.data.error || 'An unknown error occured'));
.catch((e) => (error = e.response?.data.error || 'An unknown error occurred'));
isLoading = false;
}