[PR #1440] [MERGED] feat: add certificate translations #1631

Closed
opened 2026-02-26 19:34:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1440
Author: @dguyen
Created: 11/4/2024
Status: Merged
Merged: 11/5/2024
Merged by: @dguyen

Base: mainHead: feat/certificate-translations


📝 Commits (1)

  • 3f51029 feat: add certificate translations

📊 Changes

9 files changed (+188 additions, -158 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx (+2 -8)
📝 apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx (+1 -7)
📝 apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/data-table.tsx (+13 -8)
📝 apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/page.tsx (+36 -13)
📝 apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx (+52 -32)
📝 apps/web/src/components/document/document-history-sheet.tsx (+3 -3)
packages/lib/constants/document.ts (+18 -0)
📝 packages/lib/constants/recipient-roles.ts (+0 -10)
📝 packages/lib/utils/document-audit-logs.ts (+63 -77)

📄 Description

Description

Add translations for audit logs and certificates.

Summary by CodeRabbit

Release Notes

  • New Features

    • Enhanced internationalization support across multiple components, allowing for dynamic translation of user-facing text.
    • Introduced a new constant for document statuses to facilitate localized descriptions.
  • Bug Fixes

    • Streamlined the rendering of audit log actions for improved clarity and performance.
  • Documentation

    • Updated comments to emphasize the use of localization functions for translation.
  • Chores

    • Removed unused constants to simplify codebase and enhance maintainability.

🔄 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/1440 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 11/4/2024 **Status:** ✅ Merged **Merged:** 11/5/2024 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `feat/certificate-translations` --- ### 📝 Commits (1) - [`3f51029`](https://github.com/documenso/documenso/commit/3f51029ea7378441c19e915a81032d47704fd7eb) feat: add certificate translations ### 📊 Changes **9 files changed** (+188 additions, -158 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx` (+2 -8) 📝 `apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx` (+1 -7) 📝 `apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/data-table.tsx` (+13 -8) 📝 `apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/page.tsx` (+36 -13) 📝 `apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx` (+52 -32) 📝 `apps/web/src/components/document/document-history-sheet.tsx` (+3 -3) ➕ `packages/lib/constants/document.ts` (+18 -0) 📝 `packages/lib/constants/recipient-roles.ts` (+0 -10) 📝 `packages/lib/utils/document-audit-logs.ts` (+63 -77) </details> ### 📄 Description ## Description Add translations for audit logs and certificates. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Enhanced internationalization support across multiple components, allowing for dynamic translation of user-facing text. - Introduced a new constant for document statuses to facilitate localized descriptions. - **Bug Fixes** - Streamlined the rendering of audit log actions for improved clarity and performance. - **Documentation** - Updated comments to emphasize the use of localization functions for translation. - **Chores** - Removed unused constants to simplify codebase and enhance maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:34:05 +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#1631
No description provided.