Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Fixing broken labels in UploadField

  • Loading branch information...
commit 63d91f9a2675c30ccb379fd76ab2c32cd76bd3a9 1 parent a1327fa
@halkyon halkyon authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  lang/en.yml
  2. +2 −2 templates/UploadField.ss
View
2  lang/en.yml
@@ -561,7 +561,7 @@ en:
DROPFILES: "drop files"
EDITINFO: "Edit this file"
FIELDNOTSET: "File information not found"
- FROMCOMPUTER: "From files"
+ FROMCOMPUTER: "Upload from your computer"
MAXNUMBEROFFILES: "Max number of %s file(s) exceeded."
REMOVEERROR: "Error removing file"
REMOVEINFO: "Remove this file from here, but do not delete it from the file store"
View
4 templates/UploadField.ss
@@ -47,7 +47,7 @@
<% _t('UploadField.FROMCOMPUTER', 'From your computer') %>
<input id="$id" name="$getName" class="$extraClass ss-uploadfield-fromcomputer-fileinput" data-config="$configString" type="file"<% if $multiple %> multiple="multiple"<% end_if %> />
</label>
- <button class="ss-uploadfield-fromfiles ss-ui-button ui-corner-all" title="<% _t('UploadField.FROMCOMPUTERINFO', 'Select from from files') %>" data-icon="network-cloud"><% _t('UploadField.FROMCOMPUTER', 'From files') %></button>
+ <button class="ss-uploadfield-fromfiles ss-ui-button ui-corner-all" title="<% _t('UploadField.FROMCOMPUTERINFO', 'Select from files') %>" data-icon="network-cloud"><% _t('UploadField.FROMFILES', 'From files') %></button>
<% if not $autoUpload %>
<button class="ss-uploadfield-startall ss-ui-button ui-corner-all" title="<% _t('UploadField.STARTALLINFO', 'Start all uploads') %>" data-icon="navigation"><% _t('UploadField.STARTALL', 'Start all') %></button>
<% end_if %>
@@ -55,4 +55,4 @@
</div>
<div class="clear"><!-- --></div>
</div>
-<% end_if %>
+<% end_if %>
Please sign in to comment.
Something went wrong with that request. Please try again.