Page 2 of 5

Re: Snicker Comments

Posted: Sun Jan 31, 2021 6:49 pm
by stani
I also wrote and also nothing ... :(

But still, the original English can be translated and replaced, right?
I just don't know where, what file ...

Re: Snicker Comments

Posted: Sun Jan 31, 2021 9:50 pm
by Edi
The language files are at /bl-plugins/snicker-0.1.2/languages.

Re: Snicker Comments

Posted: Mon Feb 01, 2021 12:08 am
by SamBrishes
Hellow,

I'm really sorry for the long wait and troubles. Can you please send me your cs_CZ.json file?

I tested this on my own and it worked without any problems (changing Bludit to "Čeština" using cs, cs_CZ as locale value, with an own created cs_CZ.json snicker-language file). I guess there are some issues on your translation file directly.
Edi wrote: Sat Nov 21, 2020 4:12 pm You are right. The plugin uses it's own language system. And there is a bug.
Not really, I'm using the same language system as Bludit, just adapted to be string-secure and in a plugin-based context to prevent overwriting of existing strings. It's also easier for the translation tool I'm using for my plugins, but that's just a side effect.


Thanks for your patience.

Sincerely,
Sam.

Re: Snicker Comments

Posted: Mon Feb 01, 2021 7:19 am
by stani
OK, I can send. But so far I have a working one only, not a final one.

Re: Snicker Comments

Posted: Wed Feb 10, 2021 10:09 pm
by stani
?...

Re: Snicker Comments

Posted: Sun Feb 21, 2021 1:12 pm
by SamBrishes
Hello,

I've already sent you the valid Czech `cs_CZ.json` language file directly via E-Mail (8th of February), this took a bit longer since I didn't update my E-Mail address here on the Bludit Forums (So I didn't see the mail, I've fixed it now). Sorry for that.

I've sent it to you again using the right E-Mail address.

The issue was, your JSON document was not valid, thus Bludit skipped it completely. JSON uses a really strict syntax, a missing comma, a not-escaped character or anything else will destroy the document completely.

Please use a JSON Linter / Validator such as

https://jsonlint.com/
https://jsonformatter.curiousconcept.com/

or write your language files in a Syntax-Checking Editor like

https://atom.io/

Thanks, sorry for waiting.

Sincerely,
Sam.

Re: Snicker Comments

Posted: Thu Feb 25, 2021 12:52 pm
by stani
So now it's OK.

I had to take the original JSON in English, and carefully perform the translation line by line.

The translation is complete, works, and I will now test the Sniker.

Re: Snicker Comments

Posted: Sat Feb 27, 2021 10:31 pm
by stani
Something else, I found a bug.

To add a (new) post is below Answer and Comment:
1.jpg
1.jpg (23.6 KiB) Viewed 9771 times


But at Reply is Answer and Answer:
2.jpg
2.jpg (29.97 KiB) Viewed 9771 times

Re: Snicker Comments

Posted: Sun Feb 28, 2021 6:53 am
by SamBrishes
Hellow,

you're right, that's really confusing. The answer field applies to the Captcha of course, the second is the action button to answer to a comment.

I'll rename this in a future update.

Thanks.

Sincerely,
Sam.

PS.: https://github.com/pytesNET/snicker/issues/32

Re: Snicker Comments

Posted: Sun Feb 28, 2021 7:17 am
by stani
Hello Sam,

one small improvement - line 199:

Code: Select all

"Written by <b>%s<\/b>",
And please be in the next update Subscription, Registration and Email notification?

thanks