sto ec2201f9a8
All checks were successful
CI / scan_ruby (push) Successful in 17s
CI / scan_js (push) Successful in 11s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 26s
Implement CSV import and conversion to contestants
2025-05-17 17:40:03 +02:00

146 lines
3.8 KiB
YAML

# Files in the config/locales directory are used for internationalization and
# are automatically loaded by Rails. If you want to use locales other than
# English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
# I18n.t "hello"
#
# In views, this is aliased to just `t`:
#
# <%= t("hello") %>
#
# To use a different locale, set it with `I18n.locale`:
#
# I18n.locale = :es
#
# This would use the information in config/locales/es.yml.
#
# To learn more about the API, please read the Rails Internationalization guide
# at https://guides.rubyonrails.org/i18n.html.
#
# Be aware that YAML interprets the following case-insensitive strings as
# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
# must be quoted to be interpreted as strings. For example:
#
# en:
# "yes": yup
# enabled: "ON"
en:
activemodel:
errors:
models:
forms/csv_conversion_form:
attributes:
name_column:
blank: "Participant names are required"
greater_than: "Participant names are required"
activerecord:
attributes:
contest:
name: "Name"
team: "Team contest"
team_description: "For UI display purposes mainly"
allow_registration: "Allow registration"
allow_registration_description: "Generates a shareable registration form for this contest"
user:
username: "Username"
email_address: "Email address"
lang: "Language"
password: "New password"
errors:
models:
completion:
attributes:
display_time_from_start:
invalid: "Allowed formats: xx:xx:xx, x:xx:xx, xx:xx, x:xx"
puzzle_id:
taken: "This contestant has already completed this puzzle"
csv_import:
attributes:
file:
blank: "No file selected"
empty: "This file is empty"
not_a_csv_file: "it must be a CSV file"
completions:
edit:
title: "Edit completion"
new:
title: "New completion"
singular: "completion"
contests:
edit:
title: "Edit contest settings"
index:
title: "Welcome %{username}!"
manage_contests: "Manage my contests"
new_contest: "Create a new contest"
new:
title: "New jigsaw puzzle contest"
scoreboard:
title: "%{name}"
show:
title: "%{name}"
add_participant: "Add contestant"
add_puzzle: "Add puzzle"
public_scoreboard: "Public scoreboard: "
contestants:
convert_csv:
title: "Import participants"
edit:
title: "Participant"
team_title: "Teams"
finalize_import:
title: "Import participants"
import:
email_column: "Participant email"
import_column: "Import?"
name_column: "Participant name"
title: "Import participants"
new:
title: "New participant"
team_title: "New team"
singular: "participant"
plural: "participants"
teams:
singular: "team"
plural: "teams"
helpers:
buttons:
add: "Add"
confirm: "Confirm"
create: "Create"
import: "CSV Import"
save: "Save"
field: "Field"
messages:
convert:
title: "Convert message into completion"
plural: "messages"
singular: "message"
nav:
users: "Users"
home: "Home"
settings: "Settings"
log_out: "Log out"
puzzles:
edit:
title: "Edit contest puzzle"
new:
title: "New contest puzzle"
singular: "puzzle"
plural: "puzzles"
sessions:
new:
title: "Login to the Public Scoreboard app"
users:
edit:
title: "My settings"
general_section: "General settings"
password_section: "Change password"
index:
title: "All users"
new:
title: "New user"