diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-09-20 13:49:22 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-09-20 13:49:22 +0200 |
commit | c121f8302e77a5336ec406b63e394b5c9c253656 (patch) | |
tree | 925ff5297a996fbe589694c632d99ba3ceb291d1 /dudle.rb | |
parent | dadcc6af33a953de0878e93ebbb881f26a964570 (diff) |
bugfix: space was inside the link
Diffstat (limited to 'dudle.rb')
-rw-r--r-- | dudle.rb | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -219,9 +219,11 @@ READY ["sv", "Svenska"] ] lang.each{|short,long| - @html << "<a href='?lang=#{short}'>" unless short == GetText.locale.language - @html << long - @html << "</a>" unless short == GetText.locale.language + if short == GetText.locale.language + @html << long + else + @html << "<a href='?lang=#{short}'>#{long}</a>" + end } @html << "</div>" # languageChooser |