mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Added the Vietnamese language
This commit is contained in:
parent
1c779cb3ec
commit
86a81eab4e
@ -49,7 +49,7 @@ def get_locale_name(lang):
|
||||
else:
|
||||
LANG2LOCALENAME = {'fr': 'fr_FR', 'de': 'de_DE', 'it': 'it_IT', 'zh_CN': 'zh_CN',
|
||||
'cs': 'cs_CZ', 'nl': 'nl_NL', 'hy': 'hy_AM', 'ru': 'ru_RU', 'uk': 'uk_UA',
|
||||
'pt_BR': 'pt_BR', 'es': 'es_ES'}
|
||||
'pt_BR': 'pt_BR', 'es': 'es_ES', 'vi': 'vi_VN'}
|
||||
if lang not in LANG2LOCALENAME:
|
||||
return None
|
||||
result = LANG2LOCALENAME[lang]
|
||||
|
@ -17,7 +17,7 @@ from qtlib.preferences import LANGNAMES
|
||||
|
||||
tr = trget('ui')
|
||||
|
||||
SUPPORTED_LANGUAGES = ['en', 'fr', 'de', 'zh_CN', 'cs', 'it', 'hy', 'ru', 'uk', 'pt_BR']
|
||||
SUPPORTED_LANGUAGES = ['en', 'fr', 'de', 'zh_CN', 'cs', 'it', 'hy', 'ru', 'uk', 'pt_BR', 'vi']
|
||||
|
||||
class PreferencesDialogBase(QDialog):
|
||||
def __init__(self, parent, app):
|
||||
|
@ -26,6 +26,7 @@ LANGNAMES = {
|
||||
'nl': tr('Dutch'),
|
||||
'pt_BR': tr("Brazilian"),
|
||||
'es': tr("Spanish"),
|
||||
'vi': tr("Vietnamese"),
|
||||
}
|
||||
|
||||
def normalize_for_serialization(v):
|
||||
|
Loading…
x
Reference in New Issue
Block a user