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

Swedish translation for the "Rule" keyword #1297

Merged
merged 4 commits into from Jan 10, 2021

Conversation

johnknoop
Copy link
Member

@johnknoop johnknoop commented Jan 7, 2021

Summary

Just translated a keyword.

Motivation and Context

The word wasn't translated before.

How Has This Been Tested?

It hasn't.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).

@luke-hill
Copy link
Contributor

See https://github.com/cucumber/cucumber/blob/master/gherkin/CHANGELOG.md#changed-5 for examples of how others have done it.

Fixed Estonian translation of "Rule" (#973 [ookull])
Fixed Estonian translation of "Scenario Outline" (#972 [ookull])

@johnknoop
Copy link
Member Author

@luke-hill thanks. Looks like no changes to the changelog is needed then.

Any idea what might be wrong with the CI build?

@aslakhellesoy
Copy link
Contributor

Takk @johnknoop - the build error describes what to do:

Working copy is dirty. Please run 'source scripts/functions.sh && rsync_files' and commit modified files.

Cheers,
Aslak

@johnknoop
Copy link
Member Author

Thanks for that @aslakhellesoy

I'm not sure I understand exactly how to run that script though. Is there some tooling I need to install first?

image

image

This is the first time I've cloned this repo, and I haven't done anything besides fixing the translation.

@mpkorstanje
Copy link
Contributor

mpkorstanje commented Jan 7, 2021

I don't think anybody in the core team uses wsl.

You may want to use the docker image to do this instead. I don't think anybody in the core team uses wsl. You can start it using make docker-run or copy/paste the commands from the Makefile.

@johnknoop
Copy link
Member Author

Hi

I'm sorry, I can't seem to get that docker run command to execute successfully. I'm running git-bash on Windows. Here's the output:

image

I don't have a WSL distro installed unfortunately, so I can't run it on Linux.

What is ${HOME}/.m2/repository referring to anyway? Something in my local user folder that I'm supposed to have?

@mpkorstanje
Copy link
Contributor

Ah. I don't know git bash.

The .m2 directory would be your maven cache. But since you're not building maven you can omit the entire option. For $(shell pwd) you should replace that with your working directory.

@johnknoop
Copy link
Member Author

@mpkorstanje Ah, got it. That seemed to propagate my change to a lot of other JSON files (see last commit).

I'm not 100% sure it ran correctly though, because the script output looked like this:

image

@mpkorstanje
Copy link
Contributor

It's not ideal but to be expected. Because you're on windows you're mounting an NTFS file system in the container. NTFS does not support file attributes so they can't be set.

@johnknoop
Copy link
Member Author

Well, please feel free to merge it anytime you like.

@mpkorstanje mpkorstanje merged commit bb6f1e3 into cucumber:master Jan 10, 2021
@aslakhellesoy
Copy link
Contributor

Hi @johnknoop,

Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾

In return for this generous offer we hope you will:

  • ✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
  • 💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
  • 💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
  • ℹ️ Don't feel obliged to help, just do what you can if you have the time and the energy.
  • 🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

@mpkorstanje
Copy link
Contributor

Not sure when I can roll out a release yet.

@johnknoop
Copy link
Member Author

Hi @aslakhellesoy and thanks for that!

I probably won't be creating a lot of pull requests since I don't actually use Cucumber directly, but rather a bunch of derived tools like jest-cucumber, SpecFlow and cypress-cucumber-preprocessor, and my hope is that this little translation I added will eventually trickle down to them.

But I might contribute anyway in some shape or form since the topic of specification by example is dear to me.

@mpkorstanje
Copy link
Contributor

@aslakhellesoy I think this counts as a bug fix. WDYT?

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

Successfully merging this pull request may close these issues.

None yet

4 participants