update strings

This commit is contained in:
rlx 2016-01-16 20:13:54 +05:30
commit d7975a870b
2 changed files with 13 additions and 13 deletions

10
install
View file

@ -35,8 +35,8 @@ class Install(Thread):
try:
from OpenSSL.SSL import TLSv1_2_METHOD
except:
print("To run Open Media Library on versions of Ubuntu before 15.10 you need to manually update pyOpenSSL")
print("To install the current version of pyOpenSSL:\n\tsudo apt-get install python3-pip python3-dev libffi-dev libssl-dev\n\tsudo pip3 install -U pyOpenSSL")
print("To run Open Media Library on versions of Ubuntu before 15.10, you need to manually update pyOpenSSL.")
print("To install the current version of pyOpenSSL, run:\n\tsudo apt-get install python3-pip python3-dev libffi-dev libssl-dev\n\tsudo pip3 install -U pyOpenSSL")
self.failed = True
return
apt_packages = ''
@ -87,8 +87,8 @@ class Install(Thread):
elif apt_packages:
print('You need to install Pillow, lxml and pyOpenSSL\ni.e. sudo pip3 install pillow lxml pyOpenSSL')
if 'poppler' in apt_packages:
print('You need to install pdftocairo (part of poppler-utils)')
print("After installing those packages, run install again")
print('You need to install pdftocairo (part of poppler-utils).')
print("After installing these packages, run install again.")
self.failed = True
return
target = self.target
@ -170,5 +170,5 @@ if __name__ == '__main__':
install = Install(target)
install.join()
if not install.failed:
print("to launch Open Media Library run: %s open"%os.path.join(target, 'ctl'))
print("To launch Open Media Library, run: %s open"%os.path.join(target, 'ctl'))
#subprocess.Popen([os.path.join(target, 'ctl'), 'open'])