Skip to content

Remove all []() placeholders#1501

Merged
Naramsim merged 11 commits intoPokeAPI:masterfrom
Dropries:complete-proses
Apr 25, 2026
Merged

Remove all []() placeholders#1501
Naramsim merged 11 commits intoPokeAPI:masterfrom
Dropries:complete-proses

Conversation

@Dropries
Copy link
Copy Markdown
Contributor

Change description

This is a large stylistic PR that aims to ensure that the API return proses in a single language. When a prose contains []{a:b}, this pattern is replaced by b, which exists only in English, resulting in sentences mixing foreign languages and a single English word b.

In each data/v2/csv/~_prose.csv file, I replaced all empty square brackets of the form []{a:b} by [c]{a:b} where c is obtained from the data/v2/csv/a_names.csv file based on the local_language_id of the prose.

A few German []{mechanic:b} are still empty because there is no file containing the translation of mechanics and I don't really know German...

AI coding assistance disclosure

None

Contributor check list

  • I have written a description of the contribution and explained its motivation.
  • I have written tests for my code changes (if applicable).
  • I have read and understood the AI Assisted Contribution guidelines.
  • I will own this change in production, and I am prepared to fix any bugs caused by my code change.

@Naramsim
Copy link
Copy Markdown
Member

hi @Dropries thanks for the PR. If you are willing to help again I'd like to remove all these [](). They were a part of Veekuns data and probably they used that placeholder to link resources internally in their website.

We currently don't have any docs documenting it. It occurs only in some places, so I'd say it's time to remove it. It would be nice to re-do the work you've done by completely removing the placeholder and add only the right language wording.

Then we could also remove the current logic that is now replacing the placeholder. Can you work on this?

@Dropries Dropries changed the title Complete empty square brackets of proses Remove all []() placeholders Apr 24, 2026
keep slug name for czech translations not referenced on bulbapedia
also remove the '$' and '%' characters around 'effect_chance' in
'move_effect_prose.csv'
@Dropries
Copy link
Copy Markdown
Contributor Author

Done, there aren't any []{} left !

Comment thread data/v2/csv/translations/cs.csv
Dropries and others added 4 commits April 25, 2026 17:07
…eAPI#1502)

* fix item pocket names

* feat: add French male form name of frillish, jellicent and pyroar

* fix: remove duplicated translations of Supersweet Syrup
@Naramsim Naramsim merged commit 566ce72 into PokeAPI:master Apr 25, 2026
9 checks passed
@Naramsim
Copy link
Copy Markdown
Member

Thank you!

@pokeapi-machine-user
Copy link
Copy Markdown

A PokeAPI/api-data refresh has started. In ~45 minutes the staging branch of PokeAPI/api-data will be pushed with the new generated data.

The staging branch will be deployed in our staging environment and the entire API will be ready to review.

A Pull Request (master<-staging) will be also created at PokeAPI/api-data and assigned to the PokeAPI Core team to be reviewed. If approved and merged new data will soon be available worldwide at pokeapi.co.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants