1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

translation: update strings

Change-Id: I75235646bff29e621aff08754c3902f677cbe4d3
Gitlab: #90
This commit is contained in:
Sébastien Blin 2020-09-18 13:33:08 -04:00
parent 627f07c2aa
commit b73a1424ab
No known key found for this signature in database
GPG key ID: C894BB01EEB2A9A9
11 changed files with 61 additions and 41 deletions

View file

@ -189,21 +189,21 @@ ColumnLayout {
font.pointSize: 10 font.pointSize: 10
font.kerning: true font.kerning: true
toolTipText: qsTr("Press this button to take photo") toolTipText: JamiStrings.takePhoto
radius: height / 6 radius: height / 6
source: { source: {
if(takePhotoState) { if(takePhotoState) {
toolTipText = qsTr("Press this button to finish taking photo") toolTipText = qsTr("Take photo")
return cameraAltIconUrl return cameraAltIconUrl
} }
if(hasAvatar){ if(hasAvatar){
toolTipText = qsTr("Press this button to retake photo") toolTipText = qsTr("Retake photo")
return refreshIconUrl return refreshIconUrl
} else { } else {
toolTipText = qsTr("Press this button to take photo") toolTipText = qsTr("Take photo")
return addPhotoIconUrl return addPhotoIconUrl
} }
} }

View file

@ -141,7 +141,7 @@ ItemDelegate {
model: pluginListPreferenceModel model: pluginListPreferenceModel
currentIndex: pluginListPreferenceModel.getCurrentSettingIndex() currentIndex: pluginListPreferenceModel.getCurrentSettingIndex()
textRole: "PreferenceValue" textRole: "PreferenceValue"
tooltipText: qsTr("Choose the preference") tooltipText: JamiStrings.select
onActivated: { onActivated: {
getNewPreferenceValueSlot(index) getNewPreferenceValueSlot(index)
} }
@ -162,7 +162,7 @@ ItemDelegate {
icon.height: 24 icon.height: 24
icon.width: 24 icon.width: 24
toolTipText: qsTr("Press to choose an image file") toolTipText: JamiStrings.chooseImageFile
text: UtilsAdapter.fileName(preferenceCurrentValue) text: UtilsAdapter.fileName(preferenceCurrentValue)
fontPointSize: JamiTheme.buttonFontSize fontPointSize: JamiTheme.buttonFontSize

View file

@ -46,7 +46,7 @@ Item {
property string jamsServer: qsTr("JAMS server") property string jamsServer: qsTr("JAMS server")
property string authenticate: qsTr("Authenticate") property string authenticate: qsTr("Authenticate")
property string deleteAccount: qsTr("Delete account") property string deleteAccount: qsTr("Delete account")
property string inProgress: qsTr("In progress...") property string inProgress: qsTr("In progress")
property string authenticationFailed: qsTr("Authentication failed") property string authenticationFailed: qsTr("Authentication failed")
property string password: qsTr("Password") property string password: qsTr("Password")
property string username: qsTr("Username") property string username: qsTr("Username")
@ -55,7 +55,7 @@ Item {
// AdvancedCallSettings // AdvancedCallSettings
property string callSettings: qsTr("Call Settings") property string callSettings: qsTr("Call Settings")
property string allowCallsUnknownContacs: qsTr("Allow incoming calls from unknown contacts") property string allowCallsUnknownContacs: qsTr("Allow incoming calls from unknown contacts")
property string rendezVous: qsTr("Rendezvous point: turn your account into a meeting point") property string rendezVous: qsTr("Convert your account into a rendezvous point")
property string autoAnswerCalls: qsTr("Automatically answer calls") property string autoAnswerCalls: qsTr("Automatically answer calls")
property string enableCustomRingtone: qsTr("Enable custom ringtone") property string enableCustomRingtone: qsTr("Enable custom ringtone")
property string selectCustomRingtone: qsTr("Select custom ringtone") property string selectCustomRingtone: qsTr("Select custom ringtone")
@ -84,7 +84,7 @@ Item {
property string tlsServerName: qsTr("TLS server name") property string tlsServerName: qsTr("TLS server name")
property string negotiationTimeOut: qsTr("Negotiation timeout (seconds)") property string negotiationTimeOut: qsTr("Negotiation timeout (seconds)")
property string selectPrivateKey: qsTr("Select a private key") property string selectPrivateKey: qsTr("Select a private key")
property string selectUserCert: qsTr("Select an user certificate") property string selectUserCert: qsTr("Select a user certificate")
property string selectCACert: qsTr("Select a CA certificate") property string selectCACert: qsTr("Select a CA certificate")
// AdvancedConnectivitySettings // AdvancedConnectivitySettings
@ -102,7 +102,7 @@ Item {
// AdvancedPublicAddressSettings // AdvancedPublicAddressSettings
property string publicAddress: qsTr("Public address") property string publicAddress: qsTr("Public address")
property string useCustomAddress: qsTr("Use custom address/port") property string useCustomAddress: qsTr("Use custom address and port")
property string address: qsTr("Address") property string address: qsTr("Address")
property string port: qsTr("Port") property string port: qsTr("Port")
@ -119,7 +119,7 @@ Item {
property string videoRTPMaxPort: qsTr("Video RTP maximum port") property string videoRTPMaxPort: qsTr("Video RTP maximum port")
// AdvancedOpenDHTSettings // AdvancedOpenDHTSettings
property string enablePeerDiscovery: qsTr("Enable local peer discovery.") property string enablePeerDiscovery: qsTr("Enable local peer discovery")
property string tooltipPeerDiscovery: qsTr("Connect to other DHT nodes advertising on your local network.") property string tooltipPeerDiscovery: qsTr("Connect to other DHT nodes advertising on your local network.")
property string openDHTConfig: qsTr("OpenDHT Configuration") property string openDHTConfig: qsTr("OpenDHT Configuration")
property string enableProxy: qsTr("Enable proxy") property string enableProxy: qsTr("Enable proxy")
@ -130,7 +130,7 @@ Item {
property string back: qsTr("Back") property string back: qsTr("Back")
// AVSettingsPage // AVSettingsPage
property string avSettingsTitle: qsTr("Audio & Video Settings") property string avSettingsTitle: qsTr("Audio and Video Settings")
// AudioSettings // AudioSettings
property string audio: qsTr("Audio") property string audio: qsTr("Audio")
@ -148,8 +148,8 @@ Item {
property string device: qsTr("Device") property string device: qsTr("Device")
property string resolution: qsTr("Resolution") property string resolution: qsTr("Resolution")
property string selectVideoResolution: qsTr("Select video resolution") property string selectVideoResolution: qsTr("Select video resolution")
property string fps: qsTr("Frame per second") property string fps: qsTr("Frames per second")
property string selectFPS: qsTr("Select video frame per second (fps)") property string selectFPS: qsTr("Select video frame rate (frames per second)")
property string enableHWAccel: qsTr("Enable hardware acceleration") property string enableHWAccel: qsTr("Enable hardware acceleration")
property string previewUnavailable: qsTr("Preview unavailable") property string previewUnavailable: qsTr("Preview unavailable")
@ -173,7 +173,7 @@ Item {
// CallOverlayButtonGroup // CallOverlayButtonGroup
property string mute: qsTr("Mute") property string mute: qsTr("Mute")
property string unmute: qsTr("Unmute") property string unmute: qsTr("Unmute")
property string hangup: qsTr("Hang-up") property string hangup: qsTr("End call")
property string pause: qsTr("Pause") property string pause: qsTr("Pause")
property string resume: qsTr("Resume") property string resume: qsTr("Resume")
property string addParticipants: qsTr("Add participants") property string addParticipants: qsTr("Add participants")
@ -200,19 +200,19 @@ Item {
property string jamiManagementServerURL: qsTr("Jami Account Management Server URL") property string jamiManagementServerURL: qsTr("Jami Account Management Server URL")
property string jamsCredentials: qsTr("Enter your JAMS credentials") property string jamsCredentials: qsTr("Enter your JAMS credentials")
property string connect: qsTr("Connect") property string connect: qsTr("Connect")
property string generatingAccount: qsTr("Generating account…") property string generatingAccount: qsTr("Creating account…")
property string backToWelcome: qsTr("Back to welcome page") property string backToWelcome: qsTr("Back to welcome page")
// CreateAccountPage // CreateAccountPage
property string chooseName: qsTr("Choose name") property string chooseName: qsTr("Choose name")
property string chooseUsername: qsTr("Choose username") property string chooseUsername: qsTr("Choose username")
property string createPassword: qsTr("Create password") property string createPassword: qsTr("Encrypt account with password")
property string createRV: qsTr("Create rendezvous") property string createRV: qsTr("Create a rendezvous point")
property string createAccount: qsTr("Create account") property string createAccount: qsTr("Create account")
property string confirmPassword: qsTr("Confirm password") property string confirmPassword: qsTr("Confirm password")
property string notePasswordRecovery: qsTr("Note that the password cannot be recovered") property string notePasswordRecovery: qsTr("Choose a password to encrypt your account on this device. Note that the password cannot be recovered.")
property string optional: qsTr("Optional") property string optional: qsTr("Optional")
property string chooseNameRV: qsTr("Choose a name for your rendezvous") property string chooseNameRV: qsTr("Choose a name for your rendezvous point")
// CreateSIPAccountPage // CreateSIPAccountPage
property string proxy: qsTr("Proxy") property string proxy: qsTr("Proxy")
@ -229,7 +229,7 @@ Item {
property string setPasswordFailed: qsTr("Password set failed") property string setPasswordFailed: qsTr("Password set failed")
property string changePassword: qsTr("Change password") property string changePassword: qsTr("Change password")
property string setPassword: qsTr("Set password") property string setPassword: qsTr("Set password")
property string setAPassword: qsTr("Set a password") property string setAPassword: qsTr("Set password")
property string changeCurrentPassword: qsTr("Change current password") property string changeCurrentPassword: qsTr("Change current password")
property string tipBackupAccount: qsTr("Backup account to a .gz file") property string tipBackupAccount: qsTr("Backup account to a .gz file")
property string tipAdvancedSettingsDisplay: qsTr("Display or hide advanced settings") property string tipAdvancedSettingsDisplay: qsTr("Display or hide advanced settings")
@ -240,7 +240,8 @@ Item {
property string registeringName: qsTr("Registering name") property string registeringName: qsTr("Registering name")
// JamiUserIdentity // JamiUserIdentity
property string registerUsername: qsTr("Register a username") property string registerAUsername: qsTr("Register a username")
property string registerUsername: qsTr("Register username")
// LinkedDevices // LinkedDevices
property string tipLinkNewDevice: qsTr("Link a new device to this account") property string tipLinkNewDevice: qsTr("Link a new device to this account")
@ -262,13 +263,14 @@ Item {
property string enableNotifications: qsTr("Enable notifications") property string enableNotifications: qsTr("Enable notifications")
property string keepMinimized: qsTr("Keep minimized on close") property string keepMinimized: qsTr("Keep minimized on close")
property string tipRunStartup: qsTr("Run application on system startup") property string tipRunStartup: qsTr("Run application on system startup")
property string runStartup: qsTr("Run on startup") property string runStartup: qsTr("Launch at startup")
property string downloadFolder: qsTr("Downloads directory") property string downloadFolder: qsTr("Downloads directory")
property string tipChooseDownloadFolder: qsTr("Choose download directory") property string tipChooseDownloadFolder: qsTr("Choose download directory")
property string recordCall: qsTr("Record call") property string recordCall: qsTr("Record call")
// UpdateSettings // UpdateSettings
property string betaInstall: qsTr("Install beta version") property string betaInstall: qsTr("Install beta version")
property string enableAutoUpdates: qsTr("Enable/Disable automatic updates")
// Recording Settings // Recording Settings
property string tipRecordFolder: qsTr("Select a record directory") property string tipRecordFolder: qsTr("Select a record directory")
@ -285,8 +287,8 @@ Item {
// ImportFromDevicePage // ImportFromDevicePage
property string mainAccountPassword: qsTr("Enter Jami account password") property string mainAccountPassword: qsTr("Enter Jami account password")
property string enterPIN: qsTr("Enter the PIN from another configured Jami account. " + property string enterPIN: qsTr("Enter the PIN from another configured Jami account. " +
"Use the \"Link Another Device\" feature to obtain a PIN") "Use the \"Link Another Device\" feature to obtain a PIN.")
property string connectFromAnotherDevice: qsTr("Create account from an another device") property string connectFromAnotherDevice: qsTr("Link device")
// KeyBoardShortcutTable // KeyBoardShortcutTable
property string conversations: qsTr("Conversations") property string conversations: qsTr("Conversations")
@ -309,19 +311,29 @@ Item {
// PhotoBoothView // PhotoBoothView
property string chooseAvatarImage: qsTr("Choose a picture as avatar") property string chooseAvatarImage: qsTr("Choose a picture as avatar")
property string importFromFile: qsTr("Import avatar from image file") property string importFromFile: qsTr("Import avatar from image file")
property string takePhone: qsTr("Take photo")
property string retakePhone: qsTr("Retake photo")
// PluginListPreferencesView // PluginListPreferencesView
property string reset: qsTr("Reset") property string reset: qsTr("Reset")
property string selectPluginInstall: qsTr("Select a plugin to install") property string selectPluginInstall: qsTr("Select a plugin to install")
property string installPlugin: qsTr("Install plugin") property string installPlugin: qsTr("Install plugin")
// PluginItemDelegate
property string showHidePrefs: qsTr("Display or hide preferences")
// PluginListSettingsView
property string addNewPlugin: qsTr("Add new plugin")
// PreferenceItemDelegate // PreferenceItemDelegate
property string selectFile: qsTr("Please select a file") property string selectFile: qsTr("Select a file")
property string select: qsTr("Select")
property string chooseImageFile: qsTr("Choose image file")
// ProfilePage // ProfilePage
property string saveProfile: qsTr("Save profile") property string saveProfile: qsTr("Save profile")
property string enterRVName: qsTr("Enter the rendezvous's name") property string enterRVName: qsTr("Enter the rendezvous point's name")
property string generatingRV: qsTr("Generating rendezvous…") property string generatingRV: qsTr("Creating rendezvous point…")
// RevokeDevicePasswordDialog // RevokeDevicePasswordDialog
property string confirmRemovalRequest: qsTr("Enter the account password to confirm the removal of this device") property string confirmRemovalRequest: qsTr("Enter the account password to confirm the removal of this device")
@ -341,8 +353,16 @@ Item {
property string advancedFeatures: qsTr("Advanced features") property string advancedFeatures: qsTr("Advanced features")
property string showAdvancedFeatures: qsTr("Show advanced features") property string showAdvancedFeatures: qsTr("Show advanced features")
property string connectJAMSServer: qsTr("Connect to a JAMS server") property string connectJAMSServer: qsTr("Connect to a JAMS server")
property string createFromJAMS: qsTr("Create account from Jami Account Manager Server (JAMS)") property string createFromJAMS: qsTr("Create account from Jami Account Management Server (JAMS)")
property string addSIPAccount: qsTr("Add a SIP account") property string addSIPAccount: qsTr("Add a SIP account")
property string errorCreateAccount: qsTr("Error while creating your account. Check your credentials.") property string errorCreateAccount: qsTr("Error while creating your account. Check your credentials.")
property string createNewRV: qsTr("Create new rendezvous") property string createNewRV: qsTr("Create new rendezvous point")
property string createNewJA: qsTr("Create a Jami account")
// Smart list context menu
property string declineContactRequest: qsTr("Decline contact request")
property string acceptContactRequest: qsTr("Accept contact request")
// Update settings
property string update: qsTr("Automatically check for updates")
} }

View file

@ -72,13 +72,13 @@ Item {
ContextMenuGenerator.addMenuSeparator() ContextMenuGenerator.addMenuSeparator()
if (contactType === Profile.Type.PENDING) { if (contactType === Profile.Type.PENDING) {
ContextMenuGenerator.addMenuItem(qsTr("Accept request"), ContextMenuGenerator.addMenuItem(JamiStrings.acceptContactRequest,
"qrc:/images/icons/person_add-24px.svg", "qrc:/images/icons/person_add-24px.svg",
function (){ function (){
MessagesAdapter.acceptInvitation( MessagesAdapter.acceptInvitation(
responsibleConvUid) responsibleConvUid)
}) })
ContextMenuGenerator.addMenuItem(qsTr("Decline request"), ContextMenuGenerator.addMenuItem(JamiStrings.declineContactRequest,
"qrc:/images/icons/round-close-24px.svg", "qrc:/images/icons/round-close-24px.svg",
function (){ function (){
MessagesAdapter.refuseInvitation( MessagesAdapter.refuseInvitation(

View file

@ -192,7 +192,7 @@ Popup {
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
text: qsTr("Preference") text: qsTr("Preferences")
} }
ListView { ListView {

View file

@ -153,7 +153,7 @@ ColumnLayout {
wrapMode: Text.NoWrap wrapMode: Text.NoWrap
placeholderText: registeredIdNeedsSet ? placeholderText: registeredIdNeedsSet ?
JamiStrings.registerUsername : "" JamiStrings.registerAUsername : ""
text: { text: {
if (!registeredIdNeedsSet) if (!registeredIdNeedsSet)
return SettingsAdapter.get_CurrentAccountInfo_RegisteredName() return SettingsAdapter.get_CurrentAccountInfo_RegisteredName()
@ -184,7 +184,7 @@ ColumnLayout {
UsernameLineEdit.NameRegistrationState.FREE UsernameLineEdit.NameRegistrationState.FREE
text: qsTr("Register") text: qsTr("Register")
toolTipText: qsTr("Register the username") toolTipText: JamiStrings.registerUsername
color: JamiTheme.buttonTintedGrey color: JamiTheme.buttonTintedGrey
hoveredColor: JamiTheme.buttonTintedGreyHovered hoveredColor: JamiTheme.buttonTintedGreyHovered
pressedColor: JamiTheme.buttonTintedGreyPressed pressedColor: JamiTheme.buttonTintedGreyPressed

View file

@ -141,7 +141,7 @@ BaseDialog {
} }
ListElement { ListElement {
Shortcut: "Ctrl+D" Shortcut: "Ctrl+D"
Description: qsTr("Hangup current call") Description: qsTr("End call")
KeyLength: 2 KeyLength: 2
} }
ListElement { ListElement {

View file

@ -120,7 +120,7 @@ ItemDelegate {
} }
ToolTip.visible: hovered ToolTip.visible: hovered
ToolTip.text: qsTr("Show/Hide preferences") ToolTip.text: JamiStrings.showHidePrefs
onClicked: btnPreferencesPluginClicked() onClicked: btnPreferencesPluginClicked()
} }

View file

@ -121,7 +121,7 @@ Rectangle {
hoveredColor: JamiTheme.buttonTintedBlackHovered hoveredColor: JamiTheme.buttonTintedBlackHovered
pressedColor: JamiTheme.buttonTintedBlackPressed pressedColor: JamiTheme.buttonTintedBlackPressed
outlined: true outlined: true
toolTipText: qsTr("Press to add new plugins") toolTipText: JamiStrings.addNewPlugin
source: "qrc:/images/icons/round-add-24px.svg" source: "qrc:/images/icons/round-add-24px.svg"

View file

@ -52,10 +52,10 @@ ColumnLayout {
id: autoUpdateCheckBox id: autoUpdateCheckBox
checked: SettingsAdapter.getAppValue(Settings.Key.AutoUpdate) checked: SettingsAdapter.getAppValue(Settings.Key.AutoUpdate)
labelText: qsTr("Check for updates automatically") labelText: JamiStrings.update
fontPointSize: JamiTheme.settingsFontSize fontPointSize: JamiTheme.settingsFontSize
tooltipText: qsTr("toggle automatic updates") tooltipText: JamiStrings.enableAutoUpdates
onSwitchToggled: SettingsAdapter.setAppValue(Settings.Key.AutoUpdate, checked) onSwitchToggled: SettingsAdapter.setAppValue(Settings.Key.AutoUpdate, checked)
} }

View file

@ -77,7 +77,7 @@ Rectangle {
Layout.preferredWidth: preferredWidth Layout.preferredWidth: preferredWidth
Layout.preferredHeight: preferredHeight Layout.preferredHeight: preferredHeight
text: qsTr("Create a jami account") text: JamiStrings.createNewJA
fontCapitalization: Font.AllUppercase fontCapitalization: Font.AllUppercase
toolTipText: qsTr("Create new Jami account") toolTipText: qsTr("Create new Jami account")
source: "qrc:/images/default_avatar_overlay.svg" source: "qrc:/images/default_avatar_overlay.svg"