Skip to content
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

feat: i18n for duplicated field names #6769

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ahad-patel
Copy link
Contributor

@Ahad-patel Ahad-patel commented Nov 12, 2024

closes: #4153

Feature Preview

We can pass the copy from suffix param, this will not require to add i18n string for copy in from the rust side. I have added a new key, as per the convention used. Should I use an existing key? as there will be no translations for this. @richardshiue


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

Copy link

🥷 Ninja i18n – 🛎️ Translations need to be updated

Project /project.inlang

lint rule new reports level link
Missing translation 27 warning contribute (via Fink 🐦)

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.09%. Comparing base (7ecf213) to head (b021c55).
Report is 235 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6769      +/-   ##
==========================================
- Coverage   74.41%   65.09%   -9.32%     
==========================================
  Files         245      273      +28     
  Lines        6566    10572    +4006     
  Branches     1057     1413     +356     
==========================================
+ Hits         4886     6882    +1996     
- Misses       1628     3517    +1889     
- Partials       52      173     +121     
Flag Coverage Δ
appflowy_web_app 65.09% <ø> (-9.32%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@richardshiue richardshiue left a comment

Choose a reason for hiding this comment

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

Can you add a test for this change?

@@ -253,7 +253,8 @@
"moreButtonToolTip": "Remove, rename, and more...",
"addPageTooltip": "Quickly add a page inside",
"defaultNewPageName": "Untitled",
"renameDialog": "Rename"
"renameDialog": "Rename",
"copy": "Copy"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please give a more descriptive name to this translation token. Simply "copy" is misleading

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.

[FR] i18n for duplicated field names
2 participants