Commit Graph

239 Commits

Author SHA1 Message Date
regener
fc337d12a4 Hungarian language update (#474)
The important parts have been updated* and the missing parts added according to my best knowledge.

*admincmd.txr was UTF8 instead of UTF8 without BOM, I'm not sure it was a mistake or not.
2018-07-10 12:10:25 +02:00
OciXCrom
528fec1a29 Macedonian & Bulgarian translation fix (#477)
* Macedonian & Bulgarian translations fix

* Macedonian & Bulgarian translations fix
2018-07-10 12:02:47 +02:00
Vincent Herbet
8e7eb94e50 Overhaul Restrict Weapons plugin - part 1 (#347)
* Restmenu: Use CS_OnBuyAttempt forward to detect any buy attempt - part 1

- Removed any useless code which won't be needed anymore with forward. A lot!

* Restmenu: Use CS_OnBuyAttempt forward to detect any buy attempt - part 2

- Added the actual forward
- Because of forward passing a CSI_* constant, it's needed to refactor how is saved a blocked item. Not fully implemented everywhere because menu is going to be refactored later as well.

* Restmenu: Replace findAliasId() by cs_get_item_id()

* Restmenu: Use cvar pointers

* Restmenu: Refactor menu - part 1

Purpose:
  - Convert old menus to new menus.
  - Instead of having one menu with several pages, having one main menu (item types) and sub-menus (items list). More readable, more easy to naviguate and no pagination.
  - Move hardcoded strings to ML

* Restmenu: Refactor menu - part 2

Purpose:
  - Convert old menus to new menus.
  - Instead of having one menu with several pages, having one main menu (item types) and sub-menus (items list). More readable, more easy to naviguate and no pagination.
  - Move hardcoded strings to ML
  - Minor visual improvements

* Restmenu: Refactor podbot stuff

- Factorized code
- Used a more direct way to set restrictions

* Restmenu: Refactor load/save config file

- Used new file natives
- Moved harcoded message header to ML
- QoL: saved restricted items will be grouped per type
- Cleaned up few things

* Restmenu: Refactor amx_restrict command

- Minor improvements on how are retrieved/handled arguments from command.
- Same as menu, it displays first classes list, then it lists associated items. No more pagination.
- Minor visual changes.

* Restmenu: Remove unused stuffs

* Restmenu: Move more harcoded messages to ML

* Restmenu: Move MAPSETTINGS define to cvar

- Don't forget me in changelog
- There is room for improvements but for now keep the same behavior

* Restmenu: Add some consistency, no code change

- Renamed some variables
- Changed functions order
- Removed extra spaces
- Fixed leading tabs

* Restmenu: Use inline formatting at various places

* Restmenu: Make command descriptions multilingual for player

* Restmenu: Refresh opened menus if the command is used to save/load/set.

Also, I've removed the renaming of "exit" item because it was misleading as it returns MENU_EXIT when it's named with "back" and handling the action wiht that doesn't make much sense.

* Restmenu: Adjust minor things (consistency, readability, safety)

* Restmenu: Show the current category when items are listed through the command

* Restmenu: Display admin activity on loading/saving

+ load: reset blocked items only if file has been loaded
+ load: ignored if no arguments
+ save: added a silly fix because of the cvars
2017-08-05 10:45:29 +02:00
Vincent Herbet
07c3d49cfa Add amx_searchcmd command in adminhelp plugin and do some clean up (#415)
* AdminHelp: Use semicolon everywhere

* AdminHelp: Translate amx_help description

* AdminHelp: Use the available ADMIN_ALL define in register_concmd

* AdminHelp: Bind the cvars

* AdminHelp: Replace %L by %l

* AdminHelp: Remove task only when necessary

* AdminHelp: Reorder some lines to prepare next commit

* AdminHelp: Use read_arg_int() on the first argument and clamp the value

* AdminHelp: Use read_arg_int() on the second argument and clamp the value

* AdminHelp: Rename few variables and callback

* AdminHelp: Use constants for buffers max length

* AdminHelp: Add amx_searchcmd command, and update the multilingual file

* AdminHelp: Adjust spacing a little for readability

* AdminHelp: Add amx_help_display_msg_time cvar

* AdminHelp: Add the new command in the help message (and fix missing return)

* AdminHelp: Add a check if provided entry no. goes above the total found entries

* AdminHelp: Don't show the help message for begin if all commands are already displayed

* AdminHelp: Make sure the server command use amx_help_amount_per_page value
2017-08-01 22:56:21 +02:00
KliPPy
c0011891e6 Fix temporary ban flags, add lang keys (#440) 2017-05-27 21:47:24 +02:00
Evandro Coan
615ecdf7f3 Fixed grammar for Start Voting mapsmenu.txt lang (#393)
This is bad, what it currently means `Votacao Iniciada` (Votação Iniciada) in english is `The voting has been started`, instead of `Start voting`.

The translator translate it back as `Voting Started`.
Translator link: https://translate.google.com.br/#pt/en/Vota%C3%A7%C3%A3o%20Iniciada
2017-01-01 11:28:11 +01:00
Karol Szuster
e7e9994b73 Updated PL translations
Updated PL translations
2014-12-28 20:56:52 +01:00
Karol Szuster
47d6f849f2 Added missing dictionary's key to PL translation.
Added TRANSF_SILENT key to PL translation.
2014-12-28 20:55:54 +01:00
Vincent Herbet
e8acb93b99 Merge pull request #75 from LittleKu/patch-1
Add chinese language
2014-09-04 23:25:11 +02:00
LittleKu
4d0d865700 Update stats_dod.txt 2014-09-04 13:57:10 +08:00
LittleKu
8bd81ee883 Update restmenu.txt 2014-09-04 12:33:53 +08:00
LittleKu
8b0a8737b8 Update plmenu.txt 2014-09-04 12:19:59 +08:00
LittleKu
c111f59825 Update pausecfg.txt 2014-09-04 12:14:27 +08:00
LittleKu
f2ba295668 Update nextmap.txt 2014-09-04 11:59:54 +08:00
LittleKu
01dbd4093b Update statscfg.txt 2014-09-04 11:58:05 +08:00
xPaw
518944c41e Add an option to disable showing last man's health (bug 5847) 2014-08-18 12:36:13 +03:00
Vincent Herbet
f185eaa232 Update TRANS_SILENT Serbian translaton. 2014-08-16 17:41:27 +02:00
Kia
8890b2fd27 Added languages, languages available now :
[en]
[de]
[fr]
[sv]
[ru]
[pl]
[es]
[sk]
[sr]
[tr]
[da]
[nl]
[bp]
[cz]
[fi]
[bg]
[ro]
[hu]
2014-08-13 14:20:29 +02:00
Kia
2ab4a8a44a Added Silent Transfer Option in Team Menu. 2014-08-11 16:38:16 +02:00
Kia
5ba0e3ec2a Added Silent Transfer Option in Team Menu.
Players will be transferred without getting killed if admin chooses to enable this function.
2014-08-11 14:46:30 +02:00
LittleKu
f5164a9c02 Update statsx.txt 2014-08-01 12:25:36 +08:00
LittleKu
8f6f49c9f3 Update scrollmsg.txt 2014-07-31 00:55:54 +08:00
LittleKu
a397dfffb7 Update telemenu.txt 2014-07-31 00:50:09 +08:00
LittleKu
dc9237c1d8 Update time.txt 2014-07-31 00:49:06 +08:00
LittleKu
7248c5e731 Update timeleft.txt 2014-07-31 00:41:38 +08:00
LittleKu
4970aaf02d Update multilingual.txt 2014-07-31 00:36:12 +08:00
LittleKu
6da929dc95 Update miscstats.txt 2014-07-31 00:24:18 +08:00
Vincent Herbet
919af60ca9 Merge pull request #85 from xPaw/missing-tr
Add missing [tr] translations
2014-07-28 21:45:14 +02:00
xPaw
437ce48f42 Add missing [tr] translations 2014-07-28 22:40:38 +03:00
xPaw
fecf24ebfd Add missing [tr] translation in time.txt 2014-07-27 13:05:06 +03:00
xPaw
d65cedf8c7 Remove leet speak 2014-07-27 13:03:23 +03:00
LittleKu
cf93ad50fa Update menufront.txt 2014-07-21 22:28:46 +08:00
LittleKu
46c9535087 Update mapsmenu.txt 2014-07-21 22:24:49 +08:00
LittleKu
57d621ac14 Update mapsmenu.txt 2014-07-21 22:24:19 +08:00
LittleKu
59219d3825 Update mapchooser.txt 2014-07-21 21:41:18 +08:00
LittleKu
8a6f6d7e36 Update languages.txt 2014-07-21 21:37:46 +08:00
LittleKu
477b61c5aa Update imessage.txt 2014-07-21 21:34:02 +08:00
LittleKu
2930654c7d Update common.txt 2014-07-21 21:32:10 +08:00
LittleKu
1f98a77ba0 Update cmdmenu.txt 2014-07-21 21:26:40 +08:00
LittleKu
9f513a755b Update antiflood.txt 2014-07-21 21:25:13 +08:00
LittleKu
8c46046fdb Update adminvote.txt 2014-07-21 21:23:09 +08:00
LittleKu
178516ac17 Update adminslots.txt 2014-07-21 20:59:41 +08:00
LittleKu
6b6a7bdc2b Update adminhelp.txt 2014-07-21 20:56:19 +08:00
LittleKu
4346a59035 Update admincmd.txt 2014-07-21 20:50:50 +08:00
LittleKu
da90ed748b Update adminchat.txt 2014-07-21 02:25:38 +08:00
LittleKu
2fccafb3ca update admin.txt
add a chinese language
2014-07-21 01:00:25 +08:00
xPaw
1262c197c4 Fix some translations. 2014-07-17 16:53:20 +02:00
Vincent Herbet
face80aa3f Merge pull request #66 from patrig/patch-26
Update statscfg.txt
2014-07-17 15:35:41 +02:00
Vincent Herbet
4cbb9b0e64 Merge pull request #64 from 9iky6/patch-8
Update statsx.txt
2014-07-17 15:35:16 +02:00
Vincent Herbet
7a46222758 Merge pull request #58 from patrig/patch-23
Update restmenu.txt
2014-07-17 15:31:22 +02:00
Danil
8111eee1b2 Update statscfg.txt
Add Russian language ...
2014-07-17 19:27:47 +06:00
Vincent Herbet
9413eba2f6 Merge pull request #61 from 9iky6/patch-5
Update adminchat.txt
2014-07-17 15:25:28 +02:00
Vincent Herbet
17553c844a Merge pull request #63 from 9iky6/patch-7
Update pausecfg.txt
2014-07-17 15:24:33 +02:00
Vincent Herbet
092535d653 Merge pull request #62 from 9iky6/patch-6
Update cmdmenu.txt
2014-07-17 15:23:56 +02:00
Danil
a98df451cf Update restmenu.txt
fix [ru].
2014-07-17 18:33:27 +06:00
9iky6
ffb179c991 Update statsx.txt 2014-07-16 01:54:50 +06:00
9iky6
d53ce41a20 Update pausecfg.txt 2014-07-16 01:52:17 +06:00
9iky6
c0201a52a5 Update cmdmenu.txt 2014-07-16 01:46:31 +06:00
9iky6
baef33c12d Update adminchat.txt 2014-07-16 01:37:17 +06:00
9iky6
7d49398186 Update admin.txt 2014-07-16 01:35:28 +06:00
Vincent Herbet
1dba9eaeb9 Merge pull request #59 from patrig/patch-24
Update pausecfg.txt
2014-07-15 18:56:43 +02:00
Vincent Herbet
718e5efaf3 Merge pull request #57 from patrig/patch-22
Update admincmd.txt
2014-07-15 18:55:08 +02:00
Vincent Herbet
84404ec311 Merge pull request #56 from patrig/patch-21
Update telemenu.txt
2014-07-15 18:54:40 +02:00
Vincent Herbet
6d6d492c51 Merge pull request #55 from patrig/patch-20
Update time.txt
2014-07-15 18:54:33 +02:00
Vincent Herbet
d0501a8314 Merge pull request #54 from patrig/patch-19
Update timeleft.txt
2014-07-15 18:54:21 +02:00
Vincent Herbet
ff39293537 Merge pull request #53 from patrig/patch-18
Update scrollmsg.txt
2014-07-15 18:54:12 +02:00
Vincent Herbet
e03b2f7183 Merge pull request #52 from patrig/patch-17
Update plmenu.txt
2014-07-15 18:54:01 +02:00
Vincent Herbet
b1ac1453e1 Merge pull request #51 from patrig/patch-16
Update nextmap.txt
2014-07-15 18:53:52 +02:00
Vincent Herbet
e71b20359c Merge pull request #50 from patrig/patch-15
Update multilingual.txt
2014-07-15 18:53:44 +02:00
Vincent Herbet
42fb23d6c3 Merge pull request #49 from patrig/patch-14
Update miscstats.txt
2014-07-15 18:53:33 +02:00
Vincent Herbet
9682abb095 Merge pull request #48 from patrig/patch-13
Update menufront.txt
2014-07-15 18:52:58 +02:00
Vincent Herbet
d32457f9cf Merge pull request #47 from patrig/patch-12
Update mapsmenu.txt
2014-07-15 18:52:46 +02:00
Vincent Herbet
69651e6ebf Merge pull request #46 from patrig/patch-11
Update mapchooser.txt
2014-07-15 18:52:29 +02:00
Vincent Herbet
132a7fd0fc Merge pull request #36 from patrig/patch-1
Update admin.txt
2014-07-15 18:52:14 +02:00
Vincent Herbet
14600c0980 Merge pull request #45 from patrig/patch-10
Update languages.txt
2014-07-15 18:51:59 +02:00
Vincent Herbet
965f479bad Merge pull request #44 from patrig/patch-9
Update imessage.txt
2014-07-15 18:51:46 +02:00
Vincent Herbet
ab12ed6275 Merge pull request #43 from patrig/patch-8
Update common.txt
2014-07-15 18:51:28 +02:00
Vincent Herbet
8e0609e3ad Merge pull request #41 from patrig/patch-6
Update antiflood.txt
2014-07-15 18:51:07 +02:00
Vincent Herbet
2d0479bb07 Merge pull request #42 from patrig/patch-7
Update cmdmenu.txt
2014-07-15 18:50:47 +02:00
Vincent Herbet
320eede0a4 Merge pull request #40 from patrig/patch-5
Update adminvote.txt
2014-07-15 18:50:29 +02:00
Vincent Herbet
f496dc5bff Merge pull request #39 from patrig/patch-4
Update adminslot.txt … …
2014-07-15 18:50:10 +02:00
Danil
d31cc7adbb Update pausecfg.txt
Update restmenu.txt …

Just do later completed yet. need to run
2014-07-15 16:55:19 +06:00
Danil
091a685d75 Update restmenu.txt
Add Russian language ...
2014-07-15 16:26:39 +06:00
Danil
357258c46e Update admincmd.txt
Add Russian language ...
2014-07-15 16:14:25 +06:00
Danil
c3eef5df05 Update telemenu.txt
Add Russian language ...
2014-07-15 16:00:24 +06:00
Danil
e46b5fc132 Update time.txt
Add Russian language ... Thanks NiHiLaNTh
2014-07-15 15:57:04 +06:00
Danil
982c3ae3bd Update timeleft.txt
Add Russian language ...
2014-07-15 15:53:20 +06:00
Danil
b06baffb06 Update scrollmsg.txt
Add Russian language ...
2014-07-15 15:50:50 +06:00
Danil
9be1e63080 Update plmenu.txt
Add Russian language ...
2014-07-15 15:48:34 +06:00
Danil
e190309f4e Update nextmap.txt
Add Russian language ...
2014-07-15 15:34:39 +06:00
Danil
bf210cd080 Update multilingual.txt
Add Russian language ...
2014-07-15 15:33:37 +06:00
Danil
08968e2130 Update miscstats.txt
Add Russian language ...
2014-07-15 15:31:32 +06:00
Danil
7e29c62e18 Update menufront.txt
Add Russian language ...
2014-07-15 15:15:41 +06:00
Danil
3ffd04b12d Update mapsmenu.txt
Add Russian language ...
2014-07-15 15:11:50 +06:00
Danil
76d30f2e5b Update mapchooser.txt
Add Russian language ...
2014-07-15 15:06:09 +06:00
Danil
d196fcf32c Update languages.txt
Add Russian language ...
2014-07-15 15:01:00 +06:00
Danil
41175ce3e9 Update imessage.txt
Add Russian language ...
2014-07-15 14:56:59 +06:00
Danil
d6acb22582 Update common.txt
Add Russian language ...
2014-07-15 14:55:04 +06:00
Danil
4a7c0bb9ea Update cmdmenu.txt
Add Russian language ...
2014-07-15 14:44:20 +06:00
Danil
bb222d1f33 Update antiflood.txt
Add Russian language ...
2014-07-15 14:42:14 +06:00