Ignore:
Timestamp:
2013/02/05 18:21:13 (11 years ago)
Author:
m_uehara
Message:

#2084 メッセージIDの振り直し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/class/pages/admin/design/LC_Page_Admin_Design_UpDown.php

    r22496 r22503  
    4848        $this->tpl_mainno   = 'design'; 
    4949        $this->tpl_maintitle = t('c_Design_01'); 
    50         $this->tpl_subtitle = t('LC_Page_Admin_Design_UpDown_002'); 
     50        $this->tpl_subtitle = t('c_Template addition_01'); 
    5151        $this->arrErr  = array(); 
    5252        $this->arrForm = array(); 
     
    152152        // 同名のフォルダが存在する場合はエラー 
    153153        if (file_exists(USER_TEMPLATE_REALDIR . $template_code)) { 
    154             $arrErr['template_code'] = t('LC_Page_Admin_Design_UpDown_003'); 
     154            $arrErr['template_code'] = t('c_* A file with the same name already exists.<br/>_01'); 
    155155        } 
    156156 
     
    161161                               DEFAULT_TEMPLATE_NAME); 
    162162        if (in_array($template_code, $arrIgnoreCode)) { 
    163             $arrErr['template_code'] = t('LC_Page_Admin_Design_UpDown_004'); 
     163            $arrErr['template_code'] = t('c_* This template code cannot be used.<br/>_01'); 
    164164        } 
    165165 
     
    168168        $exists = $objQuery->exists('dtb_templates', 'template_code = ?', array($template_code)); 
    169169        if ($exists) { 
    170             $arrErr['template_code'] = t('LC_Page_Admin_Design_UpDown_005'); 
     170            $arrErr['template_code'] = t('c_* This template code is already registered.<br/>_01'); 
    171171        } 
    172172 
     
    178178        $arrArchive = $tar->listContent(); 
    179179        if (!is_array($arrArchive)) { 
    180             $arrErr['template_file'] = t('LC_Page_Admin_Design_UpDown_006'); 
     180            $arrErr['template_file'] = t('c_* The template file could not be decompressed. The permissible formats are tar/tar.gz.<br />_01'); 
    181181        } else { 
    182182            $make_temp_error = $objUpFile->makeTempFile('template_file', false); 
     
    221221        if (!file_exists($template_dir)) { 
    222222            if (!mkdir($template_dir)) { 
    223                 $this->arrErr['err'] = t('LC_Page_Admin_Design_UpDown_007'); 
     223                $this->arrErr['err'] = t('c_* The template folder could not be created.<br/>_01'); 
    224224                $objQuery->rollback(); 
    225225                return false; 
     
    228228        if (!file_exists($compile_dir)) { 
    229229            if (!mkdir($compile_dir)) { 
    230                 $this->arrErr['err'] = t('LC_Page_Admin_Design_UpDown_008'); 
     230                $this->arrErr['err'] = t('c_* Smarty compile folder could not be created.<br/>_01'); 
    231231                $objQuery->rollback(); 
    232232                return false; 
     
    239239        // 解凍 
    240240        if (!SC_Helper_FileManager_Ex::unpackFile($template_dir . '/' . $_FILES['template_file']['name'])) { 
    241             $this->arrErr['err'] = t('LC_Page_Admin_Design_UpDown_009'); 
     241            $this->arrErr['err'] = t('c_* Decompression of the template file failed.<br/>_01'); 
    242242            $objQuery->rollback(); 
    243243            return false; 
Note: See TracChangeset for help on using the changeset viewer.