FOSSgaming/pages-data
1
10
Fork
You've already forked pages-data
12

Button text stylization #8

Closed
opened 2025年02月27日 11:49:40 +01:00 by Modanung · 2 comments
Contributor
Copy link

It seems button text currently has it enforced to (only) have the first letter capitalized. In some cases, however, this does not match a brand's stylization. For instance:

  • Irc -> IRC
  • Youtube -> YouTube
  • Itch-io -> itch.io
It seems button text currently has it enforced to (only) have the first letter capitalized. In some cases, however, this does not match a brand's stylization. For instance: - Irc -> IRC - Youtube -> YouTube - Itch-io -> itch.io

Yeah, I wasn't too happy about this either, but those are basically just the keys as taken from the yml files. To resolve this, I'd have to set up some sort of lookup table with hardcoded platform names, which I was trying to prevent for now.

Yeah, I wasn't too happy about this either, but those are basically just the keys as taken from the yml files. To resolve this, I'd have to set up some sort of lookup table with hardcoded platform names, which I was trying to prevent for now.
Author
Contributor
Copy link

As a golden mean, you could have a lookup table of just the exceptions, instead of (what I assume you were considering) for all keys. Leaving current behaviour as default/fallback would save that table from becoming exhaustingly exhaustive and a pain to synchronize.

As a golden mean, you could have a lookup table of just the exceptions, instead of (what I assume you were considering) for all keys. Leaving current behaviour as default/fallback would save that table from becoming exhaustingly exhaustive and a pain to synchronize.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
bug
Something is not working
community
Issues related to community management
contribution welcome
Contributions are very welcome, get started here
duplicate
This issue or pull request already exists
engine
Issues related to engine projects
enhancement
New feature
game
Issues related to game projects
good first issue
Interested in contributing? Get started here.
help wanted
Need some help
invalid
Something is wrong
missing-projects
Use this label to request missing games and engines in the database
performance
Issues related to site performance and speed
question
More information is needed
responsiveness
Issues related to responsiveness
script
Issues related to scripts
styling
Issues related to CSS styling
templates
Issues related to Nunjucks templates
tool
Issues related to tool projects
upstream
Related to an upstream repository, already reported there
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FOSSgaming/pages-data#8
Reference in a new issue
FOSSgaming/pages-data
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?