Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    I did not include localization (GetText) calls only because they annoy me when I’m reading code. That may be selfish, but it’s how I decided to allocate my (scarce) time. However, if you would like to put them into thecode base and contribute it back, I’d be happy to include it. I’ll even add a Spanish translation.

    As far as a picture, can you tell me more about what exactly you would like? A small team logo or flag? A bigger game action photo?

    yea some tips on how to translate this time format atleast? I need the croatian version too just like the OP, I’m not that proficient with php but there’s just 1 php file it shouldnt be too hard so I would like to try maybe

    and I rated your plugin 5 stars its the only one having everything i needed and wasn’t too difficult like league manager. only flaws maybe the tables losing data and css not working but nice overall

    Plugin Author Mark O’Donnell

    (@markodonnell)

    WRT the date/time format. Take a look at the following global variables (around line 53)

    // For the dashboard/metabox
    $mstw_gs_dtg_format = 'j M';
    // For the countdown timer; game time with a time
    $mstw_gs_cdt_time_format = "l, j M g:i a";
    // For the countdown timer; game time with only a game date (no time)
    $mstw_gs_cdt_tbd_format = "l, j M";

    See if that helps you out at all.

    Also, please tell me more about

    the tables losing data and css not working

    I’d like to fix it but don’t understand exactly what needs fixing.

    Thanks.
    -Mark

    wow thanks mark, cdt timer is primarily the part i want to translate. these lines are in mstw-game-schedule.php?
    and this last part

    // For the countdown timer; game time with only a game date (no time)
    $mstw_gs_cdt_tbd_format = "l, j M";

    How do I enable this? In case I dont translate them I would like to kick the hour,min,sec part

    And about the tables and css I dont know if anyone else had this problem, but tables lose the dates sometimes, even without the quick edit(I saw you highlighted that) and then they output the error messages on top of the table post/page.I dont know the cause I think even normal editing triggers it sometimes. And for the css my cdt widget and tables, everything actually doesnt pull anything out of the css, they just come out in normal text? but I’m not really preoccupied with that becuase this addon is technically exactly what i need atm

    Plugin Author Mark O’Donnell

    (@markodonnell)

    // For the countdown timer; game time with only a game date (no time)
    $mstw_gs_cdt_tbd_format = "l, j M";

    How do I enable this? In case I dont translate them I would like to kick the hour,min,sec part

    If I understand your question, you want to change the date time group format, correct? To understand the magic of "l, j M" you should read the php manual page for the date function found here https://php.net/manual/en/function.date.php. You can format dates pretty much any way you can possibly imagine with the right incantation.

    As for the css, it’s not messing up the data, it just formats the data. Any problems with the data, are coming from the editor. (And I’ve given you all the caveats I know of in the FAQ.) If you are seeing only normal text, please send me a link to the page, and I’ll see if I can help you out.

    Hey Mark I got it working mostly send me your email and I’ll gladly show what it looks like

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hey Kayu999,
    Love to see it. Kirofeca might be interested as well.

    You can reach me through the contact page on shoalsummitsolutions.com,
    or you can just paste your code into this forum thread (use the code button), put your e-mail up here (I could not find it in your profile.

    -Mark

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Game Schedules] Translate’ is closed to new replies.