diff --git a/webapp_profile.py b/webapp_profile.py
index 81f1013e1..a332a9620 100644
--- a/webapp_profile.py
+++ b/webapp_profile.py
@@ -1226,7 +1226,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
adminNickname = getConfigParam(baseDir, 'admin')
if adminNickname:
if path.startswith('/users/' + adminNickname + '/'):
- # Instance details section
+ # Instance details section
instanceDescription = \
getConfigParam(baseDir, 'instanceDescription')
instanceDescriptionShort = \
@@ -1299,7 +1299,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
# Themes section
themes = getThemesList(baseDir)
themesDropdown = '
'
- themesDropdown += '
' + translate['Theme'] + ''
+ themesDropdown += '
\n'
grayscaleFilename = \
baseDir + '/accounts/.grayscale'
grayscale = ''
@@ -1338,7 +1339,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
with open(moderatorsFile, "r") as f:
moderators = f.read()
moderatorsStr = '
'
- moderatorsStr += '
' + translate['Moderators'] + ''
+ moderatorsStr += '
\n'
moderatorsStr += ' ' + \
translate['A list of moderator nicknames. One per line.']
moderatorsStr += \
@@ -1355,7 +1357,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
with open(editorsFile, "r") as f:
editors = f.read()
editorsStr = '
'
- editorsStr += ' ' + translate['Site Editors'] + '
'
+ editorsStr += '
\n'
editorsStr += ' ' + \
translate['A list of editor nicknames. One per line.']
editorsStr += \