@@ -207,11 +207,11 @@ |
||
207 | 207 | */ |
208 | 208 | protected function BCP47($locale, $locales) |
209 | 209 | { |
210 | - $bcp47 = data_get($locales, "{$locale}.regional"); |
|
210 | + $bcp47 = data_get($locales, "{$locale}.regional"); |
|
211 | 211 | |
212 | - if(! $bcp47) return $locale; //locale is the "minimum" of BCP 47 |
|
212 | + if(! $bcp47) return $locale; //locale is the "minimum" of BCP 47 |
|
213 | 213 | |
214 | - //regional value needs to replace underscore |
|
215 | - return str_replace('_', '-', $bcp47); |
|
214 | + //regional value needs to replace underscore |
|
215 | + return str_replace('_', '-', $bcp47); |
|
216 | 216 | } |
217 | 217 | } |