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

Change "see issue #5613" to "see details" #6657

Conversation

silkeholmebonnen
Copy link
Contributor

Issue

AVO-171

Description

This PR changes the outage message so it says "see details" instead of "see issue #5613".
I thought "see details" was more correct than "see more details", but I can change it if you don't agree.

Preview

This picture is a mock since there are no outages at the moment (as far as I can tell).
image

Double check

  • I have run pnpx prettier@2 --write . and poetry run format in the top level directory to format my changes.

Copy link
Member

@VIKTORVAV99 VIKTORVAV99 left a comment

Choose a reason for hiding this comment

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

LGTM!

<a
className="inline-flex text-sm font-semibold text-black underline dark:text-white"
href={`https://github.com/electricitymaps/electricitymaps-contrib/issues/${outageData.issue}`}
>
<span className="pl-1 underline">issue #{outageData.issue}</span>
<span className="pl-1 underline">{t('estimation-card.outage-details')}</span>
Copy link
Member

Choose a reason for hiding this comment

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

Nice to get the whole string translatable as well!

@madsnedergaard
Copy link
Member

Thanks for fixing it 👏

Copy link
Collaborator

@tonypls tonypls left a comment

Choose a reason for hiding this comment

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

Looks good, might be nice to add a German translation here as they're probably the most affected by outages

@silkeholmebonnen
Copy link
Contributor Author

silkeholmebonnen commented Apr 15, 2024

Looks good, might be nice to add a German translation here as they're probably the most affected by outages

Wouldn't it be weird if the message is in english and then it says see details in German? @tonypls

@silkeholmebonnen silkeholmebonnen merged commit 32814d2 into master Apr 15, 2024
21 checks passed
@silkeholmebonnen silkeholmebonnen deleted the silkebonnen/avo-171-change-see-issue-5613-to-see-more-details branch April 15, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants