Files
pytchat-fork/pytchat/processors/compatible/renderer/currency.py
taizan-hokouto 02d48ceccc Fix process
2020-12-05 14:42:02 +09:00

39 lines
2.0 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'''
Table of symbols for the currencies used in YouTube Superchat.
Key
Currency symbols used in YouTube Super Chat
If it ends with an alphabet, it will be followed by 0xA0(&npsp).
Value:
fxtext: ISO 4217 currency code
jptest: japanese text
'''
symbols = {
"$": {"fxtext": "USD", "jptext": "米・ドル"},
"A$": {"fxtext": "AUD", "jptext": "オーストラリア・ドル"},
"CA$": {"fxtext": "CAD", "jptext": "カナダ・ドル"},
"CHF\xa0": {"fxtext": "CHF", "jptext": "スイス・フラン"},
"COP\xa0": {"fxtext": "COP", "jptext": "コロンビア・ペソ"},
"HK$": {"fxtext": "HKD", "jptext": "香港・ドル"},
"HUF\xa0": {"fxtext": "HUF", "jptext": "ハンガリー・フォリント"},
"MX$": {"fxtext": "MXN", "jptext": "メキシコ・ペソ"},
"NT$": {"fxtext": "TWD", "jptext": "台湾・ドル"},
"NZ$": {"fxtext": "NZD", "jptext": "ニュージーランド・ドル"},
"PHP\xa0": {"fxtext": "PHP", "jptext": "フィリピン・ペソ"},
"PLN\xa0": {"fxtext": "PLN", "jptext": "ポーランド・ズロチ"},
"R$": {"fxtext": "BRL", "jptext": "ブラジル・レアル"},
"RUB\xa0": {"fxtext": "RUB", "jptext": "ロシア・ルーブル"},
"SEK\xa0": {"fxtext": "SEK", "jptext": "スウェーデン・クローネ"},
"£": {"fxtext": "GBP", "jptext": "英・ポンド"},
"": {"fxtext": "KRW", "jptext": "韓国・ウォン"},
"": {"fxtext": "EUR", "jptext": "欧・ユーロ"},
"": {"fxtext": "INR", "jptext": "インド・ルピー"},
"": {"fxtext": "JPY", "jptext": "日本・円"},
"PEN\xa0": {"fxtext": "PEN", "jptext": "ペルー・ヌエボ・ソル"},
"ARS\xa0": {"fxtext": "ARS", "jptext": "アルゼンチン・ペソ"},
"CLP\xa0": {"fxtext": "CLP", "jptext": "チリ・ペソ"},
"NOK\xa0": {"fxtext": "NOK", "jptext": "ノルウェー・クローネ"},
"BAM\xa0": {"fxtext": "BAM", "jptext": "ボスニア・兌換マルカ"},
"SGD\xa0": {"fxtext": "SGD", "jptext": "シンガポール・ドル"}
}