Skip to content

Commit 81f5e4e

Browse files
jrainvilleiurimatias
authored andcommitted
chore: update translations
1 parent 88de02b commit 81f5e4e

File tree

124 files changed

+7203
-7044
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+7203
-7044
lines changed

ui/app/AppLayouts/Chat/ChatColumn/ChatMessages.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ ScrollView {
5252
text: newMessagesBox.state === "new-message" ?
5353
//% "New message(s) received"
5454
qsTrId("new-message-s--received") :
55-
qsTr("Go back to bottom")
55+
//% "Go back to bottom"
56+
qsTrId("go-back-to-bottom")
5657
horizontalAlignment: Text.AlignHCenter
5758
wrapMode: Text.WordWrap
5859
anchors.left: parent.left

ui/app/AppLayouts/Profile/Sections/AboutContainer.qml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ Item {
5858
}
5959
StyledText {
6060
id: element13
61-
text: qsTr("This software is licensed under under the %1.").arg("<a href='https://github.com/status-im/nim-status-client/blob/master/LICENSE.md'>Mozilla Public License Version 2.0</a>")
61+
//% "This software is licensed under under the %1."
62+
text: qsTrId("this-software-is-licensed-under-under-the--1-").arg("<a href='https://github.com/status-im/nim-status-client/blob/master/LICENSE.md'>Mozilla Public License Version 2.0</a>")
6263
anchors.left: parent.left
6364
anchors.leftMargin: Style.current.bigPadding
6465
anchors.top: element12.top
@@ -74,7 +75,8 @@ Item {
7475
}
7576
StyledText {
7677
id: element14
77-
text: qsTr("Source code is available on %1.").arg("<a href='https://github.com/status-im/nim-status-client'>GitHub</a>")
78+
//% "Source code is available on %1."
79+
text: qsTrId("source-code-is-available-on--1-").arg("<a href='https://github.com/status-im/nim-status-client'>GitHub</a>")
7880
anchors.left: parent.left
7981
anchors.leftMargin: Style.current.bigPadding
8082
anchors.top: element13.top
@@ -90,7 +92,8 @@ Item {
9092
}
9193
StyledText {
9294
id: privacyPolicyLink
93-
text: `<a href='https://www.iubenda.com/privacy-policy/45710059'>${qsTr("Privacy Policy")}</a>`
95+
//% "Privacy Policy"
96+
text: `<a href='https://www.iubenda.com/privacy-policy/45710059'>${qsTrId("privacy-policy")}</a>`
9497
anchors.left: parent.left
9598
anchors.leftMargin: Style.current.bigPadding
9699
anchors.top: element14.top

ui/app/AppLayouts/Profile/Sections/Ens/SetPubKeyModal.qml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ ModalPopup {
1010
readonly property var asset: {"name": "Ethereum", "symbol": "ETH"}
1111
property string ensUsername: ""
1212

13-
title: qsTr("Connect username with your pubkey")
13+
//% "Connect username with your pubkey"
14+
title: qsTrId("connect-username-with-your-pubkey")
1415

1516
property MessageDialog sendingError: MessageDialog {
1617
id: sendingError
17-
title: qsTr("Error sending the transaction")
18+
//% "Error sending the transaction"
19+
title: qsTrId("error-sending-the-transaction")
1820
icon: StandardIcon.Critical
1921
standardButtons: StandardButton.Ok
2022
}
@@ -34,7 +36,8 @@ ModalPopup {
3436

3537
if (!response.success) {
3638
if (response.error.message.includes("could not decrypt key with given password")){
37-
transactionSigner.validationError = qsTr("Wrong password")
39+
//% "Wrong password"
40+
transactionSigner.validationError = qsTrId("wrong-password")
3841
return
3942
}
4043
sendingError.text = response.error.message
@@ -61,16 +64,19 @@ ModalPopup {
6164
}
6265
TransactionFormGroup {
6366
id: group1
64-
headerText: qsTr("Connect username with your pubkey")
65-
footerText: qsTr("Continue")
67+
//% "Connect username with your pubkey"
68+
headerText: qsTrId("connect-username-with-your-pubkey")
69+
//% "Continue"
70+
footerText: qsTrId("continue")
6671

6772
AccountSelector {
6873
id: selectFromAccount
6974
accounts: walletModel.accounts
7075
selectedAccount: walletModel.currentAccount
7176
currency: walletModel.defaultCurrency
7277
width: stack.width
73-
label: qsTr("Choose account")
78+
//% "Choose account"
79+
label: qsTrId("choose-account")
7480
showBalanceForAssetSymbol: "ETH"
7581
minRequiredAssetBalance: 0
7682
reset: function() {
@@ -128,8 +134,10 @@ ModalPopup {
128134
}
129135
TransactionFormGroup {
130136
id: group3
131-
headerText: qsTr("Connect username with your pubkey")
132-
footerText: qsTr("Sign with password")
137+
//% "Connect username with your pubkey"
138+
headerText: qsTrId("connect-username-with-your-pubkey")
139+
//% "Sign with password"
140+
footerText: qsTrId("sign-with-password")
133141

134142
TransactionPreview {
135143
id: pvwTransaction
@@ -164,8 +172,10 @@ ModalPopup {
164172
}
165173
TransactionFormGroup {
166174
id: group4
167-
headerText: qsTr("Connect username with your pubkey")
168-
footerText: qsTr("Sign with password")
175+
//% "Connect username with your pubkey"
176+
headerText: qsTrId("connect-username-with-your-pubkey")
177+
//% "Sign with password"
178+
footerText: qsTrId("sign-with-password")
169179

170180
TransactionSigner {
171181
id: transactionSigner
@@ -186,7 +196,8 @@ ModalPopup {
186196
StyledButton {
187197
id: btnNext
188198
anchors.right: parent.right
189-
label: qsTr("Next")
199+
//% "Next"
200+
label: qsTrId("next")
190201
disabled: !stack.currentGroup.isValid
191202
onClicked: {
192203
const validity = stack.currentGroup.validate()

ui/app/AppLayouts/Profile/Sections/SoundsContainer.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ Item {
2828
anchors.topMargin: Style.current.bigPadding
2929
anchors.left: parent.left
3030
anchors.leftMargin: 24
31-
text: qsTr("Sound volume") + " " + volume.value
31+
//% "Sound volume"
32+
text: qsTrId("sound-volume") + " " + volume.value
3233
font.pixelSize: 15
3334
}
3435

ui/i18n/base.qm

-276 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)