add name on profile create #357
2
go.mod
2
go.mod
|
@ -3,7 +3,7 @@ module cwtch.im/ui
|
|||
go 1.12
|
||||
|
||||
require (
|
||||
cwtch.im/cwtch v0.4.5
|
||||
cwtch.im/cwtch v0.4.6
|
||||
git.openprivacy.ca/openprivacy/connectivity v1.3.1
|
||||
git.openprivacy.ca/openprivacy/log v1.0.1
|
||||
github.com/c-bata/go-prompt v0.2.3 // indirect
|
||||
|
|
2
go.sum
2
go.sum
|
@ -9,6 +9,8 @@ cwtch.im/cwtch v0.4.4 h1:LC9SngDx+iLXFiDK8GUkSxaWqloXQcPijvMPmwt9h80=
|
|||
cwtch.im/cwtch v0.4.4/go.mod h1:10gBkMSqAH95Pz4jTx5mpIHE+dkn+4kRC4BFTxWuQK8=
|
||||
cwtch.im/cwtch v0.4.5 h1:BK4IMqCMf9xNmeLzaVDUbl2bnXdw5fOWXvEGBMTOjXM=
|
||||
cwtch.im/cwtch v0.4.5/go.mod h1:Mh7vQQ3z55+prpX6EuUkg4QNQkBACMoDcgCNBeAH2EY=
|
||||
cwtch.im/cwtch v0.4.6 h1:jQT0WZY0BGS/EKZrtvL48kMYoed00/q1ycvI0u7Dez4=
|
||||
cwtch.im/cwtch v0.4.6/go.mod h1:Mh7vQQ3z55+prpX6EuUkg4QNQkBACMoDcgCNBeAH2EY=
|
||||
cwtch.im/tapir v0.2.0 h1:7MkoR5+uEuPW34/O0GZRidnIjq/01Cfm8nl5IRuqpGc=
|
||||
cwtch.im/tapir v0.2.0/go.mod h1:xzzZ28adyUXNkYL1YodcHsAiTt3IJ8Loc29YVn9mIEQ=
|
||||
cwtch.im/tapir v0.2.1 h1:t1YJB9q5sV1A9xwiiwL6WVfw3dwQWLoecunuzT1PQtw=
|
||||
|
|
|
@ -4,6 +4,7 @@ import (
|
|||
"cwtch.im/cwtch/app"
|
||||
"cwtch.im/cwtch/app/plugins"
|
||||
"cwtch.im/cwtch/event"
|
||||
"cwtch.im/cwtch/model/attr"
|
||||
"cwtch.im/ui/go/constants"
|
||||
"cwtch.im/ui/go/features/groups"
|
||||
"cwtch.im/ui/go/the"
|
||||
|
@ -75,6 +76,11 @@ func App(gcd *ui.GrandCentralDispatcher, subscribed chan bool, reloadingAccounts
|
|||
p.SetAttribute(app.AttributeTag, constants.ProfileTypeV1DefaultPassword)
|
||||
}
|
||||
|
||||
if e.Data[event.Created] == event.True {
|
||||
p.SetAttribute(attr.GetPublicScope(constants.Name), p.GetName())
|
||||
p.SetAttribute(attr.GetPublicScope(constants.Picture), ui.ImageToString(ui.NewImage(ui.RandomProfileImage(onion), ui.TypeImageDistro)))
|
||||
}
|
||||
|
||||
log.Infof("NewPeer for %v\n", onion)
|
||||
ui.AddProfile(gcd, onion)
|
||||
|
||||
|
@ -88,7 +94,7 @@ func App(gcd *ui.GrandCentralDispatcher, subscribed chan bool, reloadingAccounts
|
|||
if e.Data[event.Status] != "running" {
|
||||
p.Listen()
|
||||
p.StartPeersConnections()
|
||||
if _,err := groups.ExperimentGate(gcd.GlobalSettings.Experiments); err == nil {
|
||||
if _, err := groups.ExperimentGate(gcd.GlobalSettings.Experiments); err == nil {
|
||||
p.StartServerConnections()
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -349,15 +349,7 @@
|
|||
<name>ProfileAddEditPane</name>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="35"/>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>default-profile-name</source>
|
||||
<extracomment>default suggested profile name</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-onion-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -400,6 +392,18 @@
|
|||
<source>edit-profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-oniblon-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>your-display-name</source>
|
||||
<extracomment>Your Display Name</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="304"/>
|
||||
<source>current-password-label</source>
|
||||
|
@ -495,13 +499,13 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="117"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="119"/>
|
||||
<source>your-profiles</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="141"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="147"/>
|
||||
<source>your-servers</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -526,66 +530,72 @@
|
|||
<translation type="vanished">Benutzeroberflächen-Zoom (betriftt hauptsächlich Text- und Knopgrößen)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="25"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="27"/>
|
||||
<source>setting-language</source>
|
||||
<extracomment>Language</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="36"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<source>locale-en</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="37"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<source>locale-fr</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="40"/>
|
||||
<source>locale-pt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="41"/>
|
||||
<source>locale-de</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="57"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="59"/>
|
||||
<source>setting-interface-zoom</source>
|
||||
<extracomment>Interface Zoom</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="88"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="90"/>
|
||||
<source>large-text-label</source>
|
||||
<translation>Groß</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="96"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="98"/>
|
||||
<source>setting-theme</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="105"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="107"/>
|
||||
<source>theme-light</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="106"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="108"/>
|
||||
<source>theme-dark</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="155"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="127"/>
|
||||
<source>experiments-enabled</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="188"/>
|
||||
<source>version %1</source>
|
||||
<extracomment>Version %1</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="164"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="197"/>
|
||||
<source>builddate %2</source>
|
||||
<extracomment>Built on: %2</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -596,7 +606,7 @@
|
|||
<translation type="vanished">defaultmäßige Textgröße (Skalierungsfaktor:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="64"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="66"/>
|
||||
<source>small-text-label</source>
|
||||
<translation>Klein</translation>
|
||||
</message>
|
||||
|
|
Binary file not shown.
|
@ -446,9 +446,7 @@ Right-click to reset.</translation>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="35"/>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>default-profile-name</source>
|
||||
<extracomment>default suggested profile name</extracomment>
|
||||
<translation>Alice</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -463,10 +461,9 @@ Right-click to reset.</translation>
|
|||
<translation>Edit Profille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-onion-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation>Send this address to peers you want to connect with</translation>
|
||||
<translation type="vanished">Send this address to peers you want to connect with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="179"/>
|
||||
|
@ -497,6 +494,18 @@ Right-click to reset.</translation>
|
|||
<extracomment>Not using a password on this account means that all data stored locally will not be encrypted</extracomment>
|
||||
<translation>Not using a password on this account means that all data stored locally will not be encrypted</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-oniblon-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation>Send this address to peers you want to connect with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>your-display-name</source>
|
||||
<extracomment>Your Display Name</extracomment>
|
||||
<translation>Your Display Name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="304"/>
|
||||
<source>current-password-label</source>
|
||||
|
@ -592,13 +601,13 @@ Right-click to reset.</translation>
|
|||
<translation>0 profiles loaded with that password</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="117"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="119"/>
|
||||
<source>your-profiles</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation>Your Profiles</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="141"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="147"/>
|
||||
<source>your-servers</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation>Your Servers</translation>
|
||||
|
@ -632,66 +641,72 @@ Right-click to reset.</translation>
|
|||
<translation type="vanished">Block Unknown Peers</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="25"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="27"/>
|
||||
<source>setting-language</source>
|
||||
<extracomment>Language</extracomment>
|
||||
<translation>Language</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="36"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<source>locale-en</source>
|
||||
<translation>English</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="37"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<source>locale-fr</source>
|
||||
<translation>Frances</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="40"/>
|
||||
<source>locale-pt</source>
|
||||
<translation>Portuguesa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="41"/>
|
||||
<source>locale-de</source>
|
||||
<translation>Deutsche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="57"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="59"/>
|
||||
<source>setting-interface-zoom</source>
|
||||
<extracomment>Interface Zoom</extracomment>
|
||||
<translation>Zoom level</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="88"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="90"/>
|
||||
<source>large-text-label</source>
|
||||
<translation>Large</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="96"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="98"/>
|
||||
<source>setting-theme</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation>Theme</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="105"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="107"/>
|
||||
<source>theme-light</source>
|
||||
<translation>Light</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="106"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="108"/>
|
||||
<source>theme-dark</source>
|
||||
<translation>Dark</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="155"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="127"/>
|
||||
<source>experiments-enabled</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="188"/>
|
||||
<source>version %1</source>
|
||||
<extracomment>Version %1</extracomment>
|
||||
<translation>Version %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="164"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="197"/>
|
||||
<source>builddate %2</source>
|
||||
<extracomment>Built on: %2</extracomment>
|
||||
<translation>Built on: %2</translation>
|
||||
|
@ -702,7 +717,7 @@ Right-click to reset.</translation>
|
|||
<translation type="vanished">Default size text (scale factor:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="64"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="66"/>
|
||||
<source>small-text-label</source>
|
||||
<translation>Small</translation>
|
||||
</message>
|
||||
|
|
Binary file not shown.
|
@ -349,15 +349,7 @@
|
|||
<name>ProfileAddEditPane</name>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="35"/>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>default-profile-name</source>
|
||||
<extracomment>default suggested profile name</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-onion-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -400,6 +392,18 @@
|
|||
<source>edit-profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-oniblon-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>your-display-name</source>
|
||||
<extracomment>Your Display Name</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="304"/>
|
||||
<source>current-password-label</source>
|
||||
|
@ -495,13 +499,13 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="117"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="119"/>
|
||||
<source>your-profiles</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="141"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="147"/>
|
||||
<source>your-servers</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -526,66 +530,72 @@
|
|||
<translation type="vanished">Interface zoom (essentiellement la taille du texte et des composants de l'interface)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="25"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="27"/>
|
||||
<source>setting-language</source>
|
||||
<extracomment>Language</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="36"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<source>locale-en</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="37"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<source>locale-fr</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="40"/>
|
||||
<source>locale-pt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="41"/>
|
||||
<source>locale-de</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="57"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="59"/>
|
||||
<source>setting-interface-zoom</source>
|
||||
<extracomment>Interface Zoom</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="88"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="90"/>
|
||||
<source>large-text-label</source>
|
||||
<translation type="unfinished">Large</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="96"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="98"/>
|
||||
<source>setting-theme</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="105"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="107"/>
|
||||
<source>theme-light</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="106"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="108"/>
|
||||
<source>theme-dark</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="155"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="127"/>
|
||||
<source>experiments-enabled</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="188"/>
|
||||
<source>version %1</source>
|
||||
<extracomment>Version %1</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="164"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="197"/>
|
||||
<source>builddate %2</source>
|
||||
<extracomment>Built on: %2</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -596,7 +606,7 @@
|
|||
<translation type="vanished">Taille par défaut du texte (échelle:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="64"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="66"/>
|
||||
<source>small-text-label</source>
|
||||
<translation>Petit</translation>
|
||||
</message>
|
||||
|
|
Binary file not shown.
|
@ -349,15 +349,7 @@
|
|||
<name>ProfileAddEditPane</name>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="35"/>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>default-profile-name</source>
|
||||
<extracomment>default suggested profile name</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-onion-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -400,6 +392,18 @@
|
|||
<source>edit-profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="168"/>
|
||||
<source>profile-oniblon-label</source>
|
||||
<extracomment>Send this address to peers you want to connect with</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="260"/>
|
||||
<source>your-display-name</source>
|
||||
<extracomment>Your Display Name</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileAddEditPane.qml" line="304"/>
|
||||
<source>current-password-label</source>
|
||||
|
@ -495,13 +499,13 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="117"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="119"/>
|
||||
<source>your-profiles</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="141"/>
|
||||
<location filename="../qml/panes/ProfileManagerPane.qml" line="147"/>
|
||||
<source>your-servers</source>
|
||||
<extracomment>Your Profiles</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -526,66 +530,72 @@
|
|||
<translation type="vanished">Zoom da interface (afeta principalmente tamanho de texto e botões)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="25"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="27"/>
|
||||
<source>setting-language</source>
|
||||
<extracomment>Language</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="36"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<source>locale-en</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="37"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<source>locale-fr</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="38"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="40"/>
|
||||
<source>locale-pt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="39"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="41"/>
|
||||
<source>locale-de</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="57"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="59"/>
|
||||
<source>setting-interface-zoom</source>
|
||||
<extracomment>Interface Zoom</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="88"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="90"/>
|
||||
<source>large-text-label</source>
|
||||
<translation>Grande</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="96"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="98"/>
|
||||
<source>setting-theme</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="105"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="107"/>
|
||||
<source>theme-light</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="106"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="108"/>
|
||||
<source>theme-dark</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="155"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="127"/>
|
||||
<source>experiments-enabled</source>
|
||||
<extracomment>Theme</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="188"/>
|
||||
<source>version %1</source>
|
||||
<extracomment>Version %1</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="164"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="197"/>
|
||||
<source>builddate %2</source>
|
||||
<extracomment>Built on: %2</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -596,7 +606,7 @@
|
|||
<translation type="vanished">Texto tamanho padrão (fator de escala: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="64"/>
|
||||
<location filename="../qml/panes/SettingsPane.qml" line="66"/>
|
||||
<source>small-text-label</source>
|
||||
<translation>Pequeno</translation>
|
||||
</message>
|
||||
|
|
|
@ -32,7 +32,7 @@ Opaque.Flickable {
|
|||
flickRoot.contentY = 0
|
||||
mode = mode_add
|
||||
reset_errors()
|
||||
txtProfileName.text = qsTr("default-profile-name")
|
||||
txtProfileName.text = ""
|
||||
changingPassword = false
|
||||
txtPassword1.text = ""
|
||||
txtPassword2.text = ""
|
||||
|
@ -250,14 +250,13 @@ Opaque.Flickable {
|
|||
|
||||
Opaque.UnderlineTextField {
|
||||
id: txtProfileName
|
||||
visible: mode == mode_edit
|
||||
//Layout.fillWidth: true
|
||||
|
||||
backgroundColor: Theme.backgroundPaneColor
|
||||
width: parent.width - (40*gcd.themeScale)
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
//: default suggested profile name
|
||||
text: qsTr("default-profile-name")
|
||||
//: Your Display Name
|
||||
placeholderText: qsTr("your-display-name")
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ ColumnLayout {
|
|||
Opaque.ScalingLabel {
|
||||
id: error
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
color: "red"
|
||||
color: Theme.textfieldErrorColor
|
||||
//: 0 profiles loaded with that password
|
||||
text: qsTr("error-0-profiles-loaded-for-password")
|
||||
visible: false
|
||||
|
|
Reference in New Issue