Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
anki
anki-anki_lang.py.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File anki-anki_lang.py.patch of Package anki
--- anki/lang.py.sav 2017-02-10 14:26:27.000000000 +0900 +++ anki/lang.py 2017-03-28 18:04:42.985569721 +0900 @@ -71,15 +71,7 @@ return localTranslation().ungettext(single, plural, n) def langDir(): - dir = os.path.join(os.path.dirname( - os.path.abspath(__file__)), "locale") - if not os.path.isdir(dir): - dir = os.path.join(os.path.dirname(sys.argv[0]), "locale") - if not os.path.isdir(dir): - dir = "/usr/share/anki/locale" - if not os.path.isdir(dir): - dir = "/usr/local/share/anki/bin/locale" - return dir + return "/usr/share/locale" def setLang(lang, local=True): trans = gettext.translation(
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor