Ignore:
Timestamp:
Jan 17, 2016, 12:10:35 PM (9 years ago)
Author:
chronos
Message:
  • Renamed: .htaccess file is different for each installation so provide just example in .htacces.sample file.
  • Renamed: File global.php and system.php to first uppercase letter for naming unification.
  • Modified: More translatable strings.
  • Added: Translation group items translatable.
  • Renamed: admin directory is not Application directory where all application related files should be placed.

This is different to includes directory where just general libraries should be placed.
Version.php file should be located in Application directory.

Location:
trunk/Application
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r846 r848  
    28182818function UpdateTo846($Manager)
    28192819{
     2820  // Languages
    28202821  $Manager->Execute('UPDATE `Language` SET `Name` = "English", `Code` = "en" WHERE `Language`.`Name` = "Angličtina";');
    28212822  $Manager->Execute('UPDATE `Language` SET `Name` = "Czech" WHERE `Language`.`Name` = "Čeština";');
    28222823  $Manager->Execute('UPDATE `Language` SET `Name` = "Slovak" WHERE `Language`.`Name` = "Slovenština";');
    28232824
     2825  // Group names
    28242826  $Manager->Execute('UPDATE `Group` SET `Name` = "Quests" WHERE `Group`.`Name` = "Výpravy"');
    28252827  $Manager->Execute('UPDATE `Group` SET `Name` = "Books" WHERE `Group`.`Name` = "Knížky"');
     
    28592861}
    28602862
     2863function UpdateTo848($Manager)
     2864{
     2865  // Group item names
     2866  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Title" WHERE `GroupItem`.`Name` = "Titulek"');
     2867  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Details" WHERE `GroupItem`.`Name` = "Podrobnosti"');
     2868  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objectives" WHERE `GroupItem`.`Name` = "Úkol"');
     2869  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Offered reward text" WHERE `GroupItem`.`Name` = "Text slíbené odměny"');
     2870  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Request items text" WHERE `GroupItem`.`Name` = "Popis požadovaných předmětů"');
     2871  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "End text" WHERE `GroupItem`.`Name` = "Závěrečný text"');
     2872  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 1" WHERE `GroupItem`.`Name` = "Text úkolu 1"');
     2873  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 2" WHERE `GroupItem`.`Name` = "Text úkolu 2"');
     2874  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 3" WHERE `GroupItem`.`Name` = "Text úkolu 3"');
     2875  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 4" WHERE `GroupItem`.`Name` = "Text úkolu 4"');
     2876  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Content" WHERE `GroupItem`.`Name` = "Obsah"');
     2877  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Name" WHERE `GroupItem`.`Name` = "Jméno"');
     2878  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Description" WHERE `GroupItem`.`Name` = "Popis"');
     2879  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Castbar caption" WHERE `GroupItem`.`Name` = "Popisek"');
     2880  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Subname" WHERE `GroupItem`.`Name` = "Druhé jméno"');
     2881  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Subname" WHERE `GroupItem`.`Name` = "Druhé jméno"');
     2882  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Help" WHERE `GroupItem`.`Name` = "Nápověda"');
     2883  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Default content" WHERE `GroupItem`.`Name` = "Výchozí obsah"');
     2884  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Comment" WHERE `GroupItem`.`Name` = "Komentář"');
     2885  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Rank" WHERE `GroupItem`.`Name` = "Hodnost"');
     2886  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Shortcut" WHERE `GroupItem`.`Name` = "Zkratka"');
     2887  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Option text" WHERE `GroupItem`.`Name` = "Text možnosti"');
     2888  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Title" WHERE `GroupItem`.`Name` = "Název"');
     2889  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Reward" WHERE `GroupItem`.`Name` = "Odměna"');
     2890  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Criteria" WHERE `GroupItem`.`Name` = "Kritérium"');
     2891  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Location" WHERE `GroupItem`.`Name` = "Umístění"');
     2892  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Location 2" WHERE `GroupItem`.`Name` = "Umístění 2"');
     2893  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "State" WHERE `GroupItem`.`Name` = "Stav"');
     2894  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Short name" WHERE `GroupItem`.`Name` = "Zkrácené jméno"');
     2895  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Comprimed name" WHERE `GroupItem`.`Name` = "Zhuštěný název"');
     2896  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Facial 1" WHERE `GroupItem`.`Name` = "Vzhled 1"');
     2897  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Facial 2" WHERE `GroupItem`.`Name` = "Vzhled 2"');
     2898  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Facial 3" WHERE `GroupItem`.`Name` = "Vzhled 3"');
     2899  $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Unified" WHERE `GroupItem`.`Name` = "Jednotné"');
     2900}
     2901
    28612902$Updates = array(
    28622903  498 => array('Revision' => 506, 'Function' => 'UpdateTo506'),
     
    28882929  803 => array('Revision' => 811, 'Function' => 'UpdateTo811'),
    28892930  811 => array('Revision' => 846, 'Function' => 'UpdateTo846'),
     2931  846 => array('Revision' => 848, 'Function' => 'UpdateTo848'),
    28902932);
Note: See TracChangeset for help on using the changeset viewer.