translating the notice "x more"

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am
PostPosted: Wed Feb 20, 2013 9:22 am
Hi, I'd like to translate to spanish the notices "x more" on the month view. Is it possible?
Thanks, Damián
SeedCode Staff
SeedCode Staff
Posts: 475
Joined: Wed Jan 02, 2013 11:47 am
PostPosted: Wed Feb 20, 2013 8:02 pm
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
Attachments
Screen Shot 2013-02-20 at 8.58.40 PM.png
Screen Shot 2013-02-20 at 8.58.40 PM.png (116.8 KiB) Viewed 7171 times
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am
PostPosted: Thu Feb 21, 2013 1:48 am
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
Attachments
more.png
more.png (54.65 KiB) Viewed 7167 times
SeedCode Staff
SeedCode Staff
Posts: 475
Joined: Wed Jan 02, 2013 11:47 am
PostPosted: Thu Feb 21, 2013 6:25 am
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
Attachments
Screen Shot 2013-02-21 at 7.20.29 AM.png
Screen Shot 2013-02-21 at 7.20.29 AM.png (150.83 KiB) Viewed 7164 times
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am
PostPosted: Thu Feb 21, 2013 9:58 am
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
Attachments
mas more.png
more
mas more.png (165.7 KiB) Viewed 7159 times
SeedCode Staff
SeedCode Staff
Posts: 475
Joined: Wed Jan 02, 2013 11:47 am
PostPosted: Thu Feb 21, 2013 10:07 am
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?
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am
PostPosted: Thu Feb 21, 2013 12:22 pm
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 )
SeedCode Staff
SeedCode Staff
Posts: 475
Joined: Wed Jan 02, 2013 11:47 am
PostPosted: Thu Feb 21, 2013 1:06 pm
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.
Attachments
Screen Shot 2013-02-21 at 1.59.09 PM.png
Screen Shot 2013-02-21 at 1.59.09 PM.png (132.97 KiB) Viewed 7155 times
Screen Shot 2013-02-21 at 2.01.41 PM.png
Screen Shot 2013-02-21 at 2.01.41 PM.png (126.97 KiB) Viewed 7155 times
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am
PostPosted: Fri Feb 22, 2013 12:26 am
Thank you very much, is a pleasure working with SeedCode!
Cheers!

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: