Commit 14f1c77d668096becfd2cecca88fdbce5d41d7b8
1 parent
86123e25
add eng translates
Showing
1 changed file
with
11 additions
and
4 deletions
Show diff stats
frontend/views/layouts/main.php
| ... | ... | @@ -758,19 +758,26 @@ _________________________________________________________ --> |
| 758 | 758 | ] |
| 759 | 759 | ) . Html::tag('br'); |
| 760 | 760 | } |
| 761 | + $notEng = (Language::getCurrent()->url !=='en')?true:false; | |
| 762 | + | |
| 761 | 763 | if (!empty($settings->street)) { |
| 762 | - echo $settings->street; | |
| 764 | + | |
| 765 | + echo ($notEng)?$settings->street | |
| 766 | + :'m. Poznyaki, st. Sribnokilskaya'; | |
| 763 | 767 | if (!empty($settings->house)) { |
| 764 | - echo " " . $settings->house; | |
| 768 | + echo " " . | |
| 769 | + $settings->house | |
| 770 | + | |
| 771 | + ; | |
| 765 | 772 | } |
| 766 | 773 | echo Html::tag('br'); |
| 767 | 774 | } |
| 768 | 775 | if (!empty($settings->city)) { |
| 769 | - echo $settings->city; | |
| 776 | + echo ($notEng)?$settings->city:"Kyiv"; | |
| 770 | 777 | echo Html::tag('br'); |
| 771 | 778 | } |
| 772 | 779 | if (!empty($settings->country)) { |
| 773 | - echo Html::tag('strong', $settings->country); | |
| 780 | + echo Html::tag('strong', ($notEng)?$settings->country:"Ukraine"); | |
| 774 | 781 | } |
| 775 | 782 | ?> |
| 776 | 783 | </p> | ... | ... |