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

Update guidemaker-elt, remove what was moved in the addon #208

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

BlueCutOfficial
Copy link
Member

@BlueCutOfficial BlueCutOfficial commented Nov 3, 2023

Build

Update guidemaker-ember-locale-template (#208)

The addon has been published on NPM so we can now use the tag ^1.0.0. A few changes have been made to adapt the app:

  • We removed table-of-contents component because its code has been moved in the addon directly
  • We also removed the helper includes, which was moved in the addon too (because it's used in table-of-contents)
  • We complete the environment config to configure the texts located directly in the hbs templates of the addon

texts: {
searchInputPlaceholder: 'Rechercher dans le Guide',
searchResultsPlaceholder: 'Résultats de la recherche',
currentChapter: 'Nous avons couvert',
Copy link
Member

Choose a reason for hiding this comment

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

Are we sure about this translation?
Shouldn't it be Chapitre actuel instead? To match the following nextChapter: 'Chapitre suivant'.

Copy link
Member Author

@BlueCutOfficial BlueCutOfficial Nov 10, 2023

Choose a reason for hiding this comment

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

It's an accurate translation, but I admit the English is a bit verbose for my taste, especially as a
next button" text 🤔 but it makes sense because it's really on the "next button" => "Nous avons couvert ça, suivant : ça"

I think if we want to rework that part if should be in the Guidemaker addon directly, so I leave it this way for now.

Copy link
Member

Choose a reason for hiding this comment

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

I think I need more clarification because I don't get the "the English is a bit verbose", assuming you are talking about "next chapter / chapitre suivant" ... ? What were you talking about?

When reading any guide, it's more than natural to see "next chapter / chapitre suivant" on a button that, well, actually brings us to the next page of the guide/current section we are reading.

But I don't see where this is used in the guides so I may be missing some context.

Copy link
Member

@MrChocolatine MrChocolatine left a comment

Choose a reason for hiding this comment

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

One tiny question/potential change.

@BlueCutOfficial BlueCutOfficial merged commit ed08097 into master Nov 10, 2023
2 checks passed
@BlueCutOfficial BlueCutOfficial deleted the update-guidemaker-elt branch November 10, 2023 08:57
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