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

Add Missing Translations for GrapeJS #13207

Merged
merged 2 commits into from Jan 15, 2024

Conversation

code5rick
Copy link
Contributor

Q A
Bug fix? (use the a.b branch) [Yes]
New feature/enhancement? (use the a.x branch) [No]
Deprecations? [No]
BC breaks? (use the c.x branch) [No]
Automated tests included? [No]
Related user documentation PR URL mautic/mautic-documentation#...
Related developer documentation PR URL mautic/developer-documentation#...
Issue(s) addressed Fixes #13098

Description:

The new Mautic 5 comes with some minor changes to the GrapeJS builder, and some labels have been added. This PR addresses the issue #13098 and also resolves the absence of labels for the columns.

image

Note:

I have added the missing labels for the preview icon and the modal alert. However, I would recommend that someone review my PR to ensure that these two cases are handled correctly.

image

image

Copy link
Sponsor Member

@escopecz escopecz left a comment

Choose a reason for hiding this comment

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

I can see those translation strings are used in builder.js but never defined. So this should work. I couldn't replicate the error myself but I saw it at some point. 👍

@escopecz escopecz added this to the 5.0.2 milestone Jan 12, 2024
@escopecz escopecz added bug Issues or PR's relating to bugs translations Anything related to translations builder-grapesjs Anything related to the GrapesJS email or landing page builders code-review-passed PRs which have passed code review labels Jan 12, 2024
Copy link

@PatrickJenkner PatrickJenkner left a comment

Choose a reason for hiding this comment

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

The columns and the preview have proper labels, but the checkmark doesn't seem to have the right tooltip:
image

@escopecz escopecz added the pending-feedback PR's and issues that are awaiting feedback from the author label Jan 12, 2024
Copy link
Sponsor Member

@escopecz escopecz left a comment

Choose a reason for hiding this comment

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

I added the missing translations:
Screenshot 2024-01-15 at 10 56 24
Screenshot 2024-01-15 at 10 56 03
Good to go!

@escopecz escopecz added user-testing-passed PRs which have been successfully tested by the required number of people. and removed pending-feedback PR's and issues that are awaiting feedback from the author labels Jan 15, 2024
Copy link

codecov bot commented Jan 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ff94aab) 58.59% compared to head (05d5423) 58.60%.
Report is 19 commits behind head on 5.0.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##                5.0   #13207   +/-   ##
=========================================
  Coverage     58.59%   58.60%           
- Complexity    32975    32985   +10     
=========================================
  Files          2181     2183    +2     
  Lines         98735    98756   +21     
=========================================
+ Hits          57856    57877   +21     
  Misses        40879    40879           

see 7 files with indirect coverage changes

@escopecz escopecz merged commit fb0375f into mautic:5.0 Jan 15, 2024
14 checks passed
@code5rick
Copy link
Contributor Author

@escopecz line 21 and 25 use the same class. We should delete one

@escopecz
Copy link
Sponsor Member

OOps. I'll push the change. Thanks for checking!

@escopecz
Copy link
Sponsor Member

#13224 @code5rick can you please approve?

@code5rick
Copy link
Contributor Author

@escopecz tested, and it is working perfectly! The previously missing labels are now fixed and functioning at 100% 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs builder-grapesjs Anything related to the GrapesJS email or landing page builders code-review-passed PRs which have passed code review translations Anything related to translations user-testing-passed PRs which have been successfully tested by the required number of people.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants