chore: update translation files
This commit is contained in:
parent
a03036e8e1
commit
9204e409f3
|
@ -639,8 +639,8 @@ Item {
|
||||||
Connections {
|
Connections {
|
||||||
target: chatsModel.stickers
|
target: chatsModel.stickers
|
||||||
onTransactionWasSent: {
|
onTransactionWasSent: {
|
||||||
//% "Transaction pending..."
|
//% "Transaction pending"
|
||||||
toastMessage.title = qsTr("Transaction pending")
|
toastMessage.title = qsTrId("transaction-pending")
|
||||||
toastMessage.source = "../../../img/loading.svg"
|
toastMessage.source = "../../../img/loading.svg"
|
||||||
toastMessage.iconColor = Style.current.primary
|
toastMessage.iconColor = Style.current.primary
|
||||||
toastMessage.iconRotates = true
|
toastMessage.iconRotates = true
|
||||||
|
|
|
@ -308,7 +308,8 @@ Column {
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: enableText
|
id: enableText
|
||||||
text: isImageLink ? qsTr("Enable automatic image unfurling") :
|
//% "Enable automatic image unfurling"
|
||||||
|
text: isImageLink ? qsTrId("enable-automatic-image-unfurling") :
|
||||||
//% "Enable link previews in chat?"
|
//% "Enable link previews in chat?"
|
||||||
qsTrId("enable-link-previews")
|
qsTrId("enable-link-previews")
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
|
@ -34,7 +34,8 @@ Item {
|
||||||
opacity: (root.width > 50) ? 1.0 : 0.0
|
opacity: (root.width > 50) ? 1.0 : 0.0
|
||||||
visible: (opacity > 0.1)
|
visible: (opacity > 0.1)
|
||||||
font.pixelSize: Style.current.primaryTextFontSize
|
font.pixelSize: Style.current.primaryTextFontSize
|
||||||
text: qsTr("Members")
|
//% "Members"
|
||||||
|
text: qsTrId("members-label")
|
||||||
}
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
|
|
@ -119,7 +119,8 @@ StatusModal {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
title: name
|
title: name
|
||||||
subTitle: description
|
subTitle: description
|
||||||
tertiaryTitle: qsTr("%1 members").arg(nbMembers)
|
//% "%1 members"
|
||||||
|
tertiaryTitle: qsTrId("-1-members").arg(nbMembers)
|
||||||
statusListItemTitle.font.weight: Font.Bold
|
statusListItemTitle.font.weight: Font.Bold
|
||||||
statusListItemTitle.font.pixelSize: 17
|
statusListItemTitle.font.pixelSize: 17
|
||||||
image.source: thumbnailImage
|
image.source: thumbnailImage
|
||||||
|
|
|
@ -36,7 +36,8 @@ Item {
|
||||||
opacity: (root.width > 50) ? 1.0 : 0.0
|
opacity: (root.width > 50) ? 1.0 : 0.0
|
||||||
visible: (opacity > 0.1)
|
visible: (opacity > 0.1)
|
||||||
font.pixelSize: Style.current.primaryTextFontSize
|
font.pixelSize: Style.current.primaryTextFontSize
|
||||||
text: qsTr("Members")
|
//% "Members"
|
||||||
|
text: qsTrId("members-label")
|
||||||
}
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
|
|
@ -60,7 +60,8 @@ Item {
|
||||||
height: 36
|
height: 36
|
||||||
topPadding: 8
|
topPadding: 8
|
||||||
bottomPadding: 0
|
bottomPadding: 0
|
||||||
placeholderText: qsTr("Search")
|
//% "Search"
|
||||||
|
placeholderText: qsTrId("search")
|
||||||
icon.name: "search"
|
icon.name: "search"
|
||||||
Keys.onEscapePressed: {
|
Keys.onEscapePressed: {
|
||||||
actionButton.forceActiveFocus();
|
actionButton.forceActiveFocus();
|
||||||
|
@ -133,25 +134,29 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusMenuItem {
|
StatusMenuItem {
|
||||||
text: qsTr("Start new chat")
|
//% "Start new chat"
|
||||||
|
text: qsTrId("start-new-chat")
|
||||||
icon.name: "private-chat"
|
icon.name: "private-chat"
|
||||||
onTriggered: openPopup(privateChatPopupComponent)
|
onTriggered: openPopup(privateChatPopupComponent)
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusMenuItem {
|
StatusMenuItem {
|
||||||
text: qsTr("Start group chat")
|
//% "Start group chat"
|
||||||
|
text: qsTrId("start-group-chat")
|
||||||
icon.name: "group-chat"
|
icon.name: "group-chat"
|
||||||
onTriggered: openPopup(groupChatPopupComponent)
|
onTriggered: openPopup(groupChatPopupComponent)
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusMenuItem {
|
StatusMenuItem {
|
||||||
text: qsTr("Join public chat")
|
//% "Join public chat"
|
||||||
|
text: qsTrId("new-public-group-chat")
|
||||||
icon.name: "public-chat"
|
icon.name: "public-chat"
|
||||||
onTriggered: openPopup(publicChatPopupComponent)
|
onTriggered: openPopup(publicChatPopupComponent)
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusMenuItem {
|
StatusMenuItem {
|
||||||
text: qsTr("Communities")
|
//% "Communities"
|
||||||
|
text: qsTrId("communities")
|
||||||
icon.name: "communities"
|
icon.name: "communities"
|
||||||
onTriggered: openPopup(communitiesPopupComponent)
|
onTriggered: openPopup(communitiesPopupComponent)
|
||||||
}
|
}
|
||||||
|
|
|
@ -301,7 +301,8 @@ PopupMenu {
|
||||||
}
|
}
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
text: qsTr("Jump to")
|
//% "Jump to"
|
||||||
|
text: qsTrId("jump-to")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
positionAtMessage(messageContextMenu.messageId)
|
positionAtMessage(messageContextMenu.messageId)
|
||||||
messageContextMenu.closeParentPopup()
|
messageContextMenu.closeParentPopup()
|
||||||
|
@ -321,15 +322,18 @@ PopupMenu {
|
||||||
contentType === Constants.emojiType ||
|
contentType === Constants.emojiType ||
|
||||||
contentType === Constants.imageType ||
|
contentType === Constants.imageType ||
|
||||||
contentType === Constants.audioType)
|
contentType === Constants.audioType)
|
||||||
text: qsTr("Delete message")
|
//% "Delete message"
|
||||||
|
text: qsTrId("delete-message")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (!appSettings.showDeleteMessageWarning) {
|
if (!appSettings.showDeleteMessageWarning) {
|
||||||
return chatsModel.messageView.deleteMessage(messageId)
|
return chatsModel.messageView.deleteMessage(messageId)
|
||||||
}
|
}
|
||||||
|
|
||||||
let confirmationDialog = openPopup(genericConfirmationDialog, {
|
let confirmationDialog = openPopup(genericConfirmationDialog, {
|
||||||
title: qsTr("Confirm deleting this message"),
|
//% "Confirm deleting this message"
|
||||||
confirmationText: qsTr("Are you sure you want to delete this message? Be aware that other clients are not guaranteed to delete the message as well."),
|
title: qsTrId("confirm-deleting-this-message"),
|
||||||
|
//% "Are you sure you want to delete this message? Be aware that other clients are not guaranteed to delete the message as well."
|
||||||
|
confirmationText: qsTrId("are-you-sure-you-want-to-delete-this-message--be-aware-that-other-clients-are-not-guaranteed-to-delete-the-message-as-well-"),
|
||||||
height: 260,
|
height: 260,
|
||||||
"checkbox.visible": true,
|
"checkbox.visible": true,
|
||||||
executeConfirm: function () {
|
executeConfirm: function () {
|
||||||
|
|
|
@ -28,7 +28,8 @@ ModalPopup {
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: title
|
id: title
|
||||||
text: !!messageToPin ? qsTr("Pin limit reached") :
|
//% "Pin limit reached"
|
||||||
|
text: !!messageToPin ? qsTrId("pin-limit-reached") :
|
||||||
//% "Pinned messages"
|
//% "Pinned messages"
|
||||||
qsTrId("pinned-messages")
|
qsTrId("pinned-messages")
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
@ -43,7 +44,8 @@ ModalPopup {
|
||||||
id: nbPinnedMessages
|
id: nbPinnedMessages
|
||||||
text: {
|
text: {
|
||||||
if (!!messageToPin) {
|
if (!!messageToPin) {
|
||||||
return qsTr("Unpin a previous message first")
|
//% "Unpin a previous message first"
|
||||||
|
return qsTrId("unpin-a-previous-message-first")
|
||||||
}
|
}
|
||||||
|
|
||||||
//% "%1 messages"
|
//% "%1 messages"
|
||||||
|
@ -191,7 +193,8 @@ ModalPopup {
|
||||||
id: btnUnpin
|
id: btnUnpin
|
||||||
visible: !!messageToPin
|
visible: !!messageToPin
|
||||||
enabled: !!messageToUnpin
|
enabled: !!messageToUnpin
|
||||||
text: qsTr("Unpin")
|
//% "Unpin"
|
||||||
|
text: qsTrId("unpin")
|
||||||
type: "warn"
|
type: "warn"
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
|
@ -65,7 +65,8 @@ ModalPopup {
|
||||||
anchors.left: dollarEmoji.right
|
anchors.left: dollarEmoji.right
|
||||||
anchors.leftMargin: 6
|
anchors.leftMargin: 6
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
text: qsTr("My Profile")
|
//% "My Profile"
|
||||||
|
text: qsTrId("my-profile")
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
color: Style.current.white
|
color: Style.current.white
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,7 +127,8 @@ Item {
|
||||||
|
|
||||||
StatusSettingsLineButton {
|
StatusSettingsLineButton {
|
||||||
id: onlineUsers
|
id: onlineUsers
|
||||||
text: qsTr("Online users")
|
//% "Online users"
|
||||||
|
text: qsTrId("online-users")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: appSettings.showOnlineUsers
|
switchChecked: appSettings.showOnlineUsers
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -140,7 +141,8 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
sourceComponent: StatusSettingsLineButton {
|
sourceComponent: StatusSettingsLineButton {
|
||||||
text: qsTr("Broadcast user status")
|
//% "Broadcast user status"
|
||||||
|
text: qsTrId("broadcast-user-status")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: profileModel.profile.sendUserStatus
|
switchChecked: profileModel.profile.sendUserStatus
|
||||||
onClicked: function (checked) {
|
onClicked: function (checked) {
|
||||||
|
@ -236,7 +238,8 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusSettingsLineButton {
|
StatusSettingsLineButton {
|
||||||
text: qsTr("GIF Widget")
|
//% "GIF Widget"
|
||||||
|
text: qsTrId("gif-widget")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: appSettings.isGifWidgetEnabled
|
switchChecked: appSettings.isGifWidgetEnabled
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
|
@ -116,7 +116,7 @@ ScrollView {
|
||||||
|
|
||||||
StatusSettingsLineButton {
|
StatusSettingsLineButton {
|
||||||
//% "Play a sound when receiving a notification"
|
//% "Play a sound when receiving a notification"
|
||||||
text: qsTr("play-a-sound-when-receiving-a-notification")
|
text: qsTrId("play-a-sound-when-receiving-a-notification")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: appSettings.notificationSoundsEnabled
|
switchChecked: appSettings.notificationSoundsEnabled
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -126,7 +126,7 @@ ScrollView {
|
||||||
|
|
||||||
StatusSettingsLineButton {
|
StatusSettingsLineButton {
|
||||||
//% "Use your operating system's notifications"
|
//% "Use your operating system's notifications"
|
||||||
text: qsTr("use-your-operating-system-s-notifications")
|
text: qsTrId("use-your-operating-system-s-notifications")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: appSettings.useOSNotifications
|
switchChecked: appSettings.useOSNotifications
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -274,7 +274,8 @@ ScrollView {
|
||||||
})
|
})
|
||||||
//% "Muted contacts"
|
//% "Muted contacts"
|
||||||
mutedChatsModal.title = qsTrId("muted-contacts");
|
mutedChatsModal.title = qsTrId("muted-contacts");
|
||||||
mutedChatsModal.noContentText = qsTr("Muted contacts will appear here");
|
//% "Muted contacts will appear here"
|
||||||
|
mutedChatsModal.noContentText = qsTrId("muted-contacts-will-appear-here");
|
||||||
mutedChatsModal.open();
|
mutedChatsModal.open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -291,7 +292,8 @@ ScrollView {
|
||||||
})
|
})
|
||||||
//% "Muted chats"
|
//% "Muted chats"
|
||||||
mutedChatsModal.title = qsTrId("muted-chats");
|
mutedChatsModal.title = qsTrId("muted-chats");
|
||||||
mutedChatsModal.noContentText = qsTr("Muted chats will appear here");
|
//% "Muted chats will appear here"
|
||||||
|
mutedChatsModal.noContentText = qsTrId("muted-chats-will-appear-here");
|
||||||
mutedChatsModal.open();
|
mutedChatsModal.open();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
BIN
ui/i18n/base.qm
BIN
ui/i18n/base.qm
Binary file not shown.
752
ui/i18n/base.ts
752
ui/i18n/base.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2020
ui/i18n/qml_ar.ts
2020
ui/i18n/qml_ar.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2024
ui/i18n/qml_de.ts
2024
ui/i18n/qml_de.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
1059
ui/i18n/qml_en.ts
1059
ui/i18n/qml_en.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2022
ui/i18n/qml_es.ts
2022
ui/i18n/qml_es.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2018
ui/i18n/qml_fil.ts
2018
ui/i18n/qml_fil.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2110
ui/i18n/qml_fr.ts
2110
ui/i18n/qml_fr.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2068
ui/i18n/qml_id.ts
2068
ui/i18n/qml_id.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2046
ui/i18n/qml_it.ts
2046
ui/i18n/qml_it.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2007
ui/i18n/qml_ko.ts
2007
ui/i18n/qml_ko.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2007
ui/i18n/qml_pt_BR.ts
2007
ui/i18n/qml_pt_BR.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2022
ui/i18n/qml_ru.ts
2022
ui/i18n/qml_ru.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2036
ui/i18n/qml_tr.ts
2036
ui/i18n/qml_tr.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2578
ui/i18n/qml_ur.ts
2578
ui/i18n/qml_ur.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2009
ui/i18n/qml_zh.ts
2009
ui/i18n/qml_zh.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2019
ui/i18n/qml_zh_TW.ts
2019
ui/i18n/qml_zh_TW.ts
File diff suppressed because it is too large
Load Diff
|
@ -409,7 +409,8 @@ QtObject {
|
||||||
}
|
}
|
||||||
if (index > -1) {
|
if (index > -1) {
|
||||||
const pk = link.substring(index + 3)
|
const pk = link.substring(index + 3)
|
||||||
result.title = qsTr("Start a 1-on-1 chat with %1")
|
//% "Start a 1-on-1 chat with %1"
|
||||||
|
result.title = qsTrId("start-a-1-on-1-chat-with--1")
|
||||||
.arg(isChatKey(pk) ? utilsModel.generateAlias(pk) : ("@" + removeStatusEns(pk)))
|
.arg(isChatKey(pk) ? utilsModel.generateAlias(pk) : ("@" + removeStatusEns(pk)))
|
||||||
result.callback = function () {
|
result.callback = function () {
|
||||||
if(isChatKey(pk)){
|
if(isChatKey(pk)){
|
||||||
|
@ -566,7 +567,8 @@ QtObject {
|
||||||
//% "You need to enter a password"
|
//% "You need to enter a password"
|
||||||
return [false, qsTrId("you-need-to-enter-a-password")];
|
return [false, qsTrId("you-need-to-enter-a-password")];
|
||||||
} else if (firstPasswordField.text.length < 6) {
|
} else if (firstPasswordField.text.length < 6) {
|
||||||
return [false, qsTrId("Password needs to be 6 characters or more")];
|
//% "Password needs to be 6 characters or more"
|
||||||
|
return [false, qsTrId("password-needs-to-be-6-characters-or-more")];
|
||||||
}
|
}
|
||||||
return [true, ""];
|
return [true, ""];
|
||||||
|
|
||||||
|
|
|
@ -119,8 +119,11 @@ Item {
|
||||||
anchors.top: changeAccountBtn.bottom
|
anchors.top: changeAccountBtn.bottom
|
||||||
anchors.topMargin: Style.current.padding * 2
|
anchors.topMargin: Style.current.padding * 2
|
||||||
enabled: !loading
|
enabled: !loading
|
||||||
|
placeholderText: loading ?
|
||||||
|
//% "Connecting..."
|
||||||
|
qsTrId("connecting") :
|
||||||
//% "Enter password"
|
//% "Enter password"
|
||||||
placeholderText: loading ? qsTr("Connecting...") : qsTrId("enter-password")
|
qsTrId("enter-password")
|
||||||
textField.echoMode: TextInput.Password
|
textField.echoMode: TextInput.Password
|
||||||
textField.focus: true
|
textField.focus: true
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
|
@ -177,7 +180,8 @@ Item {
|
||||||
if (error === "file is not a database") {
|
if (error === "file is not a database") {
|
||||||
errMsg.text = errMsg.incorrectPasswordMsg
|
errMsg.text = errMsg.incorrectPasswordMsg
|
||||||
} else {
|
} else {
|
||||||
errMsg.text = qsTr("Login failed: %1").arg(error.toUpperCase())
|
//% "Login failed: %1"
|
||||||
|
errMsg.text = qsTrId("login-failed---1").arg(error.toUpperCase())
|
||||||
}
|
}
|
||||||
errMsg.visible = true
|
errMsg.visible = true
|
||||||
loading = false
|
loading = false
|
||||||
|
|
|
@ -53,7 +53,8 @@ ModalPopup {
|
||||||
anchors.top: innerText.bottom
|
anchors.top: innerText.bottom
|
||||||
anchors.topMargin: Style.current.halfPadding
|
anchors.topMargin: Style.current.halfPadding
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
text: qsTr("Do not show this again")
|
//% "Do not show this again"
|
||||||
|
text: qsTrId("do-not-show-this-again")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue