Page 1 of 1

translating the notice "x more"

PostPosted: Wed Feb 20, 2013 9:22 am
by dunumba
Hi, I'd like to translate to spanish the notices "x more" on the month view. Is it possible?
Thanks, Damián

Re: translating the notice "x more"

PostPosted: Wed Feb 20, 2013 8:02 pm
by jeffalmquist
Hi Damian,

I assume you're talking about changing the word "more" to "mas", si? I'm attaching a screen shot to show you where you can do that. It's in the script parameter of the selected "Perform Script" step.

I hope that helps. Let me know if you have any other questions.

Jeff

Re: translating the notice "x more"

PostPosted: Thu Feb 21, 2013 1:48 am
by dunumba
Thanks, I've modified the Script "set array..." and the monthly calendar shows "2 más" but "3, 4... etc. more"
Should I change more steps?
Here is the image, thanks

Re: translating the notice "x more"

PostPosted: Thu Feb 21, 2013 6:25 am
by jeffalmquist
Hi Damian,

Sorry about that. Yes, you have to make the same change in the script parameter for the "Perform Script" a few lines down as well. I'm attaching another screen shot.

Jeff

Re: translating the notice "x more"

PostPosted: Thu Feb 21, 2013 9:58 am
by dunumba
Thanks Jeff, but I made both changes and the problem persists even in the original file: SC v6.23.
Sometimes the word "más" appears, but also sometimes the word "more". Look at my screen shot.
Damian

Re: translating the notice "x more"

PostPosted: Thu Feb 21, 2013 10:07 am
by jeffalmquist
Can you copy/paste your calculation for the script parameter for that second highlighted Perform Script step? (the one immediately following the "Write "X more" into array" comment). Or send a screen shot of that calc?

Re: translating the notice "x more"

PostPosted: Thu Feb 21, 2013 12:22 pm
by dunumba
I've only changed "more" for "más":
_____________

/* from when we were looping through portal rows

"Content" & " " & $$sc_RowNumber & " " & $$sc_Column & " " & TextStyleAdd (
GetAsNumber ( GetRepetition ( CalendarMonth::CalendarContentReptCalc ; $$sc_Column ) ) + 1 & " más"
; Bold )

*/

"Content" & " " & $$sc_RowNumber & " " & $$sc_Column & " 0 " & TextStyleAdd (
GetAsNumber ( $sc_writingcontent ) + 1 & " más"
; Negrita )

Re: translating the notice "x more"

PostPosted: Thu Feb 21, 2013 1:06 pm
by jeffalmquist
Your calc is correct. Turns out there's one more place where this change needs to be made, and it's in the "Insert Into Calendar { Column }" script - see attached screen shot. Sorry for all of the back-and-forth on this.

You'll also want to change the "Click in / Drag Event" script. You'll see in the second screen shot that the script looks for the string "more" to know where you clicked. So just change "more" to "mas" there too.

Re: translating the notice "x more"

PostPosted: Fri Feb 22, 2013 12:26 am
by dunumba
Thank you very much, is a pleasure working with SeedCode!
Cheers!