Improve add buttons
Some checks failed
CI / scan_ruby (push) Failing after 12s
CI / scan_js (push) Successful in 11s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 31s

This commit is contained in:
sto 2025-05-14 18:09:36 +02:00
parent 1397ddce2f
commit e65d639ca6
3 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@
h4
= t("puzzles.plural").capitalize
a.ms-3.btn.btn-primary href=new_contest_puzzle_path(@contest) style="margin-top: -3px"
= t("contests.show.add_puzzle")
| + #{t("helpers.buttons.add")}
table.table.table-striped.table-hover
thead
tr
@ -71,7 +71,7 @@
h4
= t("contestants.plural").capitalize
a.ms-3.btn.btn-primary href=new_contest_contestant_path(@contest) style="margin-top: -3px"
= t("contests.show.add_participant")
| + #{t("helpers.buttons.add")}
table.table.table-striped.table-hover
thead
tr

View File

@ -76,6 +76,7 @@ en:
plural: "teams"
helpers:
buttons:
add: "Add"
create: "Create"
save: "Save"
messages:

View File

@ -47,6 +47,7 @@ fr:
plural: "équipes"
helpers:
buttons:
add: "Ajouter"
create: "Créer"
save: "Modifier"
messages: