Skip to content
Snippets Groups Projects
Unverified Commit 9e4f1a47 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #17021 from totten/5.25-language-labels

CRM_Core_I18n - Provide a better label for new/unknown locales
parents 04758285 8a0dba7b
Branches
Tags
No related merge requests found
......@@ -193,7 +193,7 @@ class CRM_Core_I18n {
if (preg_match('/^[a-z][a-z]_[A-Z][A-Z]$/', $filename)) {
$codes[] = $filename;
if (!isset($all[$filename])) {
$all[$filename] = $labels[$filename];
$all[$filename] = $labels[$filename] ?? "($filename)";
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment