Skip to content

LEGO: Pull request from lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20260130203640718 to main#33803

Merged
rmarinho merged 1 commit intomainfrom
lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20260130203640718
Jan 31, 2026
Merged

LEGO: Pull request from lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20260130203640718 to main#33803
rmarinho merged 1 commit intomainfrom
lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20260130203640718

Conversation

@csigs
Copy link
Member

@csigs csigs commented Jan 30, 2026

LEGO: Pull request from lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20260130203640718 to main with localized lcls

Copilot AI review requested due to automatic review settings January 30, 2026 20:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates localized LCX resource files for MauiGResources.resx, adding new resource entries (binding compilation + NameScope-related strings) and adjusting some existing XAML parsing-related translations across multiple languages.

Changes:

  • Added localized entries for BindingCompilation*, binding indexer errors, and NameScope errors across several cultures.
  • Updated a few existing translations (notably XAML parsing error/failed messages) for consistency/wording.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
loc/zh-Hant/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; minor tweak to XAML parsing error translation.
loc/zh-Hans/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; minor tweak to XAML parsing error translation.
loc/tr/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; updates XAML parsing failed translation.
loc/ru/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; refines XAML parsing translations.
loc/pt-BR/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; updates XAML parsing error translation.
loc/pl/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; refines XAML parsing translations.
loc/ko/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; updates XAML parsing error translation.
loc/ja/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; minor tweak to XAML parsing error translation.
loc/it/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; refines XAML parsing failed wording.
loc/fr/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; refines XAML parsing message wording.
loc/es/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; refines XAML parsing message wording.
loc/de/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; adjusts XAML parsing failed punctuation.
loc/cs/src/Controls/src/SourceGen/MauiGResources.resx.lcl Adds new binding/NameScope strings; refines XAML parsing translations.

<Str Cat="Text">
<Val><![CDATA[Binding: Property "{0}" not found on "{1}". The binding will use slower reflection-based binding at runtime. If this property is generated by another source generator, consider reporting this at https://github.com/dotnet/maui/issues to help us improve source generator interoperability.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Associação: propriedade "{0}" não encontrada em "{1}". A associação usará uma associação mais lenta baseada em reflexão em runtime. Se essa propriedade for gerada por outro gerador de origem, considere relatar isso em https://github.com/dotnet/maui/issues nos ajude a melhorar a interoperabilidade do gerador de origem.]]></Val>
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

The pt-BR translation sentence is ungrammatical: "considere relatar isso em ... nos ajude a melhorar..." is missing a connector (e.g., "para") between the URL clause and "nos ajude". Please adjust so the sentence reads correctly while preserving placeholders and the URL.

Suggested change
<Val><![CDATA[Associação: propriedade "{0}" não encontrada em "{1}". A associação usará uma associação mais lenta baseada em reflexão em runtime. Se essa propriedade for gerada por outro gerador de origem, considere relatar isso em https://github.com/dotnet/maui/issues nos ajude a melhorar a interoperabilidade do gerador de origem.]]></Val>
<Val><![CDATA[Associação: propriedade "{0}" não encontrada em "{1}". A associação usará uma associação mais lenta baseada em reflexão em runtime. Se essa propriedade for gerada por outro gerador de origem, considere relatar isso em https://github.com/dotnet/maui/issues para nos ajudar a melhorar a interoperabilidade do gerador de origem.]]></Val>

Copilot uses AI. Check for mistakes.
<Str Cat="Text">
<Val><![CDATA[Binding: Unsupported indexer index type: "{0}".]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[바인딩: 지원되지 않는 인덱서 인덱스 형식: "{0}"]]></Val>
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

The localized string is missing the closing quote (and trailing punctuation) around the {0} placeholder, which will render as an unmatched quote at runtime. Please mirror the source format so the placeholder is enclosed properly (e.g., close the quote after {0} and keep the ending punctuation).

Suggested change
<Val><![CDATA[바인딩: 지원되지 않는 인덱서 인덱스 형식: "{0}"]]></Val>
<Val><![CDATA[바인딩: 지원되지 않는 인덱서 인덱스 형식: "{0}".]]></Val>

Copilot uses AI. Check for mistakes.
<Str Cat="Text">
<Val><![CDATA[Binding might be compiled incorrectly since the x:DataType annotation comes from an outer scope. Make sure you annotate all DataTemplate XAML elements with the correct x:DataType. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[x:DataType ek açıklaması bir dış kapsamdan geldiğinden bağlama yanlış derlenmiş olabilir. Tüm DataTemplate XAML öğelerine doğru x:DataType ile not eklediğinizden emin olun. Bkz. https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information.]]></Val>
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This Turkish translation ends with the English phrase "for more information." after the URL, which looks like an unlocalized leftover. Please translate that part as well (or drop it) so the message is consistently Turkish.

Suggested change
<Val><![CDATA[x:DataType ek açıklaması bir dış kapsamdan geldiğinden bağlama yanlış derlenmiş olabilir. Tüm DataTemplate XAML öğelerine doğru x:DataType ile not eklediğinizden emin olun. Bkz. https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information.]]></Val>
<Val><![CDATA[x:DataType ek açıklaması bir dış kapsamdan geldiğinden bağlama yanlış derlenmiş olabilir. Tüm DataTemplate XAML öğelerine doğru x:DataType ile not eklediğinizden emin olun. Daha fazla bilgi için bkz. https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings.]]></Val>

Copilot uses AI. Check for mistakes.
@rmarinho rmarinho merged commit 41f0e7c into main Jan 31, 2026
31 of 34 checks passed
@rmarinho rmarinho deleted the lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20260130203640718 branch January 31, 2026 01:34
kubaflo pushed a commit to kubaflo/maui that referenced this pull request Feb 2, 2026
…20260130203640718 to main (dotnet#33803)

LEGO: Pull request from
lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20260130203640718 to main
with localized lcls
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants