Skip to content

Commit

Permalink
Localise
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Dec 16, 2023
1 parent e545afc commit 48fb280
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 0 deletions.
43 changes: 43 additions & 0 deletions priv/localisation/bonfire_files.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## This file is a PO Template file.
##
## "msgid"s here are often extracted from source code.
## Add new messages manually only if they're dynamic
## messages that can't be statically extracted.
##
## Run "mix gettext.extract" to bring this file up to
## date. Leave "msgstr"s empty as changing them here has no
## effect: edit them in PO (.po) files instead.
#
msgid ""
msgstr ""

#: lib/web/upload_banner_live.sface:44
#, elixir-autogen, elixir-format
msgid "PNG, JPG, GIF up to %{size} MB"
msgstr ""

#: lib/web/upload_icon_live.sface:61
#, elixir-autogen, elixir-format
msgid "Upload %{image}"
msgstr ""

#: lib/web/upload_banner_live.sface:19
#, elixir-autogen, elixir-format
msgid "Upload a background image"
msgstr ""

#: lib/web/upload_icon_live.sface:27
#, elixir-autogen, elixir-format
msgid "Upload or drop"
msgstr ""

#: lib/web/upload_icon_live.sface:28
#: lib/web/upload_icon_live.sface:61
#, elixir-autogen, elixir-format
msgid "avatar"
msgstr ""

#: lib/web/upload_banner_live.sface:20
#, elixir-autogen, elixir-format
msgid "or drag and drop"
msgstr ""
95 changes: 95 additions & 0 deletions priv/localisation/errors.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
## This is a PO Template file.
##
## `msgid`s here are often extracted from source code.
## Add new translations manually only if they're dynamic
## translations that can't be statically extracted.
##
## Run `mix gettext.extract` to bring this file up to
## date. Leave `msgstr`s empty as changing them here has no
## effect: edit them in PO (`.po`) files instead.

## From Ecto.Changeset.cast/4
msgid "can't be blank"
msgstr ""

## From Ecto.Changeset.unique_constraint/3
msgid "has already been taken"
msgstr ""

## From Ecto.Changeset.put_change/3
msgid "is invalid"
msgstr ""

## From Ecto.Changeset.validate_acceptance/3
msgid "must be accepted"
msgstr ""

## From Ecto.Changeset.validate_format/3
msgid "has invalid format"
msgstr ""

## From Ecto.Changeset.validate_subset/3
msgid "has an invalid entry"
msgstr ""

## From Ecto.Changeset.validate_exclusion/3
msgid "is reserved"
msgstr ""

## From Ecto.Changeset.validate_confirmation/3
msgid "does not match confirmation"
msgstr ""

## From Ecto.Changeset.no_assoc_constraint/3
msgid "is still associated with this entry"
msgstr ""

msgid "are still associated with this entry"
msgstr ""

## From Ecto.Changeset.validate_length/3
msgid "should be %{count} character(s)"
msgid_plural "should be %{count} character(s)"
msgstr[0] ""
msgstr[1] ""

msgid "should have %{count} item(s)"
msgid_plural "should have %{count} item(s)"
msgstr[0] ""
msgstr[1] ""

msgid "should be at least %{count} character(s)"
msgid_plural "should be at least %{count} character(s)"
msgstr[0] ""
msgstr[1] ""

msgid "should have at least %{count} item(s)"
msgid_plural "should have at least %{count} item(s)"
msgstr[0] ""
msgstr[1] ""

msgid "should be at most %{count} character(s)"
msgid_plural "should be at most %{count} character(s)"
msgstr[0] ""
msgstr[1] ""

msgid "should have at most %{count} item(s)"
msgid_plural "should have at most %{count} item(s)"
msgstr[0] ""
msgstr[1] ""

## From Ecto.Changeset.validate_number/3
msgid "must be less than %{number}"
msgstr ""

msgid "must be greater than %{number}"
msgstr ""

msgid "must be less than or equal to %{number}"
msgstr ""

msgid "must be greater than or equal to %{number}"
msgstr ""

msgid "must be equal to %{number}"
msgstr ""

0 comments on commit 48fb280

Please sign in to comment.