Skip to content

Impove Intl formatting#5372

Open
Jerozgen wants to merge 3 commits intomodrinth:mainfrom
Jerozgen:intl-formatting
Open

Impove Intl formatting#5372
Jerozgen wants to merge 3 commits intomodrinth:mainfrom
Jerozgen:intl-formatting

Conversation

@Jerozgen
Copy link
Contributor

@Jerozgen Jerozgen commented Feb 14, 2026

  • Migrated time and number formatters to Intl (format-date-time.ts, format-money.ts and format-number.ts in the @modrinth/ui)
    • All formatters use current Modrinth locale
    • Added caching for same locale/options
  • Moved the one {...} option from the {count, plural, =0 {No projects yet} one {<stat>{count}</stat> project} other {<stat>{count}</stat> {type}}} to the code
  • Fixed project-card.date.published|updated.tooltip were not exported to Crowdin

# Conflicts:
#	apps/frontend/src/components/ui/dashboard/RevenueInputField.vue
#	apps/frontend/src/pages/[type]/[id]/gallery.vue
#	apps/frontend/src/pages/[type]/[id]/settings/gallery.vue
#	apps/frontend/src/pages/[type]/[id]/version/[version].vue
#	apps/frontend/src/pages/collection/[id].vue
#	apps/frontend/src/pages/dashboard/collections.vue
#	apps/frontend/src/pages/legal/cmp-info.vue
#	apps/frontend/src/pages/settings/applications.vue
#	apps/frontend/src/pages/settings/pats.vue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant