Skip to content

Commit 9ccea52

Browse files
authored
Merge pull request #2148 from oasisprotocol/lw/update-translations
Update translations
2 parents 420d3e9 + a763348 commit 9ccea52

File tree

16 files changed

+197
-120
lines changed

16 files changed

+197
-120
lines changed

.changelog/2148.bugfix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update translations from transifex

cypress/e2e/create-wallet.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('Create wallet', () => {
2323
})
2424

2525
it('Should open mnemonic confirmation', () => {
26-
cy.findByLabelText(/saved/).click({ force: true })
26+
cy.findByLabelText(/Ive safely stored my mnemonic/).click({ force: true })
2727
cy.findByRole('button', { name: /Import my wallet/ })
2828
.should('be.enabled')
2929
.click()

src/app/components/Persist/MigrateV0StateForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export function MigrateV0StateForm() {
152152
>
153153
<CheckBox
154154
name="backupMnemonicConfirm"
155-
label={t('migrateV0Extension.backupMnemonic.confirm', 'I’ve safely stored my mnemonic')}
155+
label={t('createWallet.confirmSaved', 'I’ve safely stored my mnemonic')}
156156
/>
157157
</FormField>
158158
{migratingV0State.invalidPrivateKeys.length > 0 ? (

src/app/pages/CreateWalletPage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function CreateWalletPage(props: CreateWalletProps) {
134134
</AlertBox>
135135
<Box pad={{ vertical: 'medium' }}>
136136
<CheckBox
137-
label={t('createWallet.confirmSaved', 'I saved my mnemonic')}
137+
label={t('createWallet.confirmSaved', 'I’ve safely stored my mnemonic')}
138138
disabled={mnemonic.length <= 0}
139139
checked={checked}
140140
onChange={event => setChecked(event.target.checked)}

src/app/pages/ParaTimesPage/ParaTimeContent/__tests__/index.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ describe('<ParaTimeContent />', () => {
1818
render(<ParaTimeContent description="Description" header="Header" />)
1919

2020
expect(screen.getByText('Header')).toBeInTheDocument()
21-
expect(screen.queryByText('paraTimes.common.depositHeader')).not.toBeInTheDocument()
22-
expect(screen.queryByText('paraTimes.common.withdrawHeader')).not.toBeInTheDocument()
21+
expect(screen.queryByText('paraTimes.transfers.deposit')).not.toBeInTheDocument()
22+
expect(screen.queryByText('paraTimes.transfers.withdraw')).not.toBeInTheDocument()
2323
})
2424

2525
it('should render default deposit header', () => {
2626
render(<ParaTimeContent description="Description" />)
2727

28-
expect(screen.queryByText('paraTimes.common.depositHeader')).toBeInTheDocument()
28+
expect(screen.queryByText('paraTimes.transfers.deposit')).toBeInTheDocument()
2929
})
3030

3131
it('should render default withdraw header', () => {
3232
jest.mocked(useParaTimes).mockReturnValue({ ...mockUseParaTimesResult, isDepositing: false })
3333
render(<ParaTimeContent description="Description" />)
3434

35-
expect(screen.queryByText('paraTimes.common.withdrawHeader')).toBeInTheDocument()
35+
expect(screen.queryByText('paraTimes.transfers.withdraw')).toBeInTheDocument()
3636
})
3737

3838
it('should render loading state', () => {

src/app/pages/ParaTimesPage/ParaTimeContent/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export const ParaTimeContent = ({ children, description, header, isLoading }: Pa
2424
<Heading level={2} margin={{ bottom: 'large' }}>
2525
{header ||
2626
(isDepositing
27-
? t('paraTimes.common.depositHeader', 'Deposit to ParaTime')
28-
: t('paraTimes.common.withdrawHeader', 'Withdraw from ParaTime'))}
27+
? t('paraTimes.transfers.deposit', 'Deposit to ParaTime')
28+
: t('paraTimes.transfers.withdraw', 'Withdraw from ParaTime'))}
2929
</Heading>
3030
<Box margin={{ bottom: 'large' }}>
3131
<Text

src/app/pages/ParaTimesPage/ParaTimeSelection/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ exports[`<ParaTimeSelection /> should render component 1`] = `
446446
<h2
447447
class="c1"
448448
>
449-
paraTimes.common.depositHeader
449+
paraTimes.transfers.deposit
450450
</h2>
451451
<div
452452
class="c2"

src/app/pages/ParaTimesPage/TransactionConfirmation/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ export const TransactionConfirmation = () => {
112112
<ConfirmationCheckbox
113113
checked={transactionForm.confirmTransferToValidator}
114114
description={t(
115-
'paraTimes.confirmation.confirmTransferToValidatorDescription',
116-
'This is a validator wallet address. Transfers to this address do not stake your funds to the validator.',
115+
'account.sendTransaction.confirmSendingToValidator.description',
116+
'This is a validator address. Transfers to this address do not stake your funds with the validator.',
117117
)}
118118
label={t(
119119
'paraTimes.confirmation.confirmTransferToValidatorLabel',

src/locales/de/translation.json

Lines changed: 51 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
{
22
"account": {
33
"addEscrow": {
4+
"availableAmount": "Verfügbar:",
45
"confirmDelegatingToInactive": {
6+
"description": "Der Status dieses Validators ist {{validatorStatus}}. Deine Delegation generiert möglicherweise keine Rewards",
57
"title": "Bist du sicher, dass du fortfahren möchtest?"
68
},
9+
"confirmDelegatingToTop": {
10+
"acknowledge": "Trotzdem delegieren",
11+
"description": "Dieser Validator ist in den Top 20 nach Stake. Bitte ziehe in Erwägung, zu einen kleineren Validator zu delegieren, um die Netzwerksicherheit und Dezentralisierung zu erhöhen."
12+
},
713
"delegate": "Delegieren"
814
},
915
"addressCopied": "Adresse kopiert.",
16+
"emptyActiveDelegationsList": "Derzeit gibt es keine aktiven Delegationen für dieses Konto.",
17+
"emptyDebondingDelegationsList": "Derzeit gibt es kein Debonding von Delegationen für dieses Konto.",
1018
"loading": "Konto wird geladen",
1119
"loadingError": "Konto konnte nicht geladen werden.",
20+
"reclaimEscrow": {
21+
"reclaim": "Zurückfordern",
22+
"reclaimAll": "Alles zurückfordern",
23+
"reclaimableAmount": "Verfügbar:"
24+
},
1225
"sendTransaction": {
1326
"confirmSendingToValidator": {
27+
"description": "Dies ist die Adresse eines Validators. Überweisungen an diese Adresse staken dein Guthaben nicht beim Validator.",
1428
"title": "Bist du sicher, dass du fortfahren möchtest?"
1529
},
1630
"enterAddress": "Adresse eingeben",
@@ -20,11 +34,13 @@
2034
"success": "Transaktion erfolgreich gesendet. Es kann bis zu einer Minute dauern, bis die Transaktion auf deinem Konto erscheint."
2135
},
2236
"subnavigation": {
23-
"activeDelegations": "Aktive Delegationen",
24-
"mobileActiveDelegations": "Delegationen",
25-
"transactions": "Transaktionen"
37+
"activeDelegations": "Staked",
38+
"debondingDelegations": "Debonding",
39+
"mobileActiveDelegations": "Staked",
40+
"mobileDebondingDelegations": "Debonding"
2641
},
2742
"summary": {
43+
"activity": "Aktivität",
2844
"balance": {
2945
"available": "Verfügbar",
3046
"debonding": "Debonding",
@@ -33,17 +49,22 @@
3349
},
3450
"noTransactionFound": "Keine Transaktionen gefunden.",
3551
"noWalletIsOpen": "Um {{ticker}}-Tokens zu senden, empfangen, staken oder tauschen, <HomeLink>öffne deine Wallet</HomeLink>.",
36-
"notYourAccount": "Dies ist nicht dein Konto."
52+
"notYourAccount": "Dies ist nicht dein Konto.",
53+
"pendingTransactions": "Ausstehende Transaktionen",
54+
"someTxsInPendingState": "Einige Transaktionen sind im Moment noch ausstehend.",
55+
"viewAccountTxs": "Kontotransaktionen ansehen"
3756
},
3857
"transaction": {
3958
"addEscrow": {
4059
"sent": "Delegierte <Amount/> an Validator"
4160
},
61+
"explorerLink": "Transaktionen im Explorer ansehen",
4262
"failed": "Fehlgeschlagen",
4363
"genericTransaction": {
4464
"destination": "Andere Adresse"
4565
},
4666
"loadingError": "Transaktionen konnten nicht geladen werden.",
67+
"pending": "Ausstehend",
4768
"successful": "Erfolgreich",
4869
"transfer": {
4970
"received": "Erhalten <Amount/>",
@@ -95,7 +116,7 @@
95116
"deleteForm": {
96117
"confirm": "Ja, löschen",
97118
"confirmationKeyword": "löschen",
98-
"hint": "Eingeben <strong>{{confirmationKeyword}}</strong>"
119+
"hint": "Eingeben '<strong>{{confirmationKeyword}}</strong>'"
99120
},
100121
"errors": {
101122
"LedgerDerivedDifferentAccount": "Dieses Konto gehört nicht zu dem aktuell verbundenen Ledger.",
@@ -120,7 +141,7 @@
120141
"fatalError": {
121142
"copied": "Fehler in die Zwischenablage kopiert",
122143
"copy": "Fehler in die Zwischenablage kopieren",
123-
"heading": "Schwerwiegender Fehler aufgetreten"
144+
"reloadApp": "App neu laden"
124145
},
125146
"fiatOnramp": {
126147
"header": "ROSE kaufen",
@@ -142,6 +163,15 @@
142163
"header": "Auf vorhandene Wallet zugreifen"
143164
}
144165
},
166+
"icons": {
167+
"bluetooth": "Bluetooth",
168+
"mnemonic": "Mnemonic",
169+
"privateKey": "Privater Schlüssel",
170+
"usb": "Usb",
171+
"wallet": {
172+
"label": "Wallet"
173+
}
174+
},
145175
"infoBox": {
146176
"valueCopied": "{{label}} kopiert."
147177
},
@@ -150,7 +180,7 @@
150180
"extension": {
151181
"connect": "Ledger-Gerät verbinden",
152182
"failed": "Verbindung fehlgeschlagen",
153-
"grantAccess": "Gewähre Zugriff auf dein Ledger.",
183+
"grantAccess": "Gewähre Zugriff auf dein USB Ledger.",
154184
"succeed": "Gerät verbunden"
155185
},
156186
"instructionSteps": {
@@ -165,27 +195,37 @@
165195
"menu": {
166196
"addAccounts": "Konten hinzufügen",
167197
"closeWallet": "Wallet schließen",
168-
"fiatOnramp": "Kaufen",
198+
"fiatOnramp": "ROSE kaufen",
169199
"fiatOnramp-mobile": "Kaufen",
170200
"home": "Home",
171201
"lockProfile": "Profil sperren",
172202
"openMenu": "Menü",
173203
"paraTimes": "ParaTimes",
174-
"stake": "Stake",
204+
"stake": "ROSE staken",
175205
"stake-mobile": "Stake",
176206
"unlockProfile": "Profil entsperren",
177-
"wallet": "Wallet"
207+
"wallet": "Konto"
178208
},
179209
"migrateV0Extension": {
180210
"finishMigration": "Öffne die neue Version der Wallet",
181211
"nextStep": "Weiter",
182212
"requiredField": "Dieses Feld ist erforderlich",
183213
"title": "Wichtiges Wallet-Update"
184214
},
215+
"mobileUpdate": {
216+
"later": "Später",
217+
"retry": "Wiederholen",
218+
"unknownTitle": "Unbekannter Fehler",
219+
"updateAvailableTitle": "Aktualisierung ausstehend...",
220+
"updateInProgressTitle": "Aktualisierung am laufen..",
221+
"updateNow": "Jetzt aktualisieren"
222+
},
185223
"openWallet": {
224+
"header": "Wie möchtest du dein Wallet öffnen?",
186225
"importAccounts": {
187226
"accountCounter_one": "Ein Konto ausgewählt",
188227
"accountCounter_zero": "Kein Konto ausgewählt",
228+
"bluetoothLedger": "Bluetooth Ledger",
189229
"next": "Weiter",
190230
"openWallets": "Öffnen",
191231
"prev": "Zurück"
@@ -308,7 +348,7 @@
308348
"contacts": "Kontakte",
309349
"delete": {
310350
"description": "Bist du sicher, dass du das folgende Konto löschen möchtest?",
311-
"inputHelp": "Diese Aktion kann nicht rückgängig gemacht werden. Um fortzufahren, gib bitte <strong>{{confirmationKeyword}}</strong> unten ein.",
351+
"inputHelp": "Diese Aktion kann nicht rückgängig gemacht werden. Um fortzufahren, gib bitte '<strong>{{confirmationKeyword}}</strong>' unten ein.",
312352
"title": "Konto löschen",
313353
"tooltip": "Du musst immer mindestens ein Konto haben."
314354
},

src/locales/en/translation.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"validators": "Validators"
133133
},
134134
"createWallet": {
135-
"confirmSaved": "I saved my mnemonic",
135+
"confirmSaved": "I’ve safely stored my mnemonic",
136136
"doNotShare": "Never share your mnemonic, anyone with your mnemonic can access your wallet and your tokens.",
137137
"instruction": "Save your mnemonic <strong>in the right order</strong> in a secure location, you will need it to open your wallet.",
138138
"mnemonicMismatch": "Entered mnemonic does not match.",
@@ -279,7 +279,6 @@
279279
"reveal": "Tap to show invalid private key"
280280
},
281281
"backupMnemonic": {
282-
"confirm": "I’ve safely stored my mnemonic",
283282
"description": "The new version of the wallet extension will no longer store your mnemonic. This phrase is the only way to restore your account if you have lost access. You now have a final chance to backup your mnemonic.",
284283
"reveal": "Tap to show your mnemonic"
285284
},
@@ -361,20 +360,17 @@
361360
},
362361
"common": {
363362
"cipher": "Cipher",
364-
"depositHeader": "Deposit to ParaTime",
365363
"discouragedType": "(experimental)",
366364
"emerald": "Emerald",
367365
"evmcType": "(EVMc)",
368366
"header": "ParaTime Transfers",
369-
"sapphire": "Sapphire",
370-
"withdrawHeader": "Withdraw from ParaTime"
367+
"sapphire": "Sapphire"
371368
},
372369
"confirmation": {
373370
"confirmDepositDescription": "Please confirm the deposit amount and the recipient address are correct and then click \"{{nextButtonLabel}}\".",
374371
"confirmDepositToForeignAccountDescription": "Destination address does not match any of the accounts in your wallet! Some services such as exchanges, may not support direct deposits to fund your account. For better compatibility, we strongly recommend that you first deposit to your ParaTime account and then transfer {{ticker}} to the destination address.",
375372
"confirmTransferLabel": "I confirm the amount and the address are correct",
376373
"confirmTransferToForeignAccount": "I confirm I want to directly withdraw to an external account",
377-
"confirmTransferToValidatorDescription": "This is a validator wallet address. Transfers to this address do not stake your funds to the validator.",
378374
"confirmTransferToValidatorLabel": "I confirm I want to transfer {{ticker}} to a validator address",
379375
"confirmWithdrawDescription": "Please confirm the withdrawal amount and the recipient address are correct and then click \"{{nextButtonLabel}}\".",
380376
"confirmWithdrawToForeignAccountDescription": "Destination address does not match any of the accounts in your wallet! Some services such as exchanges, may not support direct withdrawals to fund the account. For better compatibility, we strongly recommend that you first withdraw to your consensus account and then transfer {{ticker}} to the destination address.",

0 commit comments

Comments
 (0)