Ignore:
Timestamp:
Jan 15, 2016, 10:24:05 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Now translation groups are also localized.
  • Modified: Translated team page.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Dictionary/Dictionary.php

    r843 r846  
    9292    {
    9393      $Output .= '<form action="?action=save" method="post">'.
    94         '<fieldset><legend>Vložení nového slova</legend>'.
     94        '<fieldset><legend>'.T('New word insertion').'</legend>'.
    9595        '<table><tr><td>'.
    96         'Původní anglické slovo:</td><td><input type="text" name="Original" /></td></tr>'.
     96        T('Original word').':</td><td><input type="text" name="Original" /></td></tr>'.
    9797        '<tr><td>'.T('Translated').':</td><td><input type="text" name="Translated" /></td></tr>'.
    9898        '<tr><td>'.T('Language').':</td><td>'.WriteLanguages($_SESSION['language']).'</td></tr>'.
     
    238238      if($Language['Enabled'] == 1)
    239239      {
    240         $Lang = ' <a href="?language='.$Language['Id'].'">'.$Language['Name'].'</a>';
     240        $Lang = ' <a href="?language='.$Language['Id'].'">'.T($Language['Name']).'</a>';
    241241        if($Language['Id'] == $_SESSION['language']) $Output .= '<strong>'.$Lang.'</strong> ';
    242242          else $Output .= $Lang;
     
    290290        '<td>'.$Line['Original'].'</td>'.
    291291        '<td><strong>'.$Line['Translated'].'</strong></td>';
    292       if(!is_numeric($_SESSION['language'])) $Output .= '<td>'.$Line['LangName'].'</td>';
     292      if(!is_numeric($_SESSION['language'])) $Output .= '<td>'.T($Line['LangName']).'</td>';
    293293      $Output .= '<td>'.$Line['Description'].'</td>'.
    294294        '<td><a href="'.$this->System->Link('/user/?user='.$Line['UserId']).'">'.
Note: See TracChangeset for help on using the changeset viewer.