Skip to content

Commit

Permalink
Merge pull request #3750 from dsi-ehess/proxy-selector-label
Browse files Browse the repository at this point in the history
Fix proxy select display problems
  • Loading branch information
cjcolvar authored Apr 23, 2019
2 parents 9672b56 + 8bf45c4 commit 523fdad
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/hyrax/base/_form_progress.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
<% if Flipflop.proxy_deposit? && current_user.can_make_deposits_for.any? %>
<div class="list-group-item">
<%= f.input :on_behalf_of, collection: current_user.can_make_deposits_for.map(&:user_key), prompt: "Yourself" %>
<%= f.input :on_behalf_of, collection: current_user.can_make_deposits_for, prompt: t(".yourself"), value_method: :user_key %>
</div>
<% end %>
</div>
Expand Down
3 changes: 2 additions & 1 deletion config/locales/hyrax.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ de:
required_descriptions: Beschreiben Sie Ihre Arbeit
required_files: Dateien hinzufügen
requirements: Bedarf
yourself: Selbst
form_rendering:
help_html: Wählen Sie die Datei(en) aus, die als Download für jedes Bild im Universal Viewer angeboten werden soll, z. B. eine PDF-Datei der gesamten Arbeit.
legend_html: Rendern
Expand Down Expand Up @@ -618,7 +619,7 @@ de:
branding:
description: Optional können Sie ein Bannerbild und / oder Logo-Bilder hochladen, die mit dieser Sammlung verknüpft werden sollen. Wenn diese hochgeladen werden, werden diese Bilder oben auf der Sammlungsseite angezeigt, um ein eindeutiges Markenbildung für die Sammlung bereitzustellen.
label: Markenbildung
choose_file: "Datei wählen"
choose_file: Datei wählen
link_url: 'URL-Link:'
logo:
description: Ein oder mehrere Bilder, die oben auf der Sammlungsseite angezeigt werden. Für beste Ergebnisse laden Sie ein Bild (JPG, GIF oder PNG) hoch, das 40 Pixel hoch ist. Größere Bilder werden auf 40 Pixel in der Höhe angepasst.
Expand Down
1 change: 1 addition & 0 deletions config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ en:
required_descriptions: Describe your work
required_files: Add files
requirements: Requirements
yourself: Yourself
form_rendering:
help_html: Select file(s) to be offered as a download for every image in Universal Viewer, for example a PDF of the whole work.
legend_html: Rendering
Expand Down
1 change: 1 addition & 0 deletions config/locales/hyrax.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ es:
required_descriptions: Describa su trabajo
required_files: Añadir archivos
requirements: Requisitos
yourself: Usted mismo
form_rendering:
help_html: Seleccione los archivos que se ofrecerán como descarga para cada imagen en Universal Viewer, por ejemplo, un PDF de todo el trabajo.
legend_html: Representación
Expand Down
1 change: 1 addition & 0 deletions config/locales/hyrax.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ fr:
required_descriptions: Décrivez votre travail
required_files: Ajouter des fichiers
requirements: Exigences
yourself: Vous-même
form_rendering:
help_html: Sélectionnez le (s) fichier (s) à télécharger en téléchargement pour chaque image dans Universal Viewer, par exemple un PDF de l'ensemble de l'œuvre.
legend_html: Le rendu
Expand Down
1 change: 1 addition & 0 deletions config/locales/hyrax.it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ it:
required_descriptions: Descrivi il tuo lavoro
required_files: Aggiungere i file
requirements: Requisiti
yourself: Te
form_rendering:
help_html: Selezionare i file da offrire come download per ogni immagine in Universal Viewer, ad esempio un PDF dell'intero lavoro.
legend_html: Rendering
Expand Down
1 change: 1 addition & 0 deletions config/locales/hyrax.pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ pt-BR:
required_descriptions: Descreva sua obra
required_files: Acrescente arquivos
requirements: Requisitos
yourself: A si mesmo
form_rendering:
help_html: Selecione os arquivos a serem oferecidos por download para cada imagem no Universal Viewer; por exemplo, um PDF da obra toda.
legend_html: Apresentação
Expand Down
1 change: 1 addition & 0 deletions config/locales/hyrax.zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ zh:
required_descriptions: 描述您的作品
required_files: 添加文件
requirements: 必要条件
yourself: 自己
form_rendering:
help_html: 在Universal Viewer中选择要作为每个图像下载的文件,例如整个作品的PDF。
legend_html: 渲染
Expand Down

0 comments on commit 523fdad

Please sign in to comment.