Skip to content

refactor: remove form-name from form title#1881

Merged
prafull-opensignlabs merged 1 commit intostagingfrom
updates-16679049560
Aug 1, 2025
Merged

refactor: remove form-name from form title#1881
prafull-opensignlabs merged 1 commit intostagingfrom
updates-16679049560

Conversation

@nxglabs
Copy link
Collaborator

@nxglabs nxglabs commented Aug 1, 2025

refactor: remove form-name from form title

refactor: remove form-name from form title
Copilot AI review requested due to automatic review settings August 1, 2025 15:33
@vercel
Copy link

vercel bot commented Aug 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-sign ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 3:33pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors internationalization (i18n) translation keys by removing the "form-name" namespace prefix from form titles and adds a question mark to the "forgot password" link.

  • Simplified translation keys by removing "form-name." prefix from form titles
  • Updated "forgot-password" link to include a question mark
  • Made translation key structure more consistent across the application

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
apps/OpenSign/src/pages/Opensigndrive.jsx Removed "form-name." prefix from "Sign Yourself" and "Request Signatures" translation keys in dropdown menus
apps/OpenSign/src/pages/Login.jsx Added question mark to "forgot-password" translation key
apps/OpenSign/src/pages/Form.jsx Removed "form-name." prefix from form title translation key in the main form component

className="text-[13px] op-link op-link-primary underline-offset-1 focus:outline-none ml-1"
>
{t("forgot-password")}
{t("forgot-password")}?
Copy link

Copilot AI Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding punctuation outside the translation function is not ideal for internationalization. The question mark should be included within the translation key to allow proper localization for different languages that may have different punctuation conventions.

Suggested change
{t("forgot-password")}?
{t("forgot-password?")}

Copilot uses AI. Check for mistakes.
@prafull-opensignlabs prafull-opensignlabs changed the title Merge pull request #1085 from nxglabs/signers_completed_main refactor: remove form-name from form title Aug 1, 2025
@prafull-opensignlabs prafull-opensignlabs merged commit 04f6e38 into staging Aug 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants