Module: check_mk
Branch: master
Commit: b42ad57ddf5aab27fc17216e53d038cfa0e87e19
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b42ad57ddf5aab…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 31 09:10:05 2012 +0100
Added two missing localization strings in sidebar
---
web/htdocs/sidebar.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/sidebar.py b/web/htdocs/sidebar.py
index 2f2781a..10f4359 100644
--- a/web/htdocs/sidebar.py
+++ b/web/htdocs/sidebar.py
@@ -126,7 +126,7 @@ def sidebar_foot():
html.write('<div id="side_footer">')
html.write('<ul class=buttons>\n')
if config.may("configure_sidebar"):
- html.write('<li><a target="main"
href="sidebar_add_snapin.py">Add snapin</a></li>')
+ html.write('<li><a target="main"
href="sidebar_add_snapin.py">%s</a></li>' % _('Add
snapin'))
if config.may("edit_profile") or config.may("change_password"):
html.write('<li><a class=profile target="main"
href="user_profile.py" title="%s"></a></li>' %
_('Edit user profile'))
if config.may("logout"):
@@ -235,8 +235,8 @@ def snapin_exception(e):
raise
else:
html.write("<div class=snapinexception>\n"
- "<h2>Error</h2>\n"
- "<p>%s</p></div>" % e)
+ "<h2>%s</h2>\n"
+ "<p>%s</p></div>" % (_('Error'), e))
def ajax_nagios_restarted():
# Tells the requestor the "since" time or the program start time