Skip to content

Commit

Permalink
Merge pull request #3189 from manyfold3d/restore-missing-translations
Browse files Browse the repository at this point in the history
Restore missing problem resolution button translations
  • Loading branch information
Floppy authored Nov 18, 2024
2 parents b1f104d + 8cb39a9 commit 0efc72e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/components/resolve_button_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@ class ResolveButtonComponent < ViewComponent::Base
OPTIONS = {
show: {
icon: "box",
i18n_key: "models.file.open_button.text",
i18n_key: "models.file.open_button.text", # i18n-tasks-use t('models.file.open_button.text')
button_type: "primary"
},
edit: {
icon: "pencil",
i18n_key: "general.edit",
i18n_key: "general.edit", # i18n-tasks-use t('general.edit')
button_type: "primary"
},
destroy: {
icon: "trash",
i18n_key: "general.delete",
i18n_key: "general.delete", # i18n-tasks-use t('general.delete')
button_type: "danger",
confirm: "%{type}s.destroy.confirm"
},
merge: {
icon: "box-arrow-in-up-left",
i18n_key: "models.problem.merge_all",
i18n_key: "models.problem.merge_all", # i18n-tasks-use t('models.problem.merge_all')
button_type: "danger"
},
upload: {
icon: "upload",
i18n_key: "application.navbar.upload",
i18n_key: "application.navbar.upload", # i18n-tasks-use t('application.navbar.upload')
button_type: "primary"
},
convert: {
icon: "arrow-left-right",
i18n_key: "model_files.show.convert",
i18n_key: "model_files.show.convert", # i18n-tasks-use t('model_files.show.convert')
button_type: "warning"
}
}
Expand Down
1 change: 1 addition & 0 deletions config/locales/model_files/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ de:
general:
edit: Dateiinformationen bearbeiten
show:
convert: zu 3MF konvertieren
details_heading: Details
notes_heading: Notizen
update:
Expand Down
1 change: 1 addition & 0 deletions config/locales/model_files/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ en:
general:
edit: Edit File Information
show:
convert: Convert to 3MF
details_heading: Details
notes_heading: Notes
update:
Expand Down
1 change: 1 addition & 0 deletions config/locales/model_files/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ es:
general:
edit: Editar la información del archivo
show:
convert: Convertir a 3MF
details_heading: Detalles
notes_heading: Notas
update:
Expand Down
1 change: 1 addition & 0 deletions config/locales/model_files/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fr:
general:
edit: Modifier les informations du fichier
show:
convert: Convertir en 3MF
details_heading: Détails
notes_heading: Notes
update:
Expand Down
1 change: 1 addition & 0 deletions config/locales/model_files/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pl:
general:
edit: Edytuj informacje o pliku
show:
convert: Konwertuj do 3MF
details_heading: Szczegóły
notes_heading: Notatki
update:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/models/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ de:
help: Die Sammlung, in die hochgeladen werden soll.
submit: Modelle erstellen
title: Hochladen
problem:
merge_all: Alle zusammenführen
scan:
success: Modell-Scan gestartet
show:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/models/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ en:
help: The library to upload to.
submit: Create models
title: Upload
problem:
merge_all: Merge all
scan:
success: Model scan started
show:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/models/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ es:
help: Biblioteca donde se cargará el archivo.
submit: Crear modelos
title: Cargar
problem:
merge_all: Fusionar todo
scan:
success: Escaneo de modelos iniciado
show:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/models/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ fr:
help: La bibliothèque vers laquelle télécharger.
submit:
title: Télécharger
problem:
merge_all: Tous fusionner
scan:
success: Début de l'analyse du modèle
show:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/models/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ pl:
help: Biblioteka, do której ma zostać przesłany plik.
submit: Stwórz modele
title: Prześlij
problem:
merge_all: Połącz wszystko
scan:
success: Rozpoczęto skanowanie modelów
show:
Expand Down

0 comments on commit 0efc72e

Please sign in to comment.