Raised This Month: $12 Target: $400
 3% 

Translit


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
ZmifF
Senior Member
Join Date: Jul 2006
Location: Russia
Old 11-29-2006 , 12:58   Translit
Reply With Quote #1

This plugin is for replacement of English symbols by symbols of other languages which are supported UTF-8. For example: English symbols or a character set on Russian.
Also possible to use this plugin for replacement capital letters to lower case, replacements bad words, etc.

Console commands: amx_translit, say /translit, say_team /translit - on/off translit.
amx_client_translit 1/0 - allow translit to clients.
If first symbol of message is "!" or "/" this message will not be replaced.

Added translit of standart adminchat commands as amx_csay, amx_chat, say @@.
To use it you have to disable default plugin adminchat.amxx. If you don't want to use translit of adminchat you have to comment line 8 in translit.sma and recompile plugin
Code:
//#define ADMINCHAT_TRANSLIT
it will disable transliting commands:
amx_csay, amx_tsay, amx_psay, amx_say, say @@@, say_team @
Attached Files
File Type: sma Get Plugin or Get Source (translit.sma - 2381 views - 12.8 KB)
File Type: rar translit.rar (3.6 KB, 1526 views)
__________________
Не воспринимай жизнь всерьёз - нам всё равно из неё живыми не выбраться...

Last edited by ZmifF; 12-17-2007 at 08:48.
ZmifF is offline
Send a message via ICQ to ZmifF
The Specialist
BANNED
Join Date: Nov 2006
Old 11-29-2006 , 15:14   Re: Translit
Reply With Quote #2

not bad. The only thing i would say is use pcvars (its almost required for an approval ) ++karma
The Specialist is offline
Send a message via AIM to The Specialist
Old 11-29-2006, 15:48
ZmifF
This message has been deleted by ZmifF.
bonafide
Senior Member
Join Date: Feb 2006
Location: Venice Beach!
Old 11-29-2006 , 21:36   Re: Translit
Reply With Quote #3

looks great gj
__________________
bonafide is offline
Send a message via ICQ to bonafide Send a message via AIM to bonafide Send a message via MSN to bonafide Send a message via Skype™ to bonafide
Old 11-30-2006, 21:52
ZmifF
This message has been deleted by ZmifF.
ZmifF
Senior Member
Join Date: Jul 2006
Location: Russia
Old 12-02-2006 , 06:07   Re: Translit
Reply With Quote #4

Fixed problem with translit if user never used amx_translit command
__________________
Не воспринимай жизнь всерьёз - нам всё равно из неё живыми не выбраться...
ZmifF is offline
Send a message via ICQ to ZmifF
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 12-02-2006 , 08:14   Re: Translit
Reply With Quote #5

So what do i exactly have to put in the translit.ini?
__________________
anssik is offline
neggard
Member
Join Date: Mar 2004
Location: Sweden
Old 12-02-2006 , 09:59   Re: Translit
Reply With Quote #6

So could it translate more or is it just that already are in the ini file?
neggard is offline
Send a message via MSN to neggard
ZmifF
Senior Member
Join Date: Jul 2006
Location: Russia
Old 12-04-2006 , 07:34   Re: Translit
Reply With Quote #7

For example if you need to replace Eng symbol "a" to Eng symbol "b" in translit.ini:
a | b
If you need replace Eng symbols "abc" to "d":
abc | d
If you need replace eng symbols "hello" to "bye-bye":
hello | bye-bye
or "fuck" to "***"
fuck | ***
or "A" to "a"
A | a
that's all

It could replace up to 128 symbols or charcters sets by default. So because, you should replace translit.ini as I wrote above. If you add more it won't work! File translit.ini in archive translit.rar is for example just!
__________________
Не воспринимай жизнь всерьёз - нам всё равно из неё живыми не выбраться...

Last edited by ZmifF; 12-04-2006 at 07:46.
ZmifF is offline
Send a message via ICQ to ZmifF
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 12-04-2006 , 09:04   Re: Translit
Reply With Quote #8

So can it replace ' with an д or ; with an Ц ? Translate the english symbols to finnish symbols?

like

' | д
; | ц
__________________
anssik is offline
ZmifF
Senior Member
Join Date: Jul 2006
Location: Russia
Old 12-05-2006 , 16:23   Re: Translit
Reply With Quote #9

Yes of course! I thought that symbols Д and Ц is Russian only These Finnish too?
You can change translit.ini anyway! I remind you: plugin will replace any symbol or a character set to what you need. I don't know Finish so because I can't say correct it or not...
For example on Russian keyboard to letter "U" there the letter "Г", so because I wrote in translit.ini:
u | г
__________________
Не воспринимай жизнь всерьёз - нам всё равно из неё живыми не выбраться...

Last edited by ZmifF; 12-05-2006 at 16:57.
ZmifF is offline
Send a message via ICQ to ZmifF
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 12-05-2006 , 16:50   Re: Translit
Reply With Quote #10

Okay, that's so cool. Will really try this plugin.

I'm from Finland and the lang is Finnish, not Finish.

I thought that it's impossible to use non-US characters in CS. You proved it wrong. Nice job!

Definately karma++.
__________________
anssik is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode