Skip to content

Commit

Permalink
[#1382] Changes labels on resource upload form
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Dec 12, 2013
1 parent 19496ce commit 589bb75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ckan/public/base/javascript/modules/image-upload.js
Expand Up @@ -12,10 +12,10 @@ this.ckan.module('image-upload', function($, _) {
field_clear: 'clear_upload',
upload_label: '',
i18n: {
upload: _('From computer'),
url: _('From web'),
upload: _('Upload'),
url: _('Link'),
remove: _('Remove'),
upload_label: _('Upload image'),
upload_label: _('Upload'),
remove_tooltip: _('Reset this')
},
template: [
Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/package/snippets/resource_form.html
Expand Up @@ -21,7 +21,7 @@
{% set is_upload = (data.url_type == 'upload') %}
{{ form.image_upload(data, errors, field_url='url', field_upload='upload', field_clear='clear_upload',
is_upload_enabled=h.uploads_enabled(), is_url=data.url and not is_upload, is_upload=is_upload,
upload_label=_('File Upload'), url_label=_('URL')) }}
upload_label=_('File'), url_label=_('URL')) }}
{% endblock %}

{% block basic_fields_name %}
Expand Down

0 comments on commit 589bb75

Please sign in to comment.