Bugfix mature content
Update german translation
This commit is contained in:
parent
b596734c36
commit
fb8ce693f3
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -375,7 +375,7 @@ class Config:
|
|||
(self.config_default_role & ROLE_DELETE_BOOKS == ROLE_DELETE_BOOKS))
|
||||
|
||||
def mature_content_tags(self):
|
||||
return self.config_mature_content_tags.split(",")
|
||||
return list(map(unicode.lstrip, self.config_mature_content_tags.split(",")))
|
||||
|
||||
def get_Log_Level(self):
|
||||
ret_value=""
|
||||
|
|
|
@ -2316,8 +2316,9 @@ def profile():
|
|||
content.sidebar_view += ub.SIDEBAR_READ_AND_UNREAD
|
||||
if "show_detail_random" in to_save:
|
||||
content.sidebar_view += ub.DETAIL_RANDOM
|
||||
if "default_language" in to_save:
|
||||
content.default_language = to_save["default_language"]
|
||||
|
||||
content.mature_content = "show_mature_content" in to_save
|
||||
|
||||
try:
|
||||
ub.session.commit()
|
||||
except IntegrityError:
|
||||
|
|
410
messages.pot
410
messages.pot
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user