Skip to content

fix: site title spelling and precedence #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 10, 2025
Merged

fix: site title spelling and precedence #272

merged 2 commits into from
Apr 10, 2025

Conversation

heydoyouknowme0
Copy link
Contributor

No description provided.

@heydoyouknowme0 heydoyouknowme0 requested a review from Copilot April 3, 2025 07:23
Copy link

@Copilot 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 pull request addresses the site title spelling issues and adjusts the precedence of title translations for improved clarity across locales.

  • Updated the Translations interface to include a "title" field with "big" and "small" keys.
  • Added locale-specific translations in both hi.ts and en.ts.
  • Updated the home page to reference the new translation keys.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
i18n/translations.ts Added a new "title" property with "big" and "small" keys
i18n/hi.ts Introduced Hindi and Latin title translations with updated spelling
i18n/en.ts Introduced English title translations with updated precedence
app/[locale]/page.tsx Modified the home page to display titles using the new translation keys
Comments suppressed due to low confidence (1)

i18n/translations.ts:14

  • [nitpick] The property names 'big' and 'small' might be ambiguous regarding their intended usage. Consider renaming them to 'primaryTitle' and 'secondaryTitle' to enhance clarity.
title: {

@geekysilento geekysilento merged commit 4d51976 into master Apr 10, 2025
1 check was pending
@geekysilento geekysilento deleted the fix/title branch April 10, 2025 13:52
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.

2 participants