mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 16:59:35 -05:00
Update available_locales in settings, and rename no.json to nb.json (Norwegian Bokmål)
This commit is contained in:
parent
4dc726fa73
commit
6d7bd5c746
@ -59,19 +59,31 @@ class Settings(object):
|
|||||||
# Dictionary of available languages in this version of OnionShare,
|
# Dictionary of available languages in this version of OnionShare,
|
||||||
# mapped to the language name, in that language
|
# mapped to the language name, in that language
|
||||||
self.available_locales = {
|
self.available_locales = {
|
||||||
'bn': 'বাংলা', # Bengali
|
#'bn': 'বাংলা', # Bengali (commented out because not at 90% translation)
|
||||||
'ca': 'Català', # Catalan
|
'ca': 'Català', # Catalan
|
||||||
'da': 'Dansk', # Danish
|
'zh_Hant': '正體中文 (繁體)' # Traditional Chinese
|
||||||
'en': 'English', # English
|
'zh_Hans': '中文 (简体)' # Simplified Chinese
|
||||||
'fr': 'Français', # French
|
'da': 'Dansk', # Danish
|
||||||
'el': 'Ελληνικά', # Greek
|
'en': 'English', # English
|
||||||
'it': 'Italiano', # Italian
|
'fi': 'Suomi', # Finish
|
||||||
'ja': '日本語', # Japanese
|
'fr': 'Français', # French
|
||||||
'fa': 'فارسی', # Persian
|
'de': 'Deutsch', # German
|
||||||
'pt_BR': 'Português (Brasil)', # Portuguese Brazil
|
'el': 'Ελληνικά', # Greek
|
||||||
'ru': 'Русский', # Russian
|
'is': 'Íslenska', # Icelandic
|
||||||
'es': 'Español', # Spanish
|
'ga': 'Gaeilge', # Irish
|
||||||
'sv': 'Svenska' # Swedish
|
'it': 'Italiano', # Italian
|
||||||
|
'ja': '日本語', # Japanese
|
||||||
|
'nb': 'Norsk Bokmål', # Norwegian Bokmål
|
||||||
|
#'fa': 'فارسی', # Persian (commented out because not at 90% translation)
|
||||||
|
'pl': 'Polski', # Polish
|
||||||
|
'pt_BR': 'Português (Brasil)', # Portuguese Brazil
|
||||||
|
'pt_PT': 'Português (Portugal)', # Portuguese Portugal
|
||||||
|
'ru': 'Русский', # Russian
|
||||||
|
'es': 'Español', # Spanish
|
||||||
|
'sv': 'Svenska', # Swedish
|
||||||
|
'te': 'తెలుగు', # Telugu
|
||||||
|
'tr': 'Türkçe', # Turkish
|
||||||
|
'uk': 'Українська', # Ukrainian
|
||||||
}
|
}
|
||||||
|
|
||||||
# These are the default settings. They will get overwritten when loading from disk
|
# These are the default settings. They will get overwritten when loading from disk
|
||||||
|
Loading…
Reference in New Issue
Block a user