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

Language: Shouting at user (!) removed #474

Merged
merged 1 commit into from
Jun 4, 2017
Merged

Conversation

comradekingu
Copy link
Contributor

No description provided.

@mention-bot
Copy link

@comradekingu, thanks for your PR! By analyzing the history of the files in this pull request, we identified @georgehrke, @raghunayyar and @tcitworld to be potential reviewers.

@georgehrke
Copy link
Member

It shows an error and we can't proceed when the user doesn't select a calendar. I don't see why an exclamation mark is wrong here.

cc @jancborchardt

@georgehrke
Copy link
Member

exclamation mark is frankly is not shouting.
»SELECT A GODDAMN CALENDAR ALREADY!!11« would be

@georgehrke georgehrke requested a review from jancborchardt May 25, 2017 18:19
@georgehrke georgehrke added the 3. to review Waiting for reviews label May 25, 2017
@tcitworld
Copy link
Member

More seriously though, let's ask @jancborchardt or someone else to write something on phrasing in Nextcloud so we can refer to it.

@comradekingu
Copy link
Contributor Author

@georgehrke While I agree, that is not English.
Can you device a method of shouting that states the calender should be selected, without swearing, omitting the use of an exclamation mark?

Since this is difficult, or requires additional wording, doing away with the "!" in favour of "." is an easy fix that can not at the very least be mistaken for anything else.

@jancborchardt
Copy link
Member

The removal of the exclamation mark is good. :) Much more friendly. Not sure about changing »select« to »pick« though, because we use »select« everywhere else I think.

@comradekingu
Copy link
Contributor Author

@jancborchardt I imagined it to be a pick-and-done type of thing, rather than a select-between-many-and-do-something-else ordeal.

@jancborchardt
Copy link
Member

@comradekingu ok, sounds good. Can you fix the two other occurences @georgehrke listed?

@georgehrke
Copy link
Member

@comradekingu Can you please squash the commits?

error = true;
}
if (!$scope.properties.checkDtStartBeforeDtEnd()) {
OC.Notification.showTemporary(t('calendar', 'The event ends before it starts!'));
OC.Notification.showTemporary(t('calendar', 'The event can not end before it starts.'));
Copy link
Member

Choose a reason for hiding this comment

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

What about may not end?

@jancborchardt

Copy link
Contributor Author

@comradekingu comradekingu Jun 4, 2017

Choose a reason for hiding this comment

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

I think it is a, while polite, way that makes it harder for people whom are not English to understand it.
Entertain the idea that "may not" could mean it is not 100% clear cut that the event ends before it starts. The event may not, … As in maybe. And yes, into context you could derive that this is not the intention, but it makes it possible to get into that sort of thinking.
Word for word, you are better off 3 and 4 words in with "can not".

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, "can not" seems better.

Even better would be though if the dates would always be adjusted automatically. When you adjust the start date beyond the end date, move the end date accordingly. And vice versa, when you modify the end date to be before the start date, adjist the start date. This message should never ever need to be shown. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If it just lights up in red whenever it is not a valid span, it would be more intuitive.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, "can not" seems better.

Hm. ok. I still think @comradekingu underestimates our translators ;)

When you adjust the start date beyond the end date, move the end date accordingly.

The end date is currently always adjusted when changing the start date :)

So about changing the end date?
What if a user changes the end to something before start?

  1. change the start time to the end time?
    or
  2. change the start time to the end time minus one hour?

Copy link
Member

Choose a reason for hiding this comment

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

Yep, change the start time to end time minus one hour. Or for a full-day event of course make it a one-day event.

Copy link
Member

Choose a reason for hiding this comment

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

Okay :)

Will create an issue for it

Copy link
Member

Choose a reason for hiding this comment

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

error = true;
}
if ($scope.calendar === null || typeof $scope.calendar === 'undefined') {
OC.Notification.showTemporary(t('calendar', 'Please select a calendar!'));
OC.Notification.showTemporary(t('calendar', 'Please pick a calendar.'));
Copy link
Member

Choose a reason for hiding this comment

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

Please revert this to select

Update editorcontroller.js

Consistent use of inside-voice to talk to user.
Impossible event line changed to make it not sound anecdotal without the exclamation.

Select instead of pick

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
@georgehrke georgehrke force-pushed the comradekingu-patch-3 branch from 32c6120 to 6659214 Compare June 4, 2017 20:15
@georgehrke
Copy link
Member

Let's merge after the tests passed

@georgehrke georgehrke merged commit 3c8867e into master Jun 4, 2017
@georgehrke georgehrke deleted the comradekingu-patch-3 branch June 4, 2017 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants