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