-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
"Share with" wording fix in new share panel #41155
Conversation
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
@@ -292,7 +292,7 @@ export default { | |||
|
|||
computed: { | |||
title() { | |||
let title = t('files_sharing', 'Share with ') | |||
let title = t('files_sharing', 'Shared with') + ' '; |
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.
Would it not make more sense to have full separate strings for every option?
I can imagine there are lanuages that do not work lik "share with" + " " + "option".
E.g. Japanese does not work like that, so it will be pretty hard to translate.
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.
It makes sense. Let's wait for other reviewers' opinion.
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.
cc @rakekniven
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.
@susnux See my comment below. A screenshot would help a lot.
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.
Shared would not be true for new shares. It should be Share
when user has not saved share and Shared
otherwise
@@ -292,7 +292,7 @@ export default { | |||
|
|||
computed: { | |||
title() { | |||
let title = t('files_sharing', 'Share with ') | |||
let title = t('files_sharing', 'Shared with') + ' '; |
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.
Fine with taking out the space.
As for the word Shared
it would have to be dynamic, because that would not be true for new shares.
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.
You are right but in this case, I won't have the required skills to do such changes ; my skills scope is CSS design and wordings calls change.
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.
@fenn-cs could you adjust it so it works in both cases? :)
Can someone please add a screenshot here? |
|
Both in that heading and in the button, the word "share" is a noun, so it’s correct to have it called "share" and not "shared". :) |
@jancborchardt So what is the conclusion? So I can implement it. |
…ce order of language Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Sorry to tackle your PR but I pushed a commit to show what I mean, because this will allow to translate the sentence independent of sentence order of the language. Feels free to drop that commit if not happy with it :) |
If I understand well, this PR hasn't been merged into Nextcloud 29 ; what was the problem ? |
@jancborchardt it's fixed in NC 29 (maybe since 28 and maybe in NC 30 I hope = no regression) so I close my PR which is useless now. |
@Jerome-Herbinet yep, sorry that it didn’t come with your pull request, but let’s be happy it was fixed either way. :) |
Summary
Note : I require a syntax checking concerning the moved space character.
Checklist