mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 07:48:16 -05:00
Remove lingering remnants of obsolete "translator" interface.
This was obsoleted by Transifex.
This commit is contained in:
@@ -387,8 +387,6 @@ static_secure_pre_gzipped = false
|
||||
static_stylesheet_bucket =
|
||||
|
||||
# -- translator UI --
|
||||
# enable/disable access to the translation UI in /admin/i18n
|
||||
translator = true
|
||||
# reddit runs the translator UI on a different instance with a
|
||||
# password to login. These settings are used when generating messages
|
||||
# to translators to tell them their credentials
|
||||
|
||||
@@ -136,7 +136,6 @@ class Globals(object):
|
||||
|
||||
ConfigValue.bool: [
|
||||
'debug',
|
||||
'translator',
|
||||
'log_start',
|
||||
'sqlprinting',
|
||||
'template_debug',
|
||||
|
||||
@@ -48,9 +48,6 @@ class AdminPage(Reddit):
|
||||
if c.user_is_admin:
|
||||
buttons = []
|
||||
|
||||
if g.translator:
|
||||
buttons.append(NavButton(menu.i18n, "i18n"))
|
||||
|
||||
buttons.append(NavButton(menu.awards, "ads"))
|
||||
buttons.append(NavButton(menu.awards, "awards"))
|
||||
buttons.append(NavButton(menu.errors, "error log"))
|
||||
|
||||
@@ -66,10 +66,6 @@
|
||||
%if c.lang_rtl:
|
||||
<link rel="stylesheet" href="${static(g.stylesheet_rtl)}"
|
||||
type="text/css" />
|
||||
%if g.translator and request.get.get('css'):
|
||||
<link rel="stylesheet" href="${request.get.get('css')}"
|
||||
type="text/css" />
|
||||
%endif
|
||||
%if c.site.stylesheet_rtl:
|
||||
<link rel="stylesheet" href="${static(c.site.stylesheet_rtl)}"
|
||||
type="text/css" />
|
||||
|
||||
Reference in New Issue
Block a user