Skip to content

Conversation

@per1234
Copy link
Collaborator

@per1234 per1234 commented Jan 18, 2025

The "Moved to Nederlands category" post template contains a placeholder which the template user should replace with a username mention at the time of posting.

The template user might forget to make this replacement. The placeholder is in the form of an HTML comment tag, so will simply not be rendered in the published post if this occurs. With the previous placement of the placeholder at the start of a sentence, the published post would have an obviously incorrect form. By moving the placeholder to the end of the sentence, this eventually is mitigated down to only a single excess space in the published post.

The new sentence form is grammatically valid and approximately equivalent to the previous form.


Translation contributed by @sterretjeToo (thanks!)

In addition to crediting the contributor, this could be useful in a case where it is necessary to make adjustments to
the template content, or for review of a proposed change.
The "Moved to Nederlands category" post template contains a placeholder which the template user should replace with a username mention at the time of posting.

The template user might forget to make this replacement. The placeholder is in the form of an HTML comment tag, so will simply not be rendered in the published post if this occurs. With the previous placement of the placeholder at the start of a sentence, the published post would have an obviously incorrect form. By moving the placeholder to the end of the sentence, this eventually is mitigated down to only a single excess space in the published post.

The new sentence form is grammatically valid and approximately equivalent to the previous form.
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jan 18, 2025
@per1234 per1234 self-assigned this Jan 18, 2025
@per1234 per1234 changed the title Document translation contributor in asset metadata Adjust placeholder location to gracefully handle non-replacement Jan 18, 2025
@per1234 per1234 merged commit 7d9e5f2 into arduino:main Jan 18, 2025
13 checks passed
@per1234 per1234 deleted the moved-nederlands-placeholder-location branch January 18, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant