Log in

View Full Version : Avspmod - modify?


color
25th October 2018, 16:45
I want to translate Avspmod to Swedish, I'm following the instruction and put an empty text-file named "translation_lng.py" in subdirector and start Avspmod, but no text is added so I can translate.

Also. is there a way to change the text color when its an error? The red text on black background is a big problem, I can't see red color that well and red on black background...well I don't know why but I can not see the text.

ChaosKing
25th October 2018, 18:39
The correct filename is translation_swe.py in your case. I just tested it and it works perfectly. Here is an example :D https://www.sendspace.com/file/em7wkw
After placing the file inside the translations folder you need to change the language in Avspmod to svenska in Program settings -> misc.

Edit and don't forget to restart the program!

color
25th October 2018, 19:04
Thank you for the translation file. I don't know if its cause I use the modified version off avspmod (https://forum.doom9.org/showpost.php?p=1801766&postcount=1202). I did try a few lines, restarted avspmod but it did not translate, but it says its in Swedish under misc. I will try the "normal" version if I can get it to work.

EDIT: I only did the top, but It is still in English in the program, even the "normal" version from (June 25, 2013).

messages = {
"AviSynth skript" : u"",
"AviSynth teckensnitt och färger" : u"",
"Bakgrund" : u"",
.....

Groucho2004
25th October 2018, 19:40
messages = {
"AviSynth skript" : u"",
"AviSynth teckensnitt och färger" : u"",The translations go between the red, bold quotation marks.

color
25th October 2018, 19:51
Oh, lol. Good I didn't do so mutch translation. :)

BTW, does anyone know if its possible to change the text color when there is an error in the image? I can not see the red on a black background. It often ends up with print screen and change the color in gimp to see whats wrong. :)

gispos
25th October 2018, 20:54
Menu Options > Fonts and colors
Maybe you find something there

color
25th October 2018, 21:10
I did try, changing the red on "Basic (2)" and the two on "Advanced" but it didn't work (even restarted). I know some things like icons, symbols and some text and colors can be edited in "Resource Hacker" but I don't really know how that program work, or how to find the right place to edit. But I got Virtualdub and Audacity to open there so I could edit the buttons, that was mutch easier. But I hope there is an easier way.

ChaosKing
25th October 2018, 22:18
There is a "Error message font" in Settins->video, but it seems it is not saved correctly or not at all. In other words, it's a bug.

gispos
26th October 2018, 21:11
I tried it. With me no error and it is also saved.
Ever tried to delete options.dat and save all settings again.
https://i.postimg.cc/fk7JqN9C/Basic-2.jpg (https://postimg.cc/fk7JqN9C)

Video > Settings, which of them?
https://i.postimg.cc/LgV5Jtpw/Video-Settings.jpg (https://postimg.cc/LgV5Jtpw)

ChaosKing
26th October 2018, 21:29
The second image The button with Arial, 24
In my test I only tried to change the color. It seems that the font is saved, but the color will be reset. Or maybe the color is not used at all in avspmod...

gispos
27th October 2018, 19:42
The second image The button with Arial, 24
In my test I only tried to change the color. It seems that the font is saved, but the color will be reset. Or maybe the color is not used at all in avspmod...

it was not a bug, it just was not implemented.
I have implemented it, but now ask myself why?

Who needs it? It just puffs up the code.
I am considering if I keep it.

regards

ChaosKing
27th October 2018, 20:03
it was not a bug, it just was not implemented.
I have implemented it, but now ask myself why?

Who needs it? It just puffs up the code.
I am considering if I keep it.

regards

The answer is in the 1st post
is there a way to change the text color when its an error? The red text on black background is a big problem, I can't see red color that well and red on black background...well I don't know why but I can not see the text.
people with color deficiency

gispos
27th October 2018, 20:31
Ok, it will be kept.

color
27th October 2018, 22:03
Yes, I am accouly color blind.

I think this thread could be closed, cause I answered in the other thread, and I don't want to double post:

https://forum.doom9.org/showthread.php?p=1856219#post1856219

And the other question got answered. :)

-------

If someone can close this thread, or just continue in the other.