Ignore:
Timestamp:
Jan 14, 2016, 10:25:47 PM (9 years ago)
Author:
chronos
Message:
  • Added: Support for translatable URLs. Now each language can have URL in its language.

This requires to all links inside web to use System->Link function which is responsible for translation.
All links need to be written in english so they can be translated to other language.

File:
1 edited

Legend:

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

    r836 r843  
    9191
    9292          if(($Line['Language'] <> 0) and ($LineUser['Name'] <> ''))
    93             $Output .= 'Přeložil: <a href="'.$this->System->Link('/user.php?user='.$Line['User']).'"><strong>'.$LineUser['Name'].'</strong></a> dne '.HumanDate($Line['ModifyTime']).'<br />';
     93            $Output .= 'Přeložil: <a href="'.$this->System->Link('/user/?user='.$Line['User']).'"><strong>'.$LineUser['Name'].'</strong></a> dne '.HumanDate($Line['ModifyTime']).'<br />';
    9494          if(($Line['Take'] <> 0) and ($Line['Take'] <> $Line['ID']))
    9595          {
Note: See TracChangeset for help on using the changeset viewer.