From 8f829ab8513157c00170be143b03d722fff033d2 Mon Sep 17 00:00:00 2001 From: svk31 Date: Sun, 24 Jun 2018 09:23:35 +0200 Subject: [PATCH] Fix #1618: Vertical orderbook missing translations --- app/assets/locales/locale-de.json | 9 +++++++++ app/assets/locales/locale-en.json | 7 ++++--- app/assets/locales/locale-es.json | 9 +++++++++ app/assets/locales/locale-fr.json | 9 +++++++++ app/assets/locales/locale-it.json | 9 +++++++++ app/assets/locales/locale-ja.json | 9 +++++++++ app/assets/locales/locale-ko.json | 9 +++++++++ app/assets/locales/locale-ru.json | 3 +++ app/assets/locales/locale-tr.json | 9 +++++++++ app/assets/locales/locale-zh.json | 9 +++++++++ app/components/Exchange/OrderBook.jsx | 10 +++++++--- 11 files changed, 86 insertions(+), 6 deletions(-) diff --git a/app/assets/locales/locale-de.json b/app/assets/locales/locale-de.json index 7ba89b8e79..a1c360d15a 100644 --- a/app/assets/locales/locale-de.json +++ b/app/assets/locales/locale-de.json @@ -534,8 +534,11 @@ "my_orders": "My open orders", "native": "Native", "new": "New", + "no_asks": "No asks", "no_balance": "Ungenügendes Guthaben", + "no_bids": "No bids", "no_data": "Keine Daten", + "no_orders": "No orders", "order_depth": "Ordertiefe", "others": "Others", "overbought": "Overbought", @@ -1246,6 +1249,8 @@ }, "operation": { "annual_upgrade_account": "{account} hat ein Jahresabo gekauft", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} hat das Asset {asset} erzeugt", "asset_fund_fee_pool": "{account} hat {amount} in den Gebührenpool von {asset} transferiert", @@ -1258,6 +1263,8 @@ "asset_update": "{account} hat das Asset {asset} aktualisiert", "asset_update_feed_producers": "{account} hat die Feed-Erzeuger für {asset} aktualisiert", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account} hat Guthaben von {amount} beansprucht", "blacklisted_by": "{lister} hat Konto {listee} schwarzgelistet", "call_order_update": @@ -1642,6 +1649,7 @@ "all": "Show all", "assert": "Operation bestätigen", "asset_claim_fees": "Gebühr für 'Asset beanspruchen'", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "Asset erstellen", "asset_fund_fee_pool": "Asset-Gebührenpool finanzieren", "asset_global_settle": "Globales Asset-Settlement", @@ -1653,6 +1661,7 @@ "asset_update": "Asset aktualisieren", "asset_update_bitasset": "SmartCoin aktualisieren", "asset_update_feed_producers": "Asset-Feederzeuger aktualisieren", + "asset_update_issuer": "Update asset issuer", "balance_claim": "Guthaben eingefordert", "blind_transfer": "Blind-Transfer", "call_order_update": "Call-Order aktualisieren", diff --git a/app/assets/locales/locale-en.json b/app/assets/locales/locale-en.json index dd37a963eb..9c86fb098e 100644 --- a/app/assets/locales/locale-en.json +++ b/app/assets/locales/locale-en.json @@ -530,10 +530,11 @@ "my_orders": "My open orders", "native": "Native", "new": "New", + "no_asks": "No asks", "no_balance": "Insufficient balance", + "no_bids": "No bids", "no_data": "No data", "no_orders": "No orders", - "no_bids": "No bids", "order_depth": "Market Depth", "others": "Others", "overbought": "Overbought", @@ -1245,6 +1246,8 @@ }, "operation": { "annual_upgrade_account": "{account} was upgraded to annual member", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} created the asset {asset}", "asset_fund_fee_pool": "{account} funded {asset} fee pool with {amount}", @@ -1254,8 +1257,6 @@ "asset_reserve": "{account} burned (reserved) {amount}", "asset_settle": "{account} requested settlement of {amount}", "asset_settle_cancel": "{account} cancelled settlement of {amount}", - "asset_claim_pool": - "{account} claimed {amount} from asset {asset}'s fee pool", "asset_update": "{account} updated the asset {asset}", "asset_update_feed_producers": "{account} updated the feed producers for the asset {asset}", diff --git a/app/assets/locales/locale-es.json b/app/assets/locales/locale-es.json index e1ea4b8bd9..4c6393171e 100644 --- a/app/assets/locales/locale-es.json +++ b/app/assets/locales/locale-es.json @@ -542,8 +542,11 @@ "my_orders": "Mis ordenes abiertos", "native": "Native", "new": "Nuevo", + "no_asks": "No asks", "no_balance": "Saldo insuficiente", + "no_bids": "No bids", "no_data": "No data", + "no_orders": "No orders", "order_depth": "Profundidad de Mercado", "others": "Otros", "overbought": "Sobrecomprado", @@ -1258,6 +1261,8 @@ }, "operation": { "annual_upgrade_account": "{account} fue actualizado a miembro anual", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} creado el activo {asset}", "asset_fund_fee_pool": "{account} fundado {asset} grupo de tarifas con {amount}", @@ -1270,6 +1275,8 @@ "asset_update": "{account} actualizado el activo {asset}", "asset_update_feed_producers": "{account} actualizado los productores para el activo {asset}", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account} reclamó un saldo de {amount}", "blacklisted_by": "{lister} puso en la lista negra la cuenta {listee}", "call_order_update": @@ -1670,6 +1677,7 @@ "all": "Mostrar todo", "assert": "Afirmar operación", "asset_claim_fees": "Reclamar comisiones de activos", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "Crear activo", "asset_fund_fee_pool": "Financiar Fondo de Comisiones de un activo", "asset_global_settle": "Liquidación global de Activos", @@ -1682,6 +1690,7 @@ "asset_update_bitasset": "Actualizar SmartCoin", "asset_update_feed_producers": "Actualizar productores de feed de activo", + "asset_update_issuer": "Update asset issuer", "balance_claim": "Solicitar balance", "blind_transfer": "Transferencia cegada", "call_order_update": "Actualizar margen", diff --git a/app/assets/locales/locale-fr.json b/app/assets/locales/locale-fr.json index 445ce42b92..7193a65409 100644 --- a/app/assets/locales/locale-fr.json +++ b/app/assets/locales/locale-fr.json @@ -530,8 +530,11 @@ "my_orders": "My open orders", "native": "Native", "new": "New", + "no_asks": "No asks", "no_balance": "Insufficient balance", + "no_bids": "No bids", "no_data": "No data", + "no_orders": "No orders", "order_depth": "Carnet d'ordres", "others": "Others", "overbought": "Overbought", @@ -1243,6 +1246,8 @@ }, "operation": { "annual_upgrade_account": "{account} a été converti en membre annuel", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} a crée l'actif {asset}", "asset_fund_fee_pool": "{account} funded {asset} fee pool with {amount}", @@ -1255,6 +1260,8 @@ "asset_update": "{account} a mis à jour l'actif {asset}", "asset_update_feed_producers": "{account} updated the feed producers for the asset {asset}", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account} a recuperé un solde de {amount}", "blacklisted_by": "{lister} a blacklisté {listee}", "call_order_update": @@ -1639,6 +1646,7 @@ "all": "Show all", "assert": "Assert operation", "asset_claim_fees": "Claim asset fees", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "Creation d'actif", "asset_fund_fee_pool": "Financement de pot de frais", "asset_global_settle": "Couvrement global d'actif", @@ -1650,6 +1658,7 @@ "asset_update": "Mise à jour d'actif", "asset_update_bitasset": "Mise à jour d'actif de marché", "asset_update_feed_producers": "Mise à jour des flux", + "asset_update_issuer": "Update asset issuer", "balance_claim": "Récuperation de solde", "blind_transfer": "Blinded transfer", "call_order_update": "Mise à jour d'ordre à découvert", diff --git a/app/assets/locales/locale-it.json b/app/assets/locales/locale-it.json index db43866c66..7b14cee1ea 100644 --- a/app/assets/locales/locale-it.json +++ b/app/assets/locales/locale-it.json @@ -540,8 +540,11 @@ "my_orders": "I miei ordini attivi", "native": "Native", "new": "Nuovo", + "no_asks": "No asks", "no_balance": "Saldo insufficiente", + "no_bids": "No bids", "no_data": "Nessun dato", + "no_orders": "No orders", "order_depth": "Market Depth", "others": "Altri", "overbought": "Overbought", @@ -1259,6 +1262,8 @@ }, "operation": { "annual_upgrade_account": "{account} è stato promosso a membro annuale", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} ha creato l'asset {asset}", "asset_fund_fee_pool": "{account} ha finanziato il fee pool di {asset} con {amount}", @@ -1271,6 +1276,8 @@ "asset_update": "{account} ha aggiornato l'asset {asset}", "asset_update_feed_producers": "{account} ha aggiornato i produttori di feed per l'asset {asset}", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account} ha riscosso un saldo di {amount}", "blacklisted_by": "{lister} ha messo in blacklist l'account {listee}", "call_order_update": @@ -1666,6 +1673,7 @@ "all": "Mostra tutti", "assert": "Assert operation", "asset_claim_fees": "Riscuoti le commissioni dell'asset", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "Crea asset", "asset_fund_fee_pool": "Finanzia fee pool dell'asset", "asset_global_settle": "Settlement dell'asset globale", @@ -1678,6 +1686,7 @@ "asset_update_bitasset": "Aggiorna SmartCoin", "asset_update_feed_producers": "Aggiorna produttori di feed per l'asset", + "asset_update_issuer": "Update asset issuer", "balance_claim": "Riscuoti saldo", "blind_transfer": "Blinded transfer", "call_order_update": "Aggiorna margine", diff --git a/app/assets/locales/locale-ja.json b/app/assets/locales/locale-ja.json index 99debeb914..d0b2a875bd 100644 --- a/app/assets/locales/locale-ja.json +++ b/app/assets/locales/locale-ja.json @@ -530,8 +530,11 @@ "my_orders": "自分の未執行注文", "native": "Native", "new": "新しい", + "no_asks": "No asks", "no_balance": "残高不足", + "no_bids": "No bids", "no_data": "データなし", + "no_orders": "No orders", "order_depth": "マーケットデプス", "others": "その他", "overbought": "買われすぎ", @@ -1245,6 +1248,8 @@ }, "operation": { "annual_upgrade_account": "{account}は年間会員にアップグレードしました", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account}はアセット{asset}を作成しました", "asset_fund_fee_pool": "{account}は{asset}の手数料プールに{amount}を充填しました", @@ -1257,6 +1262,8 @@ "asset_update": "{account}はアセット{asset}を更新しました", "asset_update_feed_producers": "{account}はアセット{asset}のフィード作成者を更新しました", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account}は{amount}を請求しました", "blacklisted_by": "{lister}は{listee}をブラックリストに登録しました", "call_order_update": @@ -1639,6 +1646,7 @@ "all": "すべて表示", "assert": "アサート操作", "asset_claim_fees": "アセット手数料を請求", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "アセットを作成", "asset_fund_fee_pool": "アセットの手数料プールを充填", "asset_global_settle": "グローバルアセット決済", @@ -1650,6 +1658,7 @@ "asset_update": "アセットを更新", "asset_update_bitasset": "スマートコインを更新", "asset_update_feed_producers": "アセットのフィード作成者を更新", + "asset_update_issuer": "Update asset issuer", "balance_claim": "残高請求", "blind_transfer": "匿名転送", "call_order_update": "マージンを更新", diff --git a/app/assets/locales/locale-ko.json b/app/assets/locales/locale-ko.json index c81a70c374..cd8d93f678 100644 --- a/app/assets/locales/locale-ko.json +++ b/app/assets/locales/locale-ko.json @@ -530,8 +530,11 @@ "my_orders": "My open orders", "native": "Native", "new": "New", + "no_asks": "No asks", "no_balance": "Insufficient balance", + "no_bids": "No bids", "no_data": "No data", + "no_orders": "No orders", "order_depth": "주문 깊이", "others": "Others", "overbought": "Overbought", @@ -1239,6 +1242,8 @@ }, "operation": { "annual_upgrade_account": "{account} was upgraded to annual member", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} created the asset {asset}", "asset_fund_fee_pool": "{account} funded {asset} fee pool with {amount}", @@ -1251,6 +1256,8 @@ "asset_update": "{account} updated the asset {asset}", "asset_update_feed_producers": "{account} updated the feed producers for the asset {asset}", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account} claimed a balance of {amount}", "blacklisted_by": "{lister} blacklisted the account {listee}", "call_order_update": @@ -1633,6 +1640,7 @@ "all": "Show all", "assert": "Assert operation", "asset_claim_fees": "Claim asset fees", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "자산 생성", "asset_fund_fee_pool": "자산 수수료 기금 충전", "asset_global_settle": "자산 전체 강제청산", @@ -1644,6 +1652,7 @@ "asset_update": "자산 업데이트", "asset_update_bitasset": "스마트코인 업데이트", "asset_update_feed_producers": "자산 피드 생성자 업데이트", + "asset_update_issuer": "Update asset issuer", "balance_claim": "잔고 청구", "blind_transfer": "Blinded transfer", "call_order_update": "Update call order", diff --git a/app/assets/locales/locale-ru.json b/app/assets/locales/locale-ru.json index 60627536e7..ebe382f13b 100644 --- a/app/assets/locales/locale-ru.json +++ b/app/assets/locales/locale-ru.json @@ -543,8 +543,11 @@ "my_orders": "Мои открытые ордера", "native": "Встроенная", "new": "Новый", + "no_asks": "No asks", "no_balance": "Недостаточно средств", + "no_bids": "No bids", "no_data": "Нет данных", + "no_orders": "No orders", "order_depth": "Глубина Рынка", "others": "Другие", "overbought": "Перекуплен", diff --git a/app/assets/locales/locale-tr.json b/app/assets/locales/locale-tr.json index c00dc9fdf5..cfc4cdd20b 100644 --- a/app/assets/locales/locale-tr.json +++ b/app/assets/locales/locale-tr.json @@ -536,8 +536,11 @@ "my_orders": "Açık emirlerim", "native": "Native", "new": "Yeni", + "no_asks": "No asks", "no_balance": "Yetersiz bakiye", + "no_bids": "No bids", "no_data": "Veri yok", + "no_orders": "No orders", "order_depth": "Piyasa Derinliği", "others": "Diğerleri", "overbought": "Aşırı Talep", @@ -1250,6 +1253,8 @@ }, "operation": { "annual_upgrade_account": "{account} yıllık üyeliğe yükseltildi.", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} şu dijital varlığı oluşturdu: {asset}", "asset_fund_fee_pool": "{account} tarafından {asset} ücret havuzuna {amount} eklendi.", @@ -1263,6 +1268,8 @@ "asset_update": "{account} şu dijital varlığı güncelledi: {asset}", "asset_update_feed_producers": "{account} şu dijital varlığın fiyat kaynaklarını güncelledi: {asset}", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account} bakiye güncelleme işlemi - Miktar: {amount}", "blacklisted_by": "{lister} kara listeye {listee} adlı hesabı ekledi.", @@ -1651,6 +1658,7 @@ "all": "Tümünü göster", "assert": "İşlem beyanı", "asset_claim_fees": "Aktif ücretlerini talep et", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "Yeni Oluştur", "asset_fund_fee_pool": "Aktif ücret havuzu finansı", "asset_global_settle": "Genel Aktif Ödemesi", @@ -1662,6 +1670,7 @@ "asset_update": "Güncelle", "asset_update_bitasset": "Akıllıpara güncelleme", "asset_update_feed_producers": "Fiyat kaynağı hesabı güncelleme", + "asset_update_issuer": "Update asset issuer", "balance_claim": "Bakiye talebi", "blind_transfer": "Kör transfer", "call_order_update": "Marjin güncelleme", diff --git a/app/assets/locales/locale-zh.json b/app/assets/locales/locale-zh.json index f91fa98821..924692e70d 100644 --- a/app/assets/locales/locale-zh.json +++ b/app/assets/locales/locale-zh.json @@ -513,8 +513,11 @@ "my_orders": "我的委单", "native": "Native", "new": "新增", + "no_asks": "No asks", "no_balance": "余额不足", + "no_bids": "No bids", "no_data": "暂无数据", + "no_orders": "No orders", "order_depth": "市场深度", "others": "其他", "overbought": "超买", @@ -1212,6 +1215,8 @@ }, "operation": { "annual_upgrade_account": "{account} 升级到年度会员", + "asset_claim_pool": + "{account} claimed {amount} from asset {asset}'s fee pool", "asset_create": "{account} 创建了资产 {asset}", "asset_fund_fee_pool": "{account} 向 {asset} 的手续费池注资了 {amount}", "asset_global_settle": @@ -1222,6 +1227,8 @@ "asset_settle_cancel": "{account} cancelled settlement of {amount}", "asset_update": "{account} 更新了资产 {asset}", "asset_update_feed_producers": "{account} 更新了资产 {asset} 的喂价者", + "asset_update_issuer": + "{from_account} transferred {asset} to {to_account}", "balance_claim": "{account} 领取了余额 {amount}", "blacklisted_by": "{lister} 将 {listee} 加入黑名单", "call_order_update": @@ -1580,6 +1587,7 @@ "all": "显示全部", "assert": "断言操作", "asset_claim_fees": "领取资产手续费", + "asset_claim_pool": "Claim asset fee pool", "asset_create": "创建资产", "asset_fund_fee_pool": "注资资产手续费池", "asset_global_settle": "全局资产清算", @@ -1591,6 +1599,7 @@ "asset_update": "更新资产", "asset_update_bitasset": "更新智能币", "asset_update_feed_producers": "更新资产喂价者", + "asset_update_issuer": "Update asset issuer", "balance_claim": "领取余额", "blind_transfer": "隐私转账", "call_order_update": "更新债仓", diff --git a/app/components/Exchange/OrderBook.jsx b/app/components/Exchange/OrderBook.jsx index 64d8381ff6..ac49f1bbbd 100644 --- a/app/components/Exchange/OrderBook.jsx +++ b/app/components/Exchange/OrderBook.jsx @@ -27,7 +27,9 @@ class OrderBookRowVertical extends React.Component { const isCall = order.isCall(); let integerClass = isCall ? "orderHistoryCall" - : isBid ? "orderHistoryBid" : "orderHistoryAsk"; + : isBid + ? "orderHistoryBid" + : "orderHistoryAsk"; let price = ( @@ -82,7 +84,9 @@ class OrderBookRowHorizontal extends React.Component { let integerClass = isCall ? "orderHistoryCall" - : isBid ? "orderHistoryBid" : "orderHistoryAsk"; + : isBid + ? "orderHistoryBid" + : "orderHistoryAsk"; let price = ( @@ -791,7 +795,7 @@ class OrderBook extends React.Component { className="cell no-orders padtop" colSpan="3" > - No asks + )}