diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 19:35:42 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 23:36:34 +1000 |
commit | adee0b8ccbeb8e3b6f77c067312dcf457c0bb5bb (patch) | |
tree | 7eb522aa9df554c09dd1f48d25a4ea1cfb57cf85 /pkg/gui/global_handlers.go | |
parent | 0bebfe454e99264cfab7d97c8f861536e1365c6f (diff) |
add spans to i18n
Diffstat (limited to 'pkg/gui/global_handlers.go')
-rw-r--r-- | pkg/gui/global_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/global_handlers.go b/pkg/gui/global_handlers.go index 6e098fb6c..b55d6e3a8 100644 --- a/pkg/gui/global_handlers.go +++ b/pkg/gui/global_handlers.go @@ -215,7 +215,7 @@ func (gui *Gui) handleCopySelectedSideContextItemToClipboard() error { return nil } - if err := gui.OSCommand.WithSpan("Copy to clipboard").CopyToClipboard(itemId); err != nil { + if err := gui.OSCommand.WithSpan(gui.Tr.Spans.CopyToClipboard).CopyToClipboard(itemId); err != nil { return gui.surfaceError(err) } |