Skip to content

Commit a4680f4

Browse files
committed
Update to V3.0
2 parents 36ee942 + 418950e commit a4680f4

File tree

91 files changed

+2742
-80810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2742
-80810
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ obj/
4545
src/bin/*
4646
.vs/*
4747
src/.vs/*
48+
*.DotSettings.user

READ IF CONFUSED.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ If you're a developer, ignore this.
22

33
You probably downloaded this as a zip and don't understand how to install it.
44
This is the source code, not the exes, dlls, and all of that.
5-
Please visit "https://github.com/blockba5her/dispatchsystem/releases" to download the compiled and production-ready files.
6-
If you have any questions, gently tap that Discord button in the readme and go to #help-me.
5+
Please visit "https://github.com/DispatchSystems/DispatchSystem/releases" to download the compiled and production-ready files.
6+
If you have any questions, gently tap that Discord button in the readme and go to #installation-help.

localization-presets/README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Localizer folder
2+
3+
In this folder contains preset versions of the language pack for DispatchSystem, select your language from the available ones in this folder
4+
5+
## Installation of the file
6+
7+
1. Rename the file from whatever the name is to `lang.json`
8+
2. Replace the `lang.json` inside of the `ds-main` resource to switch out the language pack
9+
3. Reload the resource (might need clearing of cache to work) for the file to be synced with server and client
10+
4. Done! You have changed the resource language to one of the presets
11+
12+
## Localizers needed
13+
14+
We don't have a lot of people in the DispatchSystem localizer team!
15+
16+
We would like you to join and help us build DispatchSystem to be more available worldwide.
17+
18+
### We are looking for the following languages
19+
20+
* French
21+
* Spanish
22+
* Chinese
23+
* German
24+
25+
### We already have
26+
27+
* Russian
28+
* Brazilian Portuguese
29+
* **(There is more I just need to update)**

localization-presets/en-US.json

+161
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
{
2+
"nui": {
3+
"modify": [
4+
{"selector": ".x", "text": "Exit"},
5+
{"selector": ".back", "text": "Back"},
6+
7+
{"selector": "#civinfo-header", "text": "Information"},
8+
9+
{"selector": "#header-civ", "text": "Civilian:"},
10+
{"selector": "#header-civname", "text": "Name: "},
11+
{"selector": "#civname", "text": "None, None"},
12+
{"selector": "#header-civwarrant", "text": "Warrant: "},
13+
{"selector": "#civwarrant", "text": "None"},
14+
{"selector": "#header-civcit", "text": "Citations: "},
15+
{"selector": "#civcit", "text": "None"},
16+
17+
{"selector": "#header-veh", "text": "Vehicle: "},
18+
{"selector": "#header-vehplate", "text": "Plate: "},
19+
{"selector": "#vehplate", "text": "None"},
20+
{"selector": "#header-vehstolen", "text": "Stolen: "},
21+
{"selector": "#vehstolen", "text": "None"},
22+
{"selector": "#header-vehregi", "text": "Registration: "},
23+
{"selector": "#vehregi", "text": "None"},
24+
{"selector": "#header-vehinsured", "text": "Insured: "},
25+
{"selector": "#vehinsured", "text": "None"},
26+
27+
28+
{"selector": "#ofcinfo-header", "text": "Information"},
29+
30+
{"selector": "#header-ofc", "text": "Officer:"},
31+
{"selector": "#header-ofcsign", "text": "Callsign: "},
32+
{"selector": "#ofcsign", "text": "None"},
33+
{"selector": "#header-ofcstatus", "text": "Status:"},
34+
{"selector": "#ofcstatus", "text": "None"},
35+
{"selector": "#header-ofcass", "text": "Assignment: "},
36+
{"selector": "#ofcass", "text": "None"},
37+
38+
39+
{"selector": "#btn-civmenu", "text": "Civilian Menu"},
40+
{"selector": "#btn-vehmenu", "text": "Vehicle Menu"},
41+
{"selector": "#btn-911menu", "text": "911 Menu"},
42+
{"selector": "#btn-civdelprofiles", "text": "Delete Profiles"},
43+
44+
{"selector": "#btn-civcreate", "text": "Create New"},
45+
{"selector": "#btn-civdisplay", "text": "Display Current"},
46+
{"selector": "#btn-civwarrant", "text": "Toggle Warrant"},
47+
{"selector": "#btn-civcit", "text": "Set Citations"},
48+
49+
{"selector": "#btn-vehcreate", "text": "Create New"},
50+
{"selector": "#btn-vehdisplay", "text": "Display Current"},
51+
{"selector": "#btn-vehstolen", "text": "Toggle Stolen"},
52+
{"selector": "#btn-vehregi", "text": "Toggle Registration"},
53+
{"selector": "#btn-vehinsured", "text": "Toggle Insurance"},
54+
55+
{"selector": "#btn-call911", "text": "Call 911"},
56+
{"selector": "#btn-msg911", "text": "Message 911"},
57+
{"selector": "#btn-end911", "text": "End 911 call"},
58+
59+
60+
{"selector": "#btn-leocreate", "text": "Create New"},
61+
{"selector": "#btn-leostatus", "text": "Change Status"},
62+
{"selector": "#btn-leodatabase", "text": "View Database"},
63+
{"selector": "#btn-leocad", "text": "CAD Options"},
64+
{"selector": "#btn-leodelprofiles", "text": "Delete Profiles"},
65+
{"selector": "#btn-leostatusview", "text": "View Status"},
66+
{"selector": "#btn-leoonduty", "text": "On Duty"},
67+
{"selector": "#btn-leooffduty", "text": "Off Duty"},
68+
{"selector": "#btn-leobusy", "text": "Busy"},
69+
70+
{"selector": "#btn-leocivoptions", "text": "Civilian Options"},
71+
{"selector": "#btn-leoplate", "text": "Search Plate"},
72+
73+
{"selector": "#btn-leoname", "text": "Search Civilian"},
74+
{"selector": "#btn-leonotes", "text": "View Civilian Notes"},
75+
{"selector": "#btn-leotickets", "text": "View Civilian Tickets"},
76+
{"selector": "#btn-leoaddnote", "text": "Add Civilian Note"},
77+
{"selector": "#btn-leoaddticket", "text": "Add Civilian Ticket"},
78+
79+
{"selector": "#btn-leoaddbolo", "text": "Add BOLO"},
80+
{"selector": "#btn-leoviewbolo", "text": "View BOLOs"}
81+
]
82+
},
83+
"chat": {
84+
"global": {
85+
"types": {
86+
"tickets": "Tickets",
87+
"notes": "Notes",
88+
"bolos": "BOLOs",
89+
"none": "None",
90+
91+
"name": "Name",
92+
"warrant": "Warrant",
93+
"citations": "Citations",
94+
95+
"plate": "Plate",
96+
"owner": "Owner",
97+
"stolen": "Stolen",
98+
"registration": "Registration",
99+
"insurance": "Insurance"
100+
},
101+
"headers": {
102+
"911": "911",
103+
"dispatch": "Dispatcher",
104+
"cad": "DispatchCAD",
105+
"civ_info": "Civilian Information",
106+
"veh_info": "Vehicle Information"
107+
},
108+
"status": {
109+
"on_duty": "On Duty",
110+
"off_duty": "Off Duty",
111+
"busy": "Busy",
112+
"gay": "Gay",
113+
114+
"t_lower": "true",
115+
"f_lower": "false",
116+
"t_upper": "True",
117+
"f_upper": "False"
118+
}
119+
},
120+
"errors": {
121+
"civ_not_exist": "Civilian not existing in the system",
122+
"civ_name_exist": "It seems as if that name already exists in the system",
123+
"civ_911_exist": "A 911 call already exists under your name",
124+
"civ_911_no_dispatchers": "There are no dispatchers online to answer your 911 call",
125+
"civ_911_not_exist": "We don't have a 911 call for you",
126+
127+
"veh_not_exist": "Vehicle not existing in the system",
128+
"veh_plate_exist": "It seems as if that plate already exists in the system",
129+
130+
"leo_not_exist": "Officer not existing in the system",
131+
"leo_status_prev": "Your status is already %s"
132+
},
133+
"system": {
134+
"gen_reset": "Profiles reset successfully",
135+
"gen_dump": "DispatchSystem has been dumped by %s. Everything has been reset and deleted.",
136+
137+
"on_leo_assignment_added": "New Assignment: %s",
138+
"on_leo_assignment_removed": "Assignment removed by Dispatcher",
139+
"on_leo_status_change": "New status applied by Dispatcher: %s",
140+
"on_leo_role_removed": "You were removed from officer by a Dispatcher",
141+
"on_civ_911_accepted": "Your 911 call has been accepted",
142+
143+
"civ_create": "New Civilian created: %s %s",
144+
"civ_toggle_warrant": "New warrant status applied: %s",
145+
"civ_set_citations": "New citation count applied: %s",
146+
"civ_911_init": "Please wait for a dispatcher to answer your call",
147+
"civ_911_end": "Your 911 call has been ended",
148+
149+
"veh_create": "New Vehicle created: %s",
150+
"veh_toggle_stolen": "New stolen status applied: %s",
151+
"veh_toggle_regi": "New registration status applied: %s",
152+
"veh_toggle_insurance": "New insurance status applied: %s",
153+
154+
"leo_create": "New Officer created: %s",
155+
"leo_status_change": "New officer status applied: %s",
156+
"leo_add_civ_note": "Note of \"%s\" added to %s %s",
157+
"leo_add_civ_ticket": "Ticket of \"%s\" for $%s added to %s %s",
158+
"leo_bolo_add": "A new bolo for \"%s\" added"
159+
}
160+
}
161+
}

localization-presets/ru.json

+161
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
{
2+
"nui": {
3+
"modify": [
4+
{"selector": ".x", "text": "Выйти"},
5+
{"selector": ".back", "text": "Назад"},
6+
7+
{"selector": "#civinfo-header", "text": "Информация"},
8+
9+
{"selector": "#header-civ", "text": "Гражданин:"},
10+
{"selector": "#header-civname", "text": "ФИО: "},
11+
{"selector": "#civname", "text": "Нет, Нет"},
12+
{"selector": "#header-civwarrant", "text": "Розыск: "},
13+
{"selector": "#civwarrant", "text": "Нет"},
14+
{"selector": "#header-civcit", "text": "Штрафы: "},
15+
{"selector": "#civcit", "text": "Нет"},
16+
17+
{"selector": "#header-veh", "text": "Транспорт: "},
18+
{"selector": "#header-vehplate", "text": "Номерной знак: "},
19+
{"selector": "#vehplate", "text": "Нет"},
20+
{"selector": "#header-vehstolen", "text": "Украдено: "},
21+
{"selector": "#vehstolen", "text": "Нет"},
22+
{"selector": "#header-vehregi", "text": "Регистрация: "},
23+
{"selector": "#vehregi", "text": "Нет"},
24+
{"selector": "#header-vehinsured", "text": "Страховка: "},
25+
{"selector": "#vehinsured", "text": "Нет"},
26+
27+
28+
{"selector": "#ofcinfo-header", "text": "Информация"},
29+
30+
{"selector": "#header-ofc", "text": "Сотрудник полиции:"},
31+
{"selector": "#header-ofcsign", "text": "Позывной: "},
32+
{"selector": "#ofcsign", "text": "Нет"},
33+
{"selector": "#header-ofcstatus", "text": "Статус:"},
34+
{"selector": "#ofcstatus", "text": "Нет"},
35+
{"selector": "#header-ofcass", "text": "Задание: "},
36+
{"selector": "#ofcass", "text": "Нет"},
37+
38+
39+
{"selector": "#btn-civmenu", "text": "Меню Гражданина"},
40+
{"selector": "#btn-vehmenu", "text": "Меню Транспорта"},
41+
{"selector": "#btn-911menu", "text": "Меню Экстренного Звонка"},
42+
{"selector": "#btn-civdelprofiles", "text": "Удалить Профиль"},
43+
44+
{"selector": "#btn-civcreate", "text": "Создать Нового"},
45+
{"selector": "#btn-civdisplay", "text": "Показать Текущего"},
46+
{"selector": "#btn-civwarrant", "text": "Установить Розыск"},
47+
{"selector": "#btn-civcit", "text": "Установить Штрафы"},
48+
49+
{"selector": "#btn-vehcreate", "text": "Создать Новый"},
50+
{"selector": "#btn-vehdisplay", "text": "Показать Текущий"},
51+
{"selector": "#btn-vehstolen", "text": "Установить Кражу"},
52+
{"selector": "#btn-vehregi", "text": "Установить Регистрацию"},
53+
{"selector": "#btn-vehinsured", "text": "Установить Страховку"},
54+
55+
{"selector": "#btn-call911", "text": "Экстренный Звонок"},
56+
{"selector": "#btn-msg911", "text": "Сообщить в 911"},
57+
{"selector": "#btn-end911", "text": "Сбросить Экстренный звонок"},
58+
59+
60+
{"selector": "#btn-leocreate", "text": "Создать Нового"},
61+
{"selector": "#btn-leostatus", "text": "Изменить Статус"},
62+
{"selector": "#btn-leodatabase", "text": "База Данных"},
63+
{"selector": "#btn-leocad", "text": "Настройки Диспетчера"},
64+
{"selector": "#btn-leodelprofiles", "text": "Удалить Профиль"},
65+
{"selector": "#btn-leostatusview", "text": "Посмотреть Статус"},
66+
{"selector": "#btn-leoonduty", "text": "На Службе"},
67+
{"selector": "#btn-leooffduty", "text": "Вне Службы"},
68+
{"selector": "#btn-leobusy", "text": "Занят"},
69+
70+
{"selector": "#btn-leocivoptions", "text": "Настройки Гражданских"},
71+
{"selector": "#btn-leoplate", "text": "Пробить Номерной знак"},
72+
73+
{"selector": "#btn-leoname", "text": "Обыскать Гражданина"},
74+
{"selector": "#btn-leonotes", "text": "Посмотреть Заметки Гражданина"},
75+
{"selector": "#btn-leotickets", "text": "Посмотреть Штрафы Гражданина"},
76+
{"selector": "#btn-leoaddnote", "text": "Добавить Заметку Гражданину"},
77+
{"selector": "#btn-leoaddticket", "text": "Выписать Штраф"},
78+
79+
{"selector": "#btn-leoaddbolo", "text": "Добавить машину в Розыск"},
80+
{"selector": "#btn-leoviewbolo", "text": "Просмотреть машины в Розыске"}
81+
]
82+
},
83+
"chat": {
84+
"global": {
85+
"types": {
86+
"tickets": "Штрафы",
87+
"notes": "Заметки",
88+
"bolos": "Машины в Розыске",
89+
"none": "Нет",
90+
91+
"name": "ФИО",
92+
"warrant": "Розыск",
93+
"citations": "Штрафы",
94+
95+
"plate": "Номерной знак",
96+
"owner": "Владелец",
97+
"stolen": "Украдено",
98+
"registration": "Регистрация",
99+
"insurance": "Страховка"
100+
},
101+
"headers": {
102+
"911": "911",
103+
"dispatch": "Диспетчер",
104+
"cad": "CAD-Диспетчер",
105+
"civ_info": "Информация о Гражданине",
106+
"veh_info": "Информация о Транспорте"
107+
},
108+
"status": {
109+
"on_duty": "На Службе",
110+
"off_duty": "Вне Службы",
111+
"busy": "Занят",
112+
"gay": "Гей",
113+
114+
"t_lower": "верно",
115+
"f_lower": "неверно",
116+
"t_upper": "Верно",
117+
"f_upper": "Неверно"
118+
}
119+
},
120+
"errors": {
121+
"civ_not_exist": "Гражданин не существует в базе данных",
122+
"civ_name_exist": "Это имя уже существует в базе данных",
123+
"civ_911_exist": "Экстренный звонок уже существует под вашим именем",
124+
"civ_911_no_dispatchers": "На данный момент нет Диспетчеров которые смогли бы ответить на ваш звонок",
125+
"civ_911_not_exist": "Экстренный звонок отсутсвует",
126+
127+
"veh_not_exist": "Транспорт не существует в базе данных",
128+
"veh_plate_exist": "Похоже что этот номерной знак уже существует в базе данных",
129+
130+
"leo_not_exist": "Полицейский отсутсвует в базе данных",
131+
"leo_status_prev": "Ваш статус уже %s"
132+
},
133+
"system": {
134+
"gen_reset": "Профили были успешно сброшены",
135+
"gen_dump": "%s Сбросил настройки DispatchSystem.",
136+
137+
"on_leo_assignment_added": "Новое Задание: %s",
138+
"on_leo_assignment_removed": "Задание удалено Диспетчером",
139+
"on_leo_status_change": "Статус обновлен Диспетчером: %s",
140+
"on_leo_role_removed": "Вы были удалены из полиции Диспетчером",
141+
"on_civ_911_accepted": "Ваш Экстренный звонок был принят",
142+
143+
"civ_create": "Новый гражданский персонаж создан: %s %s",
144+
"civ_toggle_warrant": "Статус розыска обновлен: %s",
145+
"civ_set_citations": "Количество штрафов обновлено: %s",
146+
"civ_911_init": "Пожалуйста подождите пока Диспетчер возьмет трубку",
147+
"civ_911_end": "Ваш Экстренный звонок был окончен",
148+
149+
"veh_create": "Новый Транспорт создан: %s",
150+
"veh_toggle_stolen": "Украденный статус обновлен: %s",
151+
"veh_toggle_regi": "Статус регистрации обновлен: %s",
152+
"veh_toggle_insurance": "Статус страховки обновлен: %s",
153+
154+
"leo_create": "Новый Полицейский создан: %s",
155+
"leo_status_change": "Статус полицейского был обновлен: %s",
156+
"leo_add_civ_note": "Заметка о \"%s\" была добавлена к %s %s",
157+
"leo_add_civ_ticket": "Штраф за \"%s\" в размере $%s был записан на Гражданина %s %s",
158+
"leo_bolo_add": "Розыск машины \"%s\" добавлен"
159+
}
160+
}
161+
}

0 commit comments

Comments
 (0)