diff options
author | fox <[email protected]> | 2022-11-12 20:24:52 +0300 |
---|---|---|
committer | fox <[email protected]> | 2022-11-12 20:24:52 +0300 |
commit | 9a0dcdd6cc515de343c0625fae57860e1a63885c (patch) | |
tree | 56c8818743f7731164bb85f0a3afb0529984ede5 /lib/gettext/gettext.inc.php | |
parent | 602e8684258062937d7f554ab7889e8e02318c96 (diff) | |
parent | d376cd61426d151aaf59d01aef6f39d230599972 (diff) |
Merge pull request 'Address upcoming string interpolation deprecation (PHP 8.2)' (#90) from wn/tt-rss:feature/php82-str-intrp-deprecation into master
Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/90
Diffstat (limited to 'lib/gettext/gettext.inc.php')
-rw-r--r-- | lib/gettext/gettext.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/gettext/gettext.inc.php b/lib/gettext/gettext.inc.php index ef36924c7..60a41ddfa 100644 --- a/lib/gettext/gettext.inc.php +++ b/lib/gettext/gettext.inc.php @@ -88,18 +88,18 @@ function get_list_of_locales($locale) { if ($modifier) { if ($country) { if ($charset) - array_push($locale_names, "${lang}_$country.$charset@$modifier"); - array_push($locale_names, "${lang}_$country@$modifier"); + array_push($locale_names, "{$lang}_$country.$charset@$modifier"); + array_push($locale_names, "{$lang}_$country@$modifier"); } elseif ($charset) - array_push($locale_names, "${lang}.$charset@$modifier"); + array_push($locale_names, "{$lang}.$charset@$modifier"); array_push($locale_names, "$lang@$modifier"); } if ($country) { if ($charset) - array_push($locale_names, "${lang}_$country.$charset"); - array_push($locale_names, "${lang}_$country"); + array_push($locale_names, "{$lang}_$country.$charset"); + array_push($locale_names, "{$lang}_$country"); } elseif ($charset) - array_push($locale_names, "${lang}.$charset"); + array_push($locale_names, "{$lang}.$charset"); array_push($locale_names, $lang); } |