mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
Downgrade
This commit is contained in:
@@ -4,11 +4,15 @@ from fpakman.core import resource
|
||||
import glob
|
||||
|
||||
|
||||
def get_locale_keys():
|
||||
def get_locale_keys(key: str = None):
|
||||
|
||||
current_locale = locale.getdefaultlocale()
|
||||
locale_path = None
|
||||
|
||||
if key is None:
|
||||
current_locale = locale.getdefaultlocale()
|
||||
else:
|
||||
current_locale = [key]
|
||||
|
||||
if current_locale:
|
||||
current_locale = current_locale[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user