Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Filter out bad locales returned by g_get_language_names #55091

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

robert-ancell
Copy link
Contributor

We're seeing issues with and "und" (undefined) locale and exceptions in applications (see ubuntu/app-center#1659). It seems the GLib method for getting the language names doesn't clean up invalid values, so we should do that.

@robert-ancell
Copy link
Contributor Author

@hbatagelo you might also be interested in reviewing.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

LGTM stamp from a Japanese personal seal

lgtm!

Copy link
Contributor

@hbatagelo hbatagelo left a comment

Choose a reason for hiding this comment

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

LGTM. Just a minor nit for consistency.

@robert-ancell robert-ancell merged commit 3d8163f into flutter:main Sep 12, 2024
27 checks passed
@robert-ancell robert-ancell deleted the linux-locale-filter branch September 12, 2024 23:40
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 13, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Sep 13, 2024
…155136)

flutter/engine@4d5fea9...3d8163f

2024-09-12 [email protected] Filter out bad locales returned by g_get_language_names (flutter/engine#55091)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
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.

3 participants