Mister

Forum Replies Created

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: $this->daysOfWeekShort in Main.php still not fixed #1254123
    Mister
    Participant

    Hi Nico,

    thanks for taking care of that.

    One more question: As those properties are deprecated – how is the functionality then covered? Are there new properties for the day names?

    in reply to: Updates: List of changed files / templates #1252476
    Mister
    Participant

    Hi George,

    thanks for the info. Using a staging environment is how I currently handle it. However, it requires the “manual” testing of all sites.

    An alternative (which just came to my mind) would be to make a diff comparison of all original template files from the previous version of plugin folder for which a customizer version exists in the child theme), against the original template files from the new version.

    Do you know whether there is a good diff software (for Mac), which can do bulk diffs for multiple files with syntax highlighting?

    Mister
    Participant

    Just to add some clarification:

    Please take a template, e.g. “single-event.php” and copy it to the theme to customize

    Then add the following code to see the result of print_r:

    <?php 
    print_r(tribe_events_get_days_of_week( 'min' )); // will print Array ( [1] => M [2] => T [3] => W [4] => T [5] => F [6] => S [0] => S )
    print_r(tribe_events_get_days_of_week( 'short' )); // will print Array ( [Jan] => Jan [Feb] => Feb [Mar] => Mar [Apr] => Apr [May] => May [Jun] => Jun [Jul] => Jul [Aug] => Aug [Sep] => Sep [Oct] => Oct [Nov] => Nov [Dec] => Dec [0] => )
    ?>

    As you can see the second statement returns months. This seems definitely a bug since 4.4, because before the update it was working.

    Can you please fix asap?

    in reply to: Month Names and Weekday Names not translated #1195456
    Mister
    Participant

    I could resolve the issue. It was because the .po file for WordPress in the other language was not properly installed.

Viewing 4 posts - 16 through 19 (of 19 total)