Changeset 4978
- Timestamp:
- 11/04/09 06:12:39 (3 weeks ago)
- Location:
- branches/greyhound
- Files:
-
- 3 modified
-
lib/MT/CMS/Tools.pm (modified) (2 diffs)
-
lib/MT/L10N/ja.pm (modified) (1 diff)
-
tmpl/cms/restore.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/greyhound/lib/MT/CMS/Tools.pm
r4956 r4978 1109 1109 File::Spec->splitpath($uploaded) 1110 1110 if defined($uploaded); 1111 $app->mode('start_restore'); 1111 1112 if ( defined($uploaded_filename) 1112 1113 && ( $uploaded_filename =~ /^.+\.manifest$/i ) ) … … 2224 2225 . $param->{overwrite_templates} 2225 2226 . '&redirect=1'; 2227 if ( length $param->{dialog_params} > 2083 ) 2228 { # 2083 is Maximum URL length in IE 2229 $param->{error} = $app->translate( 2230 "Manifest file '[_1]' is too large. Please use import direcotry for restore.", 2231 $app->param('file') 2232 ); 2233 $param->{open_dialog} = 0; 2234 $app->mode('start_restore'); 2235 } 2226 2236 $app->load_tmpl( 'restore.tmpl', $param ); 2227 2237 -
branches/greyhound/lib/MT/L10N/ja.pm
r4970 r4978 1234 1234 ## lib/MT/BackupRestore/BackupFileHandler.pm 1235 1235 'Uploaded file was not a valid Movable Type backup manifest file.' => 'ã¢ããããŒãããããã¡ã€ã«ã¯Movable Typeããã¯ã¢ããã§äœæããããããã§ã¹ããã¡ã€ã«ã§ã¯ãããŸããã', 1236 'Manifest file \'[_1]\' is too large. Please use import direcotry for restore.' => 'ããã¯ã¢ãããã¡ã€ã«\'[_1]\'ã倧ããããŸããã€ã³ããŒããã£ã¬ã¯ããªãå©çšããŠåŸ©å 1237 ããŠãã ããã', 1236 1238 'Uploaded file was backed up from Movable Type but the different schema version ([_1]) from the one in this system ([_2]). It is not safe to restore the file to this version of Movable Type.' => 'ã¢ããããŒãããããã¡ã€ã«ã¯ãã®ã·ã¹ãã ã®ããŒãžã§ã³([_2])ãšã¯ç°ãªãããŒãžã§ã³([_1])ã§ããã¯ã¢ãããããŠããŸãããã®ãã¡ã€ã«ã䜿ã£ãŠåŸ©å 1237 1239 ããããšã¯ã§ããŸããã', -
branches/greyhound/tmpl/cms/restore.tmpl
r4199 r4978 11 11 <mt:var name="error"> 12 12 </mtapp:statusmsg> 13 < mt:Else>13 </mt:if> 14 14 <div id="restore-panel"> 15 15 <mt:if name="missing_sax"> … … 61 61 </mt:if> 62 62 </div> 63 </mt:if>64 63 <mt:include name="include/footer.tmpl">
