Added new i18nadmin frontend for internazionalitation
This commit is contained in:
parent
5008fc0462
commit
f8e92f9285
2 changed files with 15 additions and 0 deletions
|
|
@ -67,6 +67,14 @@ def start():
|
||||||
|
|
||||||
print('Error: cannot copy the file padmin.py. Check if exists and if you have permissions for this task')
|
print('Error: cannot copy the file padmin.py. Check if exists and if you have permissions for this task')
|
||||||
|
|
||||||
|
try:
|
||||||
|
|
||||||
|
shutil.copy(workdir+'/frontend/i18nadmin.py', args.path+'/i18nadmin.py')
|
||||||
|
|
||||||
|
except:
|
||||||
|
|
||||||
|
print('Error: cannot copy the file i18nadmin.py. Check if exists and if you have permissions for this task')
|
||||||
|
|
||||||
if args.symlink!=None:
|
if args.symlink!=None:
|
||||||
try:
|
try:
|
||||||
os.symlink(workdir, args.path+'/paramecio', True)
|
os.symlink(workdir, args.path+'/paramecio', True)
|
||||||
|
|
|
||||||
7
paramecio/frontend/i18nadmin.py
Normal file
7
paramecio/frontend/i18nadmin.py
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
from paramecio.citoplasma.check_i18n import start
|
||||||
|
|
||||||
|
start()
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue