Skip to content

Impove Intl formatting#5372

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

Impove Intl formatting#5372
Jerozgen wants to merge 10 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
@IMB11 IMB11 added the 📂 Under review [Triage] Is being reviewed by Modrinth Staff for future roadmap consideration. label Feb 18, 2026
# Conflicts:
#	apps/frontend/src/pages/[type]/[id].vue
# Conflicts:
#	apps/app-frontend/src/components/ui/modal/UpdateToPlayModal.vue
#	apps/app-frontend/src/components/ui/world/WorldItem.vue
#	apps/app-frontend/src/pages/project/Gallery.vue
#	packages/ui/package.json
#	packages/ui/src/components/project/ProjectHeader.vue
#	packages/ui/src/composables/how-ago.ts
# Conflicts:
#	packages/ui/src/components/project/server/ServerOnlinePlayers.vue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📂 Under review [Triage] Is being reviewed by Modrinth Staff for future roadmap consideration.

Development

Successfully merging this pull request may close these issues.

2 participants