Ignore:
Timestamp:
Dec 27, 2015, 5:47:00 PM (8 years ago)
Author:
chronos
Message:
  • Modified: More interface texts made as translated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/TranslationList.php

    r833 r837  
    332332    $DbRow = $DbResult->fetch_row();
    333333    $PageList = GetPageList($DbRow[0]);
    334     $Output = '<h3>Seznam překladových skupin</h3>'.
     334    $Output = '<h3>'.T('List of translation groups').'</h3>'.
    335335        $PageList['Output'];
    336336
    337337    $Output .= '<table class="BaseTable">';
    338338    $TableColumns = array(
    339         array('Name' => 'Name', 'Title' => 'Jméno'),
    340         array('Name' => 'SourceType', 'Title' => 'Typ zdroje'),
    341         array('Name' => '', 'Title' => 'Zdroje'),
    342         array('Name' => 'LastImport', 'Title' => 'Datum posledního importu'),
    343         array('Name' => 'LastVersion', 'Title' => 'Verze posledního importu'),
     339        array('Name' => 'Name', 'Title' => T('Name')),
     340        array('Name' => 'SourceType', 'Title' => T('Source type')),
     341        array('Name' => '', 'Title' => T('Sources')),
     342        array('Name' => 'LastImport', 'Title' => T('Date of last import')),
     343        array('Name' => 'LastVersion', 'Title' => T('Version of last import')),
    344344    );
    345345    if($this->System->User->Licence(LICENCE_ADMIN))
    346       $TableColumns[] = array('Name' => '', 'Title' => 'Akce');
     346      $TableColumns[] = array('Name' => '', 'Title' => T('Actions'));
    347347
    348348    $Order = GetOrderTableHeader($TableColumns, 'Name', 0);
     
    365365        GetVersionWOWId($Group['LastVersion'])).'">'.GetVersionWOW($Group['LastVersion']).'</a></td>';
    366366      if($this->System->User->Licence(LICENCE_ADMIN))
    367         $Output .= '<td><a href="?action=groupdelete&amp;id='.$Group['Id'].'">Smazat</a></td>';
     367        $Output .= '<td><a href="?action=groupdelete&amp;id='.$Group['Id'].'">'.T('Remove').'</a></td>';
    368368      $Output .= '</tr>';
    369369
    370370    }
    371371    $Output .= '</table>'.
    372         '<br /><a title="Záznam změn po importu" href="log.php?type=11">Záznam změn v textech při importu</a><br/>';
    373     if($this->System->User->Licence(LICENCE_ADMIN)) $Output .= '<a href="?action=groupadd">Přidat překladovou skupinu</a>';
     372        '<br /><a title="'.T('Changelog of changes after import').'" href="log.php?type=11">'.T('Changelog of text modification during import').'</a><br/>';
     373    if($this->System->User->Licence(LICENCE_ADMIN)) $Output .= '<a href="?action=groupadd">'.T('Add translation group').'</a>';
    374374    return($Output);
    375375  }
     
    384384      $Table = $TranslationTree[$GroupId]['TablePrefix'];
    385385
    386       $Output = '<h3>Základní filtrování textů</h3><br/>'.
    387           '<table class="BaseTable"><tr><th>Odkaz</th><th>Popis</th></tr>'.
    388           '<tr><td><a title="Všechny dostupné texty ve skupině" href="?group='.$GroupId.'&amp;state=4">Všechny</a></td>'.
    389           '<td>Zobrazit všechny dostupné anglické texty ve skupině.</td></tr>'.
    390           '<tr><td><a title="Přeložené texty, můžete zde hlasovat, nebo text opravovat" href="?group='.$GroupId.'&amp;state=2">Přeložené</a></td>'.
    391           '<td>Zobrazit pouze již přeložené texty.</td></tr>'.
    392           '<tr><td><a title="Nepřeložené texty" href="?group='.$GroupId.'&amp;state=1">Nepřeložené</a></td>'.
    393           '<td>Dosud nepřeložené texty, které je potřeba přeložit.</td></tr>'.
    394           '<tr><td><a title="Nedokončené texty" href="?group='.$GroupId.'&amp;state=3">Nedokončené</a></td>'.
    395           '<td>Texty označené jako rozpracované.</td></tr>';
     386      $Output = '<h3>'.T('Basic text filtering').'</h3><br/>'.
     387          '<table class="BaseTable"><tr><th>'.T('Link').'</th><th>'.T('Description').'</th></tr>'.
     388          '<tr><td><a title="'.T('All texts available in group').'" href="?group='.$GroupId.'&amp;state=4">'.T('All').'</a></td>'.
     389          '<td>'.T('Show all available original texts in group').'</td></tr>'.
     390          '<tr><td><a title="'.T('Translated texts, you can modify them here').'" href="?group='.$GroupId.'&amp;state=2">'.T('Translated').'</a></td>'.
     391          '<td>'.T('Show only translated texts').'</td></tr>'.
     392          '<tr><td><a title="'.T('Untranslated texts').'" href="?group='.$GroupId.'&amp;state=1">'.T('Untranslated').'</a></td>'.
     393          '<td>'.T('Not yet translated texts which need to be translated').'</td></tr>'.
     394          '<tr><td><a title="'.T('Unfinished texts').'" href="?group='.$GroupId.'&amp;state=3">'.T('Unfinished').'</a></td>'.
     395          '<td>'.T('Texts marked as unfinished').'</td></tr>';
    396396
    397397      if($this->System->User->Licence(LICENCE_USER))
    398398      {
    399         $Output .= '<tr><td><a title="Nedokončené texty" href="?group='.$GroupId.'&amp;state=3&amp;user='.$this->System->User->Id.'">Moje nedokončené</a></td>
    400         <td>Nedokončené texty přihlášeného uživatele</td></tr>
    401         <tr><td><a title="Přeložené texty přihlášeného uživatele" href="?group='.$GroupId.'&amp;state=2&amp;user='.$this->System->User->Id.'">Moje přeložené</a></td>
    402         <td>Přeložené texty přihlášeného uživatele</td></tr>';
     399        $Output .= '<tr><td><a title="'.T('Unfinished texts').'" href="?group='.$GroupId.'&amp;state=3&amp;user='.$this->System->User->Id.'">'.T('My unfinished').'</a></td>
     400        <td>'.T('Unfinished texts of logged-in user').'</td></tr>
     401        <tr><td><a title="'.T('Translated texts of logged-in user').'" href="?group='.$GroupId.'&amp;state=2&amp;user='.$this->System->User->Id.'">'.T('My translated').'</a></td>
     402        <td>'.T('Translated texts of logged-in user').'</td></tr>';
    403403      }
    404404
    405405      $Output .= '<tr><td><form action="?group='.$GroupId.'&amp;entry=" method="post"><div>'.
    406406          '<input type="text" name="text" size="8" />'.
    407           '<input type="submit" value="Hledat" />'.
     407          '<input type="submit" value="'.T('Search').'" />'.
    408408          '</div></form>'.
    409           '</td><td>Vyhledat pomocí textu</td></tr>';
     409          '</td><td>'.T('Search using text').'</td></tr>';
    410410
    411411      $Output .= '<tr><td><form action="?group='.$GroupId.'&amp;text=" method="post"><div>'.
    412412          '<input type="text" name="entry" size="8" />'.
    413           '<input type="submit" value="Hledat" />'.
     413          '<input type="submit" value="'.T('Search').'" />'.
    414414          '</div></form>'.
    415           '</td><td>Zobrazit podle ID textu v databázi MaNGOSu</td></tr>';
     415          '</td><td>'.T('Show by datbase text ID').'</td></tr>';
    416416
    417417      $Output .= '</table>';
Note: See TracChangeset for help on using the changeset viewer.