Created
April 27, 2018 01:25
-
-
Save pavel-one/28ba76f07cb12aea67a46f870d6e2e64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$trans = array("Monday" => "Понедельник", | |
"Tuesday" => "Вторник", | |
"Wednesday" => "Среда", | |
"Thursday" => "Четверг", | |
"Friday" => "Пятница", | |
"Saturday" => "Суббота", | |
"Sunday" => "Воскресенье" | |
); | |
return strtr($input, $trans); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment