[PR #791] [MERGED] Feature/i18n pluralization #4412

Closed
opened 2026-04-16 13:02:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/791
Author: @kolaente
Created: 5/16/2025
Status: Merged
Merged: 5/16/2025
Merged by: @kolaente

Base: mainHead: feature/i18n-pluralization


📝 Commits (3)

  • 3d9b530 feat(i18n): add pluralization function for translation strings
  • 03cc6c8 feat(i18n): add params replacement to translation functions
  • a7836b3 feat(i18n): use plural translations in humanize duration

📊 Changes

3 files changed (+106 additions, -37 deletions)

View changed files

📝 pkg/i18n/i18n.go (+90 -12)
📝 pkg/i18n/lang/en.json (+5 -10)
📝 pkg/utils/humanize_duration.go (+11 -15)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/791 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 5/16/2025 **Status:** ✅ Merged **Merged:** 5/16/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `feature/i18n-pluralization` --- ### 📝 Commits (3) - [`3d9b530`](https://github.com/go-vikunja/vikunja/commit/3d9b530d2736ee0ffc09a4b777b9aaf4df65954b) feat(i18n): add pluralization function for translation strings - [`03cc6c8`](https://github.com/go-vikunja/vikunja/commit/03cc6c8de5d44c712292482391c6e3c701b4e0ee) feat(i18n): add params replacement to translation functions - [`a7836b3`](https://github.com/go-vikunja/vikunja/commit/a7836b3f197029b30f6778e931f674375113c730) feat(i18n): use plural translations in humanize duration ### 📊 Changes **3 files changed** (+106 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `pkg/i18n/i18n.go` (+90 -12) 📝 `pkg/i18n/lang/en.json` (+5 -10) 📝 `pkg/utils/humanize_duration.go` (+11 -15) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 13:02:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#4412