[PR #1954] [MERGED] fix: add special context to strings #1956

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1954
Author: @mKoonrad
Created: 8/8/2025
Status: Merged
Merged: 8/11/2025
Merged by: @Mythie

Base: mainHead: context-to-strings


📝 Commits (3)

  • 2402602 Add special context to strings
  • 9fb1a41 Audit log format special messages
  • 03ceff9 Unify context to other log file strings

📊 Changes

3 files changed (+204 additions, -50 deletions)

View changed files

📝 packages/lib/constants/document.ts (+12 -3)
📝 packages/lib/constants/recipient-roles.ts (+100 -25)
📝 packages/lib/utils/document-audit-logs.ts (+92 -22)

📄 Description

Description

I added context for some strings. It allows to translate it in different way, specific to file context.

Fix for #1953

Changes Made

  • Added context to strings

Testing Performed

  • Generated .po file locally
  • Uploaded .po file to Crowdin service

Additional Notes


🔄 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/1954 **Author:** [@mKoonrad](https://github.com/mKoonrad) **Created:** 8/8/2025 **Status:** ✅ Merged **Merged:** 8/11/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `context-to-strings` --- ### 📝 Commits (3) - [`2402602`](https://github.com/documenso/documenso/commit/24026028fe8d4dec2e969adfdea561476608194a) Add special context to strings - [`9fb1a41`](https://github.com/documenso/documenso/commit/9fb1a41a80347e9d4e0a82b30a28d3de021cb040) Audit log format special messages - [`03ceff9`](https://github.com/documenso/documenso/commit/03ceff9ca702acb42be029959caeaaa15c2878f0) Unify context to other log file strings ### 📊 Changes **3 files changed** (+204 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/constants/document.ts` (+12 -3) 📝 `packages/lib/constants/recipient-roles.ts` (+100 -25) 📝 `packages/lib/utils/document-audit-logs.ts` (+92 -22) </details> ### 📄 Description ## Description I added context for some strings. It allows to translate it in different way, specific to file context. ## Related Issue Fix for #1953 ## Changes Made <!--- Provide a summary of the changes made in this pull request. --> <!--- Include any relevant technical details or architecture changes. --> - Added context to strings ## Testing Performed <!--- Describe the testing that you have performed to validate these changes. --> <!--- Include information about test cases, testing environments, and results. --> - Generated .po file locally - Uploaded .po file to Crowdin service ## Additional Notes <!--- Provide any additional context or notes for the reviewers. --> <!--- This might include details about design decisions, potential concerns, or anything else relevant. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:49 +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#1956
No description provided.