Skip to content
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

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

claucambra
Copy link
Collaborator

Closes #4644

Copy link
Member

@nimishavijay nimishavijay left a 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 :)

src/gui/creds/webflowcredentials.cpp Show resolved Hide resolved
src/libsync/syncresult.cpp Outdated Show resolved Hide resolved
src/gui/folderman.cpp Outdated Show resolved Hide resolved
src/libsync/syncresult.cpp Outdated Show resolved Hide resolved
src/gui/userstatusselectormodel.cpp Outdated Show resolved Hide resolved
src/gui/creds/oauth.cpp Outdated Show resolved Hide resolved
src/gui/creds/oauth.cpp Outdated Show resolved Hide resolved
@claucambra claucambra force-pushed the bugfix/gender-neutral-wording branch 2 times, most recently from 165b658 to ee1caac Compare June 24, 2022 09:46
@claucambra claucambra force-pushed the bugfix/gender-neutral-wording branch from e1e8a52 to d244740 Compare June 24, 2022 10:20
Copy link
Member

@nimishavijay nimishavijay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice! :) 🚀

@claucambra claucambra force-pushed the bugfix/gender-neutral-wording branch from d244740 to 2eb36d3 Compare June 24, 2022 10:34
@codecov
Copy link

codecov bot commented Jun 24, 2022

Codecov Report

Merging #4667 (5337d4b) into master (d23305f) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 5337d4b differs from pull request most recent head b7c2e16. Consider uploading reports for the commit b7c2e16 to get more accurate results

@@            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     
Impacted Files Coverage Δ
src/libsync/discovery.cpp 84.56% <0.00%> (-0.30%) ⬇️

@mgallien
Copy link
Collaborator

@claucambra there is a conflict, I cannot rebase via github

@claucambra claucambra force-pushed the bugfix/gender-neutral-wording branch from 2eb36d3 to d3a274a Compare June 24, 2022 12:08
@claucambra
Copy link
Collaborator Author

@claucambra there is a conflict, I cannot rebase via github

I rebased manually now

@claucambra claucambra force-pushed the bugfix/gender-neutral-wording branch from d3a274a to b7c2e16 Compare June 24, 2022 12:36
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4667-b7c2e16aa96c8e4fabc9549be941cc7a9bd3f911-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

23.8% 23.8% Coverage
0.0% 0.0% Duplication

@mgallien mgallien merged commit 1f6eed6 into master Jun 24, 2022
@mgallien mgallien deleted the bugfix/gender-neutral-wording branch June 24, 2022 13:23
@mgallien mgallien added this to the 3.6.0 milestone Jun 24, 2022
Copy link
Member

@jancborchardt jancborchardt left a 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) << ": ";
Copy link
Member

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: ";
Copy link
Member

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);
Copy link
Member

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>"
Copy link
Member

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>
Copy link
Member

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>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Account name

@claucambra
Copy link
Collaborator Author

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gender-neutral language
5 participants