aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pollhead.rb4
-rw-r--r--timepollhead.rb3
2 files changed, 4 insertions, 3 deletions
diff --git a/pollhead.rb b/pollhead.rb
index 12673ce..02478d8 100644
--- a/pollhead.rb
+++ b/pollhead.rb
@@ -68,8 +68,8 @@ SORTSYMBOL
ret += "#{CGI.escapeHTML(columntitle)}"
ret += "#{sortsymb(scols,columntitle)}</a>" unless showeditbuttons
if showeditbuttons
- editstr = _("Edit Column")
- deletestr = _("Delete Column")
+ editstr = _("Edit column")
+ deletestr = _("Delete column")
ret += <<EDITDELETE
<div>
<small>
diff --git a/timepollhead.rb b/timepollhead.rb
index bfeb625..45f826d 100644
--- a/timepollhead.rb
+++ b/timepollhead.rb
@@ -223,7 +223,8 @@ END
@lasttime = realtimes.max.strftime("%H").to_i
def add_remove_button(klasse, buttonlabel, action, columnstring, revision, pretext = "")
- titlestr = _("Delete Column")
+ titlestr = _("Add column")
+ titlestr = _("Delete column") if klasse == "chosen"
return <<FORM
<form method='post' action=''>
<div>