Fix error: Using ${var} in strings is deprecated
This commit is contained in:
parent
ab2657e351
commit
907fd55a5c
1 changed files with 6 additions and 6 deletions
|
@ -89,18 +89,18 @@ function get_list_of_locales($locale) {
|
||||||
if ($modifier) {
|
if ($modifier) {
|
||||||
if ($country) {
|
if ($country) {
|
||||||
if ($charset)
|
if ($charset)
|
||||||
array_push($locale_names, "${lang}_$country.$charset@$modifier");
|
array_push($locale_names, "{$lang}_$country.$charset@$modifier");
|
||||||
array_push($locale_names, "${lang}_$country@$modifier");
|
array_push($locale_names, "{$lang}_$country@$modifier");
|
||||||
} elseif ($charset)
|
} elseif ($charset)
|
||||||
array_push($locale_names, "${lang}.$charset@$modifier");
|
array_push($locale_names, "{$lang}.$charset@$modifier");
|
||||||
array_push($locale_names, "$lang@$modifier");
|
array_push($locale_names, "$lang@$modifier");
|
||||||
}
|
}
|
||||||
if ($country) {
|
if ($country) {
|
||||||
if ($charset)
|
if ($charset)
|
||||||
array_push($locale_names, "${lang}_$country.$charset");
|
array_push($locale_names, "{$lang}_$country.$charset");
|
||||||
array_push($locale_names, "${lang}_$country");
|
array_push($locale_names, "{$lang}_$country");
|
||||||
} elseif ($charset)
|
} elseif ($charset)
|
||||||
array_push($locale_names, "${lang}.$charset");
|
array_push($locale_names, "{$lang}.$charset");
|
||||||
array_push($locale_names, $lang);
|
array_push($locale_names, $lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue