mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-10-25 00:02:32 +00:00
Fixing raditional Chinese locale mapping #3737
This commit is contained in:
1 parent
50b349b464
commit
c7f078ae04
3 files changed
+3
-2
No files matched your search
@@ -29,6 +29,7 @@ def get_timeago_locale(flask_locale):
|
||||
"""
|
||||
locale_map = {
|
||||
'zh': 'zh_CN', # Chinese Simplified
|
||||
'zh_Hant_TW': 'zh_TW', # Flask-Babel normalizes zh_TW to zh_Hant_TW
|
||||
'pt': 'pt_PT', # Portuguese (Portugal)
|
||||
'sv': 'sv_SE', # Swedish
|
||||
'no': 'nb_NO', # Norwegian Bokmål
|
||||
|
||||
Binary file not shown.
@@ -10,8 +10,8 @@ msgstr ""
|
||||
"POT-Creation-Date: 2026-01-03 14:31+0100\n"
|
||||
"PO-Revision-Date: 2026-01-02 12:37+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: zh_Hant_TW\n"
|
||||
"Language-Team: zh_Hant_TW <LL@li.org>\n"
|
||||
"Language: zh_TW\n"
|
||||
"Language-Team: zh_TW <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
Reference in new issue
Block a user