summaryrefslogtreecommitdiffstats
path: root/pkg/gui/undoing.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-11 19:35:42 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-04-11 23:36:34 +1000
commitadee0b8ccbeb8e3b6f77c067312dcf457c0bb5bb (patch)
tree7eb522aa9df554c09dd1f48d25a4ea1cfb57cf85 /pkg/gui/undoing.go
parent0bebfe454e99264cfab7d97c8f861536e1365c6f (diff)
add spans to i18n
Diffstat (limited to 'pkg/gui/undoing.go')
-rw-r--r--pkg/gui/undoing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/undoing.go b/pkg/gui/undoing.go
index d39372f89..bd67408d4 100644
--- a/pkg/gui/undoing.go
+++ b/pkg/gui/undoing.go
@@ -93,7 +93,7 @@ func (gui *Gui) reflogUndo() error {
return gui.createErrorPanel(gui.Tr.LcCantUndoWhileRebasing)
}
- span := "Undo"
+ span := gui.Tr.Spans.Undo
return gui.parseReflogForActions(func(counter int, action reflogAction) (bool, error) {
if counter != 0 {
@@ -128,7 +128,7 @@ func (gui *Gui) reflogRedo() error {
return gui.createErrorPanel(gui.Tr.LcCantRedoWhileRebasing)
}
- span := "Redo"
+ span := gui.Tr.Spans.Redo
return gui.parseReflogForActions(func(counter int, action reflogAction) (bool, error) {
// if we're redoing and the counter is zero, we just return