mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
i18n for "select an anchor" string (see #7798)
This commit is contained in:
parent
674b52b4f7
commit
3b592122fd
@ -599,7 +599,11 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
||||
}
|
||||
|
||||
selector.empty();
|
||||
selector.append($('<option value="" selected="1">Select an anchor</option>'));
|
||||
selector.append($(
|
||||
'<option value="" selected="1">' +
|
||||
ss.i18n._t('HtmlEditorField.SelectAnchor') +
|
||||
'</option>'
|
||||
));
|
||||
for (var j = 0; j < anchors.length; j++) {
|
||||
selector.append($('<option value="'+anchors[j]+'">'+anchors[j]+'</option>'));
|
||||
}
|
||||
|
@ -18,6 +18,7 @@ if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
|
||||
'FILEIFRAMEFIELD.CONFIRMDELETE': 'Are you sure you want to delete this file?',
|
||||
'LeftAndMain.IncompatBrowserWarning': 'Your browser is not compatible with the CMS interface. Please use Internet Explorer 7+, Google Chrome 10+ or Mozilla Firefox 3.5+.',
|
||||
'GRIDFIELD.ERRORINTRANSACTION': 'An error occured while fetching data from the server\n Please try again later.',
|
||||
'HtmlEditorField.SelectAnchor': 'Select an anchor',
|
||||
'UploadField.ConfirmDelete': 'Are you sure you want to remove this file from the server filesystem?',
|
||||
'UploadField.PHP_MAXFILESIZE': 'File exceeds upload_max_filesize (php.ini directive)',
|
||||
'UploadField.HTML_MAXFILESIZE': 'File exceeds MAX_FILE_SIZE (HTML form directive)',
|
||||
|
@ -25,6 +25,7 @@ en:
|
||||
FROMCOMPUTER: 'Choose files from your computer'
|
||||
FROMCOMPUTERINFO: 'Upload from your computer'
|
||||
TOTAL: Total
|
||||
TOUPLOAD: 'Choose files to upload...'
|
||||
UPLOADINPROGRESS: 'Please wait… upload in progress'
|
||||
UPLOADOR: OR
|
||||
BBCodeParser:
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<div class="ss-uploadfield-item-info">
|
||||
<label class="ss-uploadfield-fromcomputer ss-ui-button ss-ui-action-constructive" title="<% _t('AssetUploadField.FROMCOMPUTERINFO', 'Upload from your computer') %>" data-icon="drive-upload">
|
||||
<% _t('AssetUploadField.TOUPLOAD', 'Choose file(s) to upload...') %>
|
||||
<% _t('AssetUploadField.TOUPLOAD', 'Choose files to upload...') %>
|
||||
<input id="$id" name="$getName" class="$extraClass ss-uploadfield-fromcomputer-fileinput" data-config="$configString" type="file"<% if $multiple %> multiple="multiple"<% end_if %> title="<% _t('AssetUploadField.FROMCOMPUTER', 'Choose files from your computer') %>" />
|
||||
</label>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<div class="ss-uploadfield-item-info">
|
||||
<label class="ss-uploadfield-fromcomputer ss-ui-button ss-ui-action-constructive" title="<% _t('AssetUploadField.FROMCOMPUTERINFO', 'Upload from your computer') %>" data-icon="drive-upload">
|
||||
<% _t('AssetUploadField.TOUPLOAD', 'Choose file(s) to upload...') %>
|
||||
<% _t('AssetUploadField.TOUPLOAD', 'Choose files to upload...') %>
|
||||
<input id="$id" name="$getName" class="$extraClass ss-uploadfield-fromcomputer-fileinput" data-config="$configString" type="file"<% if $multiple %> multiple="multiple"<% end_if %> title="<% _t('AssetUploadField.FROMCOMPUTER', 'Choose files from your computer') %>" />
|
||||
</label>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user