Ignore:
Timestamp:
2012/12/04 19:35:44 (11 years ago)
Author:
h_yoshimoto
Message:

#1890 管理画面テンプレートのメッセージを集約(ダミーID)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/Smarty/templates/admin/ownersstore/plugin.tpl

    r22058 r22121  
    3434 
    3535            if(mode === 'disable') { 
    36                 result = window.confirm('プラグインを無効にしても宜しいですか?'); 
     36                result = window.confirm('<!--{t string="tpl_458"}-->'); 
    3737                if(result === false) { 
    3838                    $(event.target).attr("checked", "checked"); 
    3939                } 
    4040            } else if(mode === 'enable') { 
    41                 result = window.confirm('プラグインを有効にしても宜しいですか?'); 
     41                result = window.confirm('<!--{t string="tpl_459"}-->'); 
    4242                if(result === false) { 
    4343                    $(event.target).attr("checked", ""); 
     
    5555     */ 
    5656    function remoteException(XMLHttpRequest, textStatus, errorThrown) { 
    57         alert('通信中にエラーが発生しました。'); 
     57        alert('<!--{t string="tpl_460"}-->'); 
    5858    } 
    5959 
     
    8080     */ 
    8181    function install() { 
    82         if (window.confirm('プラグインをインストールしても宜しいでしょうか?')){ 
     82        if (window.confirm('<!--{t string="tpl_461" kaigyo_escape=true}-->')){ 
    8383            fnModeSubmit('install','',''); 
    8484        } 
     
    8989     */ 
    9090    function uninstall(plugin_id, plugin_code) { 
    91         if (window.confirm('一度削除したデータは元に戻せません。\nプラグインを削除しても宜しいですか?')){ 
     91        if (window.confirm('<!--{t string="tpl_462"}-->')){ 
    9292            fnSetFormValue('plugin_id', plugin_id); 
    9393            fnModeSubmit('uninstall', 'plugin_code', plugin_code); 
     
    9999     */ 
    100100    function update(plugin_id, plugin_code) { 
    101         if (window.confirm('プラグインをアップデートしても宜しいですか?')){ 
     101        if (window.confirm('<!--{t string="tpl_463"}-->')){ 
    102102            removeUpdateFile('update_file_' + plugin_id); 
    103103            fnSetFormValue('plugin_id', plugin_id); 
     
    126126<input type="hidden" name="priority" value="" /> 
    127127<div id="system" class="contents-main"> 
    128     <h2>プラグイン登録</h2> 
     128    <h2><!--{t string="tpl_464"}--></h2> 
    129129    <table class="form"> 
    130130        <tr> 
    131             <th>プラグイン<span class="attention"> *</span></th> 
     131            <th><!--{t string="tpl_465"}--><span class="attention"> *</span></th> 
    132132            <td> 
    133133                <!--{assign var=key value="plugin_file"}--> 
    134134                <span class="attention"><!--{$arrErr[$key]}--></span> 
    135135                <input type="file" name="<!--{ $key }-->" class="box45" size="43"  style="<!--{$arrErr[$key]|sfGetErrorColor}--> <!--{if $arrErr[$key]}--> background-color:<!--{$smarty.const.ERR_COLOR|h}--><!--{/if}-->"> 
    136                 <a class="btn-action" href="javascript:;" onclick="install(); return false;"><span class="btn-next">インストール</span></a> 
     136                <a class="btn-action" href="javascript:;" onclick="install(); return false;"><span class="btn-next"><!--{t string="tpl_466"}--></span></a> 
    137137            </td> 
    138138        </tr> 
     
    140140 
    141141    <!--▼プラグイン一覧ここから--> 
    142     <h2>プラグイン一覧</h2> 
     142    <h2><!--{t string="tpl_467"}--></h2> 
    143143    <!--{if count($plugins) > 0}--> 
    144144        <span class="attention"><!--{$arrErr.plugin_error}--></span> 
     
    148148            <col width="13%" /> 
    149149            <tr> 
    150                 <th colspan="2">機能説明</th> 
    151                 <th>優先度</th> 
     150                <th colspan="2"><!--{t string="tpl_468"}--></th> 
     151                <th><!--{t string="tpl_469"}--></th> 
    152152            </tr> 
    153153            <!--{section name=data loop=$plugins}--> 
     
    189189                            <p class="description"><!--{$plugin.plugin_description|default:'-'|h}--></p> 
    190190                        <div> 
    191                             <span class="ec_cube_version">対応EC-CUBEバージョン :<!--{$plugin.compliant_version|default:'-'|h}--></span><br/> 
     191                            <span class="ec_cube_version"><!--{t string="tpl_470"}--><!--{$plugin.compliant_version|default:'-'|h}--></span><br/> 
    192192                            <span class="attention"><!--{$arrErr[$plugin.plugin_code]}--></span> 
    193193                            <!-- 設定 --> 
    194194                                <!--{if $plugin.config_flg == true && $plugin.status != $smarty.const.PLUGIN_STATUS_UPLOADED}--> 
    195                                     <a href="?" onclick="win02('../load_plugin_config.php?plugin_id=<!--{$plugin.plugin_id}-->', 'load', 615, 400);return false;">プラグイン設定</a>&nbsp;|&nbsp; 
     195                                    <a href="?" onclick="win02('../load_plugin_config.php?plugin_id=<!--{$plugin.plugin_id}-->', 'load', 615, 400);return false;"><!--{t string="tpl_471"}--></a>&nbsp;|&nbsp; 
    196196                                <!--{else}--> 
    197                                     <span>プラグイン設定&nbsp;|&nbsp;</span> 
     197                                    <span><!--{t string="tpl_471"}-->&nbsp;|&nbsp;</span> 
    198198                                <!--{/if}--> 
    199199                            <!-- アップデート --> 
    200                                 <a class="update_link" href="javascript:;" name="<!--{$plugin.plugin_id}-->">アップデート</a>&nbsp;|&nbsp; 
     200                                <a class="update_link" href="javascript:;" name="<!--{$plugin.plugin_id}-->"><!--{t string="tpl_472"}--></a>&nbsp;|&nbsp; 
    201201                            <!-- 削除 --> 
    202                                 <a  href="javascript:;" name="uninstall" onclick="uninstall(<!--{$plugin.plugin_id}-->, '<!--{$plugin.plugin_code}-->'); return false;">削除</a>&nbsp;|&nbsp; 
     202                                <a  href="javascript:;" name="uninstall" onclick="uninstall(<!--{$plugin.plugin_id}-->, '<!--{$plugin.plugin_code}-->'); return false;"><!--{t string="tpl_004"}--></a>&nbsp;|&nbsp; 
    203203                            <!-- 有効/無効 --> 
    204204                                <!--{if $plugin.enable == $smarty.const.PLUGIN_ENABLE_TRUE}--> 
    205                                     <label><input id="plugin_enable" type="checkbox" name="disable" value="<!--{$plugin.plugin_id}-->" id="login_memory" checked="checked">有効</input></label><br/> 
     205                                    <label><input id="plugin_enable" type="checkbox" name="disable" value="<!--{$plugin.plugin_id}-->" id="login_memory" checked="checked"><!--{t string="tpl_473"}--></input></label><br/> 
    206206                                <!--{else}--> 
    207                                     <label><input id="plugin_enable" type="checkbox" name="enable" value="<!--{$plugin.plugin_id}-->" id="login_memory">有効にする</input></label><br/> 
     207                                    <label><input id="plugin_enable" type="checkbox" name="enable" value="<!--{$plugin.plugin_id}-->" id="login_memory"><!--{t string="tpl_474"}--></input></label><br/> 
    208208                                <!--{/if}--> 
    209209 
     
    211211                                <div id="plugin_update_<!--{$plugin.plugin_id}-->" style="display: none"> 
    212212                                    <input id="update_file_<!--{$plugin.plugin_id}-->" name="<!--{$plugin.plugin_code}-->" type="file" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box30" size="30" <!--{if $arrErr[$key]}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> /> 
    213                                     <a class="btn-action" href="javascript:;" onclick="update(<!--{$plugin.plugin_id}-->, '<!--{$plugin.plugin_code}-->'); return false;"><span class="btn-next">アップデート</span></a> 
     213                                    <a class="btn-action" href="javascript:;" onclick="update(<!--{$plugin.plugin_id}-->, '<!--{$plugin.plugin_code}-->'); return false;"><span class="btn-next"><!--{t string="tpl_472"}--></span></a> 
    214214                                </div> 
    215215                        </div> 
     
    219219                    <span class="attention"><!--{$arrErr.priority[$plugin.plugin_id]}--></span> 
    220220                    <input type="text" class="center" name="priority_<!--{$plugin.plugin_code}-->" value="<!--{$plugin.priority|h}-->" size="1" class="priority" /> 
    221                     <a class="btn-action" href="javascript:;" onclick="update_priority(<!--{$plugin.plugin_id}-->, '<!--{$plugin.plugin_code}-->'); return false;"><span class="btn-next">変更</span></a><br/> 
     221                    <a class="btn-action" href="javascript:;" onclick="update_priority(<!--{$plugin.plugin_id}-->, '<!--{$plugin.plugin_code}-->'); return false;"><span class="btn-next"><!--{t string="tpl_475"}--></span></a><br/> 
    222222                    <span><!--{$plugin.priority_message}--></span> 
    223223                </td> 
     
    234234        </table> 
    235235    <!--{else}--> 
    236         <span>登録されているプラグインはありません。</span> 
     236        <span><!--{t string="tpl_476"}--></span> 
    237237    <!--{/if}--> 
    238238</div> 
Note: See TracChangeset for help on using the changeset viewer.