(From update of attachment 412560)
>diff -r e00dce0f3aaf suite/browser/metadata.js
>--- a/suite/browser/metadata.js Mon Nov 16 11:04:18 2009 +0100
>+++ b/suite/browser/metadata.js Mon Nov 16 13:27:07 2009 +0100
>@@ -462,7 +462,7 @@
> if (!abbr) return "";
> var result;
> var region = "";
>- var tokens = abbr.split("-");
>+ var tokens = abbr.split(/[-_]/);
RFC5646 seems to suggest that only "-" is legal, or am I overlooking something?
[Note that this question does not apply to the rest of the patch, as that apparently exists to work around Linux distros using non-RFC language codes.]
(From update of attachment 412560) metadata. js browser/ metadata. js Mon Nov 16 11:04:18 2009 +0100 browser/ metadata. js Mon Nov 16 13:27:07 2009 +0100
>diff -r e00dce0f3aaf suite/browser/
>--- a/suite/
>+++ b/suite/
>@@ -462,7 +462,7 @@
> if (!abbr) return "";
> var result;
> var region = "";
>- var tokens = abbr.split("-");
>+ var tokens = abbr.split(/[-_]/);
RFC5646 seems to suggest that only "-" is legal, or am I overlooking something?
[Note that this question does not apply to the rest of the patch, as that apparently exists to work around Linux distros using non-RFC language codes.]