[PR #2455] [MERGED] fix(i18n): rewrite audit log messages to support correct grammar #2317

Closed
opened 2026-02-26 20:33:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2455
Author: @mKoonrad
Created: 2/6/2026
Status: Merged
Merged: 2/9/2026
Merged by: @dguyen

Base: mainHead: document-audit-logs


📝 Commits (2)

  • c01fcd8 fix(i18n): rewrite audit log messages to support correct grammar
  • 84e09ea fix: minor refactor

📊 Changes

1 file changed (+148 additions, -96 deletions)

View changed files

📝 packages/lib/utils/document-audit-logs.ts (+148 -96)

📄 Description

Description

I split log messages into 3 groups: you, user, and anonymous. I removed string concatenation (like "You" / user + action) because it wasn't grammatically correct for many languages.

Fixes #2071

Changes Made

  • Rewrite audit log messages

Testing Performed

  • Run build
  • Review web.po file in own Crowdin repo

Checklist

  • I have tested these changes locally and they work as expected.
  • I have added/updated tests that prove the effectiveness of these changes.
  • I have updated the documentation to reflect these changes, if applicable.
  • I have followed the project's coding style guidelines.
  • I have addressed the code review feedback from the previous submission, if applicable.

🔄 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/documenso/documenso/pull/2455 **Author:** [@mKoonrad](https://github.com/mKoonrad) **Created:** 2/6/2026 **Status:** ✅ Merged **Merged:** 2/9/2026 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `document-audit-logs` --- ### 📝 Commits (2) - [`c01fcd8`](https://github.com/documenso/documenso/commit/c01fcd8df8aff16d2406baebd21f7d9a62ff69b0) fix(i18n): rewrite audit log messages to support correct grammar - [`84e09ea`](https://github.com/documenso/documenso/commit/84e09ea1521ff9c518670c90705004ca4facc59d) fix: minor refactor ### 📊 Changes **1 file changed** (+148 additions, -96 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/utils/document-audit-logs.ts` (+148 -96) </details> ### 📄 Description ## Description I split log messages into 3 groups: you, user, and anonymous. I removed string concatenation (like "You" / user + action) because it wasn't grammatically correct for many languages. ## Related Issue Fixes #2071 ## Changes Made - Rewrite audit log messages ## Testing Performed - Run build - Review web.po file in own Crowdin repo ## Checklist - [x] I have tested these changes locally and they work as expected. - [ ] I have added/updated tests that prove the effectiveness of these changes. - [ ] I have updated the documentation to reflect these changes, if applicable. - [x] I have followed the project's coding style guidelines. - [ ] I have addressed the code review feedback from the previous submission, if applicable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:33:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/documenso#2317
No description provided.