Skip to content

legal: localize last updated dates (#170)#171

Open
ZoroLV wants to merge 1 commit into
ScoreSaber:mainfrom
ZoroLV:legal-localized-last-updated
Open

legal: localize last updated dates (#170)#171
ZoroLV wants to merge 1 commit into
ScoreSaber:mainfrom
ZoroLV:legal-localized-last-updated

Conversation

@ZoroLV

@ZoroLV ZoroLV commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #170

changes

  • replaces hardcoded legal page dates with a localized {date} placeholder
  • formats the last updated date using the active locale
  • reuses the same last updated component across the legal pages

@Umbranoxio Umbranoxio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think Polish still has the hardcoded legal dates on current main

Could we update the three messages/pl-PL.json lastUpdated strings to use {date} too?

"lastUpdated": "Ostatnia aktualizacja: {date}"

@ZoroLV

ZoroLV commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

ah yeah, i think that got commited like an hour ago

@ZoroLV ZoroLV force-pushed the legal-localized-last-updated branch from 31c6c5e to 749e82c Compare June 7, 2026 17:35
@ZoroLV ZoroLV force-pushed the legal-localized-last-updated branch from 749e82c to a3536c9 Compare June 7, 2026 17:39
@ZoroLV ZoroLV requested a review from Umbranoxio June 7, 2026 17:47
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.

Fix hardcoded dates on localization labels

2 participants