-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make client language gender-neutral and more clear #4667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvements 👍🏽 I suggested some changes you can review :)
165b658
to
ee1caac
Compare
e1e8a52
to
d244740
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nice! :) 🚀
d244740
to
2eb36d3
Compare
Codecov Report
@@ Coverage Diff @@
## master #4667 +/- ##
==========================================
- Coverage 56.44% 56.42% -0.02%
==========================================
Files 138 138
Lines 17071 17071
==========================================
- Hits 9635 9632 -3
- Misses 7436 7439 +3
|
@claucambra there is a conflict, I cannot rebase via github |
2eb36d3
to
d3a274a
Compare
I rebased manually now |
Signed-off-by: Claudio Cambra <[email protected]>
d3a274a
to
b7c2e16
Compare
AppImage file: Nextcloud-PR-4667-b7c2e16aa96c8e4fabc9549be941cc7a9bd3f911-x86_64.AppImage |
SonarCloud Quality Gate failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late review, found some stray "user" wording we shouldn’t use anymore. Let me know if some of that is wrongly reviewed @claucambra
@@ -125,7 +125,7 @@ class EchoDisabler | |||
QString queryPassword(const QString &user) | |||
{ | |||
EchoDisabler disabler; | |||
std::cout << "Password for user " << qPrintable(user) << ": "; | |||
std::cout << "Password for account with username " << qPrintable(user) << ": "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just "Password for account " is enough.
@@ -383,7 +383,7 @@ int main(int argc, char **argv) | |||
|
|||
if (options.interactive) { | |||
if (user.isEmpty()) { | |||
std::cout << "Please enter user name: "; | |||
std::cout << "Please enter username: "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is basically the same though. ;) We should not have the word "user" anywhere, thus "Please enter account name: " would be a proper fix.
@@ -34,7 +34,7 @@ AuthenticationDialog::AuthenticationDialog(const QString &realm, const QString & | |||
lay->addWidget(label); | |||
|
|||
auto *form = new QFormLayout; | |||
form->addRow(tr("&User:"), _user); | |||
form->addRow(tr("&Username:"), _user); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this is actual wording, but "Account" would be correct here too.
@@ -96,7 +96,7 @@ void HttpCredentialsGui::showDialog() | |||
{ | |||
QString msg = tr("Please enter %1 password:<br>" | |||
"<br>" | |||
"User: %2<br>" | |||
"Username: %2<br>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Account: " here too
@@ -90,7 +90,7 @@ | |||
</font> | |||
</property> | |||
<property name="text"> | |||
<string>User name</string> | |||
<string>Username</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Account name
@@ -1240,7 +1240,7 @@ bool ClientSideEncryption::newMnemonicGenerated() const | |||
void ClientSideEncryption::decryptPrivateKey(const AccountPtr &account, const QByteArray &key) { | |||
QString msg = tr("Please enter your end to end encryption passphrase:<br>" | |||
"<br>" | |||
"User: %2<br>" | |||
"Username: %2<br>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Account name
@jancborchardt I think a lot of these comments miss the fact that we use "account" in several places of the client to mean [email protected] , and replacing "username" with "account" risks creating confusion -- perfect example is your suggested change here Not sure how to proceed, thoughts? |
Closes #4644