-
Notifications
You must be signed in to change notification settings - Fork 16
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
Change Links to Link(s) to match the rest of the messages #360
Change Links to Link(s) to match the rest of the messages #360
Conversation
Working on updating the dist file |
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.
Please remove all of the changes to localised files for languages other than English - those are managed in transifex. Feel free to update the references in transifex if you like, they'll get pulled down whenever our next localisation run is (I think those are every 3 months if I'm remembering correctly)
Actually, looking at this - we should probably have two separate messages. The javascript component knows whether this is a multi-link field or a single link field, so we should always use the existing "links" message for a multi link field and use a new "link" message for single link fields. |
52b1630
to
6492fa3
Compare
Linkfield isn't in https://explore.transifex.com/silverstripe/ ? |
Weird. It's definitely in the app: https://app.transifex.com/silverstripe/silverstripe-linkfield/dashboard/ |
Cool, can see that, is there anything specific to do with the new option added? |
Nah, that'll get collected and added to transifex when we do our next localisation round. |
074f503
to
9b8e40c
Compare
Think this is ready. Unsure about a few things...
|
You've reverted #360 (comment) and #360 (comment) in your commit squashing efforts, though. |
Dang! Onwards! |
9b8e40c
to
8566b8f
Compare
Hmm, workflow awaiting approval? https://github.com/silverstripe/silverstripe-linkfield/actions/runs/12624941936 This because it's a fork PR and something isn't connected quite right? |
Now its running idk 🤷 |
Oh yeah, I forgot the new merge experience doesn't actually tell me when I need to approve CI runs, nor gives me the option to do so. Had to swap back to the old one. 😓 |
Hmm, only 1 version is failing on the CI. Could it be a isolated thing? |
Looks like CI doesn't like your dist build. Did you remember to rebuild it after updating #360 (comment) and #360 (comment)?
There is only one version of the JS CI job |
Will re-rebuild 🤷
I mean only mysql57 failed 🤔 |
8566b8f
to
05a0082
Compare
Right, but it's We don't use the database for JS tests/linting, so there's no need to create another JS run with a different database, unlike unit and end-to-end tests. |
Woohoo that passed. Can we merge and maybe a cheeky release @GuySartorelli ? 🎉 |
Once I have tested it and approved it, I will merge it. |
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.
LGTM, works well locally.
I don't understand why that client got confused, given "Cannot add links" includes the single link that field would support... but now there will be less cause for confusion.
Maybe confused is not the right word. Single links were saying |
Description
Tweaked messaging to handle the situation when context is both Plural and Singular.
Much like how it already is here.
i.e.
Manual testing steps
Update text should show when loading an item that has a relation to 1/many linkfields that isn't saved and you wish to add a link to it.
Issues
Pull request checklist