Changeset 11292


Ignore:
Timestamp:
Jun 10, 2011, 9:00:27 PM (9 years ago)
Author:
Mattias
Message:

Added @translate tags in a couple of files
Added index.php to the main copyrights folder
Updated english and dutch language files

Location:
extensions/Copyrights
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/Copyrights/admin.tpl

    r11143 r11292  
    33</div>
    44
    5 <form action='{$COPYRIGHTS_PATH}-{if $edit == 0}create{else}update{/if}'
     5<form action='{$COPYRIGHTS_PATH}-{if $edit == 0}{'Create'|@translate}{else}{'Update'|@translate}{/if}'
    66      method='POST'>
    77  <fieldset>
  • extensions/Copyrights/image.php

    r11143 r11292  
    2929        $replacement = '
    3030        <tr id="Copyrights_name">
    31                 <td class="label">Copyright</td>
     31                <td class="label">{\'Copyright\'|@translate}</td>
    3232                <td class="value">
    3333                        {if $CR_INFO_NAME}
    3434                        <a target="_blanc" href="{$CR_INFO_URL}" title="{$CR_INFO_NAME}">{$CR_INFO_NAME}</a>
    35                         {else}N/A{/if}
     35                        {else}{\'N/A\'|@translate}{/if}
    3636                </td>
    3737        </tr>
  • extensions/Copyrights/language/en_UK/plugin.lang.php

    r11282 r11292  
    11<?php
    22
     3$lang['Copyright'] = 'Copyright';
    34$lang['Copyrights'] = 'Copyrights';
    45$lang['Create copyright'] = 'Create copyright';
    56$lang['Edit copyright'] = 'Edit copyright';
     7$lang['Update copyright'] = 'Update copyright';
     8$lang['Delete copyright'] = 'Delete copyright';
     9$lang['Visible'] = 'Visible';
     10
     11// Isnt it smarter to translate them seperate - so you dont have to put so many entries in here...
    612
    713?>
  • extensions/Copyrights/language/nl_NL/plugin.lang.php

    r10874 r11292  
    11<?php
    22
     3$lang['Copyright'] = 'Copyright';
     4$lang['Copyrights'] = 'Copyrights';
     5$lang['Create copyright'] = 'Maak copyright';
     6$lang['Edit copyright'] = 'Bewerk copyright';
     7$lang['Update copyright'] = 'Update copyright';
     8$lang['Delete copyright'] = 'Verwijder copyright';
     9$lang['Visible'] = 'Zichtbaar';
    310
    411?>
  • extensions/Copyrights/main.inc.php

    r11143 r11292  
    9292  global $template;
    9393
    94   //load_language('plugin.lang', dirname(__FILE__).'/');                                        // Engels is voorlopig goed zat
     94  load_language('plugin.lang', dirname(__FILE__).'/');                                  // Engels is voorlopig goed zat
    9595
    9696  // Assign the template for batch management
     
    116116  $template->append('element_set_global_plugins_actions', array(
    117117    'ID' => 'copyrights',       // ID of the batch manager action
    118     'NAME' => 'Edit copyrights', // Description of the batch manager action
     118    'NAME' => l10n('Edit copyright'), // Description of the batch manager action
    119119    'CONTENT' => $template->parse('batch', true)
    120120    )
Note: See TracChangeset for help on using the changeset viewer.