2018-04-01 16:10:33 +00:00
< ? php
if ( ! function_exists ( " string_plural_select_pl " )) {
function string_plural_select_pl ( $n ){
2021-02-01 17:47:38 +00: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 16:10:33 +00:00
}}
2022-03-17 18:09:32 +00: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 06:27:53 +00:00
$a -> strings [ 'Enable Geonames Addon' ] = 'Włącz dodatek Geonames' ;
2022-03-08 15:26:19 +00:00
$a -> strings [ 'Geonames Settings' ] = 'Ustawienia Geonames' ;