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 #3408

Merged
merged 4 commits into from
Apr 9, 2024

Conversation

adamint
Copy link
Member

@adamint adamint commented Apr 4, 2024

Add missing translations for structured logs page's "Level:" and the contains and not contains strings.

Fixes #2877

Microsoft Reviewers: Open in CodeFlow

<value>contains</value>
</data>
<data name="LogNotContains" xml:space="preserve">
<value>not contains</value>
Copy link
Member

Choose a reason for hiding this comment

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

just curious, is a fragment like this localizable (at least without more context)? I understand translating complete sentences, and maybe headings like "Level:" but in past projects localizer folks have asked me context here in comments for localizers explaining whether this stands alone, or needs to grammatically agree with something, or corresponds to singular or plural things...

IDK, just curious

Copy link
Member Author

@adamint adamint Apr 9, 2024

Choose a reason for hiding this comment

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

Yes, it is localizable 😄 see the note right below

@adamint
Copy link
Member Author

adamint commented Apr 9, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@adamint adamint enabled auto-merge (squash) April 9, 2024 20:34
@adamint adamint merged commit 6b9db81 into dotnet:main Apr 9, 2024
8 checks passed
@danmoseley
Copy link
Member

Should this be in release/8.0? for example

            FilterCondition.Contains => "contains",    // release 8.0
            FilterCondition.Contains => loc?[nameof(Logs.LogContains)] ?? "contains", //main

@danmoseley
Copy link
Member

@JamesNK can you please figure out whether a change is missing here, and if so, prep a PR?

cherry picking 6b9db81 into release seems to produce changes we may want (?)

@JamesNK
Copy link
Member

JamesNK commented Apr 29, 2024

/backport to release/8.0

Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/aspire/actions/runs/8873353136

@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing translations
4 participants