mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT Better i18n for TableField and ComplexTableField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63633 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7da3497668
commit
35a30db204
@ -44,7 +44,9 @@
|
||||
<tr>
|
||||
<% if Markable %><td width="18"> </td><% end_if %>
|
||||
<td colspan="$ItemCount">
|
||||
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="cms/images/add.gif" alt="<% _t('ADDITEM', 'add') %>" /><% _t('ADDITEM', 'Add', PR_MEDIUM, 'Add [name]') %> $Title</a>
|
||||
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="cms/images/add.gif" alt="<% _t('ADDITEM', 'add') %>" />
|
||||
<% sprintf(_t('ADDITEM', 'Add %s', PR_MEDIUM, 'Add [name]'),$Title) %>
|
||||
</a>
|
||||
</td>
|
||||
<% control Actions %><td width="18"> </td><% end_control %>
|
||||
</tr>
|
||||
|
@ -30,7 +30,9 @@
|
||||
<% if Can(add) %>
|
||||
<tr>
|
||||
<td colspan="$ItemCount">
|
||||
<a href="#" class="addrow" title="<% _t('ADD', 'Add a new row') %>"><img src="cms/images/add.gif" alt="<% _t('ADD') %>" /> <% _t('ADDITEM') %> $Title</a>
|
||||
<a href="#" class="addrow" title="<% _t('ADD', 'Add a new row') %>"><img src="cms/images/add.gif" alt="<% _t('ADD') %>" />
|
||||
<% sprintf(_t('ADDITEM'),$Title) %>
|
||||
</a>
|
||||
</td>
|
||||
<td style="display: none"></td>
|
||||
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user