Skip to content

Commit

Permalink
add fr translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuynh333 committed Jun 6, 2024
1 parent 7b57e6d commit 72d353c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Controller } from "@hotwired/stimulus";

// creates a table listing all selected metadata for deletion
// populates confirmation dialogue with description containing number of samples and samples selected for deletion
export default class extends Controller {
static targets = ["tableBody", "description"];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
data-projects--samples--multiple-delete-listing-plural-value="<%= t(".description.plural") %>"
class="mb-4 font-normal text-slate-500 dark:text-slate-400 overflow-x-visible">
<p
class="mb-4"
data-projects--samples--multiple-delete-listing-target="description">
class="mb-4"
data-projects--samples--multiple-delete-listing-target="description">
<%= t(".description.zero") %>
</p>
<%= form_for(:deletion, url: destroy_multiple_namespace_project_samples_path, method: :delete) do |form| %>
Expand Down
15 changes: 15 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,7 @@ fr:
import_metadata_button: Import metadata
clone_button: Clone samples
create_export_button: Create Export
delete_samples_button: Delete Samples
actions:
button_add_aria_label: Add new sample button
dropdown_aria_label: Dropdown options for sample %{sample_name}
Expand Down Expand Up @@ -1295,6 +1296,20 @@ fr:
description: 'Paste a list of <kbd>,</kbd> seperated sample names or identifiers'
apply: Apply filter
remove_tag: Remove
delete_multiple_samples_dialog:
description:
zero: No samples have been selected for deletion
singular: 1 sample has been selected for deletion
plural: COUNT_PLACEHOLDER samples have been selected for deletion
id: ID
name: Name
submit_button: Confirm
title: Delete Samples
destroy_multiple:
no_deleted_samples: Selected samples could not be deleted
partial_error: "%{not_deleted} samples could not be deleted"
partial_success: "%{deleted} samples were successfully deleted"
success: Samples were successfully deleted
workflow_executions:
cancel:
error: "Could not cancel workflow %{workflow_name}"
Expand Down

0 comments on commit 72d353c

Please sign in to comment.