Changeset 4940

Show
Ignore:
Timestamp:
10/30/09 06:34:11 (4 weeks ago)
Author:
asawada
Message:

Revised phrases around theme static file exporting. patch by Beau. thanks! bugzid:102950.

Location:
branches/greyhound
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/greyhound/lib/MT/Theme/StaticFiles.pm

    r4196 r4940  
    3535    my $app = shift; 
    3636    my ( $blog, $saved ) = @_; 
    37     my $default = 
    38         '# ' . MT->translate( 
    39             'List the name of one directory to be included in your theme on each line.' 
    40         ); 
     37    my $default = ''; 
    4138    my $dirs = defined $saved ? $saved->{static_directories} 
    4239             :                  $default 
  • branches/greyhound/tmpl/cms/dialog/theme_element_detail.tmpl

    r4375 r4940  
    1 <mt:setvarblock name="page_title"><__trans phrase="Include in Theme: [_1]" params="<mt:var name="label">"></mt:setvarblock> 
     1<mt:setvarblock name="page_title"><mt:var name="label"></mt:setvarblock> 
    22<mt:setvarblock name="html_head" append="1"> 
    33<script type="text/javascript" src="<mt:var name="static_uri">js/tc/client.js"></script> 
  • branches/greyhound/tmpl/cms/include/theme_exporters/static_files.tmpl

    r4199 r4940  
    1 <mt:setvarblock name="static_hint"><__trans phrase="Files types that will be included in the theme are: [_1]." params="<mt:var name="allowed_extensions">" escape="html"></mt:setvarblock> 
     1<mt:setvarblock name="static_hint"><__trans phrase="In the specified directories, files of the following types will be included in the theme: [_1]. Other file types will be ignored." params="<mt:var name="allowed_extensions">" escape="html"></mt:setvarblock> 
    22<mtapp:setting 
    33    id="static_directories" 
    4     required="1" 
    5     label="<__trans phrase="Included Directories">" 
     4    required="0" 
     5    label="<__trans phrase="Specify directories">" 
    66    label_class="top_label" 
    77    hint="$static_hint" 
     
    99    help_page="exporting_theme" 
    1010    help_section="static_files"> 
    11     <p class="hint"><__trans phrase="List the directories that contain the static files that you want to be included in your theme."></p> 
     11    <p class="hint"><__trans phrase="List directories (one per line) in the Site Root directory which contain the static files to be included in the theme. Common directories might be: css, images, js, etc."></p> 
    1212    <textarea name="static_directories" id="static_directories" class="larger-text" cols="25" rows="14"><mt:var name="static_directories" escape="html"></textarea> 
    1313</mtapp:setting> 
     14