From aa81c40e509216bf2afbfffcb1b1cda1291d2b10 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 17 Dec 2019 13:59:33 -0800 Subject: [PATCH] tranlations for edit and delete profiles --- go.sum | 5 +++ go/handlers/peerHandler.go | 1 - i18n/translation_de.ts | 76 +++++++++++++++++++++++++----------- i18n/translation_en.qm | Bin 6217 -> 6951 bytes i18n/translation_en.ts | 78 +++++++++++++++++++++++++------------ i18n/translation_fr.ts | 76 +++++++++++++++++++++++++----------- i18n/translation_pt.ts | 76 +++++++++++++++++++++++++----------- 7 files changed, 218 insertions(+), 94 deletions(-) diff --git a/go.sum b/go.sum index 803bb95..6c5bef6 100644 --- a/go.sum +++ b/go.sum @@ -18,6 +18,7 @@ cwtch.im/tapir v0.1.10 h1:V+TkmwXNd6gySZqlVw468wMYEkmDwMSyvhkkpOfUw7w= cwtch.im/tapir v0.1.10/go.mod h1:EuRYdVrwijeaGBQ4OijDDRHf7R2MDSypqHkSl5DxI34= cwtch.im/tapir v0.1.11 h1:JLm1MIYq4VXKzhj68+P8OuVPllAU9U6G0DtUor2fbc4= cwtch.im/tapir v0.1.11/go.mod h1:EuRYdVrwijeaGBQ4OijDDRHf7R2MDSypqHkSl5DxI34= +cwtch.im/tapir v0.1.13 h1:gGAtFyRnxLrs1SQRAeVXiO5MG2DUUTE621aTQQEJN7U= cwtch.im/tapir v0.1.13/go.mod h1:1fu4d+cMCepVaMm5vHrp4N/romdjKR+R6P8cvdRXYtQ= git.openprivacy.ca/openprivacy/libricochet-go v1.0.4/go.mod h1:yMSG1gBaP4f1U+RMZXN85d29D39OK5s8aTpyVRoH5FY= git.openprivacy.ca/openprivacy/libricochet-go v1.0.6 h1:5o4K2qn3otEE1InC5v5CzU0yL7Wl7DhVp4s8H3K6mXY= @@ -45,7 +46,9 @@ github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e/go.mod h1:wJfORR github.com/gopherjs/gopherjs v0.0.0-20190812055157-5d271430af9f h1:KMlcu9X58lhTA/KrfX8Bi1LQSO4pzoVjTiL3h4Jk+Zk= github.com/gopherjs/gopherjs v0.0.0-20190812055157-5d271430af9f/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gordonklaus/ineffassign v0.0.0-20190601041439-ed7b1b5ee0f8/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= +github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is= github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= +github.com/gtank/ristretto255 v0.1.1 h1:A+VVUhf73TS5HRfCnfMBqTBujkbwY3Fo8sRSFvL3cIg= github.com/gtank/ristretto255 v0.1.1/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -58,6 +61,7 @@ github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-tty v0.0.0-20190424173100-523744f04859/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= +github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 h1:hLDRPB66XQT/8+wG9WsDpiCvZf1yKO7sz7scAjSlBa0= github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -84,6 +88,7 @@ github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20191101232336 github.com/therecipe/qt/internal/binding/files/docs/5.12.0 v0.0.0-20191101232336-18864661ae4f/go.mod h1:7m8PDYDEtEVqfjoUQc2UrFqhG0CDmoVJjRlQxexndFc= github.com/therecipe/qt/internal/binding/files/docs/5.13.0 v0.0.0-20191002095216-73192f6811d0 h1:SC92QLlGwzwrT3Xi5YzKvtVXFIriPP0Ui1AOIZgDyh8= github.com/therecipe/qt/internal/binding/files/docs/5.13.0 v0.0.0-20191002095216-73192f6811d0/go.mod h1:mH55Ek7AZcdns5KPp99O0bg+78el64YCYWHiQKrOdt4= +go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= golang.org/x/crypto v0.0.0-20190128193316-c7b33c32a30b/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/go/handlers/peerHandler.go b/go/handlers/peerHandler.go index bec562c..e64e600 100644 --- a/go/handlers/peerHandler.go +++ b/go/handlers/peerHandler.go @@ -114,7 +114,6 @@ func PeerHandler(onion string, uiManager ui.Manager, subscribed chan bool) { uiManager.ReloadProfiles() return case event.ChangePasswordSuccess: - log.Infoln("ChangePAsswordSuccess!!!") peer.SetAttribute(app.AttributeTag, constants.ProfileTypeV1Password) uiManager.ChangePasswordResponse(false) case event.ChangePasswordError: diff --git a/i18n/translation_de.ts b/i18n/translation_de.ts index 47ebb17..eb2209f 100644 --- a/i18n/translation_de.ts +++ b/i18n/translation_de.ts @@ -36,18 +36,18 @@ BulletinOverlay - + new-bulletin-label Neue Meldung - + post-new-bulletin-label Post a new Bulletin Post Neue Meldung veröffentlichen - + title-placeholder title place holder text Titel... @@ -276,83 +276,113 @@ ProfileAddEditPane - + add-profile-title - + edit-profile-title - + profile-name - Profile name + Display name - - + + default-profile-name default suggested profile name - + profile-onion-label - Profile Onion + Onion - + + radio-use-password + Password + + + + + radio-no-password + Unencrypted (No password) + + + + + no-password-warning + Not using a password on this account means that all data stored locally will not be encrypted + + + + + current-password-label + Current Password + + + + password1-label Password - + password2-label Reenter password - + create-profile-btn Create Profile || Save Profile - + save-profile-btn - + password-error-match Passwords do not match - + + password-change-error + Error changing password: Supplied password rejected + + + + delete-profile-btn Delete Profile - + delete-confirm-label Type DELETE to confirm - + delete-profile-confirm-btn Really Delete Profile - + delete-confirm-text DELETE @@ -367,13 +397,13 @@ - + error-0-profiles-loaded-for-password 0 profiles loaded with that password - + unlock Unlock @@ -424,7 +454,7 @@ StackToolbar - + view-group-membership-tooltip View Group Membership diff --git a/i18n/translation_en.qm b/i18n/translation_en.qm index f14e39c389862449728bb205aa54c4b2486ef7e1..318e95517e94671d31babdbfeccdfa74919e67af 100644 GIT binary patch delta 872 zcmZWmT}TvB7(K3TyREzK?(FPpDlrJ!4{U_sLP0&45r~Q!J(LuTv$MLk&B%<~wl5h$ z5s1+?L=S&(W0r&i!TR>U2`(^G0JH-m`6OEyO=VXde;J4>`R0Dh-&$Ff*K=iz~ zx>f|lOWtG0e*m$lw_luMyvN#ClBg4Ud=JiE1~#|&W?OmfJMDY!qm+u9zSX&9O1fx` zmTc{frOKCurwmv8;+xL^UKe-Qj6dFWpBlRS6W7?rl`ro8Hvh~@6%hXJfAW*6VoQOb z`4|XJ1muzZr1=sU8UF-?P6S?kaFedb`c;ys47LaTADda$9h^+H(eikj)0mxZcDX9T z5)L2>gG+^mAxPFeVM{osWDP^rhT?;=Y36hzX)T88rdvX#uHlF1fNld>W+Kg^KAvTM zgZ!IZIpz%{d80Ec5!+9k>7W!Syv-J=aEhcd&vwp6$xdGx87_$(?AY#Xa<_Y`NFHUF zVW2Q!!}5%CY+o$Vn6ahx5-K^46qe;FZOAV6a>m%iFQVz|*5WzY(9&9;rH5;WQ#i;1 z!(o$1Vr#M;uKC>PaW82O)6XDRhA5KoW+O^+v=1<=Y!DJ%8*p6dm$g2R8dnWNH*77| zA>poDLN`=vn^_fC;t18)5A}~NGH!QX<$vZK>z2cYoJ{NSzl=L1Q$lq_D5kQe Ox;_*;H@y%!SM~>qs@C8D delta 291 zcmZ2(cG6&ih@b|8*zFt!2If``945G{vRn?gIR!#KP6B4pyntWpo1B0MFbHyY9 zpxlg!y=q#*tSq08onv5Ntz?y!Hf3NC_`*6bU>*YlcNXih6-yZySb|tDmY-o@5J{ML z*G!9l1N(H*JO&0XcJ`yDvl$qK&TvS{hycyJ#1R$ym4QJxo+CqK9gyEV*_F|ZNg!i# zEu%Q2^W?dVazVlyctozhVPIgm3Za>{^5_O`0-8LVXVKI?1_q`|2+iZev-N`n&?SsK z2mgR|;9ryG15~~)lYv2uVRIG} d6W`{O0?bU4lSI}|juVrbY$>{X^K!8U767PZPwfBz diff --git a/i18n/translation_en.ts b/i18n/translation_en.ts index 575e96f..19d7121 100644 --- a/i18n/translation_en.ts +++ b/i18n/translation_en.ts @@ -36,18 +36,18 @@ BulletinOverlay - + new-bulletin-label New Bulletin - + post-new-bulletin-label Post a new Bulletin Post Post new bulletin - + title-placeholder title place holder text title... @@ -276,83 +276,113 @@ ProfileAddEditPane - + add-profile-title Add new profile - + edit-profile-title Edit Profile - + profile-name - Profile name + Display name Display name - - + + default-profile-name default suggested profile name Alice - + profile-onion-label - Profile Onion + Onion Onion - + + radio-use-password + Password + Password + + + + radio-no-password + Unencrypted (No password) + Unencrypted (No password) + + + + no-password-warning + Not using a password on this account means that all data stored locally will not be encrypted + Not using a password on this account means that all data stored locally will not be encrypted + + + + current-password-label + Current Password + Current Password + + + password1-label Password Password - + password2-label Reenter password - Password + Reenter password - + create-profile-btn Create Profile || Save Profile Create Profile - + save-profile-btn Save Profile - + password-error-match Passwords do not match Passwords do not match - + + password-change-error + Error changing password: Supplied password rejected + Error changing password: Supplied password rejected + + + delete-profile-btn Delete Profile Delete Profile - + delete-confirm-label Type DELETE to confirm Type DELETE to confirm - + delete-profile-confirm-btn Really Delete Profile Really Delete Profile - + delete-confirm-text DELETE DELETE @@ -367,13 +397,13 @@ Please enter password - + error-0-profiles-loaded-for-password 0 profiles loaded with that password 0 profiles loaded with that password - + unlock Unlock Unlock @@ -424,7 +454,7 @@ StackToolbar - + view-group-membership-tooltip View Group Membership View Group Membership diff --git a/i18n/translation_fr.ts b/i18n/translation_fr.ts index 157be8f..62b0b93 100644 --- a/i18n/translation_fr.ts +++ b/i18n/translation_fr.ts @@ -36,18 +36,18 @@ BulletinOverlay - + new-bulletin-label Nouveau bulletin - + post-new-bulletin-label Post a new Bulletin Post Envoyer un nouveau bulletin - + title-placeholder title place holder text titre... @@ -276,83 +276,113 @@ ProfileAddEditPane - + add-profile-title - + edit-profile-title - + profile-name - Profile name + Display name - - + + default-profile-name default suggested profile name - + profile-onion-label - Profile Onion + Onion - + + radio-use-password + Password + + + + + radio-no-password + Unencrypted (No password) + + + + + no-password-warning + Not using a password on this account means that all data stored locally will not be encrypted + + + + + current-password-label + Current Password + + + + password1-label Password - + password2-label Reenter password - + create-profile-btn Create Profile || Save Profile - + save-profile-btn - + password-error-match Passwords do not match - + + password-change-error + Error changing password: Supplied password rejected + + + + delete-profile-btn Delete Profile - + delete-confirm-label Type DELETE to confirm - + delete-profile-confirm-btn Really Delete Profile - + delete-confirm-text DELETE @@ -367,13 +397,13 @@ - + error-0-profiles-loaded-for-password 0 profiles loaded with that password - + unlock Unlock @@ -424,7 +454,7 @@ StackToolbar - + view-group-membership-tooltip View Group Membership diff --git a/i18n/translation_pt.ts b/i18n/translation_pt.ts index f7ab7e7..f12bea3 100644 --- a/i18n/translation_pt.ts +++ b/i18n/translation_pt.ts @@ -36,18 +36,18 @@ BulletinOverlay - + new-bulletin-label Novo Boletim - + post-new-bulletin-label Post a new Bulletin Post Postar novo boletim - + title-placeholder title place holder text título… @@ -276,83 +276,113 @@ ProfileAddEditPane - + add-profile-title - + edit-profile-title - + profile-name - Profile name + Display name - - + + default-profile-name default suggested profile name - + profile-onion-label - Profile Onion + Onion - + + radio-use-password + Password + + + + + radio-no-password + Unencrypted (No password) + + + + + no-password-warning + Not using a password on this account means that all data stored locally will not be encrypted + + + + + current-password-label + Current Password + + + + password1-label Password - + password2-label Reenter password - + create-profile-btn Create Profile || Save Profile - + save-profile-btn - + password-error-match Passwords do not match - + + password-change-error + Error changing password: Supplied password rejected + + + + delete-profile-btn Delete Profile - + delete-confirm-label Type DELETE to confirm - + delete-profile-confirm-btn Really Delete Profile - + delete-confirm-text DELETE @@ -367,13 +397,13 @@ - + error-0-profiles-loaded-for-password 0 profiles loaded with that password - + unlock Unlock @@ -424,7 +454,7 @@ StackToolbar - + view-group-membership-tooltip View Group Membership