-
Notifications
You must be signed in to change notification settings - Fork 0
/
translate.php
90 lines (88 loc) · 2.54 KB
/
translate.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
$voc = array (
"eng" => array(
"login" => "Login",
"password" => "Password",
"email" => "Email",
"title" => "Title",
"author" => "author",
"home" => "Home",
"read_more" => "Read more",
"addnews" => "Add news",
"exit" => "Exit",
"profil" => "Profil" ,
"name" => "Name",
"surname" => "Surname",
"date_of_registration" =>"Date of registration",
"date_of_login" =>"Date of last login",
"delete" =>"Delete",
"change" =>"Change",
"user_id_not_exist" => "User with that id not exist",
"text" => "Text",
"add" => "Add",
"user_menu" => "User menu",
"register" => "Register",
"upload" => "Upload",
"file" => "FILE",
"date" => "Date",
"vote" => "Vote",
"not_voted"=>"For metrial Nobody has voted",
"mark" => "Mark: ",
"voted" => " Voted: ",
"users" => " Users: ",
"surname" => "Surname",
"user" => "User",
"admin" => "Admin",
"moder" => "Moder",
"locked" => "Locked",
"back" => "Back",
"next" => "Next",
"enter" => "Enter",
"registration" => "Registration",
),
"ukr" => array(
"surname" => "Призвіще",
"login" => "Логін",
"password" => "Пароль",
"email" => "Пошта",
"title" => "Заголовок",
"author" => "Автор",
"home" => "Головна",
"read_more" => "Читати повністю",
"addnews" => "Додати новину",
"exit" => "Вийти",
"profil" => "Профіль",
"name" => "Ім'я",
"surname" => "Призвіще",
"date_of_registration" =>"Дата реєстрації",
"date_of_login" =>"Дата останнього входу",
"delete" =>"Видалити",
"change" =>"Змінити",
"user_id_not_exist" => "Користувача з таким id не існує",
"text" => "Текст",
"add" => "Додати",
"user_menu" => "Меню користувача",
"register" => "Зареєструвати",
"upload" => "Завантажити",
"file" => "Файл",
"date" => "Дата",
"vote" => "Голосувати",
"not_voted"=>"За цей метріал ще ніхто не голосував",
"mark" => "Оцінка: ",
"voted" => " Проголосували: ",
"users" => " Користувачів: ",
"user" => "Користувач",
"admin" => "Адміністратор",
"moder" => "Модератор",
"locked" => "Заблокований",
"back" => "Назад",
"next" => "Вперід",
"enter" => "Війти",
"registration" => "Реэстрація",
),
);
function t($language, $word){
global $voc;
return $voc[$language][$word];
}
?>