-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathlocale_ntfn.go
1639 lines (1624 loc) · 54.7 KB
/
locale_ntfn.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package core
import (
"fmt"
"golang.org/x/text/language"
"golang.org/x/text/message"
)
type translation struct {
subject string
template string
// stale is used to indicate that a translation has changed, is only
// partially translated, or just needs review, and should be updated. This
// is useful when it's better than falling back to english, but it allows
// these translations to be identified programmatically.
stale bool
}
const originLang = "en-US"
// originLocale is the American English translations.
var originLocale = map[Topic]*translation{
// [host]
TopicAccountRegistered: {
subject: "Account registered",
template: "You may now trade at %s",
},
// [confs, host]
TopicFeePaymentInProgress: {
subject: "Fee payment in progress",
template: "Waiting for %d confirmations before trading at %s",
},
// [confs, required confs]
TopicRegUpdate: {
subject: "regupdate",
template: "Fee payment confirmations %v/%v",
},
// [host, error]
TopicFeePaymentError: {
subject: "Fee payment error",
template: "Error encountered while paying fees to %s: %v",
},
// [host, error]
TopicAccountUnlockError: {
subject: "Account unlock error",
template: "error unlocking account for %s: %v",
},
// [host]
TopicFeeCoinError: {
subject: "Fee coin error",
template: "Empty fee coin for %s.",
},
// [host]
TopicWalletConnectionWarning: {
subject: "Wallet connection warning",
template: "Incomplete registration detected for %s, but failed to connect to the Decred wallet",
},
// [host, error]
TopicWalletUnlockError: {
subject: "Wallet unlock error",
template: "Connected to wallet to complete registration at %s, but failed to unlock: %v",
},
// [asset name, error message]
TopicWalletCommsWarning: {
subject: "Wallet connection issue",
template: "Unable to communicate with %v wallet! Reason: %v",
},
// [asset name]
TopicWalletPeersWarning: {
subject: "Wallet network issue",
template: "%v wallet has no network peers!",
},
// [asset name]
TopicWalletPeersRestored: {
subject: "Wallet connectivity restored",
template: "%v wallet has reestablished connectivity.",
},
// [ticker, error]
TopicSendError: {
subject: "Send error",
template: "Error encountered while sending %s: %v",
},
// [value string, ticker, destination address, coin ID]
TopicSendSuccess: {
subject: "Send Successful",
template: "Sending %s %s to %s has completed successfully. Coin ID = %s",
},
// [error]
TopicOrderLoadFailure: {
subject: "Order load failure",
template: "Some orders failed to load from the database: %v",
},
// [qty, ticker, token]
TopicYoloPlaced: {
subject: "Market order placed",
template: "selling %s %s at market rate (%s)",
},
// [qty, ticker, rate string, token]
TopicBuyOrderPlaced: {
subject: "Order placed",
template: "Buying %s %s, rate = %s (%s)",
},
// [qty, ticker, rate string, token]
TopicSellOrderPlaced: {
subject: "Order placed",
template: "Selling %s %s, rate = %s (%s)",
},
// [missing count, token, host]
TopicMissingMatches: {
subject: "Missing matches",
template: "%d matches for order %s were not reported by %q and are considered revoked",
},
// [token, error]
TopicWalletMissing: {
subject: "Wallet missing",
template: "Wallet retrieval error for active order %s: %v",
},
// [side, token, match status]
TopicMatchErrorCoin: {
subject: "Match coin error",
template: "Match %s for order %s is in state %s, but has no maker swap coin.",
},
// [side, token, match status]
TopicMatchErrorContract: {
subject: "Match contract error",
template: "Match %s for order %s is in state %s, but has no maker swap contract.",
},
// [ticker, contract, token, error]
TopicMatchRecoveryError: {
subject: "Match recovery error",
template: "Error auditing counter-party's swap contract (%s %v) during swap recovery on order %s: %v",
},
// [token]
TopicOrderCoinError: {
subject: "Order coin error",
template: "No funding coins recorded for active order %s",
},
// [token, ticker, error]
TopicOrderCoinFetchError: {
subject: "Order coin fetch error",
template: "Source coins retrieval error for order %s (%s): %v",
},
// [token]
TopicMissedCancel: {
subject: "Missed cancel",
template: "Cancel order did not match for order %s. This can happen if the cancel order is submitted in the same epoch as the trade or if the target order is fully executed before matching with the cancel order.",
},
// [base ticker, quote ticker, host, token]
TopicBuyOrderCanceled: {
subject: "Order canceled",
template: "Buy order on %s-%s at %s has been canceled (%s)",
},
TopicSellOrderCanceled: {
subject: "Order canceled",
template: "Sell order on %s-%s at %s has been canceled (%s)",
},
// [base ticker, quote ticker, fill percent, token]
TopicBuyMatchesMade: {
subject: "Matches made",
template: "Buy order on %s-%s %.1f%% filled (%s)",
},
// [base ticker, quote ticker, fill percent, token]
TopicSellMatchesMade: {
subject: "Matches made",
template: "Sell order on %s-%s %.1f%% filled (%s)",
},
// [qty, ticker, token]
TopicSwapSendError: {
subject: "Swap send error",
template: "Error encountered sending a swap output(s) worth %s %s on order %s",
},
// [match, error]
TopicInitError: {
subject: "Swap reporting error",
template: "Error notifying DEX of swap for match %s: %v",
},
// [match, error]
TopicReportRedeemError: {
subject: "Redeem reporting error",
template: "Error notifying DEX of redemption for match %s: %v",
},
// [qty, ticker, token]
TopicSwapsInitiated: {
subject: "Swaps initiated",
template: "Sent swaps worth %s %s on order %s",
},
// [qty, ticker, token]
TopicRedemptionError: {
subject: "Redemption error",
template: "Error encountered sending redemptions worth %s %s on order %s",
},
// [qty, ticker, token]
TopicMatchComplete: {
subject: "Match complete",
template: "Redeemed %s %s on order %s",
},
// [qty, ticker, token]
TopicRefundFailure: {
subject: "Refund Failure",
template: "Refunded %s %s on order %s, with some errors",
},
// [qty, ticker, token]
TopicMatchesRefunded: {
subject: "Matches Refunded",
template: "Refunded %s %s on order %s",
},
// [match ID token]
TopicMatchRevoked: {
subject: "Match revoked",
template: "Match %s has been revoked",
},
// [token, market name, host]
TopicOrderRevoked: {
subject: "Order revoked",
template: "Order %s on market %s at %s has been revoked by the server",
},
// [token, market name, host]
TopicOrderAutoRevoked: {
subject: "Order auto-revoked",
template: "Order %s on market %s at %s revoked due to market suspension",
},
// [ticker, coin ID, match]
TopicMatchRecovered: {
subject: "Match recovered",
template: "Found maker's redemption (%s: %v) and validated secret for match %s",
},
// [token]
TopicCancellingOrder: {
subject: "Cancelling order",
template: "A cancel order has been submitted for order %s",
},
// [token, old status, new status]
TopicOrderStatusUpdate: {
subject: "Order status update",
template: "Status of order %v revised from %v to %v",
},
// [count, host, token]
TopicMatchResolutionError: {
subject: "Match resolution error",
template: "%d matches reported by %s were not found for %s.",
},
// [token]
TopicFailedCancel: {
subject: "Failed cancel",
template: "Cancel order for order %s stuck in Epoch status for 2 epochs and is now deleted.",
},
// [coin ID, ticker, match]
TopicAuditTrouble: {
subject: "Audit trouble",
template: "Still searching for counterparty's contract coin %v (%s) for match %s. Are your internet and wallet connections good?",
},
// [host, error]
TopicDexAuthError: {
subject: "DEX auth error",
template: "%s: %v",
},
// [count, host]
TopicUnknownOrders: {
subject: "DEX reported unknown orders",
template: "%d active orders reported by DEX %s were not found.",
},
// [count]
TopicOrdersReconciled: {
subject: "Orders reconciled with DEX",
template: "Statuses updated for %d orders.",
},
// [ticker, address]
TopicWalletConfigurationUpdated: {
subject: "Wallet configuration updated",
template: "Configuration for %s wallet has been updated. Deposit address = %s",
},
// [ticker]
TopicWalletPasswordUpdated: {
subject: "Wallet Password Updated",
template: "Password for %s wallet has been updated.",
},
// [market name, host, time]
TopicMarketSuspendScheduled: {
subject: "Market suspend scheduled",
template: "Market %s at %s is now scheduled for suspension at %v",
},
// [market name, host]
TopicMarketSuspended: {
subject: "Market suspended",
template: "Trading for market %s at %s is now suspended.",
},
// [market name, host]
TopicMarketSuspendedWithPurge: {
subject: "Market suspended, orders purged",
template: "Trading for market %s at %s is now suspended. All booked orders are now PURGED.",
},
// [market name, host, time]
TopicMarketResumeScheduled: {
subject: "Market resume scheduled",
template: "Market %s at %s is now scheduled for resumption at %v",
},
// [market name, host, epoch]
TopicMarketResumed: {
subject: "Market resumed",
template: "Market %s at %s has resumed trading at epoch %d",
},
// [host]
TopicUpgradeNeeded: {
subject: "Upgrade needed",
template: "You may need to update your client to trade at %s.",
},
// [host]
TopicDEXConnected: {
subject: "Server connected",
template: "%s is connected",
},
// [host]
TopicDEXDisconnected: {
subject: "Server disconnect",
template: "%s is disconnected",
},
// [host, rule, time, details]
TopicPenalized: {
subject: "Server has penalized you",
template: "Penalty from DEX at %s\nlast broken rule: %s\ntime: %v\ndetails:\n\"%s\"\n",
},
TopicSeedNeedsSaving: {
subject: "Don't forget to back up your application seed",
template: "A new application seed has been created. Make a back up now in the settings view.",
},
TopicUpgradedToSeed: {
subject: "Back up your new application seed",
template: "The client has been upgraded to use an application seed. Back up the seed now in the settings view.",
},
// [host, msg]
TopicDEXNotification: {
subject: "Message from DEX",
template: "%s: %s",
},
// [parentSymbol, tokenSymbol]
TopicQueuedCreationFailed: {
subject: "Failed to create token wallet",
template: "After creating %s wallet, failed to create the %s wallet",
},
TopicRedemptionResubmitted: {
subject: "Redemption Resubmitted",
template: "Your redemption for match %s in order %s was resubmitted.",
},
TopicSwapRefunded: {
subject: "Swap Refunded",
template: "Match %s in order %s was refunded by the counterparty.",
},
TopicRedemptionConfirmed: {
subject: "Redemption Confirmed",
template: "Your redemption for match %s in order %s was confirmed",
},
}
var ptBR = map[Topic]*translation{
// [host]
TopicAccountRegistered: {
subject: "Conta Registrada",
template: "Você agora pode trocar em %s",
},
// [confs, host]
TopicFeePaymentInProgress: {
subject: "Pagamento da Taxa em andamento",
template: "Esperando por %d confirmações antes de trocar em %s",
},
// [confs, required confs]
TopicRegUpdate: {
subject: "Atualização de registro",
template: "Confirmações da taxa %v/%v",
},
// [host, error]
TopicFeePaymentError: {
subject: "Erro no Pagamento da Taxa",
template: "Erro enquanto pagando taxa para %s: %v",
},
// [host, error]
TopicAccountUnlockError: {
subject: "Erro ao Destrancar carteira",
template: "erro destrancando conta %s: %v",
},
// [host]
TopicFeeCoinError: {
subject: "Erro na Taxa",
template: "Taxa vazia para %s.",
},
// [host]
TopicWalletConnectionWarning: {
subject: "Aviso de Conexão com a Carteira",
template: "Registro incompleto detectado para %s, mas falhou ao conectar com carteira decred",
},
// [host, error]
TopicWalletUnlockError: {
subject: "Erro ao Destravar Carteira",
template: "Conectado com carteira para completar o registro em %s, mas falha ao destrancar: %v",
},
// [ticker, error]
TopicSendError: {
subject: "Erro Retirada",
template: "Erro encontrado durante retirada de %s: %v",
stale: true,
},
// [value string, ticker, destination address, coin ID]
TopicSendSuccess: {
template: "Retirada de %s %s (%s) foi completada com sucesso. ID da moeda = %s",
subject: "Retirada Enviada",
stale: true,
},
// [error]
TopicOrderLoadFailure: {
template: "Alguns pedidos falharam ao carregar da base de dados: %v",
subject: "Carregamendo de Pedidos Falhou",
},
// [qty, ticker, token]
TopicYoloPlaced: {
template: "vendendo %s %s a taxa de mercado (%s)",
subject: "Ordem de Mercado Colocada",
},
// [qty, ticker, rate string, token], RETRANSLATE.
TopicBuyOrderPlaced: {
subject: "Ordem Colocada",
template: "Buying %s %s, valor = %s (%s)",
},
// [qty, ticker, rate string, token], RETRANSLATE.
TopicSellOrderPlaced: {
subject: "Ordem Colocada",
template: "Selling %s %s, valor = %s (%s)",
},
// [missing count, token, host]
TopicMissingMatches: {
template: "%d combinações para pedidos %s não foram reportados por %q e foram considerados revocados",
subject: "Pedidos Faltando Combinações",
},
// [token, error]
TopicWalletMissing: {
template: "Erro ao recuperar pedidos ativos por carteira %s: %v",
subject: "Carteira Faltando",
},
// [side, token, match status]
TopicMatchErrorCoin: {
subject: "Erro combinação de Moedas",
template: "Combinação %s para pedido %s está no estado %s, mas não há um executador para trocar moedas.",
},
// [side, token, match status]
TopicMatchErrorContract: {
template: "Combinação %s para pedido %s está no estado %s, mas não há um executador para trocar moedas.",
subject: "Erro na Combinação de Contrato",
},
// [ticker, contract, token, error]
TopicMatchRecoveryError: {
template: "Erro auditando contrato de troca da contraparte (%s %v) durante troca recuperado no pedido %s: %v",
subject: "Erro Recuperando Combinações",
},
// [token]
TopicOrderCoinError: {
template: "Não há Moedas de financiamento registradas para pedidos ativos %s",
subject: "Erro no Pedido da Moeda",
},
// [token, ticker, error]
TopicOrderCoinFetchError: {
template: "Erro ao recuperar moedas de origem para pedido %s (%s): %v",
subject: "Erro na Recuperação do Pedido de Moedas",
},
// [token]
TopicMissedCancel: {
template: "Pedido de cancelamento não combinou para pedido %s. Isto pode acontecer se o pedido de cancelamento foi enviado no mesmo epoque do que a troca ou se o pedido foi completamente executado antes da ordem de cancelamento ser executada.",
subject: "Cancelamento Perdido",
},
// [base ticker, quote ticker, host, token], RETRANSLATE.
TopicSellOrderCanceled: {
template: "Sell pedido sobre %s-%s em %s foi cancelado (%s)",
subject: "Cancelamento de Pedido",
},
// [base ticker, quote ticker, host, token], RETRANSLATE.
TopicBuyOrderCanceled: {
template: "Buy pedido sobre %s-%s em %s foi cancelado (%s)",
subject: "Cancelamento de Pedido",
},
// [base ticker, quote ticker, fill percent, token], RETRANSLATE.
TopicSellMatchesMade: {
template: "Sell pedido sobre %s-%s %.1f%% preenchido (%s)",
subject: "Combinações Feitas",
},
// [base ticker, quote ticker, fill percent, token], RETRANSLATE.
TopicBuyMatchesMade: {
template: "Buy pedido sobre %s-%s %.1f%% preenchido (%s)",
subject: "Combinações Feitas",
},
// [qty, ticker, token]
TopicSwapSendError: {
template: "Erro encontrado ao enviar a troca com output(s) no valor de %s %s no pedido %s",
subject: "Erro ao Enviar Troca",
},
// [match, error]
TopicInitError: {
template: "Erro notificando DEX da troca %s por combinação: %v",
subject: "Erro na Troca",
},
// [match, error]
TopicReportRedeemError: {
template: "Erro notificando DEX da redenção %s por combinação: %v",
subject: "Reportando Erro na redenção",
},
// [qty, ticker, token]
TopicSwapsInitiated: {
template: "Enviar trocas no valor de %s %s no pedido %s",
subject: "Trocas Iniciadas",
},
// [qty, ticker, token]
TopicRedemptionError: {
template: "Erro encontrado enviado redenção no valor de %s %s no pedido %s",
subject: "Erro na Redenção",
},
// [qty, ticker, token]
TopicMatchComplete: {
template: "Resgatado %s %s no pedido %s",
subject: "Combinação Completa",
},
// [qty, ticker, token]
TopicRefundFailure: {
template: "Devolvidos %s %s no pedido %s, com algum erro",
subject: "Erro no Reembolso",
},
// [qty, ticker, token]
TopicMatchesRefunded: {
template: "Devolvidos %s %s no pedido %s",
subject: "Reembolso Sucedido",
},
// [match ID token]
TopicMatchRevoked: {
template: "Combinação %s foi revocada",
subject: "Combinação Revocada",
},
// [token, market name, host]
TopicOrderRevoked: {
template: "Pedido %s no mercado %s em %s foi revocado pelo servidor",
subject: "Pedido Revocado",
},
// [token, market name, host]
TopicOrderAutoRevoked: {
template: "Pedido %s no mercado %s em %s revocado por suspenção do mercado",
subject: "Pedido Revocado Automatiamente",
},
// [ticker, coin ID, match]
TopicMatchRecovered: {
template: "Encontrado redenção do executador (%s: %v) e validado segredo para pedido %s",
subject: "Pedido Recuperado",
},
// [token]
TopicCancellingOrder: {
template: "Uma ordem de cancelamento foi submetida para o pedido %s",
subject: "Cancelando Pedido",
},
// [token, old status, new status]
TopicOrderStatusUpdate: {
template: "Status do pedido %v revisado de %v para %v",
subject: "Status do Pedido Atualizado",
},
// [count, host, token]
TopicMatchResolutionError: {
template: "%d combinações reportada para %s não foram encontradas para %s.",
subject: "Erro na Resolução do Pedido",
},
// [token]
TopicFailedCancel: {
template: "Ordem de cancelamento para pedido %s presa em estado de Epoque por 2 epoques e foi agora deletado.",
subject: "Falhou Cancelamento",
},
// [coin ID, ticker, match]
TopicAuditTrouble: {
template: "Continua procurando por contrato de contrapartes para moeda %v (%s) para combinação %s. Sua internet e conexão com a carteira estão ok?",
subject: "Problemas ao Auditar",
},
// [host, error]
TopicDexAuthError: {
template: "%s: %v",
subject: "Erro na Autenticação",
},
// [count, host]
TopicUnknownOrders: {
template: "%d pedidos ativos reportados pela DEX %s não foram encontrados.",
subject: "DEX Reportou Pedidos Desconhecidos",
},
// [count]
TopicOrdersReconciled: {
template: "Estados atualizados para %d pedidos.",
subject: "Pedidos Reconciliados com DEX",
},
// [ticker, address]
TopicWalletConfigurationUpdated: {
template: "configuração para carteira %s foi atualizada. Endereço de depósito = %s",
subject: "Configurações da Carteira Atualizada",
},
// [ticker]
TopicWalletPasswordUpdated: {
template: "Senha para carteira %s foi atualizada.",
subject: "Senha da Carteira Atualizada",
},
// [market name, host, time]
TopicMarketSuspendScheduled: {
template: "Mercado %s em %s está agora agendado para suspensão em %v",
subject: "Suspensão de Mercado Agendada",
},
// [market name, host]
TopicMarketSuspended: {
template: "Trocas no mercado %s em %s está agora suspenso.",
subject: "Mercado Suspenso",
},
// [market name, host]
TopicMarketSuspendedWithPurge: {
template: "Trocas no mercado %s em %s está agora suspenso. Todos pedidos no livro de ofertas foram agora EXPURGADOS.",
subject: "Mercado Suspenso, Pedidos Expurgados",
},
// [market name, host, time]
TopicMarketResumeScheduled: {
template: "Mercado %s em %s está agora agendado para resumir em %v",
subject: "Resumo do Mercado Agendado",
},
// [market name, host, epoch]
TopicMarketResumed: {
template: "Mercado %s em %s foi resumido para trocas no epoque %d",
subject: "Mercado Resumido",
},
// [host]
TopicUpgradeNeeded: {
template: "Você pode precisar atualizar seu cliente para trocas em %s.",
subject: "Atualização Necessária",
},
// [host]
TopicDEXConnected: {
subject: "DEX conectado",
template: "%s está conectado",
},
// [host]
TopicDEXDisconnected: {
template: "%s está desconectado",
subject: "Server Disconectado",
},
// [host, rule, time, details]
TopicPenalized: {
template: "Penalidade de DEX em %s\núltima regra quebrada: %s\nhorário: %v\ndetalhes:\n\"%s\"\n",
subject: "Server Penalizou Você",
},
TopicSeedNeedsSaving: {
subject: "Não se esqueça de guardar a seed do app",
template: "Uma nova seed para a aplicação foi criada. Faça um backup agora na página de configurações.",
},
TopicUpgradedToSeed: {
subject: "Guardar nova seed do app",
template: "O cliente foi atualizado para usar uma seed. Faça backup dessa seed na página de configurações.",
},
// [host, msg]
TopicDEXNotification: {
subject: "Mensagem da DEX",
template: "%s: %s",
},
}
// zhCN is the Simplified Chinese (PRC) translations.
var zhCN = map[Topic]*translation{
// [host]
TopicAccountRegistered: {
subject: "注册账户",
template: "您现在可以在 %s 进行交易", // alt. 您现在可以切换到 %s
},
// [confs, host]
TopicFeePaymentInProgress: {
subject: "费用支付中",
template: "在切换到 %s 之前等待 %d 次确认", // alt. 在 %s 交易之前等待 %d 确认
},
// [confs, required confs]
TopicRegUpdate: {
subject: "费用支付确认", // alt. 记录更新 (but not displayed)
template: "%v/%v 费率确认",
},
// [host, error]
TopicFeePaymentError: {
subject: "费用支付错误",
template: "向 %s 支付费用时遇到错误: %v", // alt. 为 %s 支付费率时出错:%v
},
// [host, error]
TopicAccountUnlockError: {
subject: "解锁钱包时出错",
template: "解锁帐户 %s 时出错: %v", // alt. 解锁 %s 的帐户时出错: %v
},
// [host]
TopicFeeCoinError: {
subject: "汇率错误",
template: "%s 的空置率。", // alt. %s 的费用硬币为空。
},
// [host]
TopicWalletConnectionWarning: {
subject: "钱包连接通知",
template: "检测到 %s 的注册不完整,无法连接 decred 钱包", // alt. 检测到 %s 的注册不完整,无法连接到 Decred 钱包
},
// [host, error]
TopicWalletUnlockError: {
subject: "解锁钱包时出错",
template: "与 decred 钱包连接以在 %s 上完成注册,但无法解锁: %v", // alt. 已连接到 Decred 钱包以在 %s 完成注册,但无法解锁:%v
},
// [ticker, error]
TopicSendError: {
subject: "提款错误",
template: "在 %s 提取过程中遇到错误: %v", // alt. 删除 %s 时遇到错误: %v
stale: true,
},
// [value string, ticker, destination address, coin ID]
TopicSendSuccess: {
subject: "提款已发送",
template: "%s %s (%s) 的提款已成功完成。硬币 ID = %s",
stale: true,
},
// [error]
TopicOrderLoadFailure: {
subject: "请求加载失败",
template: "某些订单无法从数据库加载:%v", // alt. 某些请求无法从数据库加载:
},
// [qty, ticker, token]
TopicYoloPlaced: {
subject: "下达市价单",
template: "以市场价格 (%[3]s) 出售 %[1]s %[2]s",
},
// [qty, ticker, rate string, token], RETRANSLATE.
TopicBuyOrderPlaced: {
subject: "已下订单",
template: "Buying %s %s,值 = %s (%s)",
},
// [qty, ticker, rate string, token], RETRANSLATE.
TopicSellOrderPlaced: {
subject: "已下订单",
template: "Selling %s %s,值 = %s (%s)",
},
// [missing count, token, host]
TopicMissingMatches: {
subject: "订单缺失匹配",
template: "%[2]s 订单的 %[1]d 匹配项未被 %[3]q 报告并被视为已撤销", // alt. %d 订单 %s 的匹配没有被 %q 报告并被视为已撤销
},
// [token, error]
TopicWalletMissing: {
subject: "丢失的钱包",
template: "活动订单 %s 的钱包检索错误: %v", // alt. 通过钱包 %s 检索活动订单时出错: %v
},
// [side, token, match status]
TopicMatchErrorCoin: {
subject: "货币不匹配错误",
template: "订单 %s 的组合 %s 处于状态 %s,但没有用于交换货币的运行程序。", // alt. 订单 %s 的匹配 %s 处于状态 %s,但没有交换硬币服务商。
},
// [side, token, match status]
TopicMatchErrorContract: {
subject: "合约组合错误",
template: "订单 %s 的匹配 %s 处于状态 %s,没有服务商交换合约。",
},
// [ticker, contract, token, error]
TopicMatchRecoveryError: {
subject: "检索匹配时出错",
template: "在检索订单 %s: %v 的交易期间审核交易对手交易合约 (%s %v) 时出错", // ? 在订单 %s: %v 的交易恢复期间审核对方的交易合约 (%s %v) 时出错
},
// [token]
TopicOrderCoinError: {
subject: "硬币订单错误",
template: "没有为活动订单 %s 记录资金硬币", // alt. 没有为活动订单 %s 注册资金货币
},
// [token, ticker, error]
TopicOrderCoinFetchError: {
subject: "硬币订单恢复错误",
template: "检索订单 %s (%s) 的源硬币时出错: %v", // alt. 订单 %s (%s) 的源硬币检索错误: %v
},
// [token]
TopicMissedCancel: {
subject: "丢失取消",
template: "取消订单与订单 %s 不匹配。如果取消订单与交易所同时发送,或者订单在取消订单执行之前已完全执行,则可能发生这种情况。",
},
// [base ticker, quote ticker, host, token], RETRANSLATE.
TopicBuyOrderCanceled: {
subject: "订单取消",
template: "Buy 的 %s-%s 的 %s 订单已被取消 (%s)", // alt. %s 上 %s-%s 上的 %s 请求已被取消 (%s)
},
// [base ticker, quote ticker, host, token], RETRANSLATE.
TopicSellOrderCanceled: {
subject: "订单取消",
template: "Sell 的 %s-%s 的 %s 订单已被取消 (%s)", // alt. %s 上 %s-%s 上的 %s 请求已被取消 (%s)
},
// [base ticker, quote ticker, fill percent, token], RETRANSLATE.
TopicBuyMatchesMade: {
subject: "匹配完成",
template: "Buy 订单 %s-%s %.1f%% 已完成 (%s)", // alt. %s 请求超过 %s-%s %.1f%% 已填充(%s)
},
// [base ticker, quote ticker, fill percent, token], RETRANSLATE.
TopicSellMatchesMade: {
subject: "匹配完成",
template: "Sell 订单 %s-%s %.1f%% 已完成 (%s)", // alt. %s 请求超过 %s-%s %.1f%% 已填充(%s)
},
// [qty, ticker, token]
TopicSwapSendError: {
subject: "发送交换时出错",
template: "在以 %[3]s 的顺序发送价值 %[1]s %[2]s 的输出的交换时遇到错误", // ? 在订单 %s 上发送价值 %.8f %s 的交换输出时遇到错误
},
// [match, error]
TopicInitError: {
subject: "交换错误",
template: "通知 DEX 匹配 %s 的交换时出错: %v", // alt. 错误通知 DEX %s 交换组合:%v
},
// [match, error]
TopicReportRedeemError: {
subject: "报销错误",
template: "通知 DEX %s 赎回时出错: %v",
},
// [qty, ticker, token]
TopicSwapsInitiated: {
subject: "发起交流",
template: "在订单 %[3]s 上发送价值 %[1]s %[2]s 的交易", // should mention "contract" (TODO) ? 已发送价值 %.8f %s 的交易,订单 %s
},
// [qty, ticker, token]
TopicRedemptionError: {
subject: "赎回错误",
template: "在订单 %[3]s 上发送价值 %[1]s %[2]s 的兑换时遇到错误", // alt. 在订单 %s 上发现发送价值 %.8f %s 的赎回错误
},
// [qty, ticker, token]
TopicMatchComplete: {
subject: "完全匹配",
template: "在订单 %s 上兑换了 %s %s",
},
// [qty, ticker, token]
TopicRefundFailure: {
subject: "退款错误",
template: "按顺序 %[3]s 返回 %[1]s %[2]s,有一些错误", // alt. 退款%.8f%s的订单%S,但出现一些错误
},
// [qty, ticker, token]
TopicMatchesRefunded: {
subject: "退款成功",
template: "在订单 %[3]s 上返回了 %[1]s %[2]s", // 在订单 %s 上返回了 %.8f %s
},
// [match ID token]
TopicMatchRevoked: {
subject: "撤销组合",
template: "匹配 %s 已被撤销", // alt. 组合 %s 已被撤销
},
// [token, market name, host]
TopicOrderRevoked: {
subject: "撤销订单",
template: "%s 市场 %s 的订单 %s 已被服务器撤销",
},
// [token, market name, host]
TopicOrderAutoRevoked: {
subject: "订单自动撤销",
template: "%s 市场 %s 上的订单 %s 由于市场暂停而被撤销", // alt. %s 市场 %s 中的订单 %s 被市场暂停撤销
},
// [ticker, coin ID, match]
TopicMatchRecovered: {
subject: "恢复订单",
template: "找到赎回 (%s: %v) 并验证了请求 %s 的秘密",
},
// [token]
TopicCancellingOrder: {
subject: "取消订单",
template: "已为订单 %s 提交了取消操作", // alt. 已为订单 %s 提交取消订单
},
// [token, old status, new status]
TopicOrderStatusUpdate: {
subject: "订单状态更新",
template: "订单 %v 的状态从 %v 修改为 %v", // alt. 订单状态 %v 从 %v 修改为 %v
},
// [count, host, token]
TopicMatchResolutionError: {
subject: "订单解析错误",
template: "没有为 %[3]s 找到为 %[2]s 报告的 %[1]d 个匹配项。请联系Decred社区以解决该问题。", // alt. %s 报告的 %d 个匹配项没有找到 %s。
},
// [token]
TopicFailedCancel: {
subject: "取消失败",
template: "取消订单 %s 的订单 %s 处于 Epoque 状态 2 个 epoques,现在已被删除。",
},
// [coin ID, ticker, match]
TopicAuditTrouble: {
subject: "审计时的问题",
template: "继续寻找组合 %[3]s 的货币 %[1]v (%[2]s) 的交易对手合约。您的互联网和钱包连接是否正常?",
},
// [host, error]
TopicDexAuthError: {
subject: "身份验证错误",
template: "%s: %v",
},
// [count, host]
TopicUnknownOrders: {
subject: "DEX 报告的未知请求",
template: "未找到 DEX %[2]s 报告的 %[1]d 个活动订单。",
},
// [count]
TopicOrdersReconciled: {
subject: "与 DEX 协调的订单",
template: "%d 个订单的更新状态。", // alt. %d 个订单的状态已更新。
},
// [ticker, address]
TopicWalletConfigurationUpdated: {
subject: "更新的钱包设置a",
template: "钱包 %[1]s 的配置已更新。存款地址 = %[2]s", // alt. %s 钱包的配置已更新。存款地址 = %s
},
// [ticker]
TopicWalletPasswordUpdated: {
subject: "钱包密码更新",
template: "钱包 %s 的密码已更新。", // alt. %s 钱包的密码已更新。
},
// [market name, host, time]
TopicMarketSuspendScheduled: {
subject: "市场暂停预定",
template: "%s 上的市场 %s 现在计划在 %v 暂停",
},
// [market name, host]
TopicMarketSuspended: {
subject: "暂停市场",
template: "%s 的 %s 市场交易现已暂停。", // alt. %s 市场 %s 的交易现已暂停。
},
// [market name, host]
TopicMarketSuspendedWithPurge: {
subject: "暂停市场,清除订单",
template: "%s 的市场交易 %s 现已暂停。订单簿中的所有订单现已被删除。", // alt. %s 市场 %s 的交易现已暂停。所有预订的订单现在都已清除。
},
// [market name, host, time]
TopicMarketResumeScheduled: {
subject: "预定市场摘要",
template: "%s 上的市场 %s 现在计划在 %v 恢",
},
// [market name, host, epoch]
TopicMarketResumed: {
subject: "总结市场",
template: "%[2]s 上的市场 %[1]s 已汇总用于时代 %[3]d 中的交易", // alt. M%s 的市场 %s 已在epoch %d 恢复交易
},
// [host]
TopicUpgradeNeeded: {
subject: "需要更新",
template: "您可能需要更新您的帐户以进行 %s 的交易。", // alt. 您可能需要更新您的客户端以在 %s 进行交易。
},
// [host]
TopicDEXConnected: {
subject: "DEX 连接",
template: "%s 已连接",
},
// [host]
TopicDEXDisconnected: {
subject: "服务器断开连接",
template: "%s 离线", // alt. %s 已断开连接
},
// [host, rule, time, details]
TopicPenalized: {
subject: "服务器惩罚了你",
template: "%s 上的 DEX 惩罚\n最后一条规则被破坏:%s \n时间: %v \n详细信息:\n \" %s \" \n",
},
TopicSeedNeedsSaving: {
subject: "不要忘记备份你的应用程序种子", // alt. 别忘了备份应用程序种子
template: "已创建新的应用程序种子。请立刻在设置界面中进行备份。",
},
TopicUpgradedToSeed: {
subject: "备份您的新应用程序种子", // alt. 备份新的应用程序种子
template: "客户端已升级为使用应用程序种子。请切换至设置界面备份种子。", // alt. 客户端已升级。请在“设置”界面中备份种子。
},
// [host, msg]
TopicDEXNotification: {
subject: "来自DEX的消息",
template: "%s: %s",
},
}
var plPL = map[Topic]*translation{
// [host]
TopicAccountRegistered: {
subject: "Konto zarejestrowane",
template: "Możesz teraz handlować na %s",
},
// [confs, host]
TopicFeePaymentInProgress: {
subject: "Opłata rejestracyjna w drodze",
template: "Oczekiwanie na %d potwierdzeń przed rozpoczęciem handlu na %s",
},
// [confs, required confs]
TopicRegUpdate: {
subject: "Aktualizacja rejestracji",
template: "Potwierdzenia opłaty rejestracyjnej %v/%v",
},
// [host, error]
TopicFeePaymentError: {
subject: "Błąd płatności rejestracyjnej",
template: "Wystąpił błąd przy płatności dla %s: %v",
},
// [host, error]
TopicAccountUnlockError: {
subject: "Błąd odblokowywania konta",
template: "błąd odblokowywania konta dla %s: %v",
},
// [host]
TopicFeeCoinError: {
subject: "Błąd w płatności rejestracyjnej",
template: "Nie znaleziono środków na płatność rejestracyjną dla %s.",
},
// [host]
TopicWalletConnectionWarning: {
subject: "Ostrzeżenie połączenia z portfelem",
template: "Wykryto niedokończoną rejestrację dla %s, ale nie można połączyć się z portfelem Decred",
},
// [host, error]
TopicWalletUnlockError: {