143 lines
7.6 KiB
Go
143 lines
7.6 KiB
Go
package mujica
|
||
|
||
func init() {
|
||
addMessages(map[string][2]string{
|
||
"option_chain.expiry": {"Expiry", "到期日"},
|
||
"option_chain.spot": {"Spot %s", "现价 %s"},
|
||
"option_chain.calls": {"Calls", "认购"},
|
||
"option_chain.puts": {"Puts", "认沽"},
|
||
"option_chain.strike": {"Strike", "行权价"},
|
||
"option_chain.bid": {"Bid", "买价"},
|
||
"option_chain.ask": {"Ask", "卖价"},
|
||
"option_chain.last": {"Last", "最新"},
|
||
"option_chain.empty": {"No strikes for this expiry", "该到期日没有合约"},
|
||
"option_chain.call_name": {"Call %s: bid %s, ask %s, last %s", "认购 %s:买 %s,卖 %s,最新 %s"},
|
||
"option_chain.put_name": {"Put %s: bid %s, ask %s, last %s", "认沽 %s:买 %s,卖 %s,最新 %s"},
|
||
"option_chain.itm": {"in the money", "价内"},
|
||
|
||
"greeks_table.title": {"Greeks", "希腊值"},
|
||
"greeks_table.contract": {"Contract", "合约"},
|
||
"greeks_table.note_delta": {"Price change per 1 move in the underlying.", "标的每变动 1 时期权价格的变化。"},
|
||
"greeks_table.note_gamma": {"Delta change per 1 move in the underlying.", "标的每变动 1 时 Delta 的变化。"},
|
||
"greeks_table.note_theta": {"Price change per day as time passes.", "每过一天期权价格的变化。"},
|
||
"greeks_table.note_vega": {"Price change per 1 point of volatility.", "波动率每变动 1 个百分点时价格的变化。"},
|
||
"greeks_table.note_rho": {"Price change per 1 point of interest rate.", "利率每变动 1 个百分点时价格的变化。"},
|
||
|
||
"payoff_diagram.readout": {"Price %s · %s %s", "价格 %s · %s %s"},
|
||
"payoff_diagram.spot": {"Spot", "现价"},
|
||
"payoff_diagram.breakevens": {"Breakeven:", "盈亏平衡点:"},
|
||
|
||
"watchlist.groups": {"Watchlists", "自选分组"},
|
||
"watchlist.columns": {"Columns", "列设置"},
|
||
"watchlist.price": {"Price", "价格"},
|
||
"watchlist.change": {"Change", "涨跌"},
|
||
"watchlist.volume": {"Volume", "成交量"},
|
||
"watchlist.empty": {"No symbols in this list", "该分组没有自选"},
|
||
|
||
"symbol_search.placeholder": {"Search code or name", "搜索代码或名称"},
|
||
"symbol_search.market": {"Market", "市场"},
|
||
"symbol_search.all_markets": {"All markets", "全部市场"},
|
||
"symbol_search.recent": {"Recent", "最近搜索"},
|
||
"symbol_search.searching": {"Searching", "正在搜索"},
|
||
"symbol_search.no_results": {"No symbols match", "没有匹配的代码"},
|
||
"symbol_search.retry": {"Retry", "重试"},
|
||
|
||
"market_overview.as_of": {"As of %s", "截至 %s"},
|
||
"market_overview.breadth": {"%d advancing, %d declining, %d unchanged", "上涨 %d 家,下跌 %d 家,平盘 %d 家"},
|
||
"market_overview.up": {"%d up", "上涨 %d"},
|
||
"market_overview.flat": {"%d flat", "平盘 %d"},
|
||
"market_overview.down": {"%d down", "下跌 %d"},
|
||
|
||
"market_status.closed": {"Closed", "已收盘"},
|
||
"market_status.pre": {"Pre-market", "盘前"},
|
||
"market_status.open": {"Open", "交易中"},
|
||
"market_status.after": {"After hours", "盘后"},
|
||
"market_status.holiday": {"Holiday", "休市"},
|
||
"market_status.next": {"%s at %s (in %s)", "%[2]s %[1]s(%[3]s后)"},
|
||
"market_status.now": {"now", "即将"},
|
||
"market_status.hm": {"%dh %02dm", "%d小时%02d分"},
|
||
"market_status.m": {"%dm", "%d分钟"},
|
||
|
||
"economic_calendar.countries": {"Countries", "国家或地区"},
|
||
"economic_calendar.all_countries": {"All countries", "全部国家或地区"},
|
||
"economic_calendar.importance": {"Importance", "重要性"},
|
||
"economic_calendar.all": {"All", "全部"},
|
||
"economic_calendar.medium_up": {"Medium and high", "中高"},
|
||
"economic_calendar.high": {"High", "高"},
|
||
"economic_calendar.level_1": {"Low", "低"},
|
||
"economic_calendar.level_2": {"Medium", "中"},
|
||
"economic_calendar.level_3": {"High", "高"},
|
||
"economic_calendar.time": {"Time", "时间"},
|
||
"economic_calendar.country": {"Country", "地区"},
|
||
"economic_calendar.event": {"Event", "事件"},
|
||
"economic_calendar.actual": {"Actual", "实际"},
|
||
"economic_calendar.forecast": {"Forecast", "预期"},
|
||
"economic_calendar.previous": {"Previous", "前值"},
|
||
"economic_calendar.empty": {"No events", "没有事件"},
|
||
|
||
"earnings_calendar.date": {"Date", "日期"},
|
||
"earnings_calendar.timing": {"Timing", "时段"},
|
||
"earnings_calendar.symbol": {"Symbol", "代码"},
|
||
"earnings_calendar.name": {"Company", "公司"},
|
||
"earnings_calendar.estimate": {"EPS est.", "EPS 预期"},
|
||
"earnings_calendar.actual": {"EPS actual", "EPS 实际"},
|
||
"earnings_calendar.surprise": {"Surprise", "超预期"},
|
||
"earnings_calendar.unknown": {"Time not set", "时间未定"},
|
||
"earnings_calendar.before": {"Before open", "盘前"},
|
||
"earnings_calendar.after": {"After close", "盘后"},
|
||
"earnings_calendar.empty": {"No reports", "没有财报"},
|
||
|
||
"news_feed.unread": {"%d unread", "%d 条未读"},
|
||
"news_feed.mark_all": {"Mark all read", "全部标为已读"},
|
||
"news_feed.empty": {"No news", "暂无新闻"},
|
||
|
||
"sentiment_gauge.extreme_fear": {"Extreme fear", "极度恐惧"},
|
||
"sentiment_gauge.fear": {"Fear", "恐惧"},
|
||
"sentiment_gauge.neutral": {"Neutral", "中性"},
|
||
"sentiment_gauge.greed": {"Greed", "贪婪"},
|
||
"sentiment_gauge.extreme_greed": {"Extreme greed", "极度贪婪"},
|
||
|
||
"portfolio_summary.accounts": {"Accounts", "账户"},
|
||
"portfolio_summary.all": {"All accounts", "全部账户"},
|
||
"portfolio_summary.total": {"Total assets", "总资产"},
|
||
"portfolio_summary.day": {"Today's P/L", "当日盈亏"},
|
||
"portfolio_summary.return": {"Total return", "累计收益"},
|
||
|
||
"asset_allocation_chart.asset": {"Asset", "资产"},
|
||
"asset_allocation_chart.weight": {"Weight", "占比"},
|
||
"asset_allocation_chart.target": {"Target", "目标"},
|
||
"asset_allocation_chart.drift": {"Drift", "偏离"},
|
||
"asset_allocation_chart.over": {"Over", "超配"},
|
||
"asset_allocation_chart.under": {"Under", "低配"},
|
||
|
||
"performance_chart.portfolio": {"Portfolio", "组合"},
|
||
"performance_chart.benchmark": {"Benchmark", "基准"},
|
||
"performance_chart.drawdown": {"Max drawdown %s", "最大回撤 %s"},
|
||
"performance_chart.drawdown_range": {"Max drawdown %s, from %s to %s", "最大回撤 %s,%s 至 %s"},
|
||
|
||
"currency_converter.amount": {"Amount", "金额"},
|
||
"currency_converter.from": {"From", "源币种"},
|
||
"currency_converter.to": {"To", "目标币种"},
|
||
"currency_converter.swap": {"Swap currencies", "互换币种"},
|
||
"currency_converter.no_rate": {"Rate unavailable", "暂无汇率"},
|
||
"currency_converter.rate": {"1 %s = %g %s", "1 %s = %g %s"},
|
||
|
||
"screener.conditions": {"Conditions", "筛选条件"},
|
||
"screener.none": {"No conditions: every symbol passes.", "暂无条件:全部代码通过。"},
|
||
"screener.field": {"Field", "字段"},
|
||
"screener.compare": {"Comparison", "比较"},
|
||
"screener.value": {"Value", "数值"},
|
||
"screener.remove": {"Remove condition %d", "删除条件 %d"},
|
||
"screener.add": {"Add condition", "添加条件"},
|
||
"screener.save": {"Save conditions", "保存条件"},
|
||
"screener.matches": {"%d of %d match", "%d / %d 符合"},
|
||
"screener.symbol": {"Symbol", "代码"},
|
||
"screener.empty": {"No symbols match", "没有符合的代码"},
|
||
"screener.op_0": {"above", "大于"},
|
||
"screener.op_1": {"at least", "大于等于"},
|
||
"screener.op_2": {"below", "小于"},
|
||
"screener.op_3": {"at most", "小于等于"},
|
||
"screener.op_4": {"equal to", "等于"},
|
||
})
|
||
}
|