egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ChanRelay 4.0 i18n
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 859
Location: France

PostPosted: Sat May 08, 2021 4:23 am    Post subject: Reply with quote

Ok, so it don't load msgcat (normal, you use english).
Gonna have a look on clock. Can you give me the timezone of your eggdrop pls (.tcl putlog $timezone)?
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
vam2u
Voice


Joined: 27 Mar 2021
Posts: 20
Location: Malaysia

PostPosted: Sat May 08, 2021 4:53 am    Post subject: Reply with quote

Here you go on the eggdrop timezone Smile
[03:52:37] EST
Tcl:
Back to top
View user's profile Send private message
doas
Voice


Joined: 17 May 2021
Posts: 4

PostPosted: Mon May 17, 2021 9:56 pm    Post subject: same issue Reply with quote

hi
i have tried all the above suggestions. but its still not working. was getting the same errors before.

<Jokhon> [19:25:40] Tcl error [::crelay::trans:mode]: expected integer but got "GREGORIAN_CHANGE_DATE"
<Jokhon> [19:25:42] Tcl error [::crelay::trans:join]: expected integer but got "GREGORIAN_CHANGE_DATE"
<Jokhon> [19:25:42] Tcl error [::crelay::trans:topic]: expected integer but got "GREGORIAN_CHANGE_DATE"
<Jokhon> [19:25:55] Tcl error [::crelay::trans:join]: expected integer but got "GREGORIAN_CHANGE_DATE"
<Jokhon> [19:25:55] Tcl error [::crelay::trans:topic]: expected integer but got "GREGORIAN_CHANGE_DATE"
<Jokhon> [19:27:10] Tcl error [::crelay::trans:pub]: expected integer but got "GREGORIAN_CHANGE_DATE"

and disable the debug mode. its not working atall!.how could i resolve this issue.

regards
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 859
Location: France

PostPosted: Tue May 18, 2021 4:01 am    Post subject: Reply with quote

Done a modification in https://gitlab.com/tcl-scripts/chanrelay/-/blob/master/chanrelay.tcl

Now, the locale is initialy forced to en, and then new locale is applyed if needed.
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
vam2u
Voice


Joined: 27 Mar 2021
Posts: 20
Location: Malaysia

PostPosted: Thu May 20, 2021 11:06 am    Post subject: Reply with quote

Thanks CrazyCat, let me try it and see how it goes Smile

CrazyCat wrote:
Done a modification in https://gitlab.com/tcl-scripts/chanrelay/-/blob/master/chanrelay.tcl

Now, the locale is initialy forced to en, and then new locale is applyed if needed.
Back to top
View user's profile Send private message
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 384

PostPosted: Thu Jun 10, 2021 7:56 am    Post subject: Reply with quote

CrazyCat just setup ChanRelay latest version from GitLab, and it works Perfect Smile

Awesome work mate


Sidenote: would it be possible for the script to create chanrelay.db on it's own? rather than myself having to create it, not important, but just a suggestion Wink
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 859
Location: France

PostPosted: Thu Jun 10, 2021 8:54 am    Post subject: Reply with quote

ComputerTech wrote:
Sidenote: would it be possible for the script to create chanrelay.db on it's own? rather than myself having to create it, not important, but just a suggestion Wink

It does, if the $crpath exists (default is scripts/crtools/) and is writeable.

Sidenote: since version 4, chanrelay is not a single file but a pack with the core and a subdirectory containing translations and where databases are also created.
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 384

PostPosted: Thu Jun 10, 2021 9:15 am    Post subject: Reply with quote

Ah! so the directory crtools has to exist, that makes sense, Thanks CrazyCat Razz
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 859
Location: France

PostPosted: Thu Jun 10, 2021 9:38 am    Post subject: Reply with quote

No crtools, no translation Smile
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 384

PostPosted: Thu Jun 10, 2021 2:16 pm    Post subject: Reply with quote

Perhaps by loading chanrelay could create the dir crtools? just a suggestion Laughing
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 859
Location: France

PostPosted: Thu Jun 10, 2021 6:09 pm    Post subject: Reply with quote

ComputerTech wrote:
Perhaps by loading chanrelay could create the dir crtools? just a suggestion Laughing

Well... It does.
You don't download chanrelay.tcl, you download a release (https://gitlab.com/tcl-scripts/chanrelay/-/releases/chanrelay-4.0) which contains the script and the needed subdirs and files.

If you just download the .tcl file, you actually lose all translation system.
You're lucky, you use english as language so you haven't any trouble, but if I add modules, they will be in crtools/.

BTW, I think I have to do a better documentation about what must be downloaded.

re-reading my first post
CrazyCat wrote:
New version of chanrelay : https://gitlab.com/tcl-scripts/chanrelay/-/releases/chanrelay-4.0

Short changelog:
- Internationalisation (i18n) using msgcat
- All files (logs, settings, translations) are moved in crtools/ directory

Do not hesitate to transmit me corrections in translations (or correct directly in gitlab) or send me new languages

_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 384

PostPosted: Thu Jun 10, 2021 10:26 pm    Post subject: Reply with quote

Oh shoot! i didn't see that lol, thanks for explaining CrazyCat, i completely missed that Rolling Eyes
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 384

PostPosted: Sat Jul 03, 2021 3:23 pm    Post subject: Reply with quote

So, still getting this bug on topic change.
Code:

* ComputerTech has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet
* ` has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet
* ` has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet
<ComputerTech> NOOO
* ` has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet
* ` has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet
<ComputerTech>bad `
* ` has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet
* ` has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet
* ` has changed the topic to: Welcome To #ComputerTech | Relaying to TechNet, FairNet

lol, so yeah, hope it can be fixed Wink

and yeah using latest version of this script Razz
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 859
Location: France

PostPosted: Sat Jul 03, 2021 3:59 pm    Post subject: Reply with quote

Strange, really strange.
More strange is that is not the formating for my topic changed, which is "*** %1\$s changes topic of %2\$s to '%3\$s'"

And whois "`" ?

Can you put a complete log from your IRC client, on each channel, precising which channel and network it is, and which nicks are used by your eggdrop ?
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 384

PostPosted: Sat Jul 03, 2021 5:14 pm    Post subject: Reply with quote

Okay, well "`" is the eggdrop using chanrelay.tcl, and let me go grab the logs you asked for Wink

P.S. it's the same problem from Here
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber