chore(i18n): add some missing i18n()

+ remove one last qsTrId()
This commit is contained in:
Lukáš Tinkl 2022-07-19 10:34:27 +02:00 committed by Lukáš Tinkl
parent 5181ed4a87
commit 81cda65b20
5 changed files with 6 additions and 7 deletions

View File

@ -16,7 +16,7 @@ ModalPopup {
signal openModalClicked()
StyledText {
text: "Do you want to add another existing key?"
text: qsTr("Do you want to add another existing key?")
anchors.left: parent.left
anchors.top: parent.top
}
@ -26,7 +26,7 @@ ModalPopup {
anchors.topMargin: Style.current.padding
anchors.right: parent.right
anchors.rightMargin: Style.current.padding
text: "Add another existing key"
text: qsTr("Add another existing key")
onClicked : {
openModalClicked()

View File

@ -32,7 +32,7 @@ Rectangle {
contentItem: Item {
anchors.fill: parent
Text {
text: "Back up"
text: qsTr("Back up")
font.pixelSize: 13
font.weight: Font.Medium
font.family: Style.current.fontRegular.name

View File

@ -14,7 +14,7 @@ Item {
id: root
property string chatId: ""
property string name: "channel name"
property string message: "Everything is connected"
property string message: qsTr("Everything is connected")
property int chatType: 1
property var onClick

View File

@ -36,7 +36,7 @@ StatusModal {
rightButtons: [
StatusButton {
id: doneBtn
text: qsTr("Ok")
text: qsTr("OK")
enabled: !!displayNameInput.text && displayNameInput.valid
onClicked: {
root.profileStore.setDisplayName(displayNameInput.text)

View File

@ -376,8 +376,7 @@ StatusModal {
""))
if (!gasEstimate.success) {
console.warn(qsTrId("error-estimating-gas---1").arg(gasEstimate.error.message))
console.warn("error estimating gas: %1").arg(gasEstimate.error.message)
return
}