• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Translation help

imthebest

Member
Showcase
Sportsbook
Hi,

I'm having a hard time trying to translate those:

- When someone reports an event, the report title is something like Event 'A vs B'. What phrase should I edit in order to translate "Event"? Note: I already translated nflj_sportsbook_event with no effect on the above situation.

- When viewing /sportsbook there is block at the right side called "Upcoming events". Inside there are some events listed and with a line Status: open. What phrase should I edit in order to translate "open"? Note: I already translated nflj_sportsbook_status_open with no effect on the above situation.

- After having translated the phrase nflj_sportsbook_updated to "Changed" (as an example)... when viewing an event that contains an outcome that has been updated, it shows the following: Today hh:mm| Updated: x minutes ago. However if I click on the "Detailed outcomes" tab then I see Today hh:mm | Changed: x minutes ago. As you can see, on the first scenario, it looks like you are ignoring the phrase nflj_sportsbook_updated. Also, you are missing an space between "hh:mm" and "|".

Thanks,
imthebest
 
Last edited:
- When someone reports an event, the report title is something like Event 'A vs B'. What phrase should I edit in order to translate "Event"? Note: I already translated nflj_sportsbook_event with no effect on the above situation.
The Report handler uses a dynamic phrase for that: nflj_sportsbook_event_title. The TITLE of the event is passed into the Phrase.

PHP:
    public function getContentTitle(array $report, array $contentInfo)
    {
        return new XenForo_Phrase('nflj_sportsbook_event_title', array('title' => $contentInfo['title']));
    }


- When viewing /sportsbook there is block at the right side called "Upcoming events". Inside there are some events listed and with a line Status: open. What phrase should I edit in order to translate "open"? Note: I already translated nflj_sportsbook_status_open with no effect on the above situation.
The actual enum value is being displayed (as its lower case open and not Open). I've changed this for the next release.


- After having translated the phrase nflj_sportsbook_updated to "Changed" (as an example)... when viewing an event that contains an outcome that has been updated, it shows the following: Today hh:mm| Updated: x minutes ago. However if I click on the "Detailed outcomes" tab then I see Today hh:mm | Changed: x minutes ago. As you can see, on the first scenario, it looks like you are ignoring the phrase nflj_sportsbook_updated. Also, you are missing an space between "hh:mm" and "|".
One was Phrased, the other was not. I've removed the hard coded text and replaced it with the phrase nflj_sportsbook_updated in the next release.
 
Back
Top