Fix typos

This commit is contained in:
Muhammad Talal Anwar 2024-04-05 21:06:23 +02:00
parent 6ac5754075
commit 7937fcf25c
5 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@ func (s *EncString) UnmarshalText(data []byte) error {
i := bytes.IndexByte(data, '.')
if i < 0 {
return errors.New("invalid cipher string format, missign type. total length: " + strconv.Itoa(len(data)))
return errors.New("invalid cipher string format, missing type. total length: " + strconv.Itoa(len(data)))
}
typStr := string(data[:i])

View File

@ -16,7 +16,7 @@ const bufferSize = 8192 * 8
var nativeEndian binary.ByteOrder
func setupCommunication() {
// determine native endianess
// determine native endianness
var one int16 = 1
b := (*byte)(unsafe.Pointer(&one))
if *b == 0 {

View File

@ -144,7 +144,7 @@ var setVaultURLCmd = &cobra.Command{
var setURLsAutomaticallyCmd = &cobra.Command{
Use: "set-server",
Short: "Set the urls automatically",
Long: `Set the api/identity/vault/notification urls automaticall from a base url.`,
Long: `Set the api/identity/vault/notification urls automatically from a base url.`,
Run: func(cmd *cobra.Command, args []string) {
if len(args) == 0 {
return

View File

@ -109,7 +109,7 @@ class MainWindow(Gtk.ApplicationWindow):
self.results_list.hide()
keycont = Gtk.EventControllerKey()
def handle_keypress(cotroller, keyval, keycode, state, user_data):
def handle_keypress(controller, keyval, keycode, state, user_data):
ctrl_pressed = state & Gdk.ModifierType.CONTROL_MASK > 0
alt_pressed = state & Gdk.ModifierType.ALT_MASK > 0

View File

@ -47,7 +47,7 @@ class MainWindow(Gtk.ApplicationWindow):
self.ssh_socket_path_group = Adw.PreferencesGroup()
self.ssh_socket_path_group.set_title("SSH Socket Path")
self.ssh_socket_path_group.set_description("Add this to your your enviorment variables")
self.ssh_socket_path_group.set_description("Add this to your environment variables")
self.preferences_page.add(self.ssh_socket_path_group)
self.ssh_socket_path_row = Adw.ActionRow()