Skip to content

Comments

fix: update NS information about ICD and ECD trains#688

Open
lenderom wants to merge 7 commits intomainfrom
fix/update-ns-icd-ecd
Open

fix: update NS information about ICD and ECD trains#688
lenderom wants to merge 7 commits intomainfrom
fix/update-ns-icd-ecd

Conversation

@lenderom
Copy link
Member

@lenderom lenderom commented Feb 9, 2026

Update the information for the NS ICD and ECD

@lenderom lenderom added content Improvements or additions to the content (countries, news, operators, general content) operator::ns labels Feb 9, 2026
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@lenderom lenderom marked this pull request as ready for review February 9, 2026 19:31
@netlify
Copy link

netlify bot commented Feb 9, 2026

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit b70a7aa
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/6997538d5947670008a1a9d5
😎 Deploy Preview https://deploy-preview-688--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lenderom
Copy link
Member Author

lenderom commented Feb 9, 2026

Comment on lines +6 to +13
If you get $ARGUMENTS:
The $ARGUMENTS are the pages which should be translated into the other languages.
If the page already exists, only translate the added or changed parts. If the translated page doesn't exist yet, create it.

If you don't get $ARGUMENTS:
Find out which changes need to be translated using the Git version control system.
For this do a diff of the branch against the main branch and also check for not yet commited local changes.
If the page already exists, only translate the added or changed parts. If the translated page doesn't exist yet, create it.
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't work as $ARGUMENTS is replaced by the argument.
So the prompt itself would be "If you get :" if no argument is provided.

We could create two commands (one for page translation, one for auto translation). Disadvantage: We have to maintain the rules in two different places.

The alternative would be to modify the prompt like this:

Suggested change
If you get $ARGUMENTS:
The $ARGUMENTS are the pages which should be translated into the other languages.
If the page already exists, only translate the added or changed parts. If the translated page doesn't exist yet, create it.
If you don't get $ARGUMENTS:
Find out which changes need to be translated using the Git version control system.
For this do a diff of the branch against the main branch and also check for not yet commited local changes.
If the page already exists, only translate the added or changed parts. If the translated page doesn't exist yet, create it.
The following line provides user-provided input. If no arguments are passed, the line will be `ARGUMENTS:`. If arguments are passed, you'll see them after `ARGUMENTS:`
ARGUMENTS: $ARGUMENTS
If ARGUMENTS are passed:
The ARGUMENTS are the pages which should be translated into the other languages.
If the page already exists, only translate the added or changed parts. If the translated page doesn't exist yet, create it.
If you don't get ARGUMENTS:
Find out which changes need to be translated using the Git version control system.
For this do a diff of the branch against the main branch and also check for not yet commited local changes.
If the page already exists, only translate the added or changed parts. If the translated page doesn't exist yet, create it.

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

Labels

content Improvements or additions to the content (countries, news, operators, general content) operator::ns

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants