2018-04-01 12:10:33 -04:00
< ? php
if ( ! function_exists ( " string_plural_select_pl " )) {
function string_plural_select_pl ( $n ){
2021-02-01 12:47:38 -05:00
$n = intval ( $n );
if ( $n == 1 ) { return 0 ; } else if (( $n % 10 >= 2 && $n % 10 <= 4 ) && ( $n % 100 < 12 || $n % 100 > 14 )) { return 1 ; } else if ( $n != 1 && ( $n % 10 >= 0 && $n % 10 <= 1 ) || ( $n % 10 >= 5 && $n % 10 <= 9 ) || ( $n % 100 >= 12 && $n % 100 <= 14 )) { return 2 ; } else { return 3 ; }
2018-04-01 12:10:33 -04:00
}}
2022-03-17 14:09:32 -04:00
$a -> strings [ 'Replace numerical coordinates by the nearest populated location name in your posts.' ] = 'Zastąp w swoich wpisach współrzędne numeryczne nazwą najbliższej zaludnionej lokalizacji.' ;
2021-10-10 02:27:53 -04:00
$a -> strings [ 'Enable Geonames Addon' ] = 'Włącz dodatek Geonames' ;
2022-03-08 10:26:19 -05:00
$a -> strings [ 'Geonames Settings' ] = 'Ustawienia Geonames' ;