From 082a5d121a8e879834f53d364e0d9fb57fda2b2f Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Fri, 14 May 2010 09:17:57 +0200 Subject: localization of tooltips --- pollhead.rb | 6 ++++-- timepollhead.rb | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pollhead.rb b/pollhead.rb index a8387a5..17a05bb 100644 --- a/pollhead.rb +++ b/pollhead.rb @@ -68,13 +68,15 @@ SORTSYMBOL ret += "#{CGI.escapeHTML(columntitle)}" ret += "#{sortsymb(scols,columntitle)}" unless showeditbuttons if showeditbuttons + editstr = _("Edit Column") + deletestr = _("Delete Column") ret += < - + #{EDIT} | - + #{DELETE} diff --git a/timepollhead.rb b/timepollhead.rb index ade226e..14f2339 100644 --- a/timepollhead.rb +++ b/timepollhead.rb @@ -223,10 +223,11 @@ END @lasttime = realtimes.max.strftime("%H").to_i def add_remove_button(klasse, buttonlabel, action, columnstring, revision, pretext = "") + titlestr = _("Delete Column") return <
- #{pretext} + #{pretext} -- cgit v1.2.3