示例#1
0
 function generateContent()
 {
     $content = '
     <h1>' . _('Screenshots') . '</h1>
             <h2>' . _('Perroquet in use') . '</h2>
             <p>' . RessourceManager::getImage('perroquet_screenshot1.png', _('Perroquet in use')) . '</p>
                 <h2>' . _('Perroquet exercises manager') . '</h2>
             <p>' . RessourceManager::getImage('perroquet_exercises_manager1.png', _('Perroquet exercises manager')) . '</p>
     ';
     return $content;
 }
    function generateContent()
    {
        $content = '
        <h1>' . _('Presentation') . '</h1>
                    ' . RessourceManager::getImage('perroquet_screenshot1_400.png', _('Perroquet in use')) . '
                    <p>Perroquet is a educational program to improve playfully your listening in a foreign language</p>
                <h2>' . _('How it works') . '</h2>
                    <p>The principe of Perroquet is to use a video or audio file and the associated subtitles to make you listen and understand the dialogue or lyrics. After having idendified the files to use, Perroquet will read a piece of video then pause. It will show you the number of words to find and you will have to type them to continue. You can listen a sequence as many times as necessary. If you do not understand, Perroquet offers several means to help you.</p>

                <h2>' . _('Try now') . '</h2>
                    <p>If you want to test parrot but you have no video available, here is an  archive containing the film Elephant Dream with English subtitles match: <a href="/ressources/elephant_dream_en.tar.gz" >Files demo pages Elephant Dream</a></p>
                    <p>For now, this demo only allows you to practice understanding English.</p>


                    <p>You must then <a href="' . RessourceManager::getInnerUrl('download') . '" >download and install</a> Perroquet, run it, create a new exercise and put the video file in the first field, the file of English subtitles in the second file and the subtitle in the French final. To learn to use all the features of parrot, see the <a href="/en/documentation.html" >documentation</a>.</p>

                <h2>' . _('News') . '</h2>

                    <h3>Version 1.0.1</h3>
                    <ul>
                        <li>Improve window resize</li>
                        <li>Add new shortcuts</li>
                        <li>Remove html tags in srt files</li>
                        <li>Replace | by new line in srt</li>
                        <li>Handle perroquet file, add mime type and icons on perroquet exercise</li>
                        <li>Improve exercice creation dialog</li>
                        <li>Add tooltips</li>
                        <li>Reimplement input system to support specials characters</li>
                        <li>Fix various bugs</li>
                        <li>Translation updates</li>
                    </ul>
                <h2>Licence</h2>
                    <p>Perroquet  is a free software distributed under the GNU Public License version 3 or higher. The source code of this software is available here: <a href="https://launchpad.net/perroquet/+download" >Download page at launchpad</a></p>

                    <p>The full text of the license is available here <a href="http://www.gnu.org/licenses/gpl.html">GPL</a>.</p>
        ';
        return $content;
    }
示例#3
0
 function generateContent()
 {
     $content = '';
     $content .= '
     <h1>' . _('Documentation - Use - Interface') . '</h1>';
     $content .= '<p>' . _('Perroquet\'s user interface has as goal to make easy to navigate between different sequences and inside a sequence. Perroquet doesn\'t aim to be a great video player but be good to learn foreign languages.') . '</p>';
     $content .= '<p>' . _('This is the interface with annotation showing the differents components of the interface:') . '</p>';
     $content .= '<p>' . RessourceManager::getImage('perroquet_ui_zones.png', _('Annotated Perroquet interface')) . '</p>';
     $content .= '<ul>' . _('These components are:');
     $content .= '<li>' . _('1 - Title bar. It display the project name and the current save state of the exercise.') . '</li>';
     $content .= '<li>' . _('2 - Menu bar. It permit an access to most of Perroquet\'s features.') . '</li>';
     $content .= '<li>' . _('3 - Tools bar. It permet a fast access to important of Perroquet\'s features.') . '</li>';
     $content .= '<li>' . _('4 - Video zone. The video is displayed in this zone.') . '</li>';
     $content .= '<li>' . _('5 - Statistic\'s zone. It displays informations about exercise progress.') . '</li>';
     $content .= '<li>' . _('6 - Filter field. Allow to filter words in words list.') . '</li>';
     $content .= '<li>' . _('7 - Words list. It contains all words you have to find in the whole exercise.') . '</li>';
     $content .= '<li>' . _('8 - Response zone. It displays the cloze test.') . '</li>';
     $content .= '<li>' . _('9 - Translation zone. It displays the translation of the current sequence. This zone is hidden by default') . '</li>';
     $content .= '<li>' . _('10 - Sequence slider. It permit to navigate in the current sequence.') . '</li>';
     $content .= '<li>' . _('11 - Exercise slider. It permit to navigate in the exercise.') . '</li>';
     $content .= '</ul>';
     $content .= '<ul>' . _('The tools bar button are (from left to right):');
     $content .= '<li>' . _('New exercise.') . '</li>';
     $content .= '<li>' . _('Open en exercise.') . '</li>';
     $content .= '<li>' . _('Save the exercise.') . '</li>';
     $content .= '<li>' . _('Previous sequence.') . '</li>';
     $content .= '<li>' . _('Next sequence.') . '</li>';
     $content .= '<li>' . _('Listen the sequence again.') . '</li>';
     $content .= '<li>' . _('Hint.') . '</li>';
     $content .= '<li>' . _('Show/hide translation.') . '</li>';
     $content .= '<li>' . _('Show/hide correction.') . '</li>';
     $content .= '<li>' . _('Slow down playback.') . '</li>';
     $content .= '<li>' . _('Exercise properties.') . '</li>';
     $content .= '<li>' . _('Reset the exercise.') . '</li>';
     $content .= '</ul>';
     return $content;
 }