]> git.mxchange.org Git - friendica.git/commitdiff
Reformatted code
authorMichael <heluecht@pirati.ca>
Mon, 4 Sep 2023 01:37:06 +0000 (01:37 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 4 Sep 2023 01:37:06 +0000 (01:37 +0000)
src/Core/L10n.php

index 96935a4ed6c3a8828d2fdbb4a0b55d18236b44be..636cb1190809ebb6fc7c8d49251e8fee0ed44b09 100644 (file)
@@ -398,7 +398,14 @@ class L10n
                                // Persian is manually added to language detection until a persian translation is provided for the interface, at
                                // which point it will be automatically available through `getAvailableLanguages()` and this should be removed.
                                // Additionally Portuguese, Ukrainian, traditional Chinese and Welsh are added to that list.
-                               $langs = array_merge(['cy' => 'Cymraeg', 'uk' => 'Українська', 'pt-PT' => 'Português', 'zh-hant' => '繁體', 'fa' => 'فارسی'], $langs);
+                               $additional_langs = [
+                                       'cy'      => 'Cymraeg',
+                                       'uk'      => 'Українська',
+                                       'pt-PT'   => 'Português',
+                                       'zh-hant' => '繁體',
+                                       'fa'      => 'فارسی'
+                               ];
+                               $langs = array_merge($additional_langs, $langs);
                                ksort($langs);
                        }
                }