Ignore:
Timestamp:
Jan 14, 2016, 10:25:47 PM (8 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/Download/Download.php

    r838 r843  
    3232  {
    3333    $fileslink = $this->System->Link('/files');
    34 $Output = '<h3>'.T('Accessories for client').'</h3>'.
     34    $Output = '<h3>'.T('Accessories for client').'</h3>'.
    3535  '<strong><a href="'.$fileslink.'/WowLua/wowpatcher.exe">wowpatcher</a></strong> - '.T('Tool to command line, which search and edit file wow.exe for support editing files Glue Strings.lua and GlobalStrings.lua.').' '.
    3636  T('Designed for one-time creation of new modified version of wow.exe. Help can be called with the - help option. The ability to modify future versions not guaranteed.').' '.
     
    8181    $Output = '<h3>'.T('Download czech').'</h3><br />';
    8282
    83     $Output .= T('Additional files: modified wow.exe, fonts to game, translated interface aowow and more can be found on page').' <a href="'.$this->System->Link('/download/?Files').'">'.T('Files').'</a><br />';
     83    $Output .= T('Additional files: modified wow.exe, fonts to game, translated interface aowow and more can be found on page').
     84      ' <a href="'.$this->System->Link('/download/?Files').'">'.T('Files').'</a><br />';
    8485    $Output .= T('If none of these files is suitable for you, for example, to the Czech without the translated interface. You can generate your own section in section').' <a href="'.$this->System->Link('/export').'">'.T('Export').'</a><br /><br />';
    8586    $Output .= T('The following files are generated every day, if needed. That means if is added new translation to database. Therefore, if you translate a translation or correct the mistake, tomorrow you can download the new patched version. Or you can rebuild and download for a few minutes the repaired file.').'<br />';
Note: See TracChangeset for help on using the changeset viewer.