fixed issue 1321, shorter admin titles, thanks Argetlam Akshet
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.4.1-alpha.2+timestamp.2013.02.05.13.23.12
|
Version 2.4.1-alpha.2+timestamp.2013.02.06.09.53.07
|
||||||
|
|||||||
@@ -565,6 +565,7 @@ def edit():
|
|||||||
# Load json only if it is ajax edited...
|
# Load json only if it is ajax edited...
|
||||||
app = get_app(request.vars.app)
|
app = get_app(request.vars.app)
|
||||||
filename = '/'.join(request.args)
|
filename = '/'.join(request.args)
|
||||||
|
response.title = request.args[-1]
|
||||||
if request.vars.app:
|
if request.vars.app:
|
||||||
path = abspath(filename)
|
path = abspath(filename)
|
||||||
else:
|
else:
|
||||||
@@ -812,6 +813,7 @@ def edit_language():
|
|||||||
""" Edit language file """
|
""" Edit language file """
|
||||||
app = get_app()
|
app = get_app()
|
||||||
filename = '/'.join(request.args)
|
filename = '/'.join(request.args)
|
||||||
|
response.title = request.args[-1]
|
||||||
strings = read_dict(apath(filename, r=request))
|
strings = read_dict(apath(filename, r=request))
|
||||||
|
|
||||||
if '__corrupted__' in strings:
|
if '__corrupted__' in strings:
|
||||||
|
|||||||
Reference in New Issue
Block a user