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

Mark more texts for translation #719

Merged
merged 2 commits into from
Aug 28, 2023
Merged

Mark more texts for translation #719

merged 2 commits into from
Aug 28, 2023

Conversation

lslezak
Copy link
Contributor

@lslezak lslezak commented Aug 28, 2023

Just marking more texts for translation

isStack
label={
format(
n_("Choose a product (%d available)", "Choose a product (%d available)", products.length),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here I'm not sure if we really need to display the number of available products.

  • There are usually just few products
  • The number does not provide any meaningful information for the user, you can always choose only one product, it does not matter how many products are available

So I'd rather make it easier and use just simple _("Choose a product") here.

Opinions?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I agree, I would get rid of the number of available products.

@coveralls
Copy link

coveralls commented Aug 28, 2023

Coverage Status

coverage: 74.455%. remained the same when pulling a7ce2eb on add_more_translations into e6aff50 on master.

@@ -88,16 +89,18 @@ function ProductSelectionPage() {

return (
<>
<Title>Product selection</Title>
{/* TRANSLATORS: page header */}
<Title>{_("Product selection")}</Title>
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure if in title it should not be all capitalized like Product Selection

Copy link
Contributor

Choose a reason for hiding this comment

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

Why? Do we have any guidelines about that?

@lslezak lslezak merged commit dbad5f9 into master Aug 28, 2023
10 checks passed
@lslezak lslezak deleted the add_more_translations branch August 28, 2023 14:59
@imobachgs imobachgs mentioned this pull request Sep 26, 2023
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.

4 participants