Fix locale issues
This commit is contained in:
parent
beffb79613
commit
dbfed2c4ce
@ -11,7 +11,7 @@ import sys
|
||||
import xml.dom.minidom
|
||||
|
||||
|
||||
gettext.install('danmaku2ass', os.path.join(os.path.dirname(os.path.abspath(__file__)), 'locale'))
|
||||
gettext.install('danmaku2ass', os.path.join(os.path.dirname(os.path.abspath(os.path.realpath(sys.argv[0] or 'locale'))), 'locale'))
|
||||
|
||||
|
||||
def ProcessComments(comments, f, width, height, bottomReserved, fontface, fontsize, alpha, lifetime, reduced):
|
||||
|
Loading…
Reference in New Issue
Block a user