Compare commits
29 Commits
6b565abf93
...
0.6.0
Author | SHA1 | Date | |
---|---|---|---|
a3e7e3a86d | |||
0c088ed06d | |||
1c7721887f | |||
0dbd1af553 | |||
c828def2b2 | |||
7ef582510e | |||
726ede7e46 | |||
8fa75e2559 | |||
0d6f6de7df | |||
76d3554b4b | |||
09394ea408 | |||
3dd6430105 | |||
53bb0ddb03 | |||
e3ff04ced3 | |||
db4b3fab24 | |||
d86f5a6d98 | |||
9420337228 | |||
e2a4dc4b92 | |||
175eef95fb | |||
ba8d7988b3 | |||
1f017ced4a | |||
67304ae22e | |||
30da5bc4f7 | |||
580d703f12 | |||
cb4de9a6ff | |||
ca4b5b9822 | |||
13bf8ab2b1 | |||
ffd1029e78 | |||
1d8f3360d8 |
@ -29,7 +29,7 @@ steps:
|
|||||||
- npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
- npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
||||||
- npm run --prefix ./assets deploy
|
- npm run --prefix ./assets deploy
|
||||||
- mix do phx.digest, gettext.extract
|
- mix do phx.digest, gettext.extract
|
||||||
- mix test
|
- mix test.all
|
||||||
|
|
||||||
- name: build and publish stable
|
- name: build and publish stable
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
@ -38,7 +38,7 @@ steps:
|
|||||||
repo: shibaobun/cannery
|
repo: shibaobun/cannery
|
||||||
purge: true
|
purge: true
|
||||||
compress: true
|
compress: true
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm/v7
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
@ -55,7 +55,7 @@ steps:
|
|||||||
repo: shibaobun/cannery
|
repo: shibaobun/cannery
|
||||||
purge: true
|
purge: true
|
||||||
compress: true
|
compress: true
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm/v7
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
elixir 1.14.1-otp-25
|
elixir 1.14.1-otp-25
|
||||||
erlang 25.1.2
|
erlang 25.1.2
|
||||||
nodejs 16.13.2
|
nodejs 18.12.1
|
||||||
|
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,4 +1,4 @@
|
|||||||
# v0.5.5
|
# v0.6.0
|
||||||
- Update translations
|
- Update translations
|
||||||
- Display used-up date on used-up ammo
|
- Display used-up date on used-up ammo
|
||||||
- Make ammo index page a bit more compact
|
- Make ammo index page a bit more compact
|
||||||
@ -7,10 +7,18 @@
|
|||||||
- Make ammo type show page a bit more compact
|
- Make ammo type show page a bit more compact
|
||||||
- Make ammo type show page include container names for each ammo
|
- Make ammo type show page include container names for each ammo
|
||||||
- Make ammo type show page filter used-up ammo
|
- Make ammo type show page filter used-up ammo
|
||||||
|
- Make container index page optionally display a table
|
||||||
- Make container show page a bit more compact
|
- Make container show page a bit more compact
|
||||||
- Make container show page filter used-up ammo
|
- Make container show page filter used-up ammo
|
||||||
- Forgot to add the logo as the favicon whoops
|
- Forgot to add the logo as the favicon whoops
|
||||||
- Update project dependencies, use Elixir v1.14.1
|
- Add graph to range page
|
||||||
|
- Add JSON export of data
|
||||||
|
- Add ammo cloning
|
||||||
|
- Add ammo type cloning
|
||||||
|
- Add container cloning
|
||||||
|
- Fix bug with moving ammo packs between containers
|
||||||
|
- Add button to set rounds left to 0 when creating a shot group
|
||||||
|
- Update project dependencies
|
||||||
|
|
||||||
# v0.5.4
|
# v0.5.4
|
||||||
- Rename "Ammo" tab to "Catalog", and "Manage" tab is now "Ammo"
|
- Rename "Ammo" tab to "Catalog", and "Manage" tab is now "Ammo"
|
||||||
|
@ -26,6 +26,7 @@ import { Socket } from 'phoenix'
|
|||||||
import { LiveSocket } from 'phoenix_live_view'
|
import { LiveSocket } from 'phoenix_live_view'
|
||||||
import topbar from '../vendor/topbar'
|
import topbar from '../vendor/topbar'
|
||||||
import MaintainAttrs from './maintain_attrs'
|
import MaintainAttrs from './maintain_attrs'
|
||||||
|
import ShotLogChart from './shot_log_chart'
|
||||||
import Alpine from 'alpinejs'
|
import Alpine from 'alpinejs'
|
||||||
|
|
||||||
const csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute('content')
|
const csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute('content')
|
||||||
@ -36,7 +37,7 @@ const liveSocket = new LiveSocket('/live', Socket, {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
params: { _csrf_token: csrfToken },
|
params: { _csrf_token: csrfToken },
|
||||||
hooks: { MaintainAttrs }
|
hooks: { MaintainAttrs, ShotLogChart }
|
||||||
})
|
})
|
||||||
|
|
||||||
// alpine.js
|
// alpine.js
|
||||||
@ -66,3 +67,8 @@ window.addEventListener('cannery:clipcopy', (event) => {
|
|||||||
window.alert('Sorry, your browser does not support clipboard copy.')
|
window.alert('Sorry, your browser does not support clipboard copy.')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Set input value to 0
|
||||||
|
window.addEventListener('cannery:set-zero', (event) => {
|
||||||
|
event.target.value = 0
|
||||||
|
})
|
||||||
|
83
assets/js/shot_log_chart.js
Normal file
83
assets/js/shot_log_chart.js
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
import { Chart, Title, Tooltip, Legend, LineController, LineElement, PointElement, TimeScale, LinearScale } from 'chart.js'
|
||||||
|
import 'chartjs-adapter-date-fns'
|
||||||
|
Chart.register(Title, Tooltip, Legend, LineController, LineElement, PointElement, TimeScale, LinearScale)
|
||||||
|
|
||||||
|
export default {
|
||||||
|
initalizeChart (el) {
|
||||||
|
const data = JSON.parse(el.dataset.chartData)
|
||||||
|
|
||||||
|
this.el.chart = new Chart(el, {
|
||||||
|
type: 'line',
|
||||||
|
data: {
|
||||||
|
datasets: [{
|
||||||
|
label: el.dataset.label,
|
||||||
|
data: data.map(({ date, count, labels }) => ({
|
||||||
|
labels,
|
||||||
|
x: date,
|
||||||
|
y: count
|
||||||
|
})),
|
||||||
|
backgroundColor: el.dataset.color,
|
||||||
|
borderColor: el.dataset.color,
|
||||||
|
fill: true,
|
||||||
|
borderWidth: 4
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
elements: {
|
||||||
|
point: {
|
||||||
|
radius: 7,
|
||||||
|
hoverRadius: 10
|
||||||
|
}
|
||||||
|
},
|
||||||
|
plugins: {
|
||||||
|
legend: {
|
||||||
|
position: 'bottom',
|
||||||
|
labels: {
|
||||||
|
padding: 20
|
||||||
|
}
|
||||||
|
},
|
||||||
|
tooltip: {
|
||||||
|
displayColors: false,
|
||||||
|
callbacks: {
|
||||||
|
label: ({ raw: { labels } }) => labels
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
scales: {
|
||||||
|
y: {
|
||||||
|
beginAtZero: true,
|
||||||
|
stacked: true,
|
||||||
|
grace: '15%',
|
||||||
|
ticks: {
|
||||||
|
padding: 15
|
||||||
|
}
|
||||||
|
},
|
||||||
|
x: {
|
||||||
|
type: 'time',
|
||||||
|
time: {
|
||||||
|
unit: 'day'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
transitions: {
|
||||||
|
show: {
|
||||||
|
animations: {
|
||||||
|
x: {
|
||||||
|
from: 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
hide: {
|
||||||
|
animations: {
|
||||||
|
x: {
|
||||||
|
to: 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
mounted () { this.initalizeChart(this.el) },
|
||||||
|
updated () { this.initalizeChart(this.el) }
|
||||||
|
}
|
52
assets/package-lock.json
generated
52
assets/package-lock.json
generated
@ -8,6 +8,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^6.1.1",
|
"@fortawesome/fontawesome-free": "^6.1.1",
|
||||||
"alpinejs": "^3.10.2",
|
"alpinejs": "^3.10.2",
|
||||||
|
"chart.js": "^3.9.1",
|
||||||
|
"chartjs-adapter-date-fns": "^2.0.0",
|
||||||
|
"date-fns": "^2.29.3",
|
||||||
"phoenix": "file:../deps/phoenix",
|
"phoenix": "file:../deps/phoenix",
|
||||||
"phoenix_html": "file:../deps/phoenix_html",
|
"phoenix_html": "file:../deps/phoenix_html",
|
||||||
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
||||||
@ -35,17 +38,21 @@
|
|||||||
"webpack": "^5.72.0",
|
"webpack": "^5.72.0",
|
||||||
"webpack-cli": "^4.9.2",
|
"webpack-cli": "^4.9.2",
|
||||||
"webpack-dev-server": "^4.9.0"
|
"webpack-dev-server": "^4.9.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "18.12.1",
|
||||||
|
"npm": "8.19.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"../deps/phoenix": {
|
"../deps/phoenix": {
|
||||||
"version": "1.6.8",
|
"version": "1.6.15",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"../deps/phoenix_html": {
|
"../deps/phoenix_html": {
|
||||||
"version": "3.2.0"
|
"version": "3.2.0"
|
||||||
},
|
},
|
||||||
"../deps/phoenix_live_view": {
|
"../deps/phoenix_live_view": {
|
||||||
"version": "0.17.9",
|
"version": "0.18.2",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@ampproject/remapping": {
|
"node_modules/@ampproject/remapping": {
|
||||||
@ -3162,6 +3169,19 @@
|
|||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/chart.js": {
|
||||||
|
"version": "3.9.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz",
|
||||||
|
"integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w=="
|
||||||
|
},
|
||||||
|
"node_modules/chartjs-adapter-date-fns": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/chartjs-adapter-date-fns/-/chartjs-adapter-date-fns-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-rmZINGLe+9IiiEB0kb57vH3UugAtYw33anRiw5kS2Tu87agpetDDoouquycWc9pRsKtQo5j+vLsYHyr8etAvFw==",
|
||||||
|
"peerDependencies": {
|
||||||
|
"chart.js": "^3.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/chokidar": {
|
"node_modules/chokidar": {
|
||||||
"version": "3.5.3",
|
"version": "3.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
||||||
@ -3846,6 +3866,18 @@
|
|||||||
"node": ">=8.0.0"
|
"node": ">=8.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/date-fns": {
|
||||||
|
"version": "2.29.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz",
|
||||||
|
"integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.11"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/date-fns"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/debug": {
|
"node_modules/debug": {
|
||||||
"version": "4.3.4",
|
"version": "4.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||||
@ -12533,6 +12565,17 @@
|
|||||||
"supports-color": "^5.3.0"
|
"supports-color": "^5.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"chart.js": {
|
||||||
|
"version": "3.9.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz",
|
||||||
|
"integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w=="
|
||||||
|
},
|
||||||
|
"chartjs-adapter-date-fns": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/chartjs-adapter-date-fns/-/chartjs-adapter-date-fns-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-rmZINGLe+9IiiEB0kb57vH3UugAtYw33anRiw5kS2Tu87agpetDDoouquycWc9pRsKtQo5j+vLsYHyr8etAvFw==",
|
||||||
|
"requires": {}
|
||||||
|
},
|
||||||
"chokidar": {
|
"chokidar": {
|
||||||
"version": "3.5.3",
|
"version": "3.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
||||||
@ -13021,6 +13064,11 @@
|
|||||||
"css-tree": "^1.1.2"
|
"css-tree": "^1.1.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"date-fns": {
|
||||||
|
"version": "2.29.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz",
|
||||||
|
"integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA=="
|
||||||
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
"version": "4.3.4",
|
"version": "4.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
"repository": {},
|
"repository": {},
|
||||||
"description": " ",
|
"description": " ",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": "18.12.1",
|
||||||
|
"npm": "8.19.2"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"deploy": "NODE_ENV=production webpack --mode production",
|
"deploy": "NODE_ENV=production webpack --mode production",
|
||||||
"watch": "webpack --mode development --watch --watch-options-stdin",
|
"watch": "webpack --mode development --watch --watch-options-stdin",
|
||||||
@ -11,6 +15,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^6.1.1",
|
"@fortawesome/fontawesome-free": "^6.1.1",
|
||||||
"alpinejs": "^3.10.2",
|
"alpinejs": "^3.10.2",
|
||||||
|
"chart.js": "^3.9.1",
|
||||||
|
"chartjs-adapter-date-fns": "^2.0.0",
|
||||||
|
"date-fns": "^2.29.3",
|
||||||
"phoenix": "file:../deps/phoenix",
|
"phoenix": "file:../deps/phoenix",
|
||||||
"phoenix_html": "file:../deps/phoenix_html",
|
"phoenix_html": "file:../deps/phoenix_html",
|
||||||
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
||||||
|
@ -9,6 +9,14 @@ defmodule Cannery.Accounts.User do
|
|||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
alias Cannery.{Accounts.User, Invites.Invite}
|
alias Cannery.{Accounts.User, Invites.Invite}
|
||||||
|
|
||||||
|
@derive {Jason.Encoder,
|
||||||
|
only: [
|
||||||
|
:id,
|
||||||
|
:email,
|
||||||
|
:confirmed_at,
|
||||||
|
:role,
|
||||||
|
:locale
|
||||||
|
]}
|
||||||
@derive {Inspect, except: [:password]}
|
@derive {Inspect, except: [:password]}
|
||||||
@primary_key {:id, :binary_id, autogenerate: true}
|
@primary_key {:id, :binary_id, autogenerate: true}
|
||||||
@foreign_key_type :binary_id
|
@foreign_key_type :binary_id
|
||||||
|
@ -9,6 +9,14 @@ defmodule Cannery.ActivityLog.ShotGroup do
|
|||||||
alias Cannery.{Accounts.User, ActivityLog.ShotGroup, Ammo.AmmoGroup, Repo}
|
alias Cannery.{Accounts.User, ActivityLog.ShotGroup, Ammo.AmmoGroup, Repo}
|
||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
|
|
||||||
|
@derive {Jason.Encoder,
|
||||||
|
only: [
|
||||||
|
:id,
|
||||||
|
:count,
|
||||||
|
:date,
|
||||||
|
:notes,
|
||||||
|
:ammo_group_id
|
||||||
|
]}
|
||||||
@primary_key {:id, :binary_id, autogenerate: true}
|
@primary_key {:id, :binary_id, autogenerate: true}
|
||||||
@foreign_key_type :binary_id
|
@foreign_key_type :binary_id
|
||||||
schema "shot_groups" do
|
schema "shot_groups" do
|
||||||
@ -58,7 +66,7 @@ defmodule Cannery.ActivityLog.ShotGroup do
|
|||||||
|> cast(attrs, [:count, :notes, :date])
|
|> cast(attrs, [:count, :notes, :date])
|
||||||
|> validate_number(:count, greater_than: 0)
|
|> validate_number(:count, greater_than: 0)
|
||||||
|> validate_create_shot_group_count(ammo_group)
|
|> validate_create_shot_group_count(ammo_group)
|
||||||
|> validate_required([:count, :ammo_group_id, :user_id])
|
|> validate_required([:count, :date, :ammo_group_id, :user_id])
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_changeset(shot_group, _invalid_user, _invalid_ammo_group, attrs) do
|
def create_changeset(shot_group, _invalid_user, _invalid_ammo_group, attrs) do
|
||||||
@ -90,7 +98,7 @@ defmodule Cannery.ActivityLog.ShotGroup do
|
|||||||
shot_group
|
shot_group
|
||||||
|> cast(attrs, [:count, :notes, :date])
|
|> cast(attrs, [:count, :notes, :date])
|
||||||
|> validate_number(:count, greater_than: 0)
|
|> validate_number(:count, greater_than: 0)
|
||||||
|> validate_required([:count])
|
|> validate_required([:count, :date])
|
||||||
|> validate_update_shot_group_count(shot_group, user)
|
|> validate_update_shot_group_count(shot_group, user)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ defmodule Cannery.Ammo do
|
|||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
iex> get_round_count_for_ammo_type(123, %User{id: 123})
|
iex> get_round_count_for_ammo_type(123, %User{id: 123})
|
||||||
%AmmoType{}
|
35
|
||||||
|
|
||||||
iex> get_round_count_for_ammo_type(456, %User{id: 123})
|
iex> get_round_count_for_ammo_type(456, %User{id: 123})
|
||||||
** (Ecto.NoResultsError)
|
** (Ecto.NoResultsError)
|
||||||
@ -127,7 +127,7 @@ defmodule Cannery.Ammo do
|
|||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
iex> get_used_count_for_ammo_type(123, %User{id: 123})
|
iex> get_used_count_for_ammo_type(123, %User{id: 123})
|
||||||
%AmmoType{}
|
35
|
||||||
|
|
||||||
iex> get_used_count_for_ammo_type(456, %User{id: 123})
|
iex> get_used_count_for_ammo_type(456, %User{id: 123})
|
||||||
** (Ecto.NoResultsError)
|
** (Ecto.NoResultsError)
|
||||||
@ -146,6 +146,29 @@ defmodule Cannery.Ammo do
|
|||||||
) || 0
|
) || 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@doc """
|
||||||
|
Gets the total number of ammo ever bought for an ammo type
|
||||||
|
|
||||||
|
Raises `Ecto.NoResultsError` if the Ammo type does not exist.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
iex> get_historical_count_for_ammo_type(123, %User{id: 123})
|
||||||
|
%AmmoType{}
|
||||||
|
|
||||||
|
iex> get_historical_count_for_ammo_type(456, %User{id: 123})
|
||||||
|
** (Ecto.NoResultsError)
|
||||||
|
|
||||||
|
"""
|
||||||
|
@spec get_historical_count_for_ammo_type(AmmoType.t(), User.t()) :: non_neg_integer()
|
||||||
|
def get_historical_count_for_ammo_type(
|
||||||
|
%AmmoType{user_id: user_id} = ammo_type,
|
||||||
|
%User{id: user_id} = user
|
||||||
|
) do
|
||||||
|
get_round_count_for_ammo_type(ammo_type, user) +
|
||||||
|
get_used_count_for_ammo_type(ammo_type, user)
|
||||||
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Creates a ammo_type.
|
Creates a ammo_type.
|
||||||
|
|
||||||
@ -305,9 +328,12 @@ defmodule Cannery.Ammo do
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
iex> get_ammo_groups_count_for_type(%User{id: 123})
|
iex> get_ammo_groups_count_for_type(%AmmoType{id: 123}, %User{id: 123})
|
||||||
3
|
3
|
||||||
|
|
||||||
|
iex> get_ammo_groups_count_for_type(%AmmoType{id: 123}, %User{id: 123}, true)
|
||||||
|
5
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@spec get_ammo_groups_count_for_type(AmmoType.t(), User.t()) :: [AmmoGroup.t()]
|
@spec get_ammo_groups_count_for_type(AmmoType.t(), User.t()) :: [AmmoGroup.t()]
|
||||||
@spec get_ammo_groups_count_for_type(AmmoType.t(), User.t(), include_empty :: boolean()) ::
|
@spec get_ammo_groups_count_for_type(AmmoType.t(), User.t(), include_empty :: boolean()) ::
|
||||||
@ -343,6 +369,30 @@ defmodule Cannery.Ammo do
|
|||||||
) || 0
|
) || 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@doc """
|
||||||
|
Returns the count of used ammo_groups for an ammo type.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
iex> get_used_ammo_groups_count_for_type(%AmmoType{id: 123}, %User{id: 123})
|
||||||
|
3
|
||||||
|
|
||||||
|
"""
|
||||||
|
@spec get_used_ammo_groups_count_for_type(AmmoType.t(), User.t()) :: [AmmoGroup.t()]
|
||||||
|
def get_used_ammo_groups_count_for_type(
|
||||||
|
%AmmoType{id: ammo_type_id, user_id: user_id},
|
||||||
|
%User{id: user_id}
|
||||||
|
) do
|
||||||
|
Repo.one!(
|
||||||
|
from ag in AmmoGroup,
|
||||||
|
where: ag.user_id == ^user_id,
|
||||||
|
where: ag.ammo_type_id == ^ammo_type_id,
|
||||||
|
where: ag.count == 0,
|
||||||
|
distinct: true,
|
||||||
|
select: count(ag.id)
|
||||||
|
) || 0
|
||||||
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Returns the list of ammo_groups for a user.
|
Returns the list of ammo_groups for a user.
|
||||||
|
|
||||||
@ -456,7 +506,9 @@ defmodule Cannery.Ammo do
|
|||||||
ammo_group = ammo_group |> Repo.preload(:shot_groups)
|
ammo_group = ammo_group |> Repo.preload(:shot_groups)
|
||||||
|
|
||||||
shot_group_sum =
|
shot_group_sum =
|
||||||
ammo_group.shot_groups |> Enum.map(fn %{count: count} -> count end) |> Enum.sum()
|
ammo_group.shot_groups
|
||||||
|
|> Enum.map(fn %{count: count} -> count end)
|
||||||
|
|> Enum.sum()
|
||||||
|
|
||||||
round(count / (count + shot_group_sum) * 100)
|
round(count / (count + shot_group_sum) * 100)
|
||||||
end
|
end
|
||||||
@ -555,8 +607,12 @@ defmodule Cannery.Ammo do
|
|||||||
"""
|
"""
|
||||||
@spec update_ammo_group(AmmoGroup.t(), attrs :: map(), User.t()) ::
|
@spec update_ammo_group(AmmoGroup.t(), attrs :: map(), User.t()) ::
|
||||||
{:ok, AmmoGroup.t()} | {:error, Changeset.t(AmmoGroup.t())}
|
{:ok, AmmoGroup.t()} | {:error, Changeset.t(AmmoGroup.t())}
|
||||||
def update_ammo_group(%AmmoGroup{user_id: user_id} = ammo_group, attrs, %User{id: user_id}),
|
def update_ammo_group(
|
||||||
do: ammo_group |> AmmoGroup.update_changeset(attrs) |> Repo.update()
|
%AmmoGroup{user_id: user_id} = ammo_group,
|
||||||
|
attrs,
|
||||||
|
%User{id: user_id} = user
|
||||||
|
),
|
||||||
|
do: ammo_group |> AmmoGroup.update_changeset(attrs, user) |> Repo.update()
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Deletes a ammo_group.
|
Deletes a ammo_group.
|
||||||
|
@ -10,9 +10,19 @@ defmodule Cannery.Ammo.AmmoGroup do
|
|||||||
import CanneryWeb.Gettext
|
import CanneryWeb.Gettext
|
||||||
import Ecto.Changeset
|
import Ecto.Changeset
|
||||||
alias Cannery.Ammo.{AmmoGroup, AmmoType}
|
alias Cannery.Ammo.{AmmoGroup, AmmoType}
|
||||||
alias Cannery.{Accounts.User, ActivityLog.ShotGroup, Containers.Container}
|
alias Cannery.{Accounts.User, ActivityLog.ShotGroup, Containers, Containers.Container}
|
||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
|
|
||||||
|
@derive {Jason.Encoder,
|
||||||
|
only: [
|
||||||
|
:id,
|
||||||
|
:count,
|
||||||
|
:notes,
|
||||||
|
:price_paid,
|
||||||
|
:staged,
|
||||||
|
:ammo_type_id,
|
||||||
|
:container_id
|
||||||
|
]}
|
||||||
@primary_key {:id, :binary_id, autogenerate: true}
|
@primary_key {:id, :binary_id, autogenerate: true}
|
||||||
@foreign_key_type :binary_id
|
@foreign_key_type :binary_id
|
||||||
schema "ammo_groups" do
|
schema "ammo_groups" do
|
||||||
@ -85,13 +95,24 @@ defmodule Cannery.Ammo.AmmoGroup do
|
|||||||
end
|
end
|
||||||
|
|
||||||
@doc false
|
@doc false
|
||||||
@spec update_changeset(t() | new_ammo_group(), attrs :: map()) ::
|
@spec update_changeset(t() | new_ammo_group(), attrs :: map(), User.t()) ::
|
||||||
Changeset.t(t() | new_ammo_group())
|
Changeset.t(t() | new_ammo_group())
|
||||||
def update_changeset(ammo_group, attrs) do
|
def update_changeset(ammo_group, attrs, user) do
|
||||||
ammo_group
|
ammo_group
|
||||||
|> cast(attrs, [:count, :price_paid, :notes, :staged])
|
|> cast(attrs, [:count, :price_paid, :notes, :staged, :container_id])
|
||||||
|> validate_number(:count, greater_than_or_equal_to: 0)
|
|> validate_number(:count, greater_than_or_equal_to: 0)
|
||||||
|> validate_required([:count, :staged])
|
|> validate_container_id(user)
|
||||||
|
|> validate_required([:count, :staged, :container_id])
|
||||||
|
end
|
||||||
|
|
||||||
|
defp validate_container_id(changeset, user) do
|
||||||
|
container_id = changeset |> Changeset.get_field(:container_id)
|
||||||
|
|
||||||
|
if container_id do
|
||||||
|
Containers.get_container!(container_id, user)
|
||||||
|
end
|
||||||
|
|
||||||
|
changeset
|
||||||
end
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
|
@ -11,6 +11,31 @@ defmodule Cannery.Ammo.AmmoType do
|
|||||||
alias Cannery.Ammo.{AmmoGroup, AmmoType}
|
alias Cannery.Ammo.{AmmoGroup, AmmoType}
|
||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
|
|
||||||
|
@derive {Jason.Encoder,
|
||||||
|
only: [
|
||||||
|
:id,
|
||||||
|
:name,
|
||||||
|
:desc,
|
||||||
|
:bullet_type,
|
||||||
|
:bullet_core,
|
||||||
|
:cartridge,
|
||||||
|
:caliber,
|
||||||
|
:case_material,
|
||||||
|
:jacket_type,
|
||||||
|
:muzzle_velocity,
|
||||||
|
:powder_type,
|
||||||
|
:powder_grains_per_charge,
|
||||||
|
:grains,
|
||||||
|
:pressure,
|
||||||
|
:primer_type,
|
||||||
|
:firing_type,
|
||||||
|
:tracer,
|
||||||
|
:incendiary,
|
||||||
|
:blank,
|
||||||
|
:corrosive,
|
||||||
|
:manufacturer,
|
||||||
|
:upc
|
||||||
|
]}
|
||||||
@primary_key {:id, :binary_id, autogenerate: true}
|
@primary_key {:id, :binary_id, autogenerate: true}
|
||||||
@foreign_key_type :binary_id
|
@foreign_key_type :binary_id
|
||||||
schema "ammo_types" do
|
schema "ammo_types" do
|
||||||
|
@ -9,6 +9,15 @@ defmodule Cannery.Containers.Container do
|
|||||||
alias Cannery.Containers.{Container, ContainerTag}
|
alias Cannery.Containers.{Container, ContainerTag}
|
||||||
alias Cannery.{Accounts.User, Ammo.AmmoGroup, Tags.Tag}
|
alias Cannery.{Accounts.User, Ammo.AmmoGroup, Tags.Tag}
|
||||||
|
|
||||||
|
@derive {Jason.Encoder,
|
||||||
|
only: [
|
||||||
|
:id,
|
||||||
|
:name,
|
||||||
|
:desc,
|
||||||
|
:location,
|
||||||
|
:type,
|
||||||
|
:tags
|
||||||
|
]}
|
||||||
@primary_key {:id, :binary_id, autogenerate: true}
|
@primary_key {:id, :binary_id, autogenerate: true}
|
||||||
@foreign_key_type :binary_id
|
@foreign_key_type :binary_id
|
||||||
schema "containers" do
|
schema "containers" do
|
||||||
|
@ -120,18 +120,4 @@ defmodule Cannery.Tags do
|
|||||||
"""
|
"""
|
||||||
@spec delete_tag!(Tag.t(), User.t()) :: Tag.t()
|
@spec delete_tag!(Tag.t(), User.t()) :: Tag.t()
|
||||||
def delete_tag!(%Tag{user_id: user_id} = tag, %User{id: user_id}), do: tag |> Repo.delete!()
|
def delete_tag!(%Tag{user_id: user_id} = tag, %User{id: user_id}), do: tag |> Repo.delete!()
|
||||||
|
|
||||||
@doc """
|
|
||||||
Get a random tag bg_color in `#ffffff` hex format
|
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
iex> random_color()
|
|
||||||
"#cc0066"
|
|
||||||
"""
|
|
||||||
@spec random_bg_color() :: <<_::7>>
|
|
||||||
def random_bg_color do
|
|
||||||
["#cc0066", "#ff6699", "#6666ff", "#0066cc", "#00cc66", "#669900", "#ff9900", "#996633"]
|
|
||||||
|> Enum.random()
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
@ -9,6 +9,13 @@ defmodule Cannery.Tags.Tag do
|
|||||||
alias Ecto.{Changeset, UUID}
|
alias Ecto.{Changeset, UUID}
|
||||||
alias Cannery.{Accounts.User, Tags.Tag}
|
alias Cannery.{Accounts.User, Tags.Tag}
|
||||||
|
|
||||||
|
@derive {Jason.Encoder,
|
||||||
|
only: [
|
||||||
|
:id,
|
||||||
|
:name,
|
||||||
|
:bg_color,
|
||||||
|
:text_color
|
||||||
|
]}
|
||||||
@primary_key {:id, :binary_id, autogenerate: true}
|
@primary_key {:id, :binary_id, autogenerate: true}
|
||||||
@foreign_key_type :binary_id
|
@foreign_key_type :binary_id
|
||||||
schema "tags" do
|
schema "tags" do
|
||||||
|
@ -5,7 +5,7 @@ defmodule CanneryWeb.Components.AddShotGroupComponent do
|
|||||||
|
|
||||||
use CanneryWeb, :live_component
|
use CanneryWeb, :live_component
|
||||||
alias Cannery.{Accounts.User, ActivityLog, ActivityLog.ShotGroup, Ammo.AmmoGroup}
|
alias Cannery.{Accounts.User, ActivityLog, ActivityLog.ShotGroup, Ammo.AmmoGroup}
|
||||||
alias Phoenix.LiveView.Socket
|
alias Phoenix.LiveView.{JS, Socket}
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@spec update(
|
@spec update(
|
||||||
|
@ -22,9 +22,16 @@
|
|||||||
<%= number_input(f, :ammo_left,
|
<%= number_input(f, :ammo_left,
|
||||||
min: 0,
|
min: 0,
|
||||||
max: @ammo_group.count - 1,
|
max: @ammo_group.count - 1,
|
||||||
placeholder: 0,
|
placeholder: gettext("Rounds left"),
|
||||||
class: "input input-primary col-span-2"
|
class: "input input-primary"
|
||||||
) %>
|
) %>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="mx-2 my-1 text-sm btn btn-primary"
|
||||||
|
phx-click={JS.dispatch("cannery:set-zero", to: "#shot-group-form_ammo_left")}
|
||||||
|
>
|
||||||
|
<%= gettext("Used up!") %>
|
||||||
|
</button>
|
||||||
<%= error_tag(f, :ammo_left, "col-span-3") %>
|
<%= error_tag(f, :ammo_left, "col-span-3") %>
|
||||||
|
|
||||||
<%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-600") %>
|
<%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-600") %>
|
||||||
|
@ -4,9 +4,13 @@ defmodule CanneryWeb.Components.AmmoGroupCard do
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
use CanneryWeb, :component
|
use CanneryWeb, :component
|
||||||
alias Cannery.{Ammo, Repo}
|
alias Cannery.{Ammo, Ammo.AmmoGroup, Repo}
|
||||||
alias CanneryWeb.Endpoint
|
alias CanneryWeb.Endpoint
|
||||||
|
|
||||||
|
attr :ammo_group, AmmoGroup, required: true
|
||||||
|
attr :show_container, :boolean, default: false
|
||||||
|
slot(:inner_block)
|
||||||
|
|
||||||
def ammo_group_card(%{ammo_group: ammo_group} = assigns) do
|
def ammo_group_card(%{ammo_group: ammo_group} = assigns) do
|
||||||
assigns =
|
assigns =
|
||||||
%{show_container: show_container} = assigns |> assign_new(:show_container, fn -> false end)
|
%{show_container: show_container} = assigns |> assign_new(:show_container, fn -> false end)
|
||||||
@ -22,7 +26,7 @@ defmodule CanneryWeb.Components.AmmoGroupCard do
|
|||||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
|
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
|
||||||
transition-all duration-300 ease-in-out"
|
transition-all duration-300 ease-in-out"
|
||||||
>
|
>
|
||||||
<.link patch={Routes.ammo_group_show_path(Endpoint, :show, @ammo_group)} class="mb-2 link">
|
<.link navigate={Routes.ammo_group_show_path(Endpoint, :show, @ammo_group)} class="mb-2 link">
|
||||||
<h1 class="title text-xl title-primary-500">
|
<h1 class="title text-xl title-primary-500">
|
||||||
<%= @ammo_group.ammo_type.name %>
|
<%= @ammo_group.ammo_type.name %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -67,7 +71,7 @@ defmodule CanneryWeb.Components.AmmoGroupCard do
|
|||||||
<%= gettext("Container:") %>
|
<%= gettext("Container:") %>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.container_show_path(Endpoint, :show, @ammo_group.container)}
|
navigate={Routes.container_show_path(Endpoint, :show, @ammo_group.container)}
|
||||||
class="link"
|
class="link"
|
||||||
>
|
>
|
||||||
<%= @ammo_group.container.name %>
|
<%= @ammo_group.container.name %>
|
||||||
|
@ -5,11 +5,20 @@ defmodule CanneryWeb.Components.ContainerCard do
|
|||||||
|
|
||||||
use CanneryWeb, :component
|
use CanneryWeb, :component
|
||||||
import CanneryWeb.Components.TagCard
|
import CanneryWeb.Components.TagCard
|
||||||
alias Cannery.{Containers, Repo}
|
alias Cannery.{Containers, Containers.Container, Repo}
|
||||||
alias CanneryWeb.Endpoint
|
alias CanneryWeb.Endpoint
|
||||||
|
alias Phoenix.LiveView.Rendered
|
||||||
|
|
||||||
|
attr :container, Container, required: true
|
||||||
|
slot(:tag_actions)
|
||||||
|
slot(:inner_block)
|
||||||
|
|
||||||
|
@spec container_card(assigns :: map()) :: Rendered.t()
|
||||||
def container_card(%{container: container} = assigns) do
|
def container_card(%{container: container} = assigns) do
|
||||||
assigns = assigns |> Map.put(:container, container |> Repo.preload([:tags, :ammo_groups]))
|
assigns =
|
||||||
|
assigns
|
||||||
|
|> assign(container: container |> Repo.preload([:tags, :ammo_groups]))
|
||||||
|
|> assign_new(:tag_actions, fn -> [] end)
|
||||||
|
|
||||||
~H"""
|
~H"""
|
||||||
<div
|
<div
|
||||||
@ -63,9 +72,7 @@ defmodule CanneryWeb.Components.ContainerCard do
|
|||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= if assigns |> Map.has_key?(:tag_actions) do %>
|
<%= render_slot(@tag_actions) %>
|
||||||
<%= render_slot(@tag_actions) %>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -4,9 +4,16 @@ defmodule CanneryWeb.Components.InviteCard do
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
use CanneryWeb, :component
|
use CanneryWeb, :component
|
||||||
|
alias Cannery.Invites.Invite
|
||||||
alias CanneryWeb.Endpoint
|
alias CanneryWeb.Endpoint
|
||||||
|
|
||||||
|
attr :invite, Invite, required: true
|
||||||
|
slot(:inner_block)
|
||||||
|
slot(:code_actions)
|
||||||
|
|
||||||
def invite_card(assigns) do
|
def invite_card(assigns) do
|
||||||
|
assigns = assigns |> assign_new(:code_actions, fn -> [] end)
|
||||||
|
|
||||||
~H"""
|
~H"""
|
||||||
<div class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center space-y-4
|
<div class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center space-y-4
|
||||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
|
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
|
||||||
@ -34,9 +41,7 @@ defmodule CanneryWeb.Components.InviteCard do
|
|||||||
<%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %>
|
<%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %>
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
<%= if @code_actions do %>
|
<%= render_slot(@code_actions) %>
|
||||||
<%= render_slot(@code_actions) %>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= if @inner_block do %>
|
<%= if @inner_block do %>
|
||||||
|
@ -22,7 +22,7 @@ defmodule CanneryWeb.Components.MoveAmmoGroupComponent do
|
|||||||
assigns,
|
assigns,
|
||||||
socket
|
socket
|
||||||
) do
|
) do
|
||||||
changeset = ammo_group |> AmmoGroup.update_changeset(%{})
|
changeset = ammo_group |> AmmoGroup.update_changeset(%{}, current_user)
|
||||||
|
|
||||||
containers =
|
containers =
|
||||||
Containers.list_containers(current_user)
|
Containers.list_containers(current_user)
|
||||||
@ -77,7 +77,7 @@ defmodule CanneryWeb.Components.MoveAmmoGroupComponent do
|
|||||||
~H"""
|
~H"""
|
||||||
<div class="w-full flex flex-col space-y-8 justify-center items-center">
|
<div class="w-full flex flex-col space-y-8 justify-center items-center">
|
||||||
<h2 class="mb-8 text-center title text-xl text-primary-600">
|
<h2 class="mb-8 text-center title text-xl text-primary-600">
|
||||||
<%= gettext("Move ammo") %>
|
<%= dgettext("actions", "Move ammo") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<%= if @containers |> Enum.empty?() do %>
|
<%= if @containers |> Enum.empty?() do %>
|
||||||
@ -86,7 +86,7 @@ defmodule CanneryWeb.Components.MoveAmmoGroupComponent do
|
|||||||
<%= display_emoji("😔") %>
|
<%= display_emoji("😔") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<.link patch={Routes.container_index_path(Endpoint, :new)} class="btn btn-primary">
|
<.link navigate={Routes.container_index_path(Endpoint, :new)} class="btn btn-primary">
|
||||||
<%= dgettext("actions", "Add another container!") %>
|
<%= dgettext("actions", "Add another container!") %>
|
||||||
</.link>
|
</.link>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -36,18 +36,38 @@ defmodule CanneryWeb.Components.TableComponent do
|
|||||||
list(%{
|
list(%{
|
||||||
(key :: atom()) => any() | {custom_sort_value :: String.t(), value :: any()}
|
(key :: atom()) => any() | {custom_sort_value :: String.t(), value :: any()}
|
||||||
}),
|
}),
|
||||||
|
optional(:inital_key) => atom(),
|
||||||
|
optional(:initial_sort_mode) => atom(),
|
||||||
optional(any()) => any()
|
optional(any()) => any()
|
||||||
},
|
},
|
||||||
Socket.t()
|
Socket.t()
|
||||||
) :: {:ok, Socket.t()}
|
) :: {:ok, Socket.t()}
|
||||||
def update(%{columns: columns, rows: rows} = assigns, socket) do
|
def update(%{columns: columns, rows: rows} = assigns, socket) do
|
||||||
initial_key = columns |> List.first() |> Map.get(:key)
|
initial_key =
|
||||||
rows = rows |> Enum.sort_by(fn row -> row |> Map.get(initial_key) end, :asc)
|
if assigns |> Map.has_key?(:initial_key) do
|
||||||
|
assigns.initial_key
|
||||||
|
else
|
||||||
|
columns |> List.first(%{}) |> Map.get(:key)
|
||||||
|
end
|
||||||
|
|
||||||
|
initial_sort_mode =
|
||||||
|
if assigns |> Map.has_key?(:initial_sort_mode) do
|
||||||
|
assigns.initial_sort_mode
|
||||||
|
else
|
||||||
|
:asc
|
||||||
|
end
|
||||||
|
|
||||||
|
rows = rows |> Enum.sort_by(fn row -> row |> Map.get(initial_key) end, initial_sort_mode)
|
||||||
|
|
||||||
socket =
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(assigns)
|
|> assign(assigns)
|
||||||
|> assign(columns: columns, rows: rows, last_sort_key: initial_key, sort_mode: :asc)
|
|> assign(
|
||||||
|
columns: columns,
|
||||||
|
rows: rows,
|
||||||
|
last_sort_key: initial_key,
|
||||||
|
sort_mode: initial_sort_mode
|
||||||
|
)
|
||||||
|
|
||||||
{:ok, socket}
|
{:ok, socket}
|
||||||
end
|
end
|
||||||
|
@ -4,6 +4,10 @@ defmodule CanneryWeb.Components.TagCard do
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
use CanneryWeb, :component
|
use CanneryWeb, :component
|
||||||
|
alias Cannery.Tags.Tag
|
||||||
|
|
||||||
|
attr :tag, Tag, required: true
|
||||||
|
slot(:inner_block, required: true)
|
||||||
|
|
||||||
def tag_card(assigns) do
|
def tag_card(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
@ -19,6 +23,8 @@ defmodule CanneryWeb.Components.TagCard do
|
|||||||
"""
|
"""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
attr :tag, Tag, required: true
|
||||||
|
|
||||||
def simple_tag_card(assigns) do
|
def simple_tag_card(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<h1
|
<h1
|
||||||
|
@ -17,7 +17,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
<div class="flex flex-col sm:flex-row justify-between items-center">
|
<div class="flex flex-col sm:flex-row justify-between items-center">
|
||||||
<div class="mb-4 sm:mb-0 sm:mr-8 flex flex-row justify-start items-center space-x-2">
|
<div class="mb-4 sm:mb-0 sm:mr-8 flex flex-row justify-start items-center space-x-2">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.live_path(Endpoint, HomeLive)}
|
navigate={Routes.live_path(Endpoint, HomeLive)}
|
||||||
class="inline mx-2 my-1 leading-5 text-xl text-white"
|
class="inline mx-2 my-1 leading-5 text-xl text-white"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
@ -43,7 +43,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
<%= if @current_user do %>
|
<%= if @current_user do %>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.tag_index_path(Endpoint, :index)}
|
navigate={Routes.tag_index_path(Endpoint, :index)}
|
||||||
class="text-primary-600 text-white hover:underline"
|
class="text-primary-600 text-white hover:underline"
|
||||||
>
|
>
|
||||||
<%= gettext("Tags") %>
|
<%= gettext("Tags") %>
|
||||||
@ -51,7 +51,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
</li>
|
</li>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.container_index_path(Endpoint, :index)}
|
navigate={Routes.container_index_path(Endpoint, :index)}
|
||||||
class="text-primary-600 text-white hover:underline"
|
class="text-primary-600 text-white hover:underline"
|
||||||
>
|
>
|
||||||
<%= gettext("Containers") %>
|
<%= gettext("Containers") %>
|
||||||
@ -59,7 +59,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
</li>
|
</li>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.ammo_type_index_path(Endpoint, :index)}
|
navigate={Routes.ammo_type_index_path(Endpoint, :index)}
|
||||||
class="text-primary-600 text-white hover:underline"
|
class="text-primary-600 text-white hover:underline"
|
||||||
>
|
>
|
||||||
<%= gettext("Catalog") %>
|
<%= gettext("Catalog") %>
|
||||||
@ -67,7 +67,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
</li>
|
</li>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.ammo_group_index_path(Endpoint, :index)}
|
navigate={Routes.ammo_group_index_path(Endpoint, :index)}
|
||||||
class="text-primary-600 text-white hover:underline"
|
class="text-primary-600 text-white hover:underline"
|
||||||
>
|
>
|
||||||
<%= gettext("Ammo") %>
|
<%= gettext("Ammo") %>
|
||||||
@ -75,7 +75,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
</li>
|
</li>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.range_index_path(Endpoint, :index)}
|
navigate={Routes.range_index_path(Endpoint, :index)}
|
||||||
class="text-primary-600 text-white hover:underline"
|
class="text-primary-600 text-white hover:underline"
|
||||||
>
|
>
|
||||||
<%= gettext("Range") %>
|
<%= gettext("Range") %>
|
||||||
@ -84,7 +84,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
<%= if @current_user.role == :admin do %>
|
<%= if @current_user.role == :admin do %>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.invite_index_path(Endpoint, :index)}
|
navigate={Routes.invite_index_path(Endpoint, :index)}
|
||||||
class="text-primary-600 text-white hover:underline"
|
class="text-primary-600 text-white hover:underline"
|
||||||
>
|
>
|
||||||
<%= gettext("Invites") %>
|
<%= gettext("Invites") %>
|
||||||
@ -93,7 +93,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
<% end %>
|
<% end %>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.user_settings_path(Endpoint, :edit)}
|
navigate={Routes.user_settings_path(Endpoint, :edit)}
|
||||||
class="text-primary-600 text-white hover:underline truncate"
|
class="text-primary-600 text-white hover:underline truncate"
|
||||||
>
|
>
|
||||||
<%= @current_user.email %>
|
<%= @current_user.email %>
|
||||||
@ -111,7 +111,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
<%= if @current_user.role == :admin and function_exported?(Routes, :live_dashboard_path, 2) do %>
|
<%= if @current_user.role == :admin and function_exported?(Routes, :live_dashboard_path, 2) do %>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.live_dashboard_path(Endpoint, :home)}
|
navigate={Routes.live_dashboard_path(Endpoint, :home)}
|
||||||
class="text-primary-600 text-white hover:underline"
|
class="text-primary-600 text-white hover:underline"
|
||||||
>
|
>
|
||||||
<i class="fas fa-gauge"></i>
|
<i class="fas fa-gauge"></i>
|
||||||
@ -122,7 +122,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
<%= if Accounts.allow_registration?() do %>
|
<%= if Accounts.allow_registration?() do %>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.user_registration_path(Endpoint, :new)}
|
navigate={Routes.user_registration_path(Endpoint, :new)}
|
||||||
class="text-primary-600 text-white hover:underline truncate"
|
class="text-primary-600 text-white hover:underline truncate"
|
||||||
>
|
>
|
||||||
<%= dgettext("actions", "Register") %>
|
<%= dgettext("actions", "Register") %>
|
||||||
@ -131,7 +131,7 @@ defmodule CanneryWeb.Components.Topbar do
|
|||||||
<% end %>
|
<% end %>
|
||||||
<li class="mx-2 my-1">
|
<li class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.user_session_path(Endpoint, :new)}
|
navigate={Routes.user_session_path(Endpoint, :new)}
|
||||||
class="text-primary-600 text-white hover:underline truncate"
|
class="text-primary-600 text-white hover:underline truncate"
|
||||||
>
|
>
|
||||||
<%= dgettext("actions", "Log in") %>
|
<%= dgettext("actions", "Log in") %>
|
||||||
|
@ -4,6 +4,10 @@ defmodule CanneryWeb.Components.UserCard do
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
use CanneryWeb, :component
|
use CanneryWeb, :component
|
||||||
|
alias Cannery.Accounts.User
|
||||||
|
|
||||||
|
attr :user, User, required: true
|
||||||
|
slot(:inner_block, required: true)
|
||||||
|
|
||||||
def user_card(assigns) do
|
def user_card(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
|
65
lib/cannery_web/controllers/export_controller.ex
Normal file
65
lib/cannery_web/controllers/export_controller.ex
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
defmodule CanneryWeb.ExportController do
|
||||||
|
use CanneryWeb, :controller
|
||||||
|
alias Cannery.{ActivityLog, Ammo, Containers}
|
||||||
|
|
||||||
|
def export(%{assigns: %{current_user: current_user}} = conn, %{"mode" => "json"}) do
|
||||||
|
ammo_types =
|
||||||
|
Ammo.list_ammo_types(current_user)
|
||||||
|
|> Enum.map(fn ammo_type ->
|
||||||
|
average_cost = ammo_type |> Ammo.get_average_cost_for_ammo_type!(current_user)
|
||||||
|
round_count = ammo_type |> Ammo.get_round_count_for_ammo_type(current_user)
|
||||||
|
used_count = ammo_type |> Ammo.get_used_count_for_ammo_type(current_user)
|
||||||
|
ammo_group_count = ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user, true)
|
||||||
|
|
||||||
|
ammo_type
|
||||||
|
|> Jason.encode!()
|
||||||
|
|> Jason.decode!()
|
||||||
|
|> Map.merge(%{
|
||||||
|
"average_cost" => average_cost,
|
||||||
|
"round_count" => round_count,
|
||||||
|
"used_count" => used_count,
|
||||||
|
"ammo_group_count" => ammo_group_count
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
|
||||||
|
ammo_groups =
|
||||||
|
Ammo.list_ammo_groups(current_user, true)
|
||||||
|
|> Enum.map(fn ammo_group ->
|
||||||
|
used_count = ammo_group |> Ammo.get_used_count()
|
||||||
|
percentage_remaining = ammo_group |> Ammo.get_percentage_remaining()
|
||||||
|
|
||||||
|
ammo_group
|
||||||
|
|> Jason.encode!()
|
||||||
|
|> Jason.decode!()
|
||||||
|
|> Map.merge(%{
|
||||||
|
"used_count" => used_count,
|
||||||
|
"percentage_remaining" => percentage_remaining
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
|
||||||
|
shot_groups = ActivityLog.list_shot_groups(current_user)
|
||||||
|
|
||||||
|
containers =
|
||||||
|
Containers.list_containers(current_user)
|
||||||
|
|> Enum.map(fn container ->
|
||||||
|
ammo_group_count = container |> Containers.get_container_ammo_group_count!()
|
||||||
|
round_count = container |> Containers.get_container_rounds!()
|
||||||
|
|
||||||
|
container
|
||||||
|
|> Jason.encode!()
|
||||||
|
|> Jason.decode!()
|
||||||
|
|> Map.merge(%{
|
||||||
|
"ammo_group_count" => ammo_group_count,
|
||||||
|
"round_count" => round_count
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
|
||||||
|
json(conn, %{
|
||||||
|
user: current_user,
|
||||||
|
ammo_types: ammo_types,
|
||||||
|
ammo_groups: ammo_groups,
|
||||||
|
shot_groups: shot_groups,
|
||||||
|
containers: containers
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end
|
@ -73,14 +73,14 @@ defmodule CanneryWeb.AmmoGroupLive.FormComponent do
|
|||||||
ammo_group_params
|
ammo_group_params
|
||||||
) do
|
) do
|
||||||
changeset_action =
|
changeset_action =
|
||||||
case action do
|
cond do
|
||||||
:new -> :insert
|
action in [:new, :clone] -> :insert
|
||||||
:edit -> :update
|
action == :edit -> :update
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
case action do
|
cond do
|
||||||
:new ->
|
action in [:new, :clone] ->
|
||||||
ammo_type =
|
ammo_type =
|
||||||
if ammo_group_params |> Map.has_key?("ammo_type_id"),
|
if ammo_group_params |> Map.has_key?("ammo_type_id"),
|
||||||
do: ammo_group_params |> Map.get("ammo_type_id") |> Ammo.get_ammo_type!(user),
|
do: ammo_group_params |> Map.get("ammo_type_id") |> Ammo.get_ammo_type!(user),
|
||||||
@ -93,8 +93,8 @@ defmodule CanneryWeb.AmmoGroupLive.FormComponent do
|
|||||||
|
|
||||||
ammo_group |> AmmoGroup.create_changeset(ammo_type, container, user, ammo_group_params)
|
ammo_group |> AmmoGroup.create_changeset(ammo_type, container, user, ammo_group_params)
|
||||||
|
|
||||||
:edit ->
|
action == :edit ->
|
||||||
ammo_group |> AmmoGroup.update_changeset(ammo_group_params)
|
ammo_group |> AmmoGroup.update_changeset(ammo_group_params, user)
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
@ -127,9 +127,10 @@ defmodule CanneryWeb.AmmoGroupLive.FormComponent do
|
|||||||
|
|
||||||
defp save_ammo_group(
|
defp save_ammo_group(
|
||||||
%{assigns: %{changeset: changeset}} = socket,
|
%{assigns: %{changeset: changeset}} = socket,
|
||||||
:new,
|
action,
|
||||||
%{"multiplier" => multiplier_str} = ammo_group_params
|
%{"multiplier" => multiplier_str} = ammo_group_params
|
||||||
) do
|
)
|
||||||
|
when action in [:new, :clone] do
|
||||||
socket =
|
socket =
|
||||||
case multiplier_str |> Integer.parse() do
|
case multiplier_str |> Integer.parse() do
|
||||||
{multiplier, _remainder}
|
{multiplier, _remainder}
|
||||||
|
@ -51,8 +51,8 @@
|
|||||||
) %>
|
) %>
|
||||||
<%= error_tag(f, :container_id, "col-span-3 text-center") %>
|
<%= error_tag(f, :container_id, "col-span-3 text-center") %>
|
||||||
|
|
||||||
<%= case @action do %>
|
<%= cond do %>
|
||||||
<% :new -> %>
|
<% @action in [:new, :clone] -> %>
|
||||||
<hr class="hr col-span-3" />
|
<hr class="hr col-span-3" />
|
||||||
|
|
||||||
<%= label(f, :multiplier, gettext("Copies"), class: "title text-lg text-primary-600") %>
|
<%= label(f, :multiplier, gettext("Copies"), class: "title text-lg text-primary-600") %>
|
||||||
@ -69,7 +69,7 @@
|
|||||||
) %>
|
) %>
|
||||||
|
|
||||||
<%= error_tag(f, :multiplier, "col-span-3 text-center") %>
|
<%= error_tag(f, :multiplier, "col-span-3 text-center") %>
|
||||||
<% :edit -> %>
|
<% @action == :edit -> %>
|
||||||
<%= submit(dgettext("actions", "Save"),
|
<%= submit(dgettext("actions", "Save"),
|
||||||
phx_disable_with: dgettext("prompts", "Saving..."),
|
phx_disable_with: dgettext("prompts", "Saving..."),
|
||||||
class: "mx-auto col-span-3 btn btn-primary"
|
class: "mx-auto col-span-3 btn btn-primary"
|
||||||
|
@ -9,12 +9,12 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, socket) do
|
def mount(_params, _session, socket) do
|
||||||
{:ok, socket |> assign(show_used: false) |> display_ammo_groups()}
|
{:ok, socket |> assign(show_used: false)}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def handle_params(params, _url, %{assigns: %{live_action: live_action}} = socket) do
|
def handle_params(params, _url, %{assigns: %{live_action: live_action}} = socket) do
|
||||||
{:noreply, apply_action(socket, live_action, params)}
|
{:noreply, apply_action(socket, live_action, params) |> display_ammo_groups()}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(
|
defp apply_action(
|
||||||
@ -39,6 +39,12 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
|> assign(:ammo_group, Ammo.get_ammo_group!(id, current_user))
|
|> assign(:ammo_group, Ammo.get_ammo_group!(id, current_user))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
defp apply_action(%{assigns: %{current_user: current_user}} = socket, :clone, %{"id" => id}) do
|
||||||
|
socket
|
||||||
|
|> assign(:page_title, dgettext("actions", "Add Ammo"))
|
||||||
|
|> assign(:ammo_group, %{Ammo.get_ammo_group!(id, current_user) | id: nil})
|
||||||
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :new, _params) do
|
defp apply_action(socket, :new, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(:page_title, dgettext("actions", "Add Ammo"))
|
|> assign(:page_title, dgettext("actions", "Add Ammo"))
|
||||||
@ -46,7 +52,9 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
socket |> assign(:page_title, gettext("Ammo groups")) |> assign(:ammo_group, nil)
|
socket
|
||||||
|
|> assign(:page_title, gettext("Ammo groups"))
|
||||||
|
|> assign(:ammo_group, nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -81,7 +89,8 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
%{assigns: %{current_user: current_user, show_used: show_used}} = socket
|
%{assigns: %{current_user: current_user, show_used: show_used}} = socket
|
||||||
) do
|
) do
|
||||||
ammo_groups =
|
ammo_groups =
|
||||||
Ammo.list_ammo_groups(current_user, show_used) |> Repo.preload([:ammo_type, :container])
|
Ammo.list_ammo_groups(current_user, show_used)
|
||||||
|
|> Repo.preload([:ammo_type, :container], force: true)
|
||||||
|
|
||||||
ammo_types_count = Ammo.get_ammo_types_count!(current_user)
|
ammo_types_count = Ammo.get_ammo_types_count!(current_user)
|
||||||
containers_count = Containers.get_containers_count!(current_user)
|
containers_count = Containers.get_containers_count!(current_user)
|
||||||
@ -133,7 +142,7 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
|
|
||||||
{ammo_type.name,
|
{ammo_type.name,
|
||||||
~H"""
|
~H"""
|
||||||
<.link patch={Routes.ammo_type_show_path(Endpoint, :show, @ammo_type)} class="link">
|
<.link navigate={Routes.ammo_type_show_path(Endpoint, :show, @ammo_type)} class="link">
|
||||||
<%= @ammo_type.name %>
|
<%= @ammo_type.name %>
|
||||||
</.link>
|
</.link>
|
||||||
"""}
|
"""}
|
||||||
@ -194,7 +203,7 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp get_value_for_key(:remaining, ammo_group),
|
defp get_value_for_key(:remaining, ammo_group),
|
||||||
do: "#{ammo_group |> Ammo.get_percentage_remaining()}%"
|
do: gettext("%{percentage}%", percentage: ammo_group |> Ammo.get_percentage_remaining())
|
||||||
|
|
||||||
defp get_value_for_key(:actions, ammo_group) do
|
defp get_value_for_key(:actions, ammo_group) do
|
||||||
assigns = %{ammo_group: ammo_group}
|
assigns = %{ammo_group: ammo_group}
|
||||||
@ -202,7 +211,7 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
~H"""
|
~H"""
|
||||||
<div class="py-2 px-4 h-full space-x-4 flex justify-center items-center">
|
<div class="py-2 px-4 h-full space-x-4 flex justify-center items-center">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.ammo_group_show_path(Endpoint, :show, @ammo_group)}
|
navigate={Routes.ammo_group_show_path(Endpoint, :show, @ammo_group)}
|
||||||
class="text-primary-600 link"
|
class="text-primary-600 link"
|
||||||
data-qa={"view-#{@ammo_group.id}"}
|
data-qa={"view-#{@ammo_group.id}"}
|
||||||
>
|
>
|
||||||
@ -217,6 +226,14 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
<i class="fa-fw fa-lg fas fa-edit"></i>
|
<i class="fa-fw fa-lg fas fa-edit"></i>
|
||||||
</.link>
|
</.link>
|
||||||
|
|
||||||
|
<.link
|
||||||
|
patch={Routes.ammo_group_index_path(Endpoint, :clone, @ammo_group)}
|
||||||
|
class="text-primary-600 link"
|
||||||
|
data-qa={"clone-#{@ammo_group.id}"}
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-copy"></i>
|
||||||
|
</.link>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
href="#"
|
href="#"
|
||||||
class="text-primary-600 link"
|
class="text-primary-600 link"
|
||||||
@ -240,7 +257,7 @@ defmodule CanneryWeb.AmmoGroupLive.Index do
|
|||||||
~H"""
|
~H"""
|
||||||
<div class="min-w-20 py-2 px-4 h-full flex flew-wrap justify-center items-center">
|
<div class="min-w-20 py-2 px-4 h-full flex flew-wrap justify-center items-center">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.container_show_path(Endpoint, :show, @ammo_group.container)}
|
navigate={Routes.container_show_path(Endpoint, :show, @ammo_group.container)}
|
||||||
class="mx-2 my-1 link"
|
class="mx-2 my-1 link"
|
||||||
>
|
>
|
||||||
<%= @ammo_group.container.name %>
|
<%= @ammo_group.container.name %>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<%= dgettext("prompts", "You'll need to") %>
|
<%= dgettext("prompts", "You'll need to") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<.link patch={Routes.container_index_path(Endpoint, :new)} class="btn btn-primary">
|
<.link navigate={Routes.container_index_path(Endpoint, :new)} class="btn btn-primary">
|
||||||
<%= dgettext("actions", "add a container first") %>
|
<%= dgettext("actions", "add a container first") %>
|
||||||
</.link>
|
</.link>
|
||||||
</div>
|
</div>
|
||||||
@ -27,7 +27,7 @@
|
|||||||
<%= dgettext("prompts", "You'll need to") %>
|
<%= dgettext("prompts", "You'll need to") %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<.link patch={Routes.ammo_type_index_path(Endpoint, :new)} class="btn btn-primary">
|
<.link navigate={Routes.ammo_type_index_path(Endpoint, :new)} class="btn btn-primary">
|
||||||
<%= dgettext("actions", "add an ammo type first") %>
|
<%= dgettext("actions", "add an ammo type first") %>
|
||||||
</.link>
|
</.link>
|
||||||
</div>
|
</div>
|
||||||
@ -61,7 +61,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= cond do %>
|
<%= cond do %>
|
||||||
<% @live_action in [:new, :edit] -> %>
|
<% @live_action in [:new, :edit, :clone] -> %>
|
||||||
<.modal return_to={Routes.ammo_group_index_path(Endpoint, :index)}>
|
<.modal return_to={Routes.ammo_group_index_path(Endpoint, :index)}>
|
||||||
<.live_component
|
<.live_component
|
||||||
module={CanneryWeb.AmmoGroupLive.FormComponent}
|
module={CanneryWeb.AmmoGroupLive.FormComponent}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<span class="rounded-lg title text-lg">
|
<span class="rounded-lg title text-lg">
|
||||||
<%= gettext("Percentage left:") %>
|
<%= gettext("Percentage left:") %>
|
||||||
<%= "#{@ammo_group |> Ammo.get_percentage_remaining()}%" %>
|
<%= gettext("%{percentage}%", percentage: @ammo_group |> Ammo.get_percentage_remaining()) %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<%= if @ammo_group.notes do %>
|
<%= if @ammo_group.notes do %>
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<div class="flex flex-col justify-center items-center">
|
<div class="flex flex-col justify-center items-center">
|
||||||
<div class="flex flex-wrap justify-center items-center text-primary-600">
|
<div class="flex flex-wrap justify-center items-center text-primary-600">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.ammo_type_show_path(Endpoint, :show, @ammo_group.ammo_type)}
|
navigate={Routes.ammo_type_show_path(Endpoint, :show, @ammo_group.ammo_type)}
|
||||||
class="mx-4 my-2 btn btn-primary"
|
class="mx-4 my-2 btn btn-primary"
|
||||||
data-qa="details"
|
data-qa="details"
|
||||||
>
|
>
|
||||||
@ -82,8 +82,8 @@
|
|||||||
<div class="flex flex-wrap justify-center items-center text-primary-600">
|
<div class="flex flex-wrap justify-center items-center text-primary-600">
|
||||||
<button type="button" class="mx-4 my-2 btn btn-primary" phx-click="toggle_staged">
|
<button type="button" class="mx-4 my-2 btn btn-primary" phx-click="toggle_staged">
|
||||||
<%= if @ammo_group.staged,
|
<%= if @ammo_group.staged,
|
||||||
do: gettext("Unstage from range"),
|
do: dgettext("actions", "Unstage from range"),
|
||||||
else: gettext("Stage for range") %>
|
else: dgettext("actions", "Stage for range") %>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
|
@ -35,15 +35,15 @@ defmodule CanneryWeb.AmmoTypeLive.FormComponent do
|
|||||||
ammo_type_params
|
ammo_type_params
|
||||||
) do
|
) do
|
||||||
changeset_action =
|
changeset_action =
|
||||||
case action do
|
cond do
|
||||||
:new -> :insert
|
action in [:new, :clone] -> :insert
|
||||||
:edit -> :update
|
action == :edit -> :update
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
case action do
|
cond do
|
||||||
:new -> ammo_type |> AmmoType.create_changeset(user, ammo_type_params)
|
action in [:new, :clone] -> ammo_type |> AmmoType.create_changeset(user, ammo_type_params)
|
||||||
:edit -> ammo_type |> AmmoType.update_changeset(ammo_type_params)
|
action == :edit -> ammo_type |> AmmoType.update_changeset(ammo_type_params)
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
@ -76,9 +76,10 @@ defmodule CanneryWeb.AmmoTypeLive.FormComponent do
|
|||||||
|
|
||||||
defp save_ammo_type(
|
defp save_ammo_type(
|
||||||
%{assigns: %{current_user: current_user, return_to: return_to}} = socket,
|
%{assigns: %{current_user: current_user, return_to: return_to}} = socket,
|
||||||
:new,
|
action,
|
||||||
ammo_type_params
|
ammo_type_params
|
||||||
) do
|
)
|
||||||
|
when action in [:new, :clone] do
|
||||||
socket =
|
socket =
|
||||||
case Ammo.create_ammo_type(ammo_type_params, current_user) do
|
case Ammo.create_ammo_type(ammo_type_params, current_user) do
|
||||||
{:ok, %{name: ammo_type_name}} ->
|
{:ok, %{name: ammo_type_name}} ->
|
||||||
|
@ -10,7 +10,7 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, socket) do
|
def mount(_params, _session, socket) do
|
||||||
{:ok, socket |> list_ammo_types()}
|
{:ok, socket |> assign(:show_used, false) |> list_ammo_types()}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -24,6 +24,12 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
|> assign(:ammo_type, Ammo.get_ammo_type!(id, current_user))
|
|> assign(:ammo_type, Ammo.get_ammo_type!(id, current_user))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
defp apply_action(%{assigns: %{current_user: current_user}} = socket, :clone, %{"id" => id}) do
|
||||||
|
socket
|
||||||
|
|> assign(:page_title, gettext("New Ammo type"))
|
||||||
|
|> assign(:ammo_type, %{Ammo.get_ammo_type!(id, current_user) | id: nil})
|
||||||
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :new, _params) do
|
defp apply_action(socket, :new, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(:page_title, gettext("New Ammo type"))
|
|> assign(:page_title, gettext("New Ammo type"))
|
||||||
@ -43,7 +49,12 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
{:noreply, socket |> put_flash(:info, prompt) |> list_ammo_types()}
|
{:noreply, socket |> put_flash(:info, prompt) |> list_ammo_types()}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp list_ammo_types(%{assigns: %{current_user: current_user}} = socket) do
|
@impl true
|
||||||
|
def handle_event("toggle_show_used", _params, %{assigns: %{show_used: show_used}} = socket) do
|
||||||
|
{:noreply, socket |> assign(:show_used, !show_used) |> list_ammo_types()}
|
||||||
|
end
|
||||||
|
|
||||||
|
defp list_ammo_types(%{assigns: %{current_user: current_user, show_used: show_used}} = socket) do
|
||||||
ammo_types = Ammo.list_ammo_types(current_user)
|
ammo_types = Ammo.list_ammo_types(current_user)
|
||||||
|
|
||||||
columns =
|
columns =
|
||||||
@ -83,8 +94,46 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|> Kernel.++([
|
|> Kernel.++([
|
||||||
%{label: gettext("Total # of rounds"), key: :round_count, type: :round_count},
|
%{label: gettext("Rounds"), key: :round_count, type: :round_count}
|
||||||
%{label: gettext("Total # of ammo"), key: :ammo_count, type: :ammo_count},
|
])
|
||||||
|
|> Kernel.++(
|
||||||
|
if show_used do
|
||||||
|
[
|
||||||
|
%{
|
||||||
|
label: gettext("Used rounds"),
|
||||||
|
key: :used_round_count,
|
||||||
|
type: :used_round_count
|
||||||
|
},
|
||||||
|
%{
|
||||||
|
label: gettext("Total ever rounds"),
|
||||||
|
key: :historical_round_count,
|
||||||
|
type: :historical_round_count
|
||||||
|
}
|
||||||
|
]
|
||||||
|
else
|
||||||
|
[]
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|> Kernel.++([%{label: gettext("Packs"), key: :ammo_count, type: :ammo_count}])
|
||||||
|
|> Kernel.++(
|
||||||
|
if show_used do
|
||||||
|
[
|
||||||
|
%{
|
||||||
|
label: gettext("Used packs"),
|
||||||
|
key: :used_ammo_count,
|
||||||
|
type: :used_ammo_count
|
||||||
|
},
|
||||||
|
%{
|
||||||
|
label: gettext("Total ever packs"),
|
||||||
|
key: :historical_ammo_count,
|
||||||
|
type: :historical_ammo_count
|
||||||
|
}
|
||||||
|
]
|
||||||
|
else
|
||||||
|
[]
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|> Kernel.++([
|
||||||
%{label: gettext("Average Price paid"), key: :avg_price_paid, type: :avg_price_paid},
|
%{label: gettext("Average Price paid"), key: :avg_price_paid, type: :avg_price_paid},
|
||||||
%{label: nil, key: "actions", type: :actions, sortable: false}
|
%{label: nil, key: "actions", type: :actions, sortable: false}
|
||||||
])
|
])
|
||||||
@ -109,6 +158,18 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
defp get_ammo_type_value(:round_count, _key, ammo_type, current_user),
|
defp get_ammo_type_value(:round_count, _key, ammo_type, current_user),
|
||||||
do: ammo_type |> Ammo.get_round_count_for_ammo_type(current_user)
|
do: ammo_type |> Ammo.get_round_count_for_ammo_type(current_user)
|
||||||
|
|
||||||
|
defp get_ammo_type_value(:historical_round_count, _key, ammo_type, current_user),
|
||||||
|
do: ammo_type |> Ammo.get_historical_count_for_ammo_type(current_user)
|
||||||
|
|
||||||
|
defp get_ammo_type_value(:used_round_count, _key, ammo_type, current_user),
|
||||||
|
do: ammo_type |> Ammo.get_used_count_for_ammo_type(current_user)
|
||||||
|
|
||||||
|
defp get_ammo_type_value(:historical_ammo_count, _key, ammo_type, current_user),
|
||||||
|
do: ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user, true)
|
||||||
|
|
||||||
|
defp get_ammo_type_value(:used_ammo_count, _key, ammo_type, current_user),
|
||||||
|
do: ammo_type |> Ammo.get_used_ammo_groups_count_for_type(current_user)
|
||||||
|
|
||||||
defp get_ammo_type_value(:ammo_count, _key, ammo_type, current_user),
|
defp get_ammo_type_value(:ammo_count, _key, ammo_type, current_user),
|
||||||
do: ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user)
|
do: ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user)
|
||||||
|
|
||||||
@ -124,7 +185,7 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
|
|
||||||
~H"""
|
~H"""
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.ammo_type_show_path(Endpoint, :show, @ammo_type)}
|
navigate={Routes.ammo_type_show_path(Endpoint, :show, @ammo_type)}
|
||||||
class="link"
|
class="link"
|
||||||
data-qa={"view-name-#{@ammo_type.id}"}
|
data-qa={"view-name-#{@ammo_type.id}"}
|
||||||
>
|
>
|
||||||
@ -139,7 +200,7 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
~H"""
|
~H"""
|
||||||
<div class="px-4 py-2 space-x-4 flex justify-center items-center">
|
<div class="px-4 py-2 space-x-4 flex justify-center items-center">
|
||||||
<.link
|
<.link
|
||||||
patch={Routes.ammo_type_show_path(Endpoint, :show, @ammo_type)}
|
navigate={Routes.ammo_type_show_path(Endpoint, :show, @ammo_type)}
|
||||||
class="text-primary-600 link"
|
class="text-primary-600 link"
|
||||||
data-qa={"view-#{@ammo_type.id}"}
|
data-qa={"view-#{@ammo_type.id}"}
|
||||||
>
|
>
|
||||||
@ -154,6 +215,14 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
|||||||
<i class="fa-fw fa-lg fas fa-edit"></i>
|
<i class="fa-fw fa-lg fas fa-edit"></i>
|
||||||
</.link>
|
</.link>
|
||||||
|
|
||||||
|
<.link
|
||||||
|
patch={Routes.ammo_type_index_path(Endpoint, :clone, @ammo_type)}
|
||||||
|
class="text-primary-600 link"
|
||||||
|
data-qa={"clone-#{@ammo_type.id}"}
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-copy"></i>
|
||||||
|
</.link>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
href="#"
|
href="#"
|
||||||
class="text-primary-600 link"
|
class="text-primary-600 link"
|
||||||
|
@ -17,6 +17,14 @@
|
|||||||
<%= dgettext("actions", "New Ammo type") %>
|
<%= dgettext("actions", "New Ammo type") %>
|
||||||
</.link>
|
</.link>
|
||||||
|
|
||||||
|
<div class="flex flex-col justify-center items-center">
|
||||||
|
<.toggle_button action="toggle_show_used" value={@show_used}>
|
||||||
|
<span class="title text-lg text-primary-600">
|
||||||
|
<%= gettext("Show used") %>
|
||||||
|
</span>
|
||||||
|
</.toggle_button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<.live_component
|
<.live_component
|
||||||
module={CanneryWeb.Components.TableComponent}
|
module={CanneryWeb.Components.TableComponent}
|
||||||
id="ammo_types_index_table"
|
id="ammo_types_index_table"
|
||||||
@ -27,7 +35,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= if @live_action in [:new, :edit] do %>
|
<%= if @live_action in [:new, :edit, :clone] do %>
|
||||||
<.modal return_to={Routes.ammo_type_index_path(Endpoint, :index)}>
|
<.modal return_to={Routes.ammo_type_index_path(Endpoint, :index)}>
|
||||||
<.live_component
|
<.live_component
|
||||||
module={CanneryWeb.AmmoTypeLive.FormComponent}
|
module={CanneryWeb.AmmoTypeLive.FormComponent}
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<h3 class="title text-lg">
|
<h3 class="title text-lg">
|
||||||
<%= gettext("Current # of rounds:") %>
|
<%= gettext("Rounds:") %>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<span class="text-primary-600">
|
<span class="text-primary-600">
|
||||||
@ -86,13 +86,45 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<h3 class="title text-lg">
|
<h3 class="title text-lg">
|
||||||
<%= gettext("Total rounds shot:") %>
|
<%= gettext("Used rounds:") %>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<span class="text-primary-600">
|
<span class="text-primary-600">
|
||||||
<%= @ammo_type |> Ammo.get_used_count_for_ammo_type(@current_user) %>
|
<%= @ammo_type |> Ammo.get_used_count_for_ammo_type(@current_user) %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<h3 class="title text-lg">
|
||||||
|
<%= gettext("Total ever rounds:") %>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<span class="text-primary-600">
|
||||||
|
<%= @ammo_type |> Ammo.get_historical_count_for_ammo_type(@current_user) %>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h3 class="title text-lg">
|
||||||
|
<%= gettext("Packs:") %>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<span class="text-primary-600">
|
||||||
|
<%= @ammo_type |> Ammo.get_ammo_groups_count_for_type(@current_user) %>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h3 class="title text-lg">
|
||||||
|
<%= gettext("Used packs:") %>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<span class="text-primary-600">
|
||||||
|
<%= @ammo_type |> Ammo.get_used_ammo_groups_count_for_type(@current_user) %>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h3 class="title text-lg">
|
||||||
|
<%= gettext("Total ever packs:") %>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<span class="text-primary-600">
|
||||||
|
<%= @ammo_type |> Ammo.get_ammo_groups_count_for_type(@current_user, true) %>
|
||||||
|
</span>
|
||||||
|
|
||||||
<h3 class="title text-lg">
|
<h3 class="title text-lg">
|
||||||
<%= gettext("Added on:") %>
|
<%= gettext("Added on:") %>
|
||||||
</h3>
|
</h3>
|
||||||
|
@ -35,15 +35,18 @@ defmodule CanneryWeb.ContainerLive.FormComponent do
|
|||||||
container_params
|
container_params
|
||||||
) do
|
) do
|
||||||
changeset_action =
|
changeset_action =
|
||||||
case action do
|
cond do
|
||||||
:new -> :insert
|
action in [:new, :clone] -> :insert
|
||||||
:edit -> :update
|
action == :edit -> :update
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
case action do
|
cond do
|
||||||
:new -> container |> Container.create_changeset(user, container_params)
|
action in [:new, :clone] ->
|
||||||
:edit -> container |> Container.update_changeset(container_params)
|
container |> Container.create_changeset(user, container_params)
|
||||||
|
|
||||||
|
action == :edit ->
|
||||||
|
container |> Container.update_changeset(container_params)
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
@ -76,9 +79,10 @@ defmodule CanneryWeb.ContainerLive.FormComponent do
|
|||||||
|
|
||||||
defp save_container(
|
defp save_container(
|
||||||
%{assigns: %{current_user: current_user, return_to: return_to}} = socket,
|
%{assigns: %{current_user: current_user, return_to: return_to}} = socket,
|
||||||
:new,
|
action,
|
||||||
container_params
|
container_params
|
||||||
) do
|
)
|
||||||
|
when action in [:new, :clone] do
|
||||||
socket =
|
socket =
|
||||||
case Containers.create_container(container_params, current_user) do
|
case Containers.create_container(container_params, current_user) do
|
||||||
{:ok, %{name: container_name}} ->
|
{:ok, %{name: container_name}} ->
|
||||||
|
@ -6,11 +6,11 @@ defmodule CanneryWeb.ContainerLive.Index do
|
|||||||
use CanneryWeb, :live_view
|
use CanneryWeb, :live_view
|
||||||
import CanneryWeb.Components.ContainerCard
|
import CanneryWeb.Components.ContainerCard
|
||||||
alias Cannery.{Containers, Containers.Container, Repo}
|
alias Cannery.{Containers, Containers.Container, Repo}
|
||||||
alias CanneryWeb.Endpoint
|
alias CanneryWeb.{Components.TagCard, Endpoint}
|
||||||
alias Ecto.Changeset
|
alias Ecto.Changeset
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, socket), do: {:ok, socket}
|
def mount(_params, _session, socket), do: {:ok, socket |> assign(view_table: false)}
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def handle_params(params, _url, %{assigns: %{live_action: live_action}} = socket) do
|
def handle_params(params, _url, %{assigns: %{live_action: live_action}} = socket) do
|
||||||
@ -31,10 +31,29 @@ defmodule CanneryWeb.ContainerLive.Index do
|
|||||||
socket |> assign(:page_title, gettext("New Container")) |> assign(:container, %Container{})
|
socket |> assign(:page_title, gettext("New Container")) |> assign(:container, %Container{})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
defp apply_action(%{assigns: %{current_user: current_user}} = socket, :clone, %{"id" => id}) do
|
||||||
|
container = Containers.get_container!(id, current_user)
|
||||||
|
|
||||||
|
socket
|
||||||
|
|> assign(page_title: gettext("New Container"), container: %{container | id: nil})
|
||||||
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(:page_title, gettext("Containers"))
|
|> assign(
|
||||||
|> assign(:container, nil)
|
page_title: gettext("Containers"),
|
||||||
|
container: nil
|
||||||
|
)
|
||||||
|
|> display_containers()
|
||||||
|
end
|
||||||
|
|
||||||
|
defp apply_action(socket, :table, _params) do
|
||||||
|
socket
|
||||||
|
|> assign(
|
||||||
|
page_title: gettext("Containers"),
|
||||||
|
container: nil,
|
||||||
|
view_table: true
|
||||||
|
)
|
||||||
|> display_containers()
|
|> display_containers()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -83,10 +102,135 @@ defmodule CanneryWeb.ContainerLive.Index do
|
|||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@impl true
|
||||||
|
def handle_event("toggle_table", _params, %{assigns: %{view_table: view_table}} = socket) do
|
||||||
|
new_path =
|
||||||
|
if view_table,
|
||||||
|
do: Routes.container_index_path(Endpoint, :index),
|
||||||
|
else: Routes.container_index_path(Endpoint, :table)
|
||||||
|
|
||||||
|
{:noreply, socket |> assign(view_table: !view_table) |> push_patch(to: new_path)}
|
||||||
|
end
|
||||||
|
|
||||||
defp display_containers(%{assigns: %{current_user: current_user}} = socket) do
|
defp display_containers(%{assigns: %{current_user: current_user}} = socket) do
|
||||||
containers =
|
containers =
|
||||||
Containers.list_containers(current_user) |> Repo.preload([:tags, :ammo_groups], force: true)
|
Containers.list_containers(current_user) |> Repo.preload([:tags, :ammo_groups], force: true)
|
||||||
|
|
||||||
socket |> assign(containers: containers)
|
columns =
|
||||||
|
[
|
||||||
|
%{label: gettext("Name"), key: :name, type: :string},
|
||||||
|
%{label: gettext("Description"), key: :desc, type: :string},
|
||||||
|
%{label: gettext("Location"), key: :location, type: :string},
|
||||||
|
%{label: gettext("Type"), key: :type, type: :string},
|
||||||
|
%{label: gettext("Packs"), key: :packs, type: :integer},
|
||||||
|
%{label: gettext("Rounds"), key: :rounds, type: :string},
|
||||||
|
%{label: gettext("Tags"), key: :tags, type: :tags},
|
||||||
|
%{label: nil, key: :actions, sortable: false, type: :actions}
|
||||||
|
]
|
||||||
|
|> Enum.filter(fn %{key: key, type: type} ->
|
||||||
|
# remove columns if all values match defaults
|
||||||
|
default_value =
|
||||||
|
case type do
|
||||||
|
:boolean -> false
|
||||||
|
_other_type -> nil
|
||||||
|
end
|
||||||
|
|
||||||
|
containers
|
||||||
|
|> Enum.any?(fn container ->
|
||||||
|
type in [:tags, :actions] or not (container |> Map.get(key) == default_value)
|
||||||
|
end)
|
||||||
|
end)
|
||||||
|
|
||||||
|
rows =
|
||||||
|
containers
|
||||||
|
|> Enum.map(fn container -> container |> get_row_data_for_container(columns) end)
|
||||||
|
|
||||||
|
socket
|
||||||
|
|> assign(
|
||||||
|
containers: containers,
|
||||||
|
columns: columns,
|
||||||
|
rows: rows
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@spec get_row_data_for_container(Container.t(), [map()]) :: [map()]
|
||||||
|
defp get_row_data_for_container(container, columns) do
|
||||||
|
container = container |> Repo.preload([:ammo_groups, :tags])
|
||||||
|
|
||||||
|
columns
|
||||||
|
|> Enum.into(%{}, fn %{key: key} -> {key, get_value_for_key(key, container)} end)
|
||||||
|
end
|
||||||
|
|
||||||
|
@spec get_value_for_key(atom(), Container.t()) :: any()
|
||||||
|
defp get_value_for_key(:packs, container) do
|
||||||
|
container |> Containers.get_container_ammo_group_count!()
|
||||||
|
end
|
||||||
|
|
||||||
|
defp get_value_for_key(:rounds, container) do
|
||||||
|
container |> Containers.get_container_rounds!()
|
||||||
|
end
|
||||||
|
|
||||||
|
defp get_value_for_key(:tags, container) do
|
||||||
|
assigns = %{container: container}
|
||||||
|
|
||||||
|
{container.tags |> Enum.map(fn %{name: name} -> name end),
|
||||||
|
~H"""
|
||||||
|
<div class="flex flex-wrap justify-center items-center">
|
||||||
|
<%= unless @container.tags |> Enum.empty?() do %>
|
||||||
|
<%= for tag <- @container.tags do %>
|
||||||
|
<TagCard.simple_tag_card tag={tag} />
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<div class="mx-4 my-2">
|
||||||
|
<.link
|
||||||
|
patch={Routes.container_index_path(Endpoint, :edit_tags, @container)}
|
||||||
|
class="text-primary-600 link"
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-tags"></i>
|
||||||
|
</.link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
"""}
|
||||||
|
end
|
||||||
|
|
||||||
|
defp get_value_for_key(:actions, container) do
|
||||||
|
assigns = %{container: container}
|
||||||
|
|
||||||
|
~H"""
|
||||||
|
<.link
|
||||||
|
patch={Routes.container_index_path(Endpoint, :edit, @container)}
|
||||||
|
class="text-primary-600 link"
|
||||||
|
data-qa={"edit-#{@container.id}"}
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-edit"></i>
|
||||||
|
</.link>
|
||||||
|
|
||||||
|
<.link
|
||||||
|
patch={Routes.container_index_path(Endpoint, :clone, @container)}
|
||||||
|
class="text-primary-600 link"
|
||||||
|
data-qa={"clone-#{@container.id}"}
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-copy"></i>
|
||||||
|
</.link>
|
||||||
|
|
||||||
|
<.link
|
||||||
|
href="#"
|
||||||
|
class="text-primary-600 link"
|
||||||
|
phx-click="delete"
|
||||||
|
phx-value-id={@container.id}
|
||||||
|
data-confirm={
|
||||||
|
dgettext("prompts", "Are you sure you want to delete %{name}?", name: @container.name)
|
||||||
|
}
|
||||||
|
data-qa={"delete-#{@container.id}"}
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-trash"></i>
|
||||||
|
</.link>
|
||||||
|
"""
|
||||||
|
end
|
||||||
|
|
||||||
|
defp get_value_for_key(key, container), do: container |> Map.get(key)
|
||||||
|
|
||||||
|
def return_to(true = _view_table), do: Routes.container_index_path(Endpoint, :table)
|
||||||
|
def return_to(false = _view_table), do: Routes.container_index_path(Endpoint, :index)
|
||||||
end
|
end
|
||||||
|
@ -16,62 +16,88 @@
|
|||||||
<.link patch={Routes.container_index_path(Endpoint, :new)} class="btn btn-primary">
|
<.link patch={Routes.container_index_path(Endpoint, :new)} class="btn btn-primary">
|
||||||
<%= dgettext("actions", "New Container") %>
|
<%= dgettext("actions", "New Container") %>
|
||||||
</.link>
|
</.link>
|
||||||
|
|
||||||
|
<div class="flex flex-col justify-center items-center">
|
||||||
|
<.toggle_button action="toggle_table" value={@view_table}>
|
||||||
|
<span class="title text-lg text-primary-600">
|
||||||
|
<%= gettext("View as table") %>
|
||||||
|
</span>
|
||||||
|
</.toggle_button>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="max-w-full flex flex-row flex-wrap justify-center items-center">
|
<div class="max-w-full flex flex-row flex-wrap justify-center items-center">
|
||||||
<%= for container <- @containers do %>
|
<%= if @view_table do %>
|
||||||
<.container_card container={container}>
|
<.live_component
|
||||||
<:tag_actions>
|
module={CanneryWeb.Components.TableComponent}
|
||||||
<div class="mx-4 my-2">
|
id="containers_index_table"
|
||||||
<.link
|
action={@live_action}
|
||||||
patch={Routes.container_index_path(Endpoint, :edit_tags, container)}
|
columns={@columns}
|
||||||
class="text-primary-600 link"
|
rows={@rows}
|
||||||
>
|
/>
|
||||||
<i class="fa-fw fa-lg fas fa-tags"></i>
|
<% else %>
|
||||||
</.link>
|
<%= for container <- @containers do %>
|
||||||
</div>
|
<.container_card container={container}>
|
||||||
</:tag_actions>
|
<:tag_actions>
|
||||||
<.link
|
<div class="mx-4 my-2">
|
||||||
patch={Routes.container_index_path(Endpoint, :edit, container)}
|
<.link
|
||||||
class="text-primary-600 link"
|
patch={Routes.container_index_path(Endpoint, :edit_tags, container)}
|
||||||
data-qa={"edit-#{container.id}"}
|
class="text-primary-600 link"
|
||||||
>
|
>
|
||||||
<i class="fa-fw fa-lg fas fa-edit"></i>
|
<i class="fa-fw fa-lg fas fa-tags"></i>
|
||||||
</.link>
|
</.link>
|
||||||
|
</div>
|
||||||
|
</:tag_actions>
|
||||||
|
<.link
|
||||||
|
patch={Routes.container_index_path(Endpoint, :edit, container)}
|
||||||
|
class="text-primary-600 link"
|
||||||
|
data-qa={"edit-#{container.id}"}
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-edit"></i>
|
||||||
|
</.link>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
href="#"
|
patch={Routes.container_index_path(Endpoint, :clone, container)}
|
||||||
class="text-primary-600 link"
|
class="text-primary-600 link"
|
||||||
phx-click="delete"
|
data-qa={"clone-#{container.id}"}
|
||||||
phx-value-id={container.id}
|
>
|
||||||
data-confirm={
|
<i class="fa-fw fa-lg fas fa-copy"></i>
|
||||||
dgettext("prompts", "Are you sure you want to delete %{name}?", name: container.name)
|
</.link>
|
||||||
}
|
|
||||||
data-qa={"delete-#{container.id}"}
|
<.link
|
||||||
>
|
href="#"
|
||||||
<i class="fa-fw fa-lg fas fa-trash"></i>
|
class="text-primary-600 link"
|
||||||
</.link>
|
phx-click="delete"
|
||||||
</.container_card>
|
phx-value-id={container.id}
|
||||||
|
data-confirm={
|
||||||
|
dgettext("prompts", "Are you sure you want to delete %{name}?", name: container.name)
|
||||||
|
}
|
||||||
|
data-qa={"delete-#{container.id}"}
|
||||||
|
>
|
||||||
|
<i class="fa-fw fa-lg fas fa-trash"></i>
|
||||||
|
</.link>
|
||||||
|
</.container_card>
|
||||||
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= if @live_action in [:new, :edit] do %>
|
<%= if @live_action in [:new, :edit, :clone] do %>
|
||||||
<.modal return_to={Routes.container_index_path(Endpoint, :index)}>
|
<.modal return_to={return_to(@view_table)}>
|
||||||
<.live_component
|
<.live_component
|
||||||
module={CanneryWeb.ContainerLive.FormComponent}
|
module={CanneryWeb.ContainerLive.FormComponent}
|
||||||
id={@container.id || :new}
|
id={@container.id || :new}
|
||||||
title={@page_title}
|
title={@page_title}
|
||||||
action={@live_action}
|
action={@live_action}
|
||||||
container={@container}
|
container={@container}
|
||||||
return_to={Routes.container_index_path(Endpoint, :index)}
|
return_to={return_to(@view_table)}
|
||||||
current_user={@current_user}
|
current_user={@current_user}
|
||||||
/>
|
/>
|
||||||
</.modal>
|
</.modal>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= if @live_action == :edit_tags do %>
|
<%= if @live_action == :edit_tags do %>
|
||||||
<.modal return_to={Routes.container_index_path(Endpoint, :index)}>
|
<.modal return_to={return_to(@view_table)}>
|
||||||
<.live_component
|
<.live_component
|
||||||
module={CanneryWeb.ContainerLive.EditTagsComponent}
|
module={CanneryWeb.ContainerLive.EditTagsComponent}
|
||||||
id={@container.id}
|
id={@container.id}
|
||||||
|
@ -94,7 +94,7 @@
|
|||||||
<div class="flex flex-col justify-center items-center">
|
<div class="flex flex-col justify-center items-center">
|
||||||
<.toggle_button action="toggle_show_used" value={@show_used}>
|
<.toggle_button action="toggle_show_used" value={@show_used}>
|
||||||
<span class="title text-lg text-primary-600">
|
<span class="title text-lg text-primary-600">
|
||||||
<%= gettext("Show used") %>
|
<%= dgettext("actions", "Show used") %>
|
||||||
</span>
|
</span>
|
||||||
</.toggle_button>
|
</.toggle_button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -138,7 +138,7 @@ defmodule CanneryWeb.HomeLive do
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<p>0.5.5</p>
|
<p>0.6.0</p>
|
||||||
<i class="fas fa-md fa-info-circle"></i>
|
<i class="fas fa-md fa-info-circle"></i>
|
||||||
</.link>
|
</.link>
|
||||||
</li>
|
</li>
|
||||||
|
@ -57,11 +57,11 @@
|
|||||||
|
|
||||||
<%= if invite.disabled_at |> is_nil() do %>
|
<%= if invite.disabled_at |> is_nil() do %>
|
||||||
<a href="#" class="btn btn-primary" phx-click="disable_invite" phx-value-id={invite.id}>
|
<a href="#" class="btn btn-primary" phx-click="disable_invite" phx-value-id={invite.id}>
|
||||||
<%= gettext("Disable") %>
|
<%= dgettext("actions", "Disable") %>
|
||||||
</a>
|
</a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<a href="#" class="btn btn-primary" phx-click="enable_invite" phx-value-id={invite.id}>
|
<a href="#" class="btn btn-primary" phx-click="enable_invite" phx-value-id={invite.id}>
|
||||||
<%= gettext("Enable") %>
|
<%= dgettext("actions", "Enable") %>
|
||||||
</a>
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
@ -77,7 +77,7 @@
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<%= gettext("Set Unlimited") %>
|
<%= dgettext("actions", "Set Unlimited") %>
|
||||||
</a>
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</.invite_card>
|
</.invite_card>
|
||||||
|
@ -88,23 +88,76 @@ defmodule CanneryWeb.RangeLive.Index do
|
|||||||
shot_groups
|
shot_groups
|
||||||
|> Enum.map(fn shot_group -> shot_group |> get_row_data_for_shot_group(columns) end)
|
|> Enum.map(fn shot_group -> shot_group |> get_row_data_for_shot_group(columns) end)
|
||||||
|
|
||||||
|
chart_data =
|
||||||
|
shot_groups
|
||||||
|
|> Enum.map(fn shot_group ->
|
||||||
|
shot_group
|
||||||
|
|> get_chart_data_for_shot_group([:name, :count, :notes, :date])
|
||||||
|
end)
|
||||||
|
|> Enum.sort_by(fn %{date: date} -> date end, Date)
|
||||||
|
|
||||||
socket
|
socket
|
||||||
|> assign(ammo_groups: ammo_groups, columns: columns, rows: rows, shot_groups: shot_groups)
|
|> assign(
|
||||||
|
ammo_groups: ammo_groups,
|
||||||
|
columns: columns,
|
||||||
|
rows: rows,
|
||||||
|
chart_data: chart_data,
|
||||||
|
shot_groups: shot_groups
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
@spec get_row_data_for_shot_group(ShotGroup.t(), [map()]) :: [map()]
|
@spec get_chart_data_for_shot_group(ShotGroup.t(), keys :: [atom()]) :: map()
|
||||||
|
defp get_chart_data_for_shot_group(shot_group, keys) do
|
||||||
|
shot_group = shot_group |> Repo.preload(ammo_group: :ammo_type)
|
||||||
|
|
||||||
|
labels =
|
||||||
|
if shot_group.notes do
|
||||||
|
[gettext("Notes: %{notes}", notes: shot_group.notes)]
|
||||||
|
else
|
||||||
|
[]
|
||||||
|
end
|
||||||
|
|
||||||
|
labels = [
|
||||||
|
gettext(
|
||||||
|
"Name: %{name}",
|
||||||
|
name: shot_group.ammo_group.ammo_type.name
|
||||||
|
),
|
||||||
|
gettext(
|
||||||
|
"Rounds shot: %{count}",
|
||||||
|
count: shot_group.count
|
||||||
|
)
|
||||||
|
| labels
|
||||||
|
]
|
||||||
|
|
||||||
|
keys
|
||||||
|
|> Map.new(fn key ->
|
||||||
|
value =
|
||||||
|
case key do
|
||||||
|
:name -> shot_group.ammo_group.ammo_type.name
|
||||||
|
key -> shot_group |> Map.get(key)
|
||||||
|
end
|
||||||
|
|
||||||
|
{key, value}
|
||||||
|
end)
|
||||||
|
|> Map.put(:labels, labels)
|
||||||
|
end
|
||||||
|
|
||||||
|
@spec get_row_data_for_shot_group(ShotGroup.t(), [map()]) :: map()
|
||||||
defp get_row_data_for_shot_group(%{date: date} = shot_group, columns) do
|
defp get_row_data_for_shot_group(%{date: date} = shot_group, columns) do
|
||||||
shot_group = shot_group |> Repo.preload(ammo_group: :ammo_type)
|
shot_group = shot_group |> Repo.preload(ammo_group: :ammo_type)
|
||||||
assigns = %{shot_group: shot_group}
|
assigns = %{shot_group: shot_group}
|
||||||
|
|
||||||
columns
|
columns
|
||||||
|> Enum.into(%{}, fn %{key: key} ->
|
|> Map.new(fn %{key: key} ->
|
||||||
value =
|
value =
|
||||||
case key do
|
case key do
|
||||||
:name ->
|
:name ->
|
||||||
{shot_group.ammo_group.ammo_type.name,
|
{shot_group.ammo_group.ammo_type.name,
|
||||||
~H"""
|
~H"""
|
||||||
<.link patch={Routes.ammo_group_show_path(Endpoint, :show, @shot_group.ammo_group)} class="link">
|
<.link
|
||||||
|
navigate={Routes.ammo_group_show_path(Endpoint, :show, @shot_group.ammo_group)}
|
||||||
|
class="link"
|
||||||
|
>
|
||||||
<%= @shot_group.ammo_group.ammo_type.name %>
|
<%= @shot_group.ammo_group.ammo_type.name %>
|
||||||
</.link>
|
</.link>
|
||||||
"""}
|
"""}
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
<%= display_emoji("😔") %>
|
<%= display_emoji("😔") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<.link patch={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary">
|
<.link navigate={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary">
|
||||||
<%= dgettext("actions", "Why not get some ready to shoot?") %>
|
<%= dgettext("actions", "Why not get some ready to shoot?") %>
|
||||||
</.link>
|
</.link>
|
||||||
<% else %>
|
<% else %>
|
||||||
<.link patch={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary">
|
<.link navigate={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary">
|
||||||
<%= dgettext("actions", "Stage ammo") %>
|
<%= dgettext("actions", "Stage ammo") %>
|
||||||
</.link>
|
</.link>
|
||||||
|
|
||||||
@ -27,8 +27,8 @@
|
|||||||
data-confirm={"#{dgettext("prompts", "Are you sure you want to unstage this ammo?")}"}
|
data-confirm={"#{dgettext("prompts", "Are you sure you want to unstage this ammo?")}"}
|
||||||
>
|
>
|
||||||
<%= if ammo_group.staged,
|
<%= if ammo_group.staged,
|
||||||
do: gettext("Unstage from range"),
|
do: dgettext("actions", "Unstage from range"),
|
||||||
else: gettext("Stage for range") %>
|
else: dgettext("actions", "Stage for range") %>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<.link
|
<.link
|
||||||
@ -53,11 +53,27 @@
|
|||||||
<%= gettext("Shot log") %>
|
<%= gettext("Shot log") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
<canvas
|
||||||
|
id="shot-log-chart"
|
||||||
|
phx-hook="ShotLogChart"
|
||||||
|
phx-update="ignore"
|
||||||
|
class="max-h-72"
|
||||||
|
data-chart-data={Jason.encode!(@chart_data)}
|
||||||
|
data-label={gettext("Rounds fired")}
|
||||||
|
data-color={random_color()}
|
||||||
|
aria-label={gettext("Rounds fired chart")}
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<%= dgettext("errors", "Your browser does not support the canvas element.") %>
|
||||||
|
</canvas>
|
||||||
|
|
||||||
<.live_component
|
<.live_component
|
||||||
module={CanneryWeb.Components.TableComponent}
|
module={CanneryWeb.Components.TableComponent}
|
||||||
id="shot_groups_index_table"
|
id="shot_groups_index_table"
|
||||||
columns={@columns}
|
columns={@columns}
|
||||||
rows={@rows}
|
rows={@rows}
|
||||||
|
initial_key={:date}
|
||||||
|
initial_sort_mode={:desc}
|
||||||
/>
|
/>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,7 @@ defmodule CanneryWeb.TagLive.Index do
|
|||||||
use CanneryWeb, :live_view
|
use CanneryWeb, :live_view
|
||||||
import CanneryWeb.Components.TagCard
|
import CanneryWeb.Components.TagCard
|
||||||
alias Cannery.{Tags, Tags.Tag}
|
alias Cannery.{Tags, Tags.Tag}
|
||||||
alias CanneryWeb.Endpoint
|
alias CanneryWeb.{Endpoint, ViewHelpers}
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, socket), do: {:ok, socket |> display_tags()}
|
def mount(_params, _session, socket), do: {:ok, socket |> display_tags()}
|
||||||
@ -25,7 +25,7 @@ defmodule CanneryWeb.TagLive.Index do
|
|||||||
defp apply_action(socket, :new, _params) do
|
defp apply_action(socket, :new, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(:page_title, gettext("New Tag"))
|
|> assign(:page_title, gettext("New Tag"))
|
||||||
|> assign(:tag, %Tag{bg_color: Tags.random_bg_color(), text_color: "#ffffff"})
|
|> assign(:tag, %Tag{bg_color: ViewHelpers.random_color(), text_color: "#ffffff"})
|
||||||
end
|
end
|
||||||
|
|
||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
|
@ -60,6 +60,7 @@ defmodule CanneryWeb.Router do
|
|||||||
put "/users/settings", UserSettingsController, :update
|
put "/users/settings", UserSettingsController, :update
|
||||||
delete "/users/settings/:id", UserSettingsController, :delete
|
delete "/users/settings/:id", UserSettingsController, :delete
|
||||||
get "/users/settings/confirm_email/:token", UserSettingsController, :confirm_email
|
get "/users/settings/confirm_email/:token", UserSettingsController, :confirm_email
|
||||||
|
get "/export/:mode", ExportController, :export
|
||||||
|
|
||||||
live "/tags", TagLive.Index, :index
|
live "/tags", TagLive.Index, :index
|
||||||
live "/tags/new", TagLive.Index, :new
|
live "/tags/new", TagLive.Index, :new
|
||||||
@ -67,14 +68,17 @@ defmodule CanneryWeb.Router do
|
|||||||
|
|
||||||
live "/catalog", AmmoTypeLive.Index, :index
|
live "/catalog", AmmoTypeLive.Index, :index
|
||||||
live "/catalog/new", AmmoTypeLive.Index, :new
|
live "/catalog/new", AmmoTypeLive.Index, :new
|
||||||
|
live "/catalog/:id/clone", AmmoTypeLive.Index, :clone
|
||||||
live "/catalog/:id/edit", AmmoTypeLive.Index, :edit
|
live "/catalog/:id/edit", AmmoTypeLive.Index, :edit
|
||||||
|
|
||||||
live "/catalog/:id", AmmoTypeLive.Show, :show
|
live "/catalog/:id", AmmoTypeLive.Show, :show
|
||||||
live "/catalog/:id/show/edit", AmmoTypeLive.Show, :edit
|
live "/catalog/:id/show/edit", AmmoTypeLive.Show, :edit
|
||||||
|
|
||||||
live "/containers", ContainerLive.Index, :index
|
live "/containers", ContainerLive.Index, :index
|
||||||
|
live "/containers/table", ContainerLive.Index, :table
|
||||||
live "/containers/new", ContainerLive.Index, :new
|
live "/containers/new", ContainerLive.Index, :new
|
||||||
live "/containers/:id/edit", ContainerLive.Index, :edit
|
live "/containers/:id/edit", ContainerLive.Index, :edit
|
||||||
|
live "/containers/:id/clone", ContainerLive.Index, :clone
|
||||||
live "/containers/:id/edit_tags", ContainerLive.Index, :edit_tags
|
live "/containers/:id/edit_tags", ContainerLive.Index, :edit_tags
|
||||||
|
|
||||||
live "/containers/:id", ContainerLive.Show, :show
|
live "/containers/:id", ContainerLive.Show, :show
|
||||||
@ -84,6 +88,7 @@ defmodule CanneryWeb.Router do
|
|||||||
live "/ammo", AmmoGroupLive.Index, :index
|
live "/ammo", AmmoGroupLive.Index, :index
|
||||||
live "/ammo/new", AmmoGroupLive.Index, :new
|
live "/ammo/new", AmmoGroupLive.Index, :new
|
||||||
live "/ammo/:id/edit", AmmoGroupLive.Index, :edit
|
live "/ammo/:id/edit", AmmoGroupLive.Index, :edit
|
||||||
|
live "/ammo/:id/clone", AmmoGroupLive.Index, :clone
|
||||||
live "/ammo/:id/add_shot_group", AmmoGroupLive.Index, :add_shot_group
|
live "/ammo/:id/add_shot_group", AmmoGroupLive.Index, :add_shot_group
|
||||||
live "/ammo/:id/move", AmmoGroupLive.Index, :move
|
live "/ammo/:id/move", AmmoGroupLive.Index, :move
|
||||||
|
|
||||||
|
@ -139,12 +139,22 @@
|
|||||||
|
|
||||||
<hr class="hr" />
|
<hr class="hr" />
|
||||||
|
|
||||||
<.link
|
<div class="flex justify-center items-center">
|
||||||
href={Routes.user_settings_path(@conn, :delete, @current_user)}
|
<.link
|
||||||
method={:delete}
|
href={Routes.export_path(@conn, :export, :json)}
|
||||||
class="btn btn-alert"
|
class="mx-4 my-2 btn btn-primary"
|
||||||
data-confirm={dgettext("prompts", "Are you sure you want to delete your account?")}
|
target="_blank"
|
||||||
>
|
>
|
||||||
<%= dgettext("actions", "Delete User") %>
|
<%= dgettext("actions", "Export Data as JSON") %>
|
||||||
</.link>
|
</.link>
|
||||||
|
|
||||||
|
<.link
|
||||||
|
href={Routes.user_settings_path(@conn, :delete, @current_user)}
|
||||||
|
method={:delete}
|
||||||
|
class="mx-4 my-2 btn btn-alert"
|
||||||
|
data-confirm={dgettext("prompts", "Are you sure you want to delete your account?")}
|
||||||
|
>
|
||||||
|
<%= dgettext("actions", "Delete User") %>
|
||||||
|
</.link>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -95,11 +95,12 @@ defmodule CanneryWeb.ViewHelpers do
|
|||||||
~H"""
|
~H"""
|
||||||
<label for={@id} class="inline-flex relative items-center cursor-pointer">
|
<label for={@id} class="inline-flex relative items-center cursor-pointer">
|
||||||
<input
|
<input
|
||||||
|
id={@id}
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
value={@value}
|
value={@value}
|
||||||
checked={@value}
|
checked={@value}
|
||||||
id={@id}
|
|
||||||
class="sr-only peer"
|
class="sr-only peer"
|
||||||
|
data-qa={@id}
|
||||||
{
|
{
|
||||||
if assigns |> Map.has_key?(:target),
|
if assigns |> Map.has_key?(:target),
|
||||||
do: %{"phx-click" => @action, "phx-value-value" => @value, "phx-target" => @target},
|
do: %{"phx-click" => @action, "phx-value-value" => @value, "phx-target" => @target},
|
||||||
@ -114,4 +115,18 @@ defmodule CanneryWeb.ViewHelpers do
|
|||||||
</label>
|
</label>
|
||||||
"""
|
"""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@doc """
|
||||||
|
Get a random color in `#ffffff` hex format
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
iex> random_color()
|
||||||
|
"#cc0066"
|
||||||
|
"""
|
||||||
|
@spec random_color() :: <<_::7>>
|
||||||
|
def random_color do
|
||||||
|
["#cc0066", "#ff6699", "#6666ff", "#0066cc", "#00cc66", "#669900", "#ff9900", "#996633"]
|
||||||
|
|> Enum.random()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
6
mix.exs
6
mix.exs
@ -13,7 +13,7 @@ defmodule Cannery.MixProject do
|
|||||||
deps: deps(),
|
deps: deps(),
|
||||||
dialyzer: [plt_add_apps: [:ex_unit]],
|
dialyzer: [plt_add_apps: [:ex_unit]],
|
||||||
consolidate_protocols: Mix.env() not in [:dev, :test],
|
consolidate_protocols: Mix.env() not in [:dev, :test],
|
||||||
preferred_cli_env: [test: :test],
|
preferred_cli_env: [test: :test, "test.all": :test],
|
||||||
# ExDoc
|
# ExDoc
|
||||||
name: "Cannery",
|
name: "Cannery",
|
||||||
source_url: "https://gitea.bubbletea.dev/shibao/cannery",
|
source_url: "https://gitea.bubbletea.dev/shibao/cannery",
|
||||||
@ -86,13 +86,13 @@ defmodule Cannery.MixProject do
|
|||||||
setup: ["deps.get", "compile", "ecto.setup", "cmd npm install --prefix assets"],
|
setup: ["deps.get", "compile", "ecto.setup", "cmd npm install --prefix assets"],
|
||||||
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
||||||
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
||||||
format: [
|
"format.all": [
|
||||||
"cmd npm run format --prefix assets",
|
"cmd npm run format --prefix assets",
|
||||||
"format",
|
"format",
|
||||||
"gettext.extract --merge",
|
"gettext.extract --merge",
|
||||||
"gettext.merge --no-fuzzy priv/gettext"
|
"gettext.merge --no-fuzzy priv/gettext"
|
||||||
],
|
],
|
||||||
test: [
|
"test.all": [
|
||||||
"cmd npm run test --prefix assets",
|
"cmd npm run test --prefix assets",
|
||||||
"dialyzer",
|
"dialyzer",
|
||||||
"credo --strict",
|
"credo --strict",
|
||||||
|
@ -11,6 +11,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:50
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
@ -48,7 +49,7 @@ msgstr ""
|
|||||||
msgid "Create Invite"
|
msgid "Create Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Delete User"
|
msgid "Delete User"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -119,7 +120,7 @@ msgstr ""
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:46
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:53
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
||||||
@ -155,7 +156,7 @@ msgstr ""
|
|||||||
msgid "Why not get some ready to shoot?"
|
msgid "Why not get some ready to shoot?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:190
|
#: lib/cannery_web/live/ammo_group_live/index.ex:199
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:38
|
#: lib/cannery_web/live/range_live/index.html.heex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -211,3 +212,45 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add an ammo type first"
|
msgid "add an ammo type first"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Disable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Enable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Move ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Set Unlimited"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Show used"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Stage for range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unstage from range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Export Data as JSON"
|
||||||
|
msgstr ""
|
||||||
|
@ -24,6 +24,7 @@ msgstr ""
|
|||||||
## date. Leave "msgstr"s empty as changing them here has no
|
## date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:50
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
@ -61,7 +62,7 @@ msgstr "Passwort ändern"
|
|||||||
msgid "Create Invite"
|
msgid "Create Invite"
|
||||||
msgstr "Einladung erstellen"
|
msgstr "Einladung erstellen"
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Delete User"
|
msgid "Delete User"
|
||||||
msgstr "Benutzer löschen"
|
msgstr "Benutzer löschen"
|
||||||
@ -132,7 +133,7 @@ msgstr "Bestätigungsmail erneut senden"
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr "Passwort zurücksetzen"
|
msgstr "Passwort zurücksetzen"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:46
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:53
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
||||||
@ -168,7 +169,7 @@ msgstr "Munition markieren"
|
|||||||
msgid "Why not get some ready to shoot?"
|
msgid "Why not get some ready to shoot?"
|
||||||
msgstr "Warum nicht einige für den Schießstand auswählen?"
|
msgstr "Warum nicht einige für den Schießstand auswählen?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:190
|
#: lib/cannery_web/live/ammo_group_live/index.ex:199
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:38
|
#: lib/cannery_web/live/range_live/index.html.heex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -224,3 +225,45 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add an ammo type first"
|
msgid "add an ammo type first"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Disable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Enable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Move ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Set Unlimited"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Show used"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Stage for range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unstage from range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Export Data as JSON"
|
||||||
|
msgstr ""
|
||||||
|
@ -53,13 +53,13 @@ msgid "Ammo"
|
|||||||
msgstr "Munition"
|
msgstr "Munition"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:90
|
#: lib/cannery_web/live/ammo_group_live/index.ex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo type"
|
msgid "Ammo type"
|
||||||
msgstr "Munitionsarten"
|
msgstr "Munitionsarten"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:88
|
#: lib/cannery_web/live/ammo_type_live/index.ex:137
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:106
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Average Price paid"
|
msgid "Average Price paid"
|
||||||
msgstr "Durchschnittlicher Kaufpreis"
|
msgstr "Durchschnittlicher Kaufpreis"
|
||||||
@ -70,7 +70,7 @@ msgid "Background color"
|
|||||||
msgstr "Hintergrundfarbe"
|
msgstr "Hintergrundfarbe"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:71
|
#: lib/cannery_web/live/ammo_type_live/index.ex:82
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Blank"
|
msgid "Blank"
|
||||||
@ -82,35 +82,35 @@ msgid "Brass"
|
|||||||
msgstr "Messing"
|
msgstr "Messing"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:53
|
#: lib/cannery_web/live/ammo_type_live/index.ex:64
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet core"
|
msgid "Bullet core"
|
||||||
msgstr "Projektilkern"
|
msgstr "Projektilkern"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:52
|
#: lib/cannery_web/live/ammo_type_live/index.ex:63
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet type"
|
msgid "Bullet type"
|
||||||
msgstr "Patronenart"
|
msgstr "Patronenart"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:55
|
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Caliber"
|
msgid "Caliber"
|
||||||
msgstr "Kaliber"
|
msgstr "Kaliber"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:54
|
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Cartridge"
|
msgid "Cartridge"
|
||||||
msgstr "Patrone"
|
msgstr "Patrone"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:56
|
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Case material"
|
msgid "Case material"
|
||||||
@ -118,32 +118,33 @@ msgstr "Gehäusematerial"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:95
|
#: lib/cannery_web/live/ammo_group_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Container"
|
msgid "Container"
|
||||||
msgstr "Behälter"
|
msgstr "Behälter"
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:57
|
#: lib/cannery_web/components/topbar.ex:57
|
||||||
#: lib/cannery_web/live/container_live/index.ex:36
|
#: lib/cannery_web/live/container_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:53
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:3
|
#: lib/cannery_web/live/container_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Containers"
|
msgid "Containers"
|
||||||
msgstr "Behälter"
|
msgstr "Behälter"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
#: lib/cannery_web/live/ammo_type_live/index.ex:83
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Corrosive"
|
msgid "Corrosive"
|
||||||
msgstr "Korrosiv"
|
msgstr "Korrosiv"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:91
|
#: lib/cannery_web/live/ammo_group_live/index.ex:100
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count"
|
msgid "Count"
|
||||||
msgstr "Anzahl"
|
msgstr "Anzahl"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:33
|
#: lib/cannery_web/components/ammo_group_card.ex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count:"
|
msgid "Count:"
|
||||||
@ -151,21 +152,17 @@ msgstr "Anzahl:"
|
|||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:122
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr "Beschreibung"
|
msgstr "Beschreibung"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:30
|
#: lib/cannery_web/components/container_card.ex:39
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:8
|
#: lib/cannery_web/live/container_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description:"
|
msgid "Description:"
|
||||||
msgstr "Beschreibung:"
|
msgstr "Beschreibung:"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Disable"
|
|
||||||
msgstr "Deaktivieren"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/home_live.ex:61
|
#: lib/cannery_web/live/home_live.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
@ -192,11 +189,6 @@ msgstr "Einladung bearbeiten"
|
|||||||
msgid "Edit Tag"
|
msgid "Edit Tag"
|
||||||
msgstr "Tag bearbeiten"
|
msgstr "Tag bearbeiten"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Enable"
|
|
||||||
msgstr "Aktivieren"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Example bullet type abbreviations"
|
msgid "Example bullet type abbreviations"
|
||||||
@ -208,14 +200,14 @@ msgid "FMJ"
|
|||||||
msgstr "VM"
|
msgstr "VM"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
#: lib/cannery_web/live/ammo_type_live/index.ex:76
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Grains"
|
msgid "Grains"
|
||||||
msgstr "Körner"
|
msgstr "Körner"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
#: lib/cannery_web/live/ammo_type_live/index.ex:81
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Incendiary"
|
msgid "Incendiary"
|
||||||
@ -226,7 +218,7 @@ msgstr "Brandmunition"
|
|||||||
msgid "Instance Information"
|
msgid "Instance Information"
|
||||||
msgstr "Instanzinformationen"
|
msgstr "Instanzinformationen"
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:25
|
#: lib/cannery_web/components/invite_card.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invite Disabled"
|
msgid "Invite Disabled"
|
||||||
msgstr "Einladung deaktiviert"
|
msgstr "Einladung deaktiviert"
|
||||||
@ -250,11 +242,12 @@ msgstr "Für 60 Tage eingeloggt bleiben"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr "Standort"
|
msgstr "Standort"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:42
|
#: lib/cannery_web/components/container_card.ex:51
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:20
|
#: lib/cannery_web/live/container_live/show.html.heex:20
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location:"
|
msgid "Location:"
|
||||||
@ -266,7 +259,7 @@ msgid "Magazine, Clip, Ammo Box, etc"
|
|||||||
msgstr "Magazin, Ladestreifen, Munitionskiste usw."
|
msgstr "Magazin, Ladestreifen, Munitionskiste usw."
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:84
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Manufacturer"
|
msgid "Manufacturer"
|
||||||
@ -283,8 +276,9 @@ msgid "My cool ammo can"
|
|||||||
msgstr "Meine coole Munitionskiste"
|
msgstr "Meine coole Munitionskiste"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:51
|
#: lib/cannery_web/live/ammo_type_live/index.ex:62
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:121
|
||||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -292,11 +286,13 @@ msgid "Name"
|
|||||||
msgstr "Name"
|
msgstr "Name"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
msgstr "Neuer Munitionstyp"
|
msgstr "Neuer Munitionstyp"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:31
|
#: lib/cannery_web/live/container_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr "Neuer Behälter"
|
msgstr "Neuer Behälter"
|
||||||
@ -321,7 +317,7 @@ msgstr "Keine Munition"
|
|||||||
msgid "No Ammo Types"
|
msgid "No Ammo Types"
|
||||||
msgstr "Keine Munitionsarten"
|
msgstr "Keine Munitionsarten"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:134
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:166
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr "Keine Munition dieser Art"
|
msgstr "Keine Munition dieser Art"
|
||||||
@ -342,7 +338,7 @@ msgstr "Keine Einladung"
|
|||||||
msgid "No tags"
|
msgid "No tags"
|
||||||
msgstr "Keine Tags"
|
msgstr "Keine Tags"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:30
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
||||||
@ -351,7 +347,7 @@ msgstr "Keine Tags"
|
|||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr "Bemerkungen"
|
msgstr "Bemerkungen"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:39
|
#: lib/cannery_web/components/ammo_group_card.ex:43
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Notes:"
|
msgid "Notes:"
|
||||||
@ -363,25 +359,25 @@ msgid "On the bookshelf"
|
|||||||
msgstr "Auf dem Bücherregal"
|
msgstr "Auf dem Bücherregal"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
#: lib/cannery_web/live/ammo_type_live/index.ex:77
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Pressure"
|
msgid "Pressure"
|
||||||
msgstr "Druck"
|
msgstr "Druck"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:92
|
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid"
|
msgid "Price paid"
|
||||||
msgstr "Kaufpreis"
|
msgstr "Kaufpreis"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:58
|
#: lib/cannery_web/components/ammo_group_card.ex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid:"
|
msgid "Price paid:"
|
||||||
msgstr "Kaufpreis:"
|
msgstr "Kaufpreis:"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
#: lib/cannery_web/live/ammo_type_live/index.ex:78
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Primer type"
|
msgid "Primer type"
|
||||||
@ -404,11 +400,6 @@ msgstr ""
|
|||||||
"Hosten Sie Ihre eigene Instanz oder verwenden Sie eine Instanz, der Sie "
|
"Hosten Sie Ihre eigene Instanz oder verwenden Sie eine Instanz, der Sie "
|
||||||
"vertrauen."
|
"vertrauen."
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Set Unlimited"
|
|
||||||
msgstr "Unbegrenzt setzen"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -436,6 +427,7 @@ msgid "Stored in"
|
|||||||
msgstr "Gelagert in"
|
msgstr "Gelagert in"
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:49
|
#: lib/cannery_web/components/topbar.ex:49
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:127
|
||||||
#: lib/cannery_web/live/tag_live/index.ex:32
|
#: lib/cannery_web/live/tag_live/index.ex:32
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -458,7 +450,7 @@ msgid "The self-hosted firearm tracker website"
|
|||||||
msgstr "Die selbst-gehostete Website zur Verwaltung von Schusswaffen"
|
msgstr "Die selbst-gehostete Website zur Verwaltung von Schusswaffen"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:80
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Tracer"
|
msgid "Tracer"
|
||||||
@ -466,11 +458,12 @@ msgstr "Leuchtspur"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr "Art"
|
msgstr "Art"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:36
|
#: lib/cannery_web/components/container_card.ex:45
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:14
|
#: lib/cannery_web/live/container_live/show.html.heex:14
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type:"
|
msgid "Type:"
|
||||||
@ -481,7 +474,7 @@ msgstr "Art:"
|
|||||||
msgid "Users"
|
msgid "Users"
|
||||||
msgstr "Benutzer"
|
msgstr "Benutzer"
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:20
|
#: lib/cannery_web/components/invite_card.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Uses Left:"
|
msgid "Uses Left:"
|
||||||
msgstr "Verbleibende Nutzung:"
|
msgstr "Verbleibende Nutzung:"
|
||||||
@ -507,7 +500,7 @@ msgid "No tags for this container"
|
|||||||
msgstr "Keine Tags für diesen Behälter"
|
msgstr "Keine Tags für diesen Behälter"
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:81
|
#: lib/cannery_web/components/topbar.ex:81
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:94
|
#: lib/cannery_web/live/ammo_group_live/index.ex:103
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr "Schießplatz"
|
msgstr "Schießplatz"
|
||||||
@ -533,30 +526,18 @@ msgstr "Schüsse abgegeben"
|
|||||||
msgid "No ammo staged"
|
msgid "No ammo staged"
|
||||||
msgstr "Keine Munition selektiert"
|
msgstr "Keine Munition selektiert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:31
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Stage for range"
|
|
||||||
msgstr "Für Schießplatz selektieren"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:30
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Unstage from range"
|
|
||||||
msgstr "Für Schießplatz deselektieren"
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Schüsse dokumentieren"
|
msgstr "Schüsse dokumentieren"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
msgstr "Munitionsgruppen"
|
msgstr "Munitionsgruppen"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:38
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:45
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Date (UTC)"
|
msgid "Date (UTC)"
|
||||||
@ -579,6 +560,7 @@ msgid "No shots recorded"
|
|||||||
msgstr "Keine Schüsse dokumentiert"
|
msgstr "Keine Schüsse dokumentiert"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:25
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds left"
|
msgid "Rounds left"
|
||||||
msgstr "Patronen verbleibend"
|
msgstr "Patronen verbleibend"
|
||||||
@ -599,8 +581,7 @@ msgstr "Schießkladde"
|
|||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr "Munitionsgruppe verschieben"
|
msgstr "Munitionsgruppe verschieben"
|
||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
#: lib/cannery_web/live/ammo_group_live/index.ex:270
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:253
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
msgstr "Munition verschieben"
|
msgstr "Munition verschieben"
|
||||||
@ -615,12 +596,12 @@ msgstr "Kein weiterer Behälter"
|
|||||||
msgid "Shot log"
|
msgid "Shot log"
|
||||||
msgstr "Schießkladde"
|
msgstr "Schießkladde"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:59
|
#: lib/cannery_web/components/ammo_group_card.ex:63
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:145
|
#: lib/cannery_web/live/ammo_group_live/index.ex:154
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:118
|
#: lib/cannery_web/live/ammo_type_live/index.ex:179
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:110
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "$%{amount}"
|
msgid "$%{amount}"
|
||||||
msgstr "$%{amount}"
|
msgstr "$%{amount}"
|
||||||
@ -631,35 +612,35 @@ msgid "Bimetal"
|
|||||||
msgstr "Bimetall"
|
msgstr "Bimetall"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:57
|
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Jacket type"
|
msgid "Jacket type"
|
||||||
msgstr "Patronenhülse"
|
msgstr "Patronenhülse"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:58
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Muzzle velocity"
|
msgid "Muzzle velocity"
|
||||||
msgstr "Mündungsgeschwindigkeit"
|
msgstr "Mündungsgeschwindigkeit"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:61
|
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder grains per charge"
|
msgid "Powder grains per charge"
|
||||||
msgstr "Pulverkörner pro Ladung"
|
msgstr "Pulverkörner pro Ladung"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:59
|
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder type"
|
msgid "Powder type"
|
||||||
msgstr "Pulverart"
|
msgstr "Pulverart"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:74
|
#: lib/cannery_web/live/ammo_type_live/index.ex:85
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "UPC"
|
msgid "UPC"
|
||||||
@ -681,18 +662,18 @@ msgstr "Derzeitiges Passwort"
|
|||||||
msgid "New password"
|
msgid "New password"
|
||||||
msgstr "Neues Passwort"
|
msgstr "Neues Passwort"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Stage"
|
msgid "Stage"
|
||||||
msgstr "Markiert"
|
msgstr "Markiert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Unstage"
|
msgid "Unstage"
|
||||||
msgstr "Demarkiert"
|
msgstr "Demarkiert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
#: lib/cannery_web/live/ammo_type_live/index.ex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Firing type"
|
msgid "Firing type"
|
||||||
@ -714,13 +695,14 @@ msgstr "Lädt..."
|
|||||||
msgid "Edit %{name}"
|
msgid "Edit %{name}"
|
||||||
msgstr "%{name} bearbeiten"
|
msgstr "%{name} bearbeiten"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:46
|
#: lib/cannery_web/live/container_live/index.ex:65
|
||||||
#: lib/cannery_web/live/container_live/show.ex:107
|
#: lib/cannery_web/live/container_live/show.ex:107
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit %{name} tags"
|
msgid "Edit %{name} tags"
|
||||||
msgstr "Editiere %{name} Tags"
|
msgstr "Editiere %{name} Tags"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:54
|
#: lib/cannery_web/components/container_card.ex:63
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:32
|
#: lib/cannery_web/live/container_live/show.html.heex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds:"
|
msgid "Rounds:"
|
||||||
@ -731,13 +713,13 @@ msgstr "Patronen:"
|
|||||||
msgid "Show %{name}"
|
msgid "Show %{name}"
|
||||||
msgstr "Zeige %{name}"
|
msgstr "Zeige %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
#: lib/cannery_web/live/ammo_type_live/index.ex:178
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:116
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:148
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No cost information"
|
msgid "No cost information"
|
||||||
msgstr "Keine Preisinformationen"
|
msgstr "Keine Preisinformationen"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:93
|
#: lib/cannery_web/live/ammo_group_live/index.ex:102
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "% left"
|
msgid "% left"
|
||||||
msgstr "% verbleibend"
|
msgstr "% verbleibend"
|
||||||
@ -767,21 +749,6 @@ msgstr "Prozent verbleibend:"
|
|||||||
msgid "Rounds used"
|
msgid "Rounds used"
|
||||||
msgstr "Patronen verbraucht"
|
msgstr "Patronen verbraucht"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Current # of rounds:"
|
|
||||||
msgstr "Derzeitige # an Patronen:"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:86
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total # of rounds"
|
|
||||||
msgstr "Summe aller Patronen"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total rounds shot:"
|
|
||||||
msgstr "Summe abgegebener Schüsse:"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Confirm your account"
|
msgid "Confirm your account"
|
||||||
@ -818,24 +785,24 @@ msgstr "Schüsse dokumentieren"
|
|||||||
msgid "Copies"
|
msgid "Copies"
|
||||||
msgstr "Kopien"
|
msgstr "Kopien"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:34
|
#: lib/cannery_web/live/ammo_type_live/index.ex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo types"
|
msgid "Ammo types"
|
||||||
msgstr "Munitionsart"
|
msgstr "Munitionsart"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:96
|
#: lib/cannery_web/live/ammo_group_live/index.ex:105
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on"
|
msgid "Added on"
|
||||||
msgstr "Hinzugefügt am"
|
msgstr "Hinzugefügt am"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:45
|
#: lib/cannery_web/components/ammo_group_card.ex:49
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:129
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr "Hinzugefügt am:"
|
msgstr "Hinzugefügt am:"
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr "Benutzer registriert am"
|
msgstr "Benutzer registriert am"
|
||||||
@ -914,7 +881,8 @@ msgstr "Zeige Munitionsarten"
|
|||||||
msgid "This ammo is not in a container"
|
msgid "This ammo is not in a container"
|
||||||
msgstr "Diese Munitionsgruppe ist nicht in einem Behälter"
|
msgstr "Diese Munitionsgruppe ist nicht in einem Behälter"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:49
|
#: lib/cannery_web/components/container_card.ex:58
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:105
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:27
|
#: lib/cannery_web/live/container_live/show.html.heex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Packs:"
|
msgid "Packs:"
|
||||||
@ -936,29 +904,117 @@ msgstr ""
|
|||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:87
|
#: lib/cannery_web/components/ammo_group_card.ex:71
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
|
||||||
msgid "Total # of ammo"
|
|
||||||
msgstr "Summe aller Patronen"
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:67
|
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Container:"
|
msgid "Container:"
|
||||||
msgstr "Behälter"
|
msgstr "Behälter"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:126
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:23
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Show used"
|
msgid "Show used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
#: lib/cannery_web/live/ammo_group_live/index.ex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on"
|
msgid "Used up on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:51
|
#: lib/cannery_web/components/ammo_group_card.ex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on:"
|
msgid "Used up on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:206
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:19
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{percentage}%"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr "Patronen verbraucht"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr "Patronen abgefeuert"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:97
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:126
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds"
|
||||||
|
msgstr "Patronen:"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "View as table"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:127
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:108
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds"
|
||||||
|
msgstr "Summe aller Patronen"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds:"
|
||||||
|
msgstr "Summe abgegebener Schüsse:"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:122
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:113
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:103
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:33
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used up!"
|
||||||
|
msgstr ""
|
||||||
|
@ -28,13 +28,13 @@ msgstr ""
|
|||||||
msgid "Container must be empty before deleting"
|
msgid "Container must be empty before deleting"
|
||||||
msgstr "Behälter muss vor dem Löschen leer sein"
|
msgstr "Behälter muss vor dem Löschen leer sein"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:69
|
#: lib/cannery_web/live/container_live/index.ex:88
|
||||||
#: lib/cannery_web/live/container_live/show.ex:71
|
#: lib/cannery_web/live/container_live/show.ex:71
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not delete %{name}: %{error}"
|
msgid "Could not delete %{name}: %{error}"
|
||||||
msgstr "Konnte %{name} nicht löschen: %{error}"
|
msgstr "Konnte %{name} nicht löschen: %{error}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:57
|
#: lib/cannery_web/live/container_live/index.ex:76
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not find that container"
|
msgid "Could not find that container"
|
||||||
msgstr "Konnte Behälter nicht finden"
|
msgstr "Konnte Behälter nicht finden"
|
||||||
@ -121,22 +121,22 @@ msgstr "Sie sind nicht berechtigt, diese Seite aufzurufen"
|
|||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
msgstr "Sie sind nicht berechtigt, diese Seite aufzurufen."
|
msgstr "Sie sind nicht berechtigt, diese Seite aufzurufen."
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:130
|
#: lib/cannery/accounts/user.ex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "did not change"
|
msgid "did not change"
|
||||||
msgstr "hat sich nicht geändert"
|
msgstr "hat sich nicht geändert"
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:151
|
#: lib/cannery/accounts/user.ex:159
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "does not match password"
|
msgid "does not match password"
|
||||||
msgstr "Passwort stimmt nicht überein"
|
msgstr "Passwort stimmt nicht überein"
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:188
|
#: lib/cannery/accounts/user.ex:196
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "is not valid"
|
msgid "is not valid"
|
||||||
msgstr "ist nicht gültig"
|
msgstr "ist nicht gültig"
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:84
|
#: lib/cannery/accounts/user.ex:92
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "must have the @ sign and no spaces"
|
msgid "must have the @ sign and no spaces"
|
||||||
msgstr "Muss ein @ Zeichen und keine Leerzeichen haben"
|
msgstr "Muss ein @ Zeichen und keine Leerzeichen haben"
|
||||||
@ -151,13 +151,13 @@ msgstr "Tag nicht gefunden"
|
|||||||
msgid "Tag could not be added"
|
msgid "Tag could not be added"
|
||||||
msgstr "Tag konnte nicht hinzugefügt werden"
|
msgstr "Tag konnte nicht hinzugefügt werden"
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:115
|
#: lib/cannery/activity_log/shot_group.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be at least 1"
|
msgid "Count must be at least 1"
|
||||||
msgstr "Anzahl muss mindestens 1 sein"
|
msgstr "Anzahl muss mindestens 1 sein"
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:74
|
#: lib/cannery/activity_log/shot_group.ex:82
|
||||||
#: lib/cannery/activity_log/shot_group.ex:111
|
#: lib/cannery/activity_log/shot_group.ex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be less than %{count}"
|
msgid "Count must be less than %{count}"
|
||||||
msgstr "Anzahl muss weniger als %{count} betragen"
|
msgstr "Anzahl muss weniger als %{count} betragen"
|
||||||
@ -175,29 +175,34 @@ msgstr ""
|
|||||||
msgid "Tag could not be removed"
|
msgid "Tag could not be removed"
|
||||||
msgstr "Tag konnte nicht gelöscht werden"
|
msgstr "Tag konnte nicht gelöscht werden"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:156
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not parse number of copies"
|
msgid "Could not parse number of copies"
|
||||||
msgstr "Konnte die Anzahl der Kopien nicht verstehen"
|
msgstr "Konnte die Anzahl der Kopien nicht verstehen"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:141
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Ungültige Nummer an Kopien. Muss zwischen 1 and %{max} liegen. War "
|
"Ungültige Nummer an Kopien. Muss zwischen 1 and %{max} liegen. War "
|
||||||
"%{multiplier}"
|
"%{multiplier}"
|
||||||
|
|
||||||
#: lib/cannery/ammo.ex:535
|
#: lib/cannery/ammo.ex:587
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid multiplier"
|
msgid "Invalid multiplier"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/ammo/ammo_group.ex:84
|
#: lib/cannery/ammo/ammo_group.ex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select an ammo type and container"
|
msgid "Please select an ammo type and container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:69
|
#: lib/cannery/activity_log/shot_group.ex:77
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -23,15 +23,15 @@ msgstr ""
|
|||||||
## Run "mix gettext.extract" to bring this file up to
|
## Run "mix gettext.extract" to bring this file up to
|
||||||
## date. Leave "msgstr"s empty as changing them here has no
|
## date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:85
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:86
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:85
|
#: lib/cannery_web/live/container_live/form_component.ex:89
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr "%{name} erfolgreich erstellt"
|
msgstr "%{name} erfolgreich erstellt"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:41
|
#: lib/cannery_web/live/ammo_type_live/index.ex:47
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:53
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:133
|
#: lib/cannery_web/live/invite_live/index.ex:133
|
||||||
@ -50,7 +50,7 @@ msgstr "%{name} erfolgreich deaktiviert"
|
|||||||
msgid "%{name} enabled succesfully"
|
msgid "%{name} enabled succesfully"
|
||||||
msgstr "%{name} erfolgreich aktiviert"
|
msgstr "%{name} erfolgreich aktiviert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:62
|
#: lib/cannery_web/live/container_live/index.ex:81
|
||||||
#: lib/cannery_web/live/container_live/show.ex:61
|
#: lib/cannery_web/live/container_live/show.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} has been deleted"
|
msgid "%{name} has been deleted"
|
||||||
@ -62,7 +62,7 @@ msgid "%{name} updated succesfully"
|
|||||||
msgstr "%{name} erfolgreich aktualisiert"
|
msgstr "%{name} erfolgreich aktualisiert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:67
|
#: lib/cannery_web/live/container_live/form_component.ex:70
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -74,7 +74,7 @@ msgstr "%{name} erfolgreich aktualisiert"
|
|||||||
msgid "A link to confirm your email change has been sent to the new address."
|
msgid "A link to confirm your email change has been sent to the new address."
|
||||||
msgstr "Eine Mail zum Bestätigen ihre Mailadresse wurde Ihnen zugesandt."
|
msgstr "Eine Mail zum Bestätigen ihre Mailadresse wurde Ihnen zugesandt."
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:64
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr "Munitionsgruppe erfolgreich gelöscht"
|
msgstr "Munitionsgruppe erfolgreich gelöscht"
|
||||||
@ -87,7 +87,8 @@ msgstr ""
|
|||||||
"Sind Sie sicher, dass sie %{email} löschen möchten? Dies kann nicht "
|
"Sind Sie sicher, dass sie %{email} löschen möchten? Dies kann nicht "
|
||||||
"zurückgenommen werden!"
|
"zurückgenommen werden!"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:48
|
#: lib/cannery_web/live/container_live/index.ex:223
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:73
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:51
|
#: lib/cannery_web/live/container_live/show.html.heex:51
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -99,13 +100,13 @@ msgstr "Sind Sie sicher, dass sie %{name} löschen möchten?"
|
|||||||
msgid "Are you sure you want to delete the invite for %{name}?"
|
msgid "Are you sure you want to delete the invite for %{name}?"
|
||||||
msgstr "Sind Sie sicher, dass sie die Einladung für %{name} löschen möchten?"
|
msgstr "Sind Sie sicher, dass sie die Einladung für %{name} löschen möchten?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:225
|
#: lib/cannery_web/live/ammo_group_live/index.ex:242
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this ammo?"
|
msgid "Are you sure you want to delete this ammo?"
|
||||||
msgstr "Sind Sie sicher, dass sie diese Munition löschen möchten?"
|
msgstr "Sind Sie sicher, dass sie diese Munition löschen möchten?"
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:146
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:155
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete your account?"
|
msgid "Are you sure you want to delete your account?"
|
||||||
msgstr "Sind Sie sicher, dass sie Ihren Account löschen möchten?"
|
msgstr "Sind Sie sicher, dass sie Ihren Account löschen möchten?"
|
||||||
@ -164,7 +165,7 @@ msgstr "Bitte überprüfen Sie ihre Mailbox und bestätigen Sie das Nutzerkonto"
|
|||||||
msgid "Register to setup %{name}"
|
msgid "Register to setup %{name}"
|
||||||
msgstr "Registrieren Sie sich, um %{name} zu bearbeiten"
|
msgstr "Registrieren Sie sich, um %{name} zu bearbeiten"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:48
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:55
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
||||||
@ -213,7 +214,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr "Sind sie sicher, dass Sie diese Munition demarkieren möchten?"
|
msgstr "Sind sie sicher, dass Sie diese Munition demarkieren möchten?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:184
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr "Sind sie sicher, dass sie die Schießkladde löschen möchten?"
|
msgstr "Sind sie sicher, dass sie die Schießkladde löschen möchten?"
|
||||||
@ -285,14 +286,14 @@ msgstr "Munition erfolgreich demarkiert"
|
|||||||
msgid "Ammo updated successfully"
|
msgid "Ammo updated successfully"
|
||||||
msgstr "Munitionsgruppe erfolgreich aktualisiert"
|
msgstr "Munitionsgruppe erfolgreich aktualisiert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:177
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:178
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Ammo added successfully"
|
msgid "Ammo added successfully"
|
||||||
msgid_plural "Ammo added successfully"
|
msgid_plural "Ammo added successfully"
|
||||||
msgstr[0] "Munitionsgruppe erfolgreich aktualisiert"
|
msgstr[0] "Munitionsgruppe erfolgreich aktualisiert"
|
||||||
msgstr[1] "Munitionsgruppe erfolgreich aktualisiert"
|
msgstr[1] "Munitionsgruppe erfolgreich aktualisiert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:163
|
#: lib/cannery_web/live/ammo_type_live/index.ex:232
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
||||||
|
@ -38,13 +38,13 @@ msgid "Ammo"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:90
|
#: lib/cannery_web/live/ammo_group_live/index.ex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo type"
|
msgid "Ammo type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:88
|
#: lib/cannery_web/live/ammo_type_live/index.ex:137
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:106
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Average Price paid"
|
msgid "Average Price paid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -55,7 +55,7 @@ msgid "Background color"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:71
|
#: lib/cannery_web/live/ammo_type_live/index.ex:82
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Blank"
|
msgid "Blank"
|
||||||
@ -67,35 +67,35 @@ msgid "Brass"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:53
|
#: lib/cannery_web/live/ammo_type_live/index.ex:64
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet core"
|
msgid "Bullet core"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:52
|
#: lib/cannery_web/live/ammo_type_live/index.ex:63
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet type"
|
msgid "Bullet type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:55
|
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Caliber"
|
msgid "Caliber"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:54
|
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Cartridge"
|
msgid "Cartridge"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:56
|
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Case material"
|
msgid "Case material"
|
||||||
@ -103,32 +103,33 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:95
|
#: lib/cannery_web/live/ammo_group_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Container"
|
msgid "Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:57
|
#: lib/cannery_web/components/topbar.ex:57
|
||||||
#: lib/cannery_web/live/container_live/index.ex:36
|
#: lib/cannery_web/live/container_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:53
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:3
|
#: lib/cannery_web/live/container_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Containers"
|
msgid "Containers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
#: lib/cannery_web/live/ammo_type_live/index.ex:83
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Corrosive"
|
msgid "Corrosive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:91
|
#: lib/cannery_web/live/ammo_group_live/index.ex:100
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count"
|
msgid "Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:33
|
#: lib/cannery_web/components/ammo_group_card.ex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count:"
|
msgid "Count:"
|
||||||
@ -136,21 +137,17 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:122
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:30
|
#: lib/cannery_web/components/container_card.ex:39
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:8
|
#: lib/cannery_web/live/container_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description:"
|
msgid "Description:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Disable"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/home_live.ex:61
|
#: lib/cannery_web/live/home_live.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
@ -177,11 +174,6 @@ msgstr ""
|
|||||||
msgid "Edit Tag"
|
msgid "Edit Tag"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Enable"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Example bullet type abbreviations"
|
msgid "Example bullet type abbreviations"
|
||||||
@ -193,14 +185,14 @@ msgid "FMJ"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
#: lib/cannery_web/live/ammo_type_live/index.ex:76
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Grains"
|
msgid "Grains"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
#: lib/cannery_web/live/ammo_type_live/index.ex:81
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Incendiary"
|
msgid "Incendiary"
|
||||||
@ -211,7 +203,7 @@ msgstr ""
|
|||||||
msgid "Instance Information"
|
msgid "Instance Information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:25
|
#: lib/cannery_web/components/invite_card.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invite Disabled"
|
msgid "Invite Disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -235,11 +227,12 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:42
|
#: lib/cannery_web/components/container_card.ex:51
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:20
|
#: lib/cannery_web/live/container_live/show.html.heex:20
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location:"
|
msgid "Location:"
|
||||||
@ -251,7 +244,7 @@ msgid "Magazine, Clip, Ammo Box, etc"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:84
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Manufacturer"
|
msgid "Manufacturer"
|
||||||
@ -268,8 +261,9 @@ msgid "My cool ammo can"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:51
|
#: lib/cannery_web/live/ammo_type_live/index.ex:62
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:121
|
||||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -277,11 +271,13 @@ msgid "Name"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:31
|
#: lib/cannery_web/live/container_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -306,7 +302,7 @@ msgstr ""
|
|||||||
msgid "No Ammo Types"
|
msgid "No Ammo Types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:134
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:166
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -327,7 +323,7 @@ msgstr ""
|
|||||||
msgid "No tags"
|
msgid "No tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:30
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
||||||
@ -336,7 +332,7 @@ msgstr ""
|
|||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:39
|
#: lib/cannery_web/components/ammo_group_card.ex:43
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Notes:"
|
msgid "Notes:"
|
||||||
@ -348,25 +344,25 @@ msgid "On the bookshelf"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
#: lib/cannery_web/live/ammo_type_live/index.ex:77
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Pressure"
|
msgid "Pressure"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:92
|
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid"
|
msgid "Price paid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:58
|
#: lib/cannery_web/components/ammo_group_card.ex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid:"
|
msgid "Price paid:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
#: lib/cannery_web/live/ammo_type_live/index.ex:78
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Primer type"
|
msgid "Primer type"
|
||||||
@ -387,11 +383,6 @@ msgstr ""
|
|||||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Set Unlimited"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -419,6 +410,7 @@ msgid "Stored in"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:49
|
#: lib/cannery_web/components/topbar.ex:49
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:127
|
||||||
#: lib/cannery_web/live/tag_live/index.ex:32
|
#: lib/cannery_web/live/tag_live/index.ex:32
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -441,7 +433,7 @@ msgid "The self-hosted firearm tracker website"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:80
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Tracer"
|
msgid "Tracer"
|
||||||
@ -449,11 +441,12 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:36
|
#: lib/cannery_web/components/container_card.ex:45
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:14
|
#: lib/cannery_web/live/container_live/show.html.heex:14
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type:"
|
msgid "Type:"
|
||||||
@ -464,7 +457,7 @@ msgstr ""
|
|||||||
msgid "Users"
|
msgid "Users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:20
|
#: lib/cannery_web/components/invite_card.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Uses Left:"
|
msgid "Uses Left:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -490,7 +483,7 @@ msgid "No tags for this container"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:81
|
#: lib/cannery_web/components/topbar.ex:81
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:94
|
#: lib/cannery_web/live/ammo_group_live/index.ex:103
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -516,30 +509,18 @@ msgstr ""
|
|||||||
msgid "No ammo staged"
|
msgid "No ammo staged"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:31
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Stage for range"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:30
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Unstage from range"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:38
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:45
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Date (UTC)"
|
msgid "Date (UTC)"
|
||||||
@ -562,6 +543,7 @@ msgid "No shots recorded"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:25
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds left"
|
msgid "Rounds left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -582,8 +564,7 @@ msgstr ""
|
|||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
#: lib/cannery_web/live/ammo_group_live/index.ex:270
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:253
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -598,12 +579,12 @@ msgstr ""
|
|||||||
msgid "Shot log"
|
msgid "Shot log"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:59
|
#: lib/cannery_web/components/ammo_group_card.ex:63
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:145
|
#: lib/cannery_web/live/ammo_group_live/index.ex:154
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:118
|
#: lib/cannery_web/live/ammo_type_live/index.ex:179
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:110
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "$%{amount}"
|
msgid "$%{amount}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -614,35 +595,35 @@ msgid "Bimetal"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:57
|
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Jacket type"
|
msgid "Jacket type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:58
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Muzzle velocity"
|
msgid "Muzzle velocity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:61
|
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder grains per charge"
|
msgid "Powder grains per charge"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:59
|
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder type"
|
msgid "Powder type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:74
|
#: lib/cannery_web/live/ammo_type_live/index.ex:85
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "UPC"
|
msgid "UPC"
|
||||||
@ -664,18 +645,18 @@ msgstr ""
|
|||||||
msgid "New password"
|
msgid "New password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Stage"
|
msgid "Stage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Unstage"
|
msgid "Unstage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
#: lib/cannery_web/live/ammo_type_live/index.ex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Firing type"
|
msgid "Firing type"
|
||||||
@ -697,13 +678,14 @@ msgstr ""
|
|||||||
msgid "Edit %{name}"
|
msgid "Edit %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:46
|
#: lib/cannery_web/live/container_live/index.ex:65
|
||||||
#: lib/cannery_web/live/container_live/show.ex:107
|
#: lib/cannery_web/live/container_live/show.ex:107
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit %{name} tags"
|
msgid "Edit %{name} tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:54
|
#: lib/cannery_web/components/container_card.ex:63
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:32
|
#: lib/cannery_web/live/container_live/show.html.heex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds:"
|
msgid "Rounds:"
|
||||||
@ -714,13 +696,13 @@ msgstr ""
|
|||||||
msgid "Show %{name}"
|
msgid "Show %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
#: lib/cannery_web/live/ammo_type_live/index.ex:178
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:116
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:148
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No cost information"
|
msgid "No cost information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:93
|
#: lib/cannery_web/live/ammo_group_live/index.ex:102
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "% left"
|
msgid "% left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -750,21 +732,6 @@ msgstr ""
|
|||||||
msgid "Rounds used"
|
msgid "Rounds used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Current # of rounds:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:86
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total # of rounds"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total rounds shot:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Confirm your account"
|
msgid "Confirm your account"
|
||||||
@ -801,24 +768,24 @@ msgstr ""
|
|||||||
msgid "Copies"
|
msgid "Copies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:34
|
#: lib/cannery_web/live/ammo_type_live/index.ex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo types"
|
msgid "Ammo types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:96
|
#: lib/cannery_web/live/ammo_group_live/index.ex:105
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on"
|
msgid "Added on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:45
|
#: lib/cannery_web/components/ammo_group_card.ex:49
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:129
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -897,7 +864,8 @@ msgstr ""
|
|||||||
msgid "This ammo is not in a container"
|
msgid "This ammo is not in a container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:49
|
#: lib/cannery_web/components/container_card.ex:58
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:105
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:27
|
#: lib/cannery_web/live/container_live/show.html.heex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Packs:"
|
msgid "Packs:"
|
||||||
@ -919,29 +887,117 @@ msgstr ""
|
|||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:87
|
#: lib/cannery_web/components/ammo_group_card.ex:71
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total # of ammo"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:67
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Container:"
|
msgid "Container:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:126
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:23
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Show used"
|
msgid "Show used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
#: lib/cannery_web/live/ammo_group_live/index.ex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on"
|
msgid "Used up on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:51
|
#: lib/cannery_web/components/ammo_group_card.ex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on:"
|
msgid "Used up on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:206
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:19
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{percentage}%"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:97
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:126
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "View as table"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:127
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:108
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:122
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:113
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:103
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:33
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used up!"
|
||||||
|
msgstr ""
|
||||||
|
@ -12,6 +12,7 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=2\n"
|
"Plural-Forms: nplurals=2\n"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:50
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
@ -49,7 +50,7 @@ msgstr ""
|
|||||||
msgid "Create Invite"
|
msgid "Create Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Delete User"
|
msgid "Delete User"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -120,7 +121,7 @@ msgstr ""
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:46
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:53
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
||||||
@ -156,7 +157,7 @@ msgstr ""
|
|||||||
msgid "Why not get some ready to shoot?"
|
msgid "Why not get some ready to shoot?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:190
|
#: lib/cannery_web/live/ammo_group_live/index.ex:199
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:38
|
#: lib/cannery_web/live/range_live/index.html.heex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -212,3 +213,45 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add an ammo type first"
|
msgid "add an ammo type first"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Disable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Enable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Move ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Set Unlimited"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Show used"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Stage for range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unstage from range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Export Data as JSON"
|
||||||
|
msgstr ""
|
||||||
|
@ -39,13 +39,13 @@ msgid "Ammo"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:90
|
#: lib/cannery_web/live/ammo_group_live/index.ex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo type"
|
msgid "Ammo type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:88
|
#: lib/cannery_web/live/ammo_type_live/index.ex:137
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:106
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Average Price paid"
|
msgid "Average Price paid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -56,7 +56,7 @@ msgid "Background color"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:71
|
#: lib/cannery_web/live/ammo_type_live/index.ex:82
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Blank"
|
msgid "Blank"
|
||||||
@ -68,35 +68,35 @@ msgid "Brass"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:53
|
#: lib/cannery_web/live/ammo_type_live/index.ex:64
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet core"
|
msgid "Bullet core"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:52
|
#: lib/cannery_web/live/ammo_type_live/index.ex:63
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet type"
|
msgid "Bullet type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:55
|
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Caliber"
|
msgid "Caliber"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:54
|
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Cartridge"
|
msgid "Cartridge"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:56
|
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Case material"
|
msgid "Case material"
|
||||||
@ -104,32 +104,33 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:95
|
#: lib/cannery_web/live/ammo_group_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Container"
|
msgid "Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:57
|
#: lib/cannery_web/components/topbar.ex:57
|
||||||
#: lib/cannery_web/live/container_live/index.ex:36
|
#: lib/cannery_web/live/container_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:53
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:3
|
#: lib/cannery_web/live/container_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Containers"
|
msgid "Containers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
#: lib/cannery_web/live/ammo_type_live/index.ex:83
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Corrosive"
|
msgid "Corrosive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:91
|
#: lib/cannery_web/live/ammo_group_live/index.ex:100
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count"
|
msgid "Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:33
|
#: lib/cannery_web/components/ammo_group_card.ex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count:"
|
msgid "Count:"
|
||||||
@ -137,21 +138,17 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:122
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:30
|
#: lib/cannery_web/components/container_card.ex:39
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:8
|
#: lib/cannery_web/live/container_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description:"
|
msgid "Description:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Disable"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/home_live.ex:61
|
#: lib/cannery_web/live/home_live.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
@ -178,11 +175,6 @@ msgstr ""
|
|||||||
msgid "Edit Tag"
|
msgid "Edit Tag"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Enable"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Example bullet type abbreviations"
|
msgid "Example bullet type abbreviations"
|
||||||
@ -194,14 +186,14 @@ msgid "FMJ"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
#: lib/cannery_web/live/ammo_type_live/index.ex:76
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Grains"
|
msgid "Grains"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
#: lib/cannery_web/live/ammo_type_live/index.ex:81
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Incendiary"
|
msgid "Incendiary"
|
||||||
@ -212,7 +204,7 @@ msgstr ""
|
|||||||
msgid "Instance Information"
|
msgid "Instance Information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:25
|
#: lib/cannery_web/components/invite_card.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invite Disabled"
|
msgid "Invite Disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -236,11 +228,12 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:42
|
#: lib/cannery_web/components/container_card.ex:51
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:20
|
#: lib/cannery_web/live/container_live/show.html.heex:20
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location:"
|
msgid "Location:"
|
||||||
@ -252,7 +245,7 @@ msgid "Magazine, Clip, Ammo Box, etc"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:84
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Manufacturer"
|
msgid "Manufacturer"
|
||||||
@ -269,8 +262,9 @@ msgid "My cool ammo can"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:51
|
#: lib/cannery_web/live/ammo_type_live/index.ex:62
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:121
|
||||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -278,11 +272,13 @@ msgid "Name"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:31
|
#: lib/cannery_web/live/container_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -307,7 +303,7 @@ msgstr ""
|
|||||||
msgid "No Ammo Types"
|
msgid "No Ammo Types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:134
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:166
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -328,7 +324,7 @@ msgstr ""
|
|||||||
msgid "No tags"
|
msgid "No tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:30
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
||||||
@ -337,7 +333,7 @@ msgstr ""
|
|||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:39
|
#: lib/cannery_web/components/ammo_group_card.ex:43
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Notes:"
|
msgid "Notes:"
|
||||||
@ -349,25 +345,25 @@ msgid "On the bookshelf"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
#: lib/cannery_web/live/ammo_type_live/index.ex:77
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Pressure"
|
msgid "Pressure"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:92
|
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid"
|
msgid "Price paid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:58
|
#: lib/cannery_web/components/ammo_group_card.ex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid:"
|
msgid "Price paid:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
#: lib/cannery_web/live/ammo_type_live/index.ex:78
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Primer type"
|
msgid "Primer type"
|
||||||
@ -388,11 +384,6 @@ msgstr ""
|
|||||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Set Unlimited"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -420,6 +411,7 @@ msgid "Stored in"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:49
|
#: lib/cannery_web/components/topbar.ex:49
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:127
|
||||||
#: lib/cannery_web/live/tag_live/index.ex:32
|
#: lib/cannery_web/live/tag_live/index.ex:32
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -442,7 +434,7 @@ msgid "The self-hosted firearm tracker website"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:80
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Tracer"
|
msgid "Tracer"
|
||||||
@ -450,11 +442,12 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:36
|
#: lib/cannery_web/components/container_card.ex:45
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:14
|
#: lib/cannery_web/live/container_live/show.html.heex:14
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type:"
|
msgid "Type:"
|
||||||
@ -465,7 +458,7 @@ msgstr ""
|
|||||||
msgid "Users"
|
msgid "Users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:20
|
#: lib/cannery_web/components/invite_card.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Uses Left:"
|
msgid "Uses Left:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -491,7 +484,7 @@ msgid "No tags for this container"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:81
|
#: lib/cannery_web/components/topbar.ex:81
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:94
|
#: lib/cannery_web/live/ammo_group_live/index.ex:103
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -517,30 +510,18 @@ msgstr ""
|
|||||||
msgid "No ammo staged"
|
msgid "No ammo staged"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:31
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Stage for range"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:30
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Unstage from range"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:38
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:45
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Date (UTC)"
|
msgid "Date (UTC)"
|
||||||
@ -563,6 +544,7 @@ msgid "No shots recorded"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:25
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds left"
|
msgid "Rounds left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -583,8 +565,7 @@ msgstr ""
|
|||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
#: lib/cannery_web/live/ammo_group_live/index.ex:270
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:253
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -599,12 +580,12 @@ msgstr ""
|
|||||||
msgid "Shot log"
|
msgid "Shot log"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:59
|
#: lib/cannery_web/components/ammo_group_card.ex:63
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:145
|
#: lib/cannery_web/live/ammo_group_live/index.ex:154
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:118
|
#: lib/cannery_web/live/ammo_type_live/index.ex:179
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:110
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "$%{amount}"
|
msgid "$%{amount}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -615,35 +596,35 @@ msgid "Bimetal"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:57
|
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Jacket type"
|
msgid "Jacket type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:58
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Muzzle velocity"
|
msgid "Muzzle velocity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:61
|
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder grains per charge"
|
msgid "Powder grains per charge"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:59
|
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder type"
|
msgid "Powder type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:74
|
#: lib/cannery_web/live/ammo_type_live/index.ex:85
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "UPC"
|
msgid "UPC"
|
||||||
@ -665,18 +646,18 @@ msgstr ""
|
|||||||
msgid "New password"
|
msgid "New password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Stage"
|
msgid "Stage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Unstage"
|
msgid "Unstage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
#: lib/cannery_web/live/ammo_type_live/index.ex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Firing type"
|
msgid "Firing type"
|
||||||
@ -698,13 +679,14 @@ msgstr ""
|
|||||||
msgid "Edit %{name}"
|
msgid "Edit %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:46
|
#: lib/cannery_web/live/container_live/index.ex:65
|
||||||
#: lib/cannery_web/live/container_live/show.ex:107
|
#: lib/cannery_web/live/container_live/show.ex:107
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit %{name} tags"
|
msgid "Edit %{name} tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:54
|
#: lib/cannery_web/components/container_card.ex:63
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:32
|
#: lib/cannery_web/live/container_live/show.html.heex:32
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Rounds:"
|
msgid "Rounds:"
|
||||||
@ -715,13 +697,13 @@ msgstr ""
|
|||||||
msgid "Show %{name}"
|
msgid "Show %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
#: lib/cannery_web/live/ammo_type_live/index.ex:178
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:116
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:148
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No cost information"
|
msgid "No cost information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:93
|
#: lib/cannery_web/live/ammo_group_live/index.ex:102
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "% left"
|
msgid "% left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -751,21 +733,6 @@ msgstr ""
|
|||||||
msgid "Rounds used"
|
msgid "Rounds used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Current # of rounds:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:86
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total # of rounds"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total rounds shot:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Confirm your account"
|
msgid "Confirm your account"
|
||||||
@ -802,24 +769,24 @@ msgstr ""
|
|||||||
msgid "Copies"
|
msgid "Copies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:34
|
#: lib/cannery_web/live/ammo_type_live/index.ex:40
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Ammo types"
|
msgid "Ammo types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:96
|
#: lib/cannery_web/live/ammo_group_live/index.ex:105
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on"
|
msgid "Added on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:45
|
#: lib/cannery_web/components/ammo_group_card.ex:49
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:129
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -898,7 +865,8 @@ msgstr ""
|
|||||||
msgid "This ammo is not in a container"
|
msgid "This ammo is not in a container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:49
|
#: lib/cannery_web/components/container_card.ex:58
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:105
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:27
|
#: lib/cannery_web/live/container_live/show.html.heex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Packs:"
|
msgid "Packs:"
|
||||||
@ -920,29 +888,117 @@ msgstr ""
|
|||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:87
|
#: lib/cannery_web/components/ammo_group_card.ex:71
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
|
||||||
msgid "Total # of ammo"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:67
|
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Container:"
|
msgid "Container:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:126
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:23
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Show used"
|
msgid "Show used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
#: lib/cannery_web/live/ammo_group_live/index.ex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on"
|
msgid "Used up on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:51
|
#: lib/cannery_web/components/ammo_group_card.ex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on:"
|
msgid "Used up on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:206
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:19
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{percentage}%"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:97
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:126
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "View as table"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:127
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:108
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:122
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:113
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:103
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:33
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used up!"
|
||||||
|
msgstr ""
|
||||||
|
@ -15,13 +15,13 @@ msgstr ""
|
|||||||
msgid "Container must be empty before deleting"
|
msgid "Container must be empty before deleting"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:69
|
#: lib/cannery_web/live/container_live/index.ex:88
|
||||||
#: lib/cannery_web/live/container_live/show.ex:71
|
#: lib/cannery_web/live/container_live/show.ex:71
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not delete %{name}: %{error}"
|
msgid "Could not delete %{name}: %{error}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:57
|
#: lib/cannery_web/live/container_live/index.ex:76
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not find that container"
|
msgid "Could not find that container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -107,23 +107,23 @@ msgstr ""
|
|||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:130
|
#: lib/cannery/accounts/user.ex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "did not change"
|
msgid "did not change"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:151
|
#: lib/cannery/accounts/user.ex:159
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "does not match password"
|
msgid "does not match password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
## From Ecto.Changeset.put_change/3
|
## From Ecto.Changeset.put_change/3
|
||||||
#: lib/cannery/accounts/user.ex:188
|
#: lib/cannery/accounts/user.ex:196
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "is not valid"
|
msgid "is not valid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:84
|
#: lib/cannery/accounts/user.ex:92
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "must have the @ sign and no spaces"
|
msgid "must have the @ sign and no spaces"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -138,13 +138,13 @@ msgstr ""
|
|||||||
msgid "Tag could not be added"
|
msgid "Tag could not be added"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:115
|
#: lib/cannery/activity_log/shot_group.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be at least 1"
|
msgid "Count must be at least 1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:74
|
#: lib/cannery/activity_log/shot_group.ex:82
|
||||||
#: lib/cannery/activity_log/shot_group.ex:111
|
#: lib/cannery/activity_log/shot_group.ex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be less than %{count}"
|
msgid "Count must be less than %{count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -160,27 +160,32 @@ msgstr ""
|
|||||||
msgid "Tag could not be removed"
|
msgid "Tag could not be removed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:156
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not parse number of copies"
|
msgid "Could not parse number of copies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:141
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/ammo.ex:535
|
#: lib/cannery/ammo.ex:587
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid multiplier"
|
msgid "Invalid multiplier"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/ammo/ammo_group.ex:84
|
#: lib/cannery/ammo/ammo_group.ex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select an ammo type and container"
|
msgid "Please select an ammo type and container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:69
|
#: lib/cannery/activity_log/shot_group.ex:77
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -11,15 +11,15 @@ msgstr ""
|
|||||||
"Language: en\n"
|
"Language: en\n"
|
||||||
"Plural-Forms: nplurals=2\n"
|
"Plural-Forms: nplurals=2\n"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:85
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:86
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:85
|
#: lib/cannery_web/live/container_live/form_component.ex:89
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:41
|
#: lib/cannery_web/live/ammo_type_live/index.ex:47
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:53
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:133
|
#: lib/cannery_web/live/invite_live/index.ex:133
|
||||||
@ -38,7 +38,7 @@ msgstr ""
|
|||||||
msgid "%{name} enabled succesfully"
|
msgid "%{name} enabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:62
|
#: lib/cannery_web/live/container_live/index.ex:81
|
||||||
#: lib/cannery_web/live/container_live/show.ex:61
|
#: lib/cannery_web/live/container_live/show.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} has been deleted"
|
msgid "%{name} has been deleted"
|
||||||
@ -50,7 +50,7 @@ msgid "%{name} updated succesfully"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:67
|
#: lib/cannery_web/live/container_live/form_component.ex:70
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -62,7 +62,7 @@ msgstr ""
|
|||||||
msgid "A link to confirm your email change has been sent to the new address."
|
msgid "A link to confirm your email change has been sent to the new address."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:64
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -73,7 +73,8 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:48
|
#: lib/cannery_web/live/container_live/index.ex:223
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:73
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:51
|
#: lib/cannery_web/live/container_live/show.html.heex:51
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -85,13 +86,13 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to delete the invite for %{name}?"
|
msgid "Are you sure you want to delete the invite for %{name}?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:225
|
#: lib/cannery_web/live/ammo_group_live/index.ex:242
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this ammo?"
|
msgid "Are you sure you want to delete this ammo?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:146
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:155
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete your account?"
|
msgid "Are you sure you want to delete your account?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -146,7 +147,7 @@ msgstr ""
|
|||||||
msgid "Register to setup %{name}"
|
msgid "Register to setup %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:48
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:55
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
||||||
@ -193,7 +194,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:184
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -265,14 +266,14 @@ msgstr ""
|
|||||||
msgid "Ammo updated successfully"
|
msgid "Ammo updated successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:177
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:178
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Ammo added successfully"
|
msgid "Ammo added successfully"
|
||||||
msgid_plural "Ammo added successfully"
|
msgid_plural "Ammo added successfully"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:163
|
#: lib/cannery_web/live/ammo_type_live/index.ex:232
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
||||||
|
@ -15,13 +15,13 @@ msgstr ""
|
|||||||
msgid "Container must be empty before deleting"
|
msgid "Container must be empty before deleting"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:69
|
#: lib/cannery_web/live/container_live/index.ex:88
|
||||||
#: lib/cannery_web/live/container_live/show.ex:71
|
#: lib/cannery_web/live/container_live/show.ex:71
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not delete %{name}: %{error}"
|
msgid "Could not delete %{name}: %{error}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:57
|
#: lib/cannery_web/live/container_live/index.ex:76
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not find that container"
|
msgid "Could not find that container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -107,22 +107,22 @@ msgstr ""
|
|||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:130
|
#: lib/cannery/accounts/user.ex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "did not change"
|
msgid "did not change"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:151
|
#: lib/cannery/accounts/user.ex:159
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "does not match password"
|
msgid "does not match password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:188
|
#: lib/cannery/accounts/user.ex:196
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "is not valid"
|
msgid "is not valid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:84
|
#: lib/cannery/accounts/user.ex:92
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "must have the @ sign and no spaces"
|
msgid "must have the @ sign and no spaces"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -137,13 +137,13 @@ msgstr ""
|
|||||||
msgid "Tag could not be added"
|
msgid "Tag could not be added"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:115
|
#: lib/cannery/activity_log/shot_group.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be at least 1"
|
msgid "Count must be at least 1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:74
|
#: lib/cannery/activity_log/shot_group.ex:82
|
||||||
#: lib/cannery/activity_log/shot_group.ex:111
|
#: lib/cannery/activity_log/shot_group.ex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be less than %{count}"
|
msgid "Count must be less than %{count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -159,27 +159,32 @@ msgstr ""
|
|||||||
msgid "Tag could not be removed"
|
msgid "Tag could not be removed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:156
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not parse number of copies"
|
msgid "Could not parse number of copies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:141
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/ammo.ex:535
|
#: lib/cannery/ammo.ex:587
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid multiplier"
|
msgid "Invalid multiplier"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/ammo/ammo_group.ex:84
|
#: lib/cannery/ammo/ammo_group.ex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select an ammo type and container"
|
msgid "Please select an ammo type and container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:69
|
#: lib/cannery/activity_log/shot_group.ex:77
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -24,6 +24,7 @@ msgstr ""
|
|||||||
## date. Leave "msgstr"s empty as changing them here has no
|
## date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:50
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
@ -61,7 +62,7 @@ msgstr "Cambiar contraseña"
|
|||||||
msgid "Create Invite"
|
msgid "Create Invite"
|
||||||
msgstr "Crear Invitación"
|
msgstr "Crear Invitación"
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Delete User"
|
msgid "Delete User"
|
||||||
msgstr "Eliminar cuenta de Usuario"
|
msgstr "Eliminar cuenta de Usuario"
|
||||||
@ -132,7 +133,7 @@ msgstr ""
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:46
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:53
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
||||||
@ -168,7 +169,7 @@ msgstr ""
|
|||||||
msgid "Why not get some ready to shoot?"
|
msgid "Why not get some ready to shoot?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:190
|
#: lib/cannery_web/live/ammo_group_live/index.ex:199
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:38
|
#: lib/cannery_web/live/range_live/index.html.heex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -224,3 +225,45 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add an ammo type first"
|
msgid "add an ammo type first"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Disable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Enable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Move ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Set Unlimited"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Show used"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Stage for range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unstage from range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Export Data as JSON"
|
||||||
|
msgstr ""
|
||||||
|
@ -53,13 +53,13 @@ msgid "Ammo"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:90
|
#: lib/cannery_web/live/ammo_group_live/index.ex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo type"
|
msgid "Ammo type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:88
|
#: lib/cannery_web/live/ammo_type_live/index.ex:137
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:106
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Average Price paid"
|
msgid "Average Price paid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -70,7 +70,7 @@ msgid "Background color"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:71
|
#: lib/cannery_web/live/ammo_type_live/index.ex:82
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Blank"
|
msgid "Blank"
|
||||||
@ -82,35 +82,35 @@ msgid "Brass"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:53
|
#: lib/cannery_web/live/ammo_type_live/index.ex:64
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet core"
|
msgid "Bullet core"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:52
|
#: lib/cannery_web/live/ammo_type_live/index.ex:63
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet type"
|
msgid "Bullet type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:55
|
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Caliber"
|
msgid "Caliber"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:54
|
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Cartridge"
|
msgid "Cartridge"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:56
|
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Case material"
|
msgid "Case material"
|
||||||
@ -118,32 +118,33 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:95
|
#: lib/cannery_web/live/ammo_group_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Container"
|
msgid "Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:57
|
#: lib/cannery_web/components/topbar.ex:57
|
||||||
#: lib/cannery_web/live/container_live/index.ex:36
|
#: lib/cannery_web/live/container_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:53
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:3
|
#: lib/cannery_web/live/container_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Containers"
|
msgid "Containers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
#: lib/cannery_web/live/ammo_type_live/index.ex:83
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Corrosive"
|
msgid "Corrosive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:91
|
#: lib/cannery_web/live/ammo_group_live/index.ex:100
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count"
|
msgid "Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:33
|
#: lib/cannery_web/components/ammo_group_card.ex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count:"
|
msgid "Count:"
|
||||||
@ -151,21 +152,17 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:122
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:30
|
#: lib/cannery_web/components/container_card.ex:39
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:8
|
#: lib/cannery_web/live/container_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description:"
|
msgid "Description:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Disable"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/home_live.ex:61
|
#: lib/cannery_web/live/home_live.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
@ -192,11 +189,6 @@ msgstr ""
|
|||||||
msgid "Edit Tag"
|
msgid "Edit Tag"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Enable"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Example bullet type abbreviations"
|
msgid "Example bullet type abbreviations"
|
||||||
@ -208,14 +200,14 @@ msgid "FMJ"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
#: lib/cannery_web/live/ammo_type_live/index.ex:76
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Grains"
|
msgid "Grains"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
#: lib/cannery_web/live/ammo_type_live/index.ex:81
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Incendiary"
|
msgid "Incendiary"
|
||||||
@ -226,7 +218,7 @@ msgstr ""
|
|||||||
msgid "Instance Information"
|
msgid "Instance Information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:25
|
#: lib/cannery_web/components/invite_card.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invite Disabled"
|
msgid "Invite Disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -250,11 +242,12 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:42
|
#: lib/cannery_web/components/container_card.ex:51
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:20
|
#: lib/cannery_web/live/container_live/show.html.heex:20
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location:"
|
msgid "Location:"
|
||||||
@ -266,7 +259,7 @@ msgid "Magazine, Clip, Ammo Box, etc"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:84
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Manufacturer"
|
msgid "Manufacturer"
|
||||||
@ -283,8 +276,9 @@ msgid "My cool ammo can"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:51
|
#: lib/cannery_web/live/ammo_type_live/index.ex:62
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:121
|
||||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -292,11 +286,13 @@ msgid "Name"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:31
|
#: lib/cannery_web/live/container_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -321,7 +317,7 @@ msgstr ""
|
|||||||
msgid "No Ammo Types"
|
msgid "No Ammo Types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:134
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:166
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -342,7 +338,7 @@ msgstr ""
|
|||||||
msgid "No tags"
|
msgid "No tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:30
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
||||||
@ -351,7 +347,7 @@ msgstr ""
|
|||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:39
|
#: lib/cannery_web/components/ammo_group_card.ex:43
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Notes:"
|
msgid "Notes:"
|
||||||
@ -363,25 +359,25 @@ msgid "On the bookshelf"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
#: lib/cannery_web/live/ammo_type_live/index.ex:77
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Pressure"
|
msgid "Pressure"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:92
|
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid"
|
msgid "Price paid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:58
|
#: lib/cannery_web/components/ammo_group_card.ex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid:"
|
msgid "Price paid:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
#: lib/cannery_web/live/ammo_type_live/index.ex:78
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Primer type"
|
msgid "Primer type"
|
||||||
@ -402,11 +398,6 @@ msgstr ""
|
|||||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Set Unlimited"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -434,6 +425,7 @@ msgid "Stored in"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:49
|
#: lib/cannery_web/components/topbar.ex:49
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:127
|
||||||
#: lib/cannery_web/live/tag_live/index.ex:32
|
#: lib/cannery_web/live/tag_live/index.ex:32
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -456,7 +448,7 @@ msgid "The self-hosted firearm tracker website"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:80
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Tracer"
|
msgid "Tracer"
|
||||||
@ -464,11 +456,12 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:36
|
#: lib/cannery_web/components/container_card.ex:45
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:14
|
#: lib/cannery_web/live/container_live/show.html.heex:14
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type:"
|
msgid "Type:"
|
||||||
@ -479,7 +472,7 @@ msgstr ""
|
|||||||
msgid "Users"
|
msgid "Users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:20
|
#: lib/cannery_web/components/invite_card.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Uses Left:"
|
msgid "Uses Left:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -505,7 +498,7 @@ msgid "No tags for this container"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:81
|
#: lib/cannery_web/components/topbar.ex:81
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:94
|
#: lib/cannery_web/live/ammo_group_live/index.ex:103
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -531,30 +524,18 @@ msgstr ""
|
|||||||
msgid "No ammo staged"
|
msgid "No ammo staged"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:31
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Stage for range"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:30
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Unstage from range"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:38
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:45
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Date (UTC)"
|
msgid "Date (UTC)"
|
||||||
@ -577,6 +558,7 @@ msgid "No shots recorded"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:25
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds left"
|
msgid "Rounds left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -597,8 +579,7 @@ msgstr ""
|
|||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
#: lib/cannery_web/live/ammo_group_live/index.ex:270
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:253
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -613,12 +594,12 @@ msgstr ""
|
|||||||
msgid "Shot log"
|
msgid "Shot log"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:59
|
#: lib/cannery_web/components/ammo_group_card.ex:63
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:145
|
#: lib/cannery_web/live/ammo_group_live/index.ex:154
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:118
|
#: lib/cannery_web/live/ammo_type_live/index.ex:179
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:110
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "$%{amount}"
|
msgid "$%{amount}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -629,35 +610,35 @@ msgid "Bimetal"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:57
|
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Jacket type"
|
msgid "Jacket type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:58
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Muzzle velocity"
|
msgid "Muzzle velocity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:61
|
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder grains per charge"
|
msgid "Powder grains per charge"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:59
|
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder type"
|
msgid "Powder type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:74
|
#: lib/cannery_web/live/ammo_type_live/index.ex:85
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "UPC"
|
msgid "UPC"
|
||||||
@ -679,18 +660,18 @@ msgstr ""
|
|||||||
msgid "New password"
|
msgid "New password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Stage"
|
msgid "Stage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Unstage"
|
msgid "Unstage"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
#: lib/cannery_web/live/ammo_type_live/index.ex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Firing type"
|
msgid "Firing type"
|
||||||
@ -712,13 +693,14 @@ msgstr ""
|
|||||||
msgid "Edit %{name}"
|
msgid "Edit %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:46
|
#: lib/cannery_web/live/container_live/index.ex:65
|
||||||
#: lib/cannery_web/live/container_live/show.ex:107
|
#: lib/cannery_web/live/container_live/show.ex:107
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit %{name} tags"
|
msgid "Edit %{name} tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:54
|
#: lib/cannery_web/components/container_card.ex:63
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:32
|
#: lib/cannery_web/live/container_live/show.html.heex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds:"
|
msgid "Rounds:"
|
||||||
@ -729,13 +711,13 @@ msgstr ""
|
|||||||
msgid "Show %{name}"
|
msgid "Show %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
#: lib/cannery_web/live/ammo_type_live/index.ex:178
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:116
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:148
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No cost information"
|
msgid "No cost information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:93
|
#: lib/cannery_web/live/ammo_group_live/index.ex:102
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "% left"
|
msgid "% left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -765,21 +747,6 @@ msgstr ""
|
|||||||
msgid "Rounds used"
|
msgid "Rounds used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Current # of rounds:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:86
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total # of rounds"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total rounds shot:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Confirm your account"
|
msgid "Confirm your account"
|
||||||
@ -816,24 +783,24 @@ msgstr ""
|
|||||||
msgid "Copies"
|
msgid "Copies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:34
|
#: lib/cannery_web/live/ammo_type_live/index.ex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo types"
|
msgid "Ammo types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:96
|
#: lib/cannery_web/live/ammo_group_live/index.ex:105
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on"
|
msgid "Added on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:45
|
#: lib/cannery_web/components/ammo_group_card.ex:49
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:129
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -912,7 +879,8 @@ msgstr ""
|
|||||||
msgid "This ammo is not in a container"
|
msgid "This ammo is not in a container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:49
|
#: lib/cannery_web/components/container_card.ex:58
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:105
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:27
|
#: lib/cannery_web/live/container_live/show.html.heex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Packs:"
|
msgid "Packs:"
|
||||||
@ -934,29 +902,117 @@ msgstr ""
|
|||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:87
|
#: lib/cannery_web/components/ammo_group_card.ex:71
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
|
||||||
msgid "Total # of ammo"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:67
|
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Container:"
|
msgid "Container:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:126
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:23
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Show used"
|
msgid "Show used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
#: lib/cannery_web/live/ammo_group_live/index.ex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on"
|
msgid "Used up on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:51
|
#: lib/cannery_web/components/ammo_group_card.ex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on:"
|
msgid "Used up on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:206
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:19
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{percentage}%"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:97
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:126
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "View as table"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:127
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:108
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:122
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:113
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:103
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:33
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used up!"
|
||||||
|
msgstr ""
|
||||||
|
@ -28,13 +28,13 @@ msgstr ""
|
|||||||
msgid "Container must be empty before deleting"
|
msgid "Container must be empty before deleting"
|
||||||
msgstr "el Contenedor debe estar vació antes de borrarlo"
|
msgstr "el Contenedor debe estar vació antes de borrarlo"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:69
|
#: lib/cannery_web/live/container_live/index.ex:88
|
||||||
#: lib/cannery_web/live/container_live/show.ex:71
|
#: lib/cannery_web/live/container_live/show.ex:71
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not delete %{name}: %{error}"
|
msgid "Could not delete %{name}: %{error}"
|
||||||
msgstr "No se pudo eliminar %{name}: %{error}"
|
msgstr "No se pudo eliminar %{name}: %{error}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:57
|
#: lib/cannery_web/live/container_live/index.ex:76
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not find that container"
|
msgid "Could not find that container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -123,22 +123,22 @@ msgstr ""
|
|||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:130
|
#: lib/cannery/accounts/user.ex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "did not change"
|
msgid "did not change"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:151
|
#: lib/cannery/accounts/user.ex:159
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "does not match password"
|
msgid "does not match password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:188
|
#: lib/cannery/accounts/user.ex:196
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "is not valid"
|
msgid "is not valid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:84
|
#: lib/cannery/accounts/user.ex:92
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "must have the @ sign and no spaces"
|
msgid "must have the @ sign and no spaces"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -153,13 +153,13 @@ msgstr ""
|
|||||||
msgid "Tag could not be added"
|
msgid "Tag could not be added"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:115
|
#: lib/cannery/activity_log/shot_group.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be at least 1"
|
msgid "Count must be at least 1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:74
|
#: lib/cannery/activity_log/shot_group.ex:82
|
||||||
#: lib/cannery/activity_log/shot_group.ex:111
|
#: lib/cannery/activity_log/shot_group.ex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be less than %{count}"
|
msgid "Count must be less than %{count}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -175,27 +175,32 @@ msgstr ""
|
|||||||
msgid "Tag could not be removed"
|
msgid "Tag could not be removed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:156
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not parse number of copies"
|
msgid "Could not parse number of copies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:141
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/ammo.ex:535
|
#: lib/cannery/ammo.ex:587
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid multiplier"
|
msgid "Invalid multiplier"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/ammo/ammo_group.ex:84
|
#: lib/cannery/ammo/ammo_group.ex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select an ammo type and container"
|
msgid "Please select an ammo type and container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:69
|
#: lib/cannery/activity_log/shot_group.ex:77
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
||||||
|
@ -23,15 +23,15 @@ msgstr ""
|
|||||||
## Run "mix gettext.extract" to bring this file up to
|
## Run "mix gettext.extract" to bring this file up to
|
||||||
## date. Leave "msgstr"s empty as changing them here has no
|
## date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:85
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:86
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:85
|
#: lib/cannery_web/live/container_live/form_component.ex:89
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr "%{name} creado exitosamente"
|
msgstr "%{name} creado exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:41
|
#: lib/cannery_web/live/ammo_type_live/index.ex:47
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:53
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:133
|
#: lib/cannery_web/live/invite_live/index.ex:133
|
||||||
@ -50,7 +50,7 @@ msgstr "%{name} desactivado exitosamente"
|
|||||||
msgid "%{name} enabled succesfully"
|
msgid "%{name} enabled succesfully"
|
||||||
msgstr "%{name} activado exitosamente"
|
msgstr "%{name} activado exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:62
|
#: lib/cannery_web/live/container_live/index.ex:81
|
||||||
#: lib/cannery_web/live/container_live/show.ex:61
|
#: lib/cannery_web/live/container_live/show.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} has been deleted"
|
msgid "%{name} has been deleted"
|
||||||
@ -62,7 +62,7 @@ msgid "%{name} updated succesfully"
|
|||||||
msgstr "%{name} actualizado exitosamente"
|
msgstr "%{name} actualizado exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:67
|
#: lib/cannery_web/live/container_live/form_component.ex:70
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -76,7 +76,7 @@ msgstr ""
|
|||||||
"Un enlace para confirmar el correo electrónico ha sido enviado a la nueva "
|
"Un enlace para confirmar el correo electrónico ha sido enviado a la nueva "
|
||||||
"dirección."
|
"dirección."
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:64
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr "Grupo de Munición borrado exitosamente"
|
msgstr "Grupo de Munición borrado exitosamente"
|
||||||
@ -87,7 +87,8 @@ msgstr "Grupo de Munición borrado exitosamente"
|
|||||||
msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
||||||
msgstr "Está seguro que desea eliminar %{email}? Esta acción es permanente!"
|
msgstr "Está seguro que desea eliminar %{email}? Esta acción es permanente!"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:48
|
#: lib/cannery_web/live/container_live/index.ex:223
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:73
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:51
|
#: lib/cannery_web/live/container_live/show.html.heex:51
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -99,13 +100,13 @@ msgstr "Está seguro que desea eliminar %{name}?"
|
|||||||
msgid "Are you sure you want to delete the invite for %{name}?"
|
msgid "Are you sure you want to delete the invite for %{name}?"
|
||||||
msgstr "Está seguro que quiere eliminar la invitación para %{name}?"
|
msgstr "Está seguro que quiere eliminar la invitación para %{name}?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:225
|
#: lib/cannery_web/live/ammo_group_live/index.ex:242
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this ammo?"
|
msgid "Are you sure you want to delete this ammo?"
|
||||||
msgstr "Está seguro que desea eliminar esta munición?"
|
msgstr "Está seguro que desea eliminar esta munición?"
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:146
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:155
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete your account?"
|
msgid "Are you sure you want to delete your account?"
|
||||||
msgstr "Está seguro que desea eliminar su cuenta?"
|
msgstr "Está seguro que desea eliminar su cuenta?"
|
||||||
@ -164,7 +165,7 @@ msgstr "Por favor chequea el correo para verificar tu cuenta"
|
|||||||
msgid "Register to setup %{name}"
|
msgid "Register to setup %{name}"
|
||||||
msgstr "Regístrese para configurar %{name}"
|
msgstr "Regístrese para configurar %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:48
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:55
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
||||||
@ -212,7 +213,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr "Está seguro que desea desmontar esta munición?"
|
msgstr "Está seguro que desea desmontar esta munición?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:184
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -284,14 +285,14 @@ msgstr ""
|
|||||||
msgid "Ammo updated successfully"
|
msgid "Ammo updated successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:177
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:178
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Ammo added successfully"
|
msgid "Ammo added successfully"
|
||||||
msgid_plural "Ammo added successfully"
|
msgid_plural "Ammo added successfully"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:163
|
#: lib/cannery_web/live/ammo_type_live/index.ex:232
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
||||||
|
@ -14,16 +14,17 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||||
"X-Generator: Weblate 4.12.1\n"
|
"X-Generator: Weblate 4.12.1\n"
|
||||||
|
|
||||||
## This file is a PO Template file.
|
# # This file is a PO Template file.
|
||||||
##
|
# #
|
||||||
## "msgid"s here are often extracted from source code.
|
# # "msgid"s here are often extracted from source code.
|
||||||
## Add new translations manually only if they're dynamic
|
# # Add new translations manually only if they're dynamic
|
||||||
## translations that can't be statically extracted.
|
# # translations that can't be statically extracted.
|
||||||
##
|
# #
|
||||||
## Run "mix gettext.extract" to bring this file up to
|
# # Run "mix gettext.extract" to bring this file up to
|
||||||
## date. Leave "msgstr"s empty as changing them here has no
|
# # date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
# # effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:50
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Add Ammo"
|
msgid "Add Ammo"
|
||||||
@ -61,7 +62,7 @@ msgstr "Changer le mot de passe"
|
|||||||
msgid "Create Invite"
|
msgid "Create Invite"
|
||||||
msgstr "Créer une invitation"
|
msgstr "Créer une invitation"
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Delete User"
|
msgid "Delete User"
|
||||||
msgstr "Supprimer utilisateur"
|
msgstr "Supprimer utilisateur"
|
||||||
@ -132,7 +133,7 @@ msgstr "Renvoyer les instructions de confirmation"
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr "Réinitialisé le mot de passe"
|
msgstr "Réinitialisé le mot de passe"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:46
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:53
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
||||||
@ -168,7 +169,7 @@ msgstr "Munition préparée"
|
|||||||
msgid "Why not get some ready to shoot?"
|
msgid "Why not get some ready to shoot?"
|
||||||
msgstr "Pourquoi pas en préparer pour tirer ?"
|
msgstr "Pourquoi pas en préparer pour tirer ?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:190
|
#: lib/cannery_web/live/ammo_group_live/index.ex:199
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:38
|
#: lib/cannery_web/live/range_live/index.html.heex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -218,9 +219,51 @@ msgstr "Changer la langue"
|
|||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:60
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:60
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "View in Catalog"
|
msgid "View in Catalog"
|
||||||
msgstr ""
|
msgstr "Voir en catalogue"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:31
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:31
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "add an ammo type first"
|
msgid "add an ammo type first"
|
||||||
|
msgstr "Ajoutez d'abord un type de munitions"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Disable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Enable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Move ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Set Unlimited"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Show used"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Stage for range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unstage from range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Export Data as JSON"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -14,15 +14,15 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||||
"X-Generator: Weblate 4.12.2\n"
|
"X-Generator: Weblate 4.12.2\n"
|
||||||
|
|
||||||
## This file is a PO Template file.
|
# # This file is a PO Template file.
|
||||||
##
|
# #
|
||||||
## "msgid"s here are often extracted from source code.
|
# # "msgid"s here are often extracted from source code.
|
||||||
## Add new translations manually only if they're dynamic
|
# # Add new translations manually only if they're dynamic
|
||||||
## translations that can't be statically extracted.
|
# # translations that can't be statically extracted.
|
||||||
##
|
# #
|
||||||
## Run "mix gettext.extract" to bring this file up to
|
# # Run "mix gettext.extract" to bring this file up to
|
||||||
## date. Leave "msgstr"s empty as changing them here has no
|
# # date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
# # effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery_web/live/home_live.ex:64
|
#: lib/cannery_web/live/home_live.ex:64
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
msgid "%{name} lets you easily keep an eye on your ammo levels before and after range day"
|
||||||
@ -53,13 +53,13 @@ msgid "Ammo"
|
|||||||
msgstr "Munition"
|
msgstr "Munition"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:21
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:90
|
#: lib/cannery_web/live/ammo_group_live/index.ex:99
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo type"
|
msgid "Ammo type"
|
||||||
msgstr "Type de munition"
|
msgstr "Type de munition"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:88
|
#: lib/cannery_web/live/ammo_type_live/index.ex:137
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:106
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Average Price paid"
|
msgid "Average Price paid"
|
||||||
msgstr "Prix acheté moyen"
|
msgstr "Prix acheté moyen"
|
||||||
@ -70,7 +70,7 @@ msgid "Background color"
|
|||||||
msgstr "Couleur de fond"
|
msgstr "Couleur de fond"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:140
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:71
|
#: lib/cannery_web/live/ammo_type_live/index.ex:82
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Blank"
|
msgid "Blank"
|
||||||
@ -82,35 +82,35 @@ msgid "Brass"
|
|||||||
msgstr "Cuivre"
|
msgstr "Cuivre"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:53
|
#: lib/cannery_web/live/ammo_type_live/index.ex:64
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:45
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet core"
|
msgid "Bullet core"
|
||||||
msgstr "Noyau de balle"
|
msgstr "Noyau de balle"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:52
|
#: lib/cannery_web/live/ammo_type_live/index.ex:63
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Bullet type"
|
msgid "Bullet type"
|
||||||
msgstr "Type de balle"
|
msgstr "Type de balle"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:58
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:55
|
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Caliber"
|
msgid "Caliber"
|
||||||
msgstr "Calibre"
|
msgstr "Calibre"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:54
|
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:46
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Cartridge"
|
msgid "Cartridge"
|
||||||
msgstr "Cartouche"
|
msgstr "Cartouche"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:65
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:56
|
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Case material"
|
msgid "Case material"
|
||||||
@ -118,32 +118,33 @@ msgstr "Matériau de la caisse"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
#: lib/cannery_web/components/move_ammo_group_component.ex:67
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:95
|
#: lib/cannery_web/live/ammo_group_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Container"
|
msgid "Container"
|
||||||
msgstr "Conteneur"
|
msgstr "Conteneur"
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:57
|
#: lib/cannery_web/components/topbar.ex:57
|
||||||
#: lib/cannery_web/live/container_live/index.ex:36
|
#: lib/cannery_web/live/container_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:53
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:3
|
#: lib/cannery_web/live/container_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Containers"
|
msgid "Containers"
|
||||||
msgstr "Conteneurs"
|
msgstr "Conteneurs"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:144
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
#: lib/cannery_web/live/ammo_type_live/index.ex:83
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:60
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Corrosive"
|
msgid "Corrosive"
|
||||||
msgstr "Corrosive"
|
msgstr "Corrosive"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:27
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:91
|
#: lib/cannery_web/live/ammo_group_live/index.ex:100
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count"
|
msgid "Count"
|
||||||
msgstr "Quantité"
|
msgstr "Quantité"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:33
|
#: lib/cannery_web/components/ammo_group_card.ex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count:"
|
msgid "Count:"
|
||||||
@ -151,21 +152,17 @@ msgstr "Quantité :"
|
|||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:24
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
#: lib/cannery_web/live/container_live/form_component.html.heex:27
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:122
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr "Description"
|
msgstr "Description"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:30
|
#: lib/cannery_web/components/container_card.ex:39
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:8
|
#: lib/cannery_web/live/container_live/show.html.heex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Description:"
|
msgid "Description:"
|
||||||
msgstr "Description :"
|
msgstr "Description :"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Disable"
|
|
||||||
msgstr "Désactiver"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/home_live.ex:61
|
#: lib/cannery_web/live/home_live.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
@ -192,11 +189,6 @@ msgstr "Modifier l’invitation"
|
|||||||
msgid "Edit Tag"
|
msgid "Edit Tag"
|
||||||
msgstr "Modifier le tag"
|
msgstr "Modifier le tag"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Enable"
|
|
||||||
msgstr "Activer"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Example bullet type abbreviations"
|
msgid "Example bullet type abbreviations"
|
||||||
@ -208,14 +200,14 @@ msgid "FMJ"
|
|||||||
msgstr "FMJ"
|
msgstr "FMJ"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:103
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:65
|
#: lib/cannery_web/live/ammo_type_live/index.ex:76
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Grains"
|
msgid "Grains"
|
||||||
msgstr "Graines"
|
msgstr "Graines"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:136
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
#: lib/cannery_web/live/ammo_type_live/index.ex:81
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:58
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Incendiary"
|
msgid "Incendiary"
|
||||||
@ -226,7 +218,7 @@ msgstr "Incendiaire"
|
|||||||
msgid "Instance Information"
|
msgid "Instance Information"
|
||||||
msgstr "Information de l’instance"
|
msgstr "Information de l’instance"
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:25
|
#: lib/cannery_web/components/invite_card.ex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invite Disabled"
|
msgid "Invite Disabled"
|
||||||
msgstr "Invitation désactivée"
|
msgstr "Invitation désactivée"
|
||||||
@ -250,11 +242,12 @@ msgstr "Me garder authentifié durant 60 jours"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
#: lib/cannery_web/components/move_ammo_group_component.ex:69
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
#: lib/cannery_web/live/container_live/form_component.html.heex:42
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr "Localisation"
|
msgstr "Localisation"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:42
|
#: lib/cannery_web/components/container_card.ex:51
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:20
|
#: lib/cannery_web/live/container_live/show.html.heex:20
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Location:"
|
msgid "Location:"
|
||||||
@ -266,7 +259,7 @@ msgid "Magazine, Clip, Ammo Box, etc"
|
|||||||
msgstr "Chargeur, lame-chargeur, boite de munition, etc."
|
msgstr "Chargeur, lame-chargeur, boite de munition, etc."
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:148
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:73
|
#: lib/cannery_web/live/ammo_type_live/index.ex:84
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Manufacturer"
|
msgid "Manufacturer"
|
||||||
@ -283,8 +276,9 @@ msgid "My cool ammo can"
|
|||||||
msgstr "Ma superbe boite de munition"
|
msgstr "Ma superbe boite de munition"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:51
|
#: lib/cannery_web/live/ammo_type_live/index.ex:62
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
#: lib/cannery_web/live/container_live/form_component.html.heex:20
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:121
|
||||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:20
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
#: lib/cannery_web/live/tag_live/form_component.ex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -292,11 +286,13 @@ msgid "Name"
|
|||||||
msgstr "Nom"
|
msgstr "Nom"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
#: lib/cannery_web/live/ammo_type_live/index.ex:29
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:35
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Ammo type"
|
msgid "New Ammo type"
|
||||||
msgstr "Nouveau type de munition"
|
msgstr "Nouveau type de munition"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:31
|
#: lib/cannery_web/live/container_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:38
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr "Nouveau conteneur"
|
msgstr "Nouveau conteneur"
|
||||||
@ -321,7 +317,7 @@ msgstr "Aucune munition"
|
|||||||
msgid "No Ammo Types"
|
msgid "No Ammo Types"
|
||||||
msgstr "Aucun type de munition"
|
msgstr "Aucun type de munition"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:134
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:166
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No ammo for this type"
|
msgid "No ammo for this type"
|
||||||
msgstr "Aucune munition pour ce type"
|
msgstr "Aucune munition pour ce type"
|
||||||
@ -342,7 +338,7 @@ msgstr "Aucune invitation"
|
|||||||
msgid "No tags"
|
msgid "No tags"
|
||||||
msgstr "Aucun tag"
|
msgstr "Aucun tag"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:30
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:41
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
#: lib/cannery_web/live/ammo_group_live/show.ex:88
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
#: lib/cannery_web/live/range_live/form_component.html.heex:29
|
||||||
@ -351,7 +347,7 @@ msgstr "Aucun tag"
|
|||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr "Notes"
|
msgstr "Notes"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:39
|
#: lib/cannery_web/components/ammo_group_card.ex:43
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:24
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Notes:"
|
msgid "Notes:"
|
||||||
@ -363,25 +359,25 @@ msgid "On the bookshelf"
|
|||||||
msgstr "Sur l’étagère"
|
msgstr "Sur l’étagère"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:111
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:66
|
#: lib/cannery_web/live/ammo_type_live/index.ex:77
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:54
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Pressure"
|
msgid "Pressure"
|
||||||
msgstr "Pression"
|
msgstr "Pression"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:34
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:92
|
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid"
|
msgid "Price paid"
|
||||||
msgstr "Prix payé"
|
msgstr "Prix payé"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:58
|
#: lib/cannery_web/components/ammo_group_card.ex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Price paid:"
|
msgid "Price paid:"
|
||||||
msgstr "Prix payé :"
|
msgstr "Prix payé :"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:67
|
#: lib/cannery_web/live/ammo_type_live/index.ex:78
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Primer type"
|
msgid "Primer type"
|
||||||
@ -404,11 +400,6 @@ msgstr ""
|
|||||||
"Auto-hébergez votre propre instance ou utilisez celle d’une personne à "
|
"Auto-hébergez votre propre instance ou utilisez celle d’une personne à "
|
||||||
"laquelle vous faîtes confiance."
|
"laquelle vous faîtes confiance."
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Set Unlimited"
|
|
||||||
msgstr "Mettre illimité"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -436,6 +427,7 @@ msgid "Stored in"
|
|||||||
msgstr "Est stocké dans"
|
msgstr "Est stocké dans"
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:49
|
#: lib/cannery_web/components/topbar.ex:49
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:127
|
||||||
#: lib/cannery_web/live/tag_live/index.ex:32
|
#: lib/cannery_web/live/tag_live/index.ex:32
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
#: lib/cannery_web/live/tag_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -460,7 +452,7 @@ msgid "The self-hosted firearm tracker website"
|
|||||||
msgstr "Le site web de suivi d’arme à feux auto-hébergé"
|
msgstr "Le site web de suivi d’arme à feux auto-hébergé"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:132
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
#: lib/cannery_web/live/ammo_type_live/index.ex:80
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:57
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Tracer"
|
msgid "Tracer"
|
||||||
@ -468,11 +460,12 @@ msgstr "Traceuse"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
#: lib/cannery_web/components/move_ammo_group_component.ex:68
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
#: lib/cannery_web/live/container_live/form_component.html.heex:35
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:124
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr "Type"
|
msgstr "Type"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:36
|
#: lib/cannery_web/components/container_card.ex:45
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:14
|
#: lib/cannery_web/live/container_live/show.html.heex:14
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type:"
|
msgid "Type:"
|
||||||
@ -483,7 +476,7 @@ msgstr "Type :"
|
|||||||
msgid "Users"
|
msgid "Users"
|
||||||
msgstr "Utilisateurs"
|
msgstr "Utilisateurs"
|
||||||
|
|
||||||
#: lib/cannery_web/components/invite_card.ex:20
|
#: lib/cannery_web/components/invite_card.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Uses Left:"
|
msgid "Uses Left:"
|
||||||
msgstr "Utilisations restantes :"
|
msgstr "Utilisations restantes :"
|
||||||
@ -509,7 +502,7 @@ msgid "No tags for this container"
|
|||||||
msgstr "Aucun tag pour ce conteneur"
|
msgstr "Aucun tag pour ce conteneur"
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:81
|
#: lib/cannery_web/components/topbar.ex:81
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:94
|
#: lib/cannery_web/live/ammo_group_live/index.ex:103
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr "Portée"
|
msgstr "Portée"
|
||||||
@ -535,30 +528,18 @@ msgstr "Tirs réalisés"
|
|||||||
msgid "No ammo staged"
|
msgid "No ammo staged"
|
||||||
msgstr "Aucune munition sélectionnée"
|
msgstr "Aucune munition sélectionnée"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:31
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Stage for range"
|
|
||||||
msgstr "Sélectionné pour le stand"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:30
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Unstage from range"
|
|
||||||
msgstr "Désélectionner pour le stand"
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:3
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
#: lib/cannery_web/live/ammo_group_live/index.ex:26
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Tirs enregistrés"
|
msgstr "Tirs enregistrés"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:49
|
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo groups"
|
msgid "Ammo groups"
|
||||||
msgstr "Groupes de munition"
|
msgstr "Groupes de munition"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:38
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:45
|
||||||
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
#: lib/cannery_web/live/range_live/form_component.html.heex:36
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Date (UTC)"
|
msgid "Date (UTC)"
|
||||||
@ -581,6 +562,7 @@ msgid "No shots recorded"
|
|||||||
msgstr "Aucun tir enregistré"
|
msgstr "Aucun tir enregistré"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:21
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:25
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds left"
|
msgid "Rounds left"
|
||||||
msgstr "Cartouches restantes"
|
msgstr "Cartouches restantes"
|
||||||
@ -601,8 +583,7 @@ msgstr "Enregistrements de tir"
|
|||||||
msgid "Move Ammo group"
|
msgid "Move Ammo group"
|
||||||
msgstr "Déplacer le groupe de munition"
|
msgstr "Déplacer le groupe de munition"
|
||||||
|
|
||||||
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
#: lib/cannery_web/live/ammo_group_live/index.ex:270
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:253
|
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
msgstr "Déplacer munition"
|
msgstr "Déplacer munition"
|
||||||
@ -617,12 +598,12 @@ msgstr "Aucun autre conteneur"
|
|||||||
msgid "Shot log"
|
msgid "Shot log"
|
||||||
msgstr "Évènements de tir"
|
msgstr "Évènements de tir"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:59
|
#: lib/cannery_web/components/ammo_group_card.ex:63
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:145
|
#: lib/cannery_web/live/ammo_group_live/index.ex:154
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:37
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:44
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:118
|
#: lib/cannery_web/live/ammo_type_live/index.ex:179
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:110
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "$%{amount}"
|
msgid "$%{amount}"
|
||||||
msgstr "%{amount} $"
|
msgstr "%{amount} $"
|
||||||
@ -633,35 +614,35 @@ msgid "Bimetal"
|
|||||||
msgstr "Bi-métal"
|
msgstr "Bi-métal"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:57
|
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:49
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Jacket type"
|
msgid "Jacket type"
|
||||||
msgstr "Type de douille"
|
msgstr "Type de douille"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:58
|
#: lib/cannery_web/live/ammo_type_live/index.ex:69
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:50
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Muzzle velocity"
|
msgid "Muzzle velocity"
|
||||||
msgstr "Vélocité du canon"
|
msgstr "Vélocité du canon"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:93
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:61
|
#: lib/cannery_web/live/ammo_type_live/index.ex:72
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:52
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder grains per charge"
|
msgid "Powder grains per charge"
|
||||||
msgstr "Graines de poudre par charge"
|
msgstr "Graines de poudre par charge"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:89
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:59
|
#: lib/cannery_web/live/ammo_type_live/index.ex:70
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:51
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Powder type"
|
msgid "Powder type"
|
||||||
msgstr "Type de poudre"
|
msgstr "Type de poudre"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:152
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:74
|
#: lib/cannery_web/live/ammo_type_live/index.ex:85
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:62
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "UPC"
|
msgid "UPC"
|
||||||
@ -683,18 +664,18 @@ msgstr "Mot de passe actuel"
|
|||||||
msgid "New password"
|
msgid "New password"
|
||||||
msgstr "Nouveau mot de passe"
|
msgstr "Nouveau mot de passe"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Stage"
|
msgid "Stage"
|
||||||
msgstr "Sélectionné"
|
msgstr "Sélectionné"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:183
|
#: lib/cannery_web/live/ammo_group_live/index.ex:192
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Unstage"
|
msgid "Unstage"
|
||||||
msgstr "Désélectionner"
|
msgstr "Désélectionner"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:125
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:68
|
#: lib/cannery_web/live/ammo_type_live/index.ex:79
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:56
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Firing type"
|
msgid "Firing type"
|
||||||
@ -716,13 +697,14 @@ msgstr "Chargement en cours…"
|
|||||||
msgid "Edit %{name}"
|
msgid "Edit %{name}"
|
||||||
msgstr "Éditer %{name}"
|
msgstr "Éditer %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:46
|
#: lib/cannery_web/live/container_live/index.ex:65
|
||||||
#: lib/cannery_web/live/container_live/show.ex:107
|
#: lib/cannery_web/live/container_live/show.ex:107
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit %{name} tags"
|
msgid "Edit %{name} tags"
|
||||||
msgstr "Éditer les tags de %{name}"
|
msgstr "Éditer les tags de %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:54
|
#: lib/cannery_web/components/container_card.ex:63
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:32
|
#: lib/cannery_web/live/container_live/show.html.heex:32
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Rounds:"
|
msgid "Rounds:"
|
||||||
@ -733,13 +715,13 @@ msgstr "Cartouches :"
|
|||||||
msgid "Show %{name}"
|
msgid "Show %{name}"
|
||||||
msgstr "Montrer %{name}"
|
msgstr "Montrer %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
#: lib/cannery_web/live/ammo_type_live/index.ex:178
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:116
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:148
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No cost information"
|
msgid "No cost information"
|
||||||
msgstr "Aucune information de prix"
|
msgstr "Aucune information de prix"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:93
|
#: lib/cannery_web/live/ammo_group_live/index.ex:102
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "% left"
|
msgid "% left"
|
||||||
msgstr "% restante"
|
msgstr "% restante"
|
||||||
@ -769,21 +751,6 @@ msgstr "Pourcentage restant :"
|
|||||||
msgid "Rounds used"
|
msgid "Rounds used"
|
||||||
msgstr "Cartouches utilisées"
|
msgstr "Cartouches utilisées"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:81
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Current # of rounds:"
|
|
||||||
msgstr "Quantité actuelle de cartouches :"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:86
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total # of rounds"
|
|
||||||
msgstr "Quantité de cartouches"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Total rounds shot:"
|
|
||||||
msgstr "Nombre totale de cartouches tirées :"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Confirm your account"
|
msgid "Confirm your account"
|
||||||
@ -820,24 +787,24 @@ msgstr "Enregistrer des tirs"
|
|||||||
msgid "Copies"
|
msgid "Copies"
|
||||||
msgstr "Exemplaires"
|
msgstr "Exemplaires"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:34
|
#: lib/cannery_web/live/ammo_type_live/index.ex:40
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo types"
|
msgid "Ammo types"
|
||||||
msgstr "Types de munition"
|
msgstr "Types de munition"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:96
|
#: lib/cannery_web/live/ammo_group_live/index.ex:105
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on"
|
msgid "Added on"
|
||||||
msgstr "Ajouté le"
|
msgstr "Ajouté le"
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:45
|
#: lib/cannery_web/components/ammo_group_card.ex:49
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:30
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:129
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Added on:"
|
msgid "Added on:"
|
||||||
msgstr "Ajouté le :"
|
msgstr "Ajouté le :"
|
||||||
|
|
||||||
#: lib/cannery_web/components/user_card.ex:30
|
#: lib/cannery_web/components/user_card.ex:34
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "User registered on"
|
msgid "User registered on"
|
||||||
msgstr "Utilisateur·ice enregistré·e le"
|
msgstr "Utilisateur·ice enregistré·e le"
|
||||||
@ -889,7 +856,7 @@ msgstr "Voir le code source"
|
|||||||
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Catalog"
|
msgid "Catalog"
|
||||||
msgstr ""
|
msgstr "Catalogue"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
#: lib/cannery_web/live/ammo_group_live/show.ex:40
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
@ -916,51 +883,141 @@ msgstr "Montrer le type de munition"
|
|||||||
msgid "This ammo is not in a container"
|
msgid "This ammo is not in a container"
|
||||||
msgstr "Ce groupe de munition n’est pas dans un conteneur"
|
msgstr "Ce groupe de munition n’est pas dans un conteneur"
|
||||||
|
|
||||||
#: lib/cannery_web/components/container_card.ex:49
|
#: lib/cannery_web/components/container_card.ex:58
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:105
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:27
|
#: lib/cannery_web/live/container_live/show.html.heex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Packs:"
|
msgid "Packs:"
|
||||||
msgstr ""
|
msgstr "Packages :"
|
||||||
|
|
||||||
#: lib/cannery_web/components/topbar.ex:25
|
#: lib/cannery_web/components/topbar.ex:25
|
||||||
#: lib/cannery_web/live/home_live.ex:42
|
#: lib/cannery_web/live/home_live.ex:42
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Cannery logo"
|
msgid "Cannery logo"
|
||||||
msgstr ""
|
msgstr "Logo de Cannery"
|
||||||
|
|
||||||
#: lib/cannery_web/live/home_live.ex:44
|
#: lib/cannery_web/live/home_live.ex:44
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "isn't he cute >:3"
|
msgid "isn't he cute >:3"
|
||||||
msgstr ""
|
msgstr "N'est-il mignon >:3"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/form_component.html.heex:28
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:28
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Laissez \"Utilisations restantes\" vide pour rendre l'invitation illimitée"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:87
|
#: lib/cannery_web/components/ammo_group_card.ex:71
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
|
||||||
msgid "Total # of ammo"
|
|
||||||
msgstr "Quantité de cartouches"
|
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:67
|
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Container:"
|
msgid "Container:"
|
||||||
msgstr "Conteneur"
|
msgstr "Conteneur"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:48
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:126
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:23
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:97
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:158
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Show used"
|
msgid "Show used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:101
|
#: lib/cannery_web/live/ammo_group_live/index.ex:110
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on"
|
msgid "Used up on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/ammo_group_card.ex:51
|
#: lib/cannery_web/components/ammo_group_card.ex:55
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Used up on:"
|
msgid "Used up on:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:206
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:19
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{percentage}%"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Name: %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:115
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Notes: %{notes}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:62
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds fired"
|
||||||
|
msgstr "Cartouches utilisées"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Rounds fired chart"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds shot: %{count}"
|
||||||
|
msgstr "Cartouches tirées"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:117
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:125
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Packs"
|
||||||
|
msgstr "Packages :"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:97
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:126
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Rounds"
|
||||||
|
msgstr "Cartouches :"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "View as table"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:127
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Total ever packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:108
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds"
|
||||||
|
msgstr "Quantité de cartouches"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Total ever rounds:"
|
||||||
|
msgstr "Nombre totale de cartouches tirées :"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:122
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:113
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Used packs:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:103
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:89
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used rounds:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:33
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Used up!"
|
||||||
|
msgstr ""
|
||||||
|
@ -14,27 +14,27 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||||
"X-Generator: Weblate 4.12\n"
|
"X-Generator: Weblate 4.12\n"
|
||||||
|
|
||||||
## This file is a PO Template file.
|
# # This file is a PO Template file.
|
||||||
##
|
# #
|
||||||
## "msgid"s here are often extracted from source code.
|
# # "msgid"s here are often extracted from source code.
|
||||||
## Add new translations manually only if they're dynamic
|
# # Add new translations manually only if they're dynamic
|
||||||
## translations that can't be statically extracted.
|
# # translations that can't be statically extracted.
|
||||||
##
|
# #
|
||||||
## Run "mix gettext.extract" to bring this file up to
|
# # Run "mix gettext.extract" to bring this file up to
|
||||||
## date. Leave "msgstr"s empty as changing them here has no
|
# # date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
# # effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery/containers.ex:140
|
#: lib/cannery/containers.ex:140
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Container must be empty before deleting"
|
msgid "Container must be empty before deleting"
|
||||||
msgstr "Le conteneur doit être vide pour être supprimé"
|
msgstr "Le conteneur doit être vide pour être supprimé"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:69
|
#: lib/cannery_web/live/container_live/index.ex:88
|
||||||
#: lib/cannery_web/live/container_live/show.ex:71
|
#: lib/cannery_web/live/container_live/show.ex:71
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not delete %{name}: %{error}"
|
msgid "Could not delete %{name}: %{error}"
|
||||||
msgstr "Impossible de supprimer %{name} : %{error}"
|
msgstr "Impossible de supprimer %{name} : %{error}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:57
|
#: lib/cannery_web/live/container_live/index.ex:76
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not find that container"
|
msgid "Could not find that container"
|
||||||
msgstr "Impossible de trouver ce conteneur"
|
msgstr "Impossible de trouver ce conteneur"
|
||||||
@ -122,22 +122,22 @@ msgstr "Vous n’êtes pas autorisé·e à voir cette page"
|
|||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
msgstr "Vous n’êtes pas autorisé·e à voir cette page."
|
msgstr "Vous n’êtes pas autorisé·e à voir cette page."
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:130
|
#: lib/cannery/accounts/user.ex:138
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "did not change"
|
msgid "did not change"
|
||||||
msgstr "est inchangé"
|
msgstr "est inchangé"
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:151
|
#: lib/cannery/accounts/user.ex:159
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "does not match password"
|
msgid "does not match password"
|
||||||
msgstr "le mot de passe ne correspond pas"
|
msgstr "le mot de passe ne correspond pas"
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:188
|
#: lib/cannery/accounts/user.ex:196
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "is not valid"
|
msgid "is not valid"
|
||||||
msgstr "n’est pas valide"
|
msgstr "n’est pas valide"
|
||||||
|
|
||||||
#: lib/cannery/accounts/user.ex:84
|
#: lib/cannery/accounts/user.ex:92
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "must have the @ sign and no spaces"
|
msgid "must have the @ sign and no spaces"
|
||||||
msgstr "doit contenir le symbole @ et aucune espace"
|
msgstr "doit contenir le symbole @ et aucune espace"
|
||||||
@ -152,13 +152,13 @@ msgstr "Tag pas trouvé"
|
|||||||
msgid "Tag could not be added"
|
msgid "Tag could not be added"
|
||||||
msgstr "Le tag n’a pas pu être ajouté"
|
msgstr "Le tag n’a pas pu être ajouté"
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:115
|
#: lib/cannery/activity_log/shot_group.ex:123
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be at least 1"
|
msgid "Count must be at least 1"
|
||||||
msgstr "Le nombre doit être au moins égal à 1"
|
msgstr "Le nombre doit être au moins égal à 1"
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:74
|
#: lib/cannery/activity_log/shot_group.ex:82
|
||||||
#: lib/cannery/activity_log/shot_group.ex:111
|
#: lib/cannery/activity_log/shot_group.ex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Count must be less than %{count}"
|
msgid "Count must be less than %{count}"
|
||||||
msgstr "La quantité doit être inférieur à %{count}"
|
msgstr "La quantité doit être inférieur à %{count}"
|
||||||
@ -176,27 +176,32 @@ msgstr ""
|
|||||||
msgid "Tag could not be removed"
|
msgid "Tag could not be removed"
|
||||||
msgstr "Le tag n’a pas pu être retiré"
|
msgstr "Le tag n’a pas pu être retiré"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:156
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:157
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Could not parse number of copies"
|
msgid "Could not parse number of copies"
|
||||||
msgstr "Impossible d'analyser le nombre de copies"
|
msgstr "Impossible d'analyser le nombre de copies"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:141
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:142
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||||
msgstr "Nombre de copies invalide, doit être 1 et %{max}. Été %{multiplier}"
|
msgstr "Nombre de copies invalide, doit être 1 et %{max}. Été %{multiplier}"
|
||||||
|
|
||||||
#: lib/cannery/ammo.ex:535
|
#: lib/cannery/ammo.ex:587
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invalid multiplier"
|
msgid "Invalid multiplier"
|
||||||
msgstr ""
|
msgstr "Multiplicateur invalide"
|
||||||
|
|
||||||
#: lib/cannery/ammo/ammo_group.ex:84
|
#: lib/cannery/ammo/ammo_group.ex:94
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select an ammo type and container"
|
msgid "Please select an ammo type and container"
|
||||||
msgstr ""
|
msgstr "Veuillez choisir un type de munitions et un conteneur"
|
||||||
|
|
||||||
#: lib/cannery/activity_log/shot_group.ex:69
|
#: lib/cannery/activity_log/shot_group.ex:77
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Please select a valid user and ammo group"
|
msgid "Please select a valid user and ammo group"
|
||||||
|
msgstr "Veuillez choisir un utilisateur valide et un groupe de munitions"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -23,15 +23,15 @@ msgstr ""
|
|||||||
## Run "mix gettext.extract" to bring this file up to
|
## Run "mix gettext.extract" to bring this file up to
|
||||||
## date. Leave "msgstr"s empty as changing them here has no
|
## date. Leave "msgstr"s empty as changing them here has no
|
||||||
## effect: edit them in PO (.po) files instead.
|
## effect: edit them in PO (.po) files instead.
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:85
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:86
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:85
|
#: lib/cannery_web/live/container_live/form_component.ex:89
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr "%{name} créé· avec succès"
|
msgstr "%{name} créé· avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:41
|
#: lib/cannery_web/live/ammo_type_live/index.ex:47
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:53
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:133
|
#: lib/cannery_web/live/invite_live/index.ex:133
|
||||||
@ -50,7 +50,7 @@ msgstr "%{name} supprimé·e avec succès"
|
|||||||
msgid "%{name} enabled succesfully"
|
msgid "%{name} enabled succesfully"
|
||||||
msgstr "%{name} activé·e avec succès"
|
msgstr "%{name} activé·e avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:62
|
#: lib/cannery_web/live/container_live/index.ex:81
|
||||||
#: lib/cannery_web/live/container_live/show.ex:61
|
#: lib/cannery_web/live/container_live/show.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} has been deleted"
|
msgid "%{name} has been deleted"
|
||||||
@ -62,7 +62,7 @@ msgid "%{name} updated succesfully"
|
|||||||
msgstr "%{name} mis à jour avec succès"
|
msgstr "%{name} mis à jour avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:67
|
#: lib/cannery_web/live/container_live/form_component.ex:70
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -76,7 +76,7 @@ msgstr ""
|
|||||||
"Un lien pour confirmer votre changement de mél a été envoyé à la nouvelle "
|
"Un lien pour confirmer votre changement de mél a été envoyé à la nouvelle "
|
||||||
"adresse."
|
"adresse."
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:64
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr "Groupe de munition supprimé avec succès"
|
msgstr "Groupe de munition supprimé avec succès"
|
||||||
@ -88,7 +88,8 @@ msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Êtes-vous certain·e de supprimer %{email} ? Cette action est définitive !"
|
"Êtes-vous certain·e de supprimer %{email} ? Cette action est définitive !"
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:48
|
#: lib/cannery_web/live/container_live/index.ex:223
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:73
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:51
|
#: lib/cannery_web/live/container_live/show.html.heex:51
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -100,13 +101,13 @@ msgstr "Êtes-vous certain·e de supprimer %{name} ?"
|
|||||||
msgid "Are you sure you want to delete the invite for %{name}?"
|
msgid "Are you sure you want to delete the invite for %{name}?"
|
||||||
msgstr "Êtes-vous certain·e de supprimer l’invitation pour %{name} ?"
|
msgstr "Êtes-vous certain·e de supprimer l’invitation pour %{name} ?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:225
|
#: lib/cannery_web/live/ammo_group_live/index.ex:242
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this ammo?"
|
msgid "Are you sure you want to delete this ammo?"
|
||||||
msgstr "Êtes-vous certain·e de supprimer cette munition ?"
|
msgstr "Êtes-vous certain·e de supprimer cette munition ?"
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:146
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:155
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete your account?"
|
msgid "Are you sure you want to delete your account?"
|
||||||
msgstr "Êtes-vous certain·e de supprimer votre compte ?"
|
msgstr "Êtes-vous certain·e de supprimer votre compte ?"
|
||||||
@ -165,7 +166,7 @@ msgstr "Veuillez vérifier votre mél pour confirmer votre compte"
|
|||||||
msgid "Register to setup %{name}"
|
msgid "Register to setup %{name}"
|
||||||
msgstr "S’enregistrer pour mettre en place %{name}"
|
msgstr "S’enregistrer pour mettre en place %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:48
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:55
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
||||||
@ -214,7 +215,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr "Êtes-vous certain·e de vouloir désélectionner cette munition ?"
|
msgstr "Êtes-vous certain·e de vouloir désélectionner cette munition ?"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:184
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr "Êtes-vous certain·e de vouloir supprimer cet enregistrement de tir ?"
|
msgstr "Êtes-vous certain·e de vouloir supprimer cet enregistrement de tir ?"
|
||||||
@ -286,14 +287,14 @@ msgstr "Groupe de munition désélectionner avec succès"
|
|||||||
msgid "Ammo updated successfully"
|
msgid "Ammo updated successfully"
|
||||||
msgstr "Groupe de munition mis à jour avec succès"
|
msgstr "Groupe de munition mis à jour avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:177
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:178
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Ammo added successfully"
|
msgid "Ammo added successfully"
|
||||||
msgid_plural "Ammo added successfully"
|
msgid_plural "Ammo added successfully"
|
||||||
msgstr[0] "Groupe de munition mis à jour avec succès"
|
msgstr[0] "Groupe de munition mis à jour avec succès"
|
||||||
msgstr[1] "Groupe de munition mis à jour avec succès"
|
msgstr[1] "Groupe de munition mis à jour avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:163
|
#: lib/cannery_web/live/ammo_type_live/index.ex:232
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
||||||
|
267
priv/gettext/ga/LC_MESSAGES/actions.po
Normal file
267
priv/gettext/ga/LC_MESSAGES/actions.po
Normal file
@ -0,0 +1,267 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2022-11-06 23:51+0000\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: Automatically generated\n"
|
||||||
|
"Language-Team: none\n"
|
||||||
|
"Language: ga\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"X-Generator: Translate Toolkit 3.7.3\n"
|
||||||
|
|
||||||
|
## This file 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.
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:44
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:50
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:40
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Add Ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:36
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Add your first box!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:13
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Add your first container!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:13
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Add your first type!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:15
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:44
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Change email"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:58
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:99
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Change password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:17
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Create Invite"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:157
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Delete User"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_registration/new.html.heex:52
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/new.html.heex:3
|
||||||
|
#: lib/cannery_web/templates/user_session/new.html.heex:45
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Forgot your password?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:13
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Invite someone new!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/topbar.ex:137
|
||||||
|
#: lib/cannery_web/templates/user_confirmation/new.html.heex:30
|
||||||
|
#: lib/cannery_web/templates/user_registration/new.html.heex:49
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:48
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/new.html.heex:30
|
||||||
|
#: lib/cannery_web/templates/user_session/new.html.heex:3
|
||||||
|
#: lib/cannery_web/templates/user_session/new.html.heex:33
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Log in"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/tag_live/index.html.heex:15
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Make your first tag!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.html.heex:17
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "New Ammo type"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:17
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "New Container"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/tag_live/index.html.heex:19
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "New Tag"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/topbar.ex:128
|
||||||
|
#: lib/cannery_web/templates/user_confirmation/new.html.heex:26
|
||||||
|
#: lib/cannery_web/templates/user_registration/new.html.heex:3
|
||||||
|
#: lib/cannery_web/templates/user_registration/new.html.heex:42
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:44
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/new.html.heex:26
|
||||||
|
#: lib/cannery_web/templates/user_session/new.html.heex:41
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Register"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_confirmation/new.html.heex:3
|
||||||
|
#: lib/cannery_web/templates/user_confirmation/new.html.heex:16
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Resend confirmation instructions"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:3
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:34
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Reset password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:53
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156
|
||||||
|
#: lib/cannery_web/live/container_live/form_component.html.heex:50
|
||||||
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:31
|
||||||
|
#: lib/cannery_web/live/range_live/form_component.html.heex:40
|
||||||
|
#: lib/cannery_web/live/tag_live/form_component.ex:91
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Save"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/new.html.heex:16
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Send instructions to reset password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:72
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Why not add one?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/edit_tags_component.html.heex:53
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Add"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:17
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Stage ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:13
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Why not get some ready to shoot?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:199
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:101
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:38
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Record shots"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:90
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Add another container!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:94
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Move containers"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:126
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Select"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Copy to clipboard"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:21
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "add a container first"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:66
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Create"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:113
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Change Language"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:134
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Change language"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:60
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "View in Catalog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "add an ammo type first"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:60
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Disable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Enable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Move ammo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:80
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Set Unlimited"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:97
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Show used"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:86
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:31
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Stage for range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:85
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unstage from range"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:148
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Export Data as JSON"
|
||||||
|
msgstr ""
|
1014
priv/gettext/ga/LC_MESSAGES/default.po
Normal file
1014
priv/gettext/ga/LC_MESSAGES/default.po
Normal file
File diff suppressed because it is too large
Load Diff
107
priv/gettext/ga/LC_MESSAGES/emails.po
Normal file
107
priv/gettext/ga/LC_MESSAGES/emails.po
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2022-11-06 23:51+0000\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: Automatically generated\n"
|
||||||
|
"Language-Team: none\n"
|
||||||
|
"Language: ga\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"X-Generator: Translate Toolkit 3.7.3\n"
|
||||||
|
|
||||||
|
## This file 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.
|
||||||
|
#: lib/cannery/accounts/email.ex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Confirm your %{name} account"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.html.eex:3
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.txt.eex:2
|
||||||
|
#: lib/cannery_web/templates/email/reset_password.html.eex:3
|
||||||
|
#: lib/cannery_web/templates/email/reset_password.txt.eex:2
|
||||||
|
#: lib/cannery_web/templates/email/update_email.html.eex:3
|
||||||
|
#: lib/cannery_web/templates/email/update_email.txt.eex:2
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Hi %{email},"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.txt.eex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "If you didn't create an account at %{url}, please ignore this."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/reset_password.txt.eex:8
|
||||||
|
#: lib/cannery_web/templates/email/update_email.txt.eex:8
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "If you didn't request this change from %{url}, please ignore this."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/accounts/email.ex:37
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Reset your %{name} password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/accounts/email.ex:44
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Update your %{name} email"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.html.eex:9
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Welcome to %{name}!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.txt.eex:4
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Welcome to %{name}%!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/update_email.html.eex:8
|
||||||
|
#: lib/cannery_web/templates/email/update_email.txt.eex:4
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "You can change your email by visiting the URL below:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.html.eex:14
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.txt.eex:6
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "You can confirm your account by visiting the URL below:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/reset_password.html.eex:8
|
||||||
|
#: lib/cannery_web/templates/email/reset_password.txt.eex:4
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "You can reset your password by visiting the URL below:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/confirm_email.html.eex:22
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "If you didn't create an account at %{name}, please ignore this."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/email/reset_password.html.eex:16
|
||||||
|
#: lib/cannery_web/templates/email/update_email.html.eex:16
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "If you didn't request this change from %{name}, please ignore this."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/layout/email.txt.eex:9
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "This email was sent from %{name} at %{url}, the self-hosted firearm tracker website."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/layout/email.html.heex:13
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "This email was sent from %{name}, the self-hosted firearm tracker website."
|
||||||
|
msgstr ""
|
206
priv/gettext/ga/LC_MESSAGES/errors.po
Normal file
206
priv/gettext/ga/LC_MESSAGES/errors.po
Normal file
@ -0,0 +1,206 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2022-11-06 23:51+0000\n"
|
||||||
|
"PO-Revision-Date: 2022-11-07 00:18+0000\n"
|
||||||
|
"Last-Translator: pehoulihan <pehoulihan@gmail.com>\n"
|
||||||
|
"Language-Team: Irish <https://weblate.bubbletea.dev/projects/cannery/errors/"
|
||||||
|
"ga/>\n"
|
||||||
|
"Language: ga\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : (n>2 && n<7) ? 2 :("
|
||||||
|
"n>6 && n<11) ? 3 : 4;\n"
|
||||||
|
"X-Generator: Weblate 4.14.1\n"
|
||||||
|
|
||||||
|
## This file 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.
|
||||||
|
#: lib/cannery/containers.ex:140
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Container must be empty before deleting"
|
||||||
|
msgstr "Caithfidh an coimeádán a bheidh follamh roimh scriosadh"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:88
|
||||||
|
#: lib/cannery_web/live/container_live/show.ex:71
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Could not delete %{name}: %{error}"
|
||||||
|
msgstr "Ní feidir %{name} a scriosadh: %{error}"
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:76
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Could not find that container"
|
||||||
|
msgstr "Ní feidir an coimeádán sin a fáil"
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_settings_controller.ex:84
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Email change link is invalid or it has expired."
|
||||||
|
msgstr "Tá an nasc chun an seoladh email a athrú neamhbhailí nó as dáta."
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/error/error.html.heex:8
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Error"
|
||||||
|
msgstr "Fadhb"
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/error/error.html.heex:28
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Go back home"
|
||||||
|
msgstr "Dul abhaile"
|
||||||
|
|
||||||
|
#: lib/cannery_web/views/error_view.ex:11
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Internal Server Error"
|
||||||
|
msgstr "Fadhb freastalaí inmhéanach"
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_session_controller.ex:17
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Invalid email or password"
|
||||||
|
msgstr "Seoladh email nó pasfhocal neamhbhailí"
|
||||||
|
|
||||||
|
#: lib/cannery_web/views/error_view.ex:9
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Not found"
|
||||||
|
msgstr "Ní feidir é a fáil"
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_registration/new.html.heex:16
|
||||||
|
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:16
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:21
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:64
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:119
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Oops, something went wrong! Please check the errors below."
|
||||||
|
msgstr ""
|
||||||
|
"Ta brón orainn, tá fadbh againn! Le bhur dtoil feach ar na botún seo a "
|
||||||
|
"leanais."
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_reset_password_controller.ex:63
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Reset password link is invalid or it has expired."
|
||||||
|
msgstr "Tá nasc an pasfhocail a athrú neamhbailí nó as dáta."
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_registration_controller.ex:25
|
||||||
|
#: lib/cannery_web/controllers/user_registration_controller.ex:56
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Sorry, public registration is disabled"
|
||||||
|
msgstr "Tá brón orainn, tá clarú póiblí bactha"
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_registration_controller.ex:15
|
||||||
|
#: lib/cannery_web/controllers/user_registration_controller.ex:46
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Sorry, this invite was not found or expired"
|
||||||
|
msgstr "Tá brón orainn, ní feidir an cuireadh seo a fáil nó tá sé as dáta"
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_settings_controller.ex:99
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unable to delete user"
|
||||||
|
msgstr "Ní feidir an úsáideoir a scriosadh"
|
||||||
|
|
||||||
|
#: lib/cannery_web/views/error_view.ex:10
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Unauthorized"
|
||||||
|
msgstr "Níl cead agaibh"
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:54
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "User confirmation link is invalid or it has expired."
|
||||||
|
msgstr "Tá nasc an úsáideoir a deimhnigh neamhbailí nó as dáta."
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.ex:18
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "You are not authorized to view this page"
|
||||||
|
msgstr "Níl cead agaibh féachaint ar an leathanach seo"
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_auth.ex:177
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "You are not authorized to view this page."
|
||||||
|
msgstr "Níl cead agaibh féachaint ar an leathanach seo."
|
||||||
|
|
||||||
|
#: lib/cannery/accounts/user.ex:138
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "did not change"
|
||||||
|
msgstr "Níor athraigh sé"
|
||||||
|
|
||||||
|
#: lib/cannery/accounts/user.ex:159
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "does not match password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/accounts/user.ex:196
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "is not valid"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/accounts/user.ex:92
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "must have the @ sign and no spaces"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/tags.ex:40
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Tag not found"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/edit_tags_component.ex:30
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Tag could not be added"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/activity_log/shot_group.ex:123
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Count must be at least 1"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/activity_log/shot_group.ex:82
|
||||||
|
#: lib/cannery/activity_log/shot_group.ex:119
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Count must be less than %{count}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_auth.ex:39
|
||||||
|
#: lib/cannery_web/controllers/user_auth.ex:161
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "You must confirm your account and log in to access this page."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/edit_tags_component.ex:52
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Tag could not be removed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:157
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Could not parse number of copies"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:142
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/ammo.ex:587
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Invalid multiplier"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/ammo/ammo_group.ex:94
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Please select an ammo type and container"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery/activity_log/shot_group.ex:77
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Please select a valid user and ammo group"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your browser does not support the canvas element."
|
||||||
|
msgstr ""
|
290
priv/gettext/ga/LC_MESSAGES/prompts.po
Normal file
290
priv/gettext/ga/LC_MESSAGES/prompts.po
Normal file
@ -0,0 +1,290 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2022-11-06 23:51+0000\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: Automatically generated\n"
|
||||||
|
"Language-Team: none\n"
|
||||||
|
"Language: ga\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"X-Generator: Translate Toolkit 3.7.3\n"
|
||||||
|
|
||||||
|
## This file 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.
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:86
|
||||||
|
#: lib/cannery_web/live/container_live/form_component.ex:89
|
||||||
|
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
||||||
|
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} created successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:47
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
||||||
|
#: lib/cannery_web/live/invite_live/index.ex:53
|
||||||
|
#: lib/cannery_web/live/invite_live/index.ex:133
|
||||||
|
#: lib/cannery_web/live/tag_live/index.ex:38
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} deleted succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.ex:109
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} disabled succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.ex:87
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} enabled succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:81
|
||||||
|
#: lib/cannery_web/live/container_live/show.ex:61
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} has been deleted"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.ex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} updated succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
||||||
|
#: lib/cannery_web/live/container_live/form_component.ex:70
|
||||||
|
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
||||||
|
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} updated successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_settings_controller.ex:29
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "A link to confirm your email change has been sent to the new address."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:64
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Ammo group deleted succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:103
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:133
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/index.ex:223
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:73
|
||||||
|
#: lib/cannery_web/live/container_live/show.html.heex:51
|
||||||
|
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to delete %{name}?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:49
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to delete the invite for %{name}?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.ex:242
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to delete this ammo?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:155
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to delete your account?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/topbar.ex:106
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to log out?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.html.heex:75
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to make %{name} unlimited?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_settings_controller.ex:77
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Email changed successfully."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "If your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_reset_password_controller.ex:24
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "If your email is in our system, you will receive instructions to reset your password shortly."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_session_controller.ex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Logged out successfully."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_reset_password_controller.ex:46
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Password reset successfully."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_settings_controller.ex:49
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Password updated successfully."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_registration_controller.ex:74
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Please check your email to verify your account"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/home_live.ex:108
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Register to setup %{name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:55
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
||||||
|
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
||||||
|
#: lib/cannery_web/live/invite_live/form_component.html.heex:33
|
||||||
|
#: lib/cannery_web/live/range_live/form_component.html.heex:42
|
||||||
|
#: lib/cannery_web/live/tag_live/form_component.ex:93
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Saving..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_settings_controller.ex:95
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Your account has been deleted"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/edit_tags_component.html.heex:16
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to remove the %{tag_name} tag from %{container_name}?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/edit_tags_component.ex:36
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} added successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/show.ex:37
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{tag_name} has been removed from %{container_name}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/edit_tags_component.html.heex:55
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Adding..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/add_shot_group_component.ex:56
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Shots recorded successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.html.heex:27
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to unstage this ammo?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:184
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:78
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:54
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Shot records deleted succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/form_component.ex:55
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Shot records updated successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_confirmation_controller.ex:38
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{email} confirmed successfully."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/move_ammo_group_component.ex:53
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Ammo moved to %{name} successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/invite_live/index.ex:121
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Copied to clipboard"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/container_live/edit_tags_component.ex:58
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "%{name} removed successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:17
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/index.html.heex:27
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "You'll need to"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:67
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Creating..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:136
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to change your language?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Language updated successfully."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/show.ex:50
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Ammo deleted succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:68
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Ammo unstaged succesfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:118
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Ammo updated successfully"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:178
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Ammo added successfully"
|
||||||
|
msgid_plural "Ammo added successfully"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/index.ex:232
|
||||||
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
||||||
|
msgstr ""
|
@ -10,15 +10,15 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:85
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:86
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:85
|
#: lib/cannery_web/live/container_live/form_component.ex:89
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
#: lib/cannery_web/live/invite_live/form_component.ex:80
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
#: lib/cannery_web/live/tag_live/form_component.ex:126
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:41
|
#: lib/cannery_web/live/ammo_type_live/index.ex:47
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
#: lib/cannery_web/live/ammo_type_live/show.ex:28
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:53
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:133
|
#: lib/cannery_web/live/invite_live/index.ex:133
|
||||||
@ -37,7 +37,7 @@ msgstr ""
|
|||||||
msgid "%{name} enabled succesfully"
|
msgid "%{name} enabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.ex:62
|
#: lib/cannery_web/live/container_live/index.ex:81
|
||||||
#: lib/cannery_web/live/container_live/show.ex:61
|
#: lib/cannery_web/live/container_live/show.ex:61
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} has been deleted"
|
msgid "%{name} has been deleted"
|
||||||
@ -49,7 +49,7 @@ msgid "%{name} updated succesfully"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
#: lib/cannery_web/live/ammo_type_live/form_component.ex:67
|
||||||
#: lib/cannery_web/live/container_live/form_component.ex:67
|
#: lib/cannery_web/live/container_live/form_component.ex:70
|
||||||
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
#: lib/cannery_web/live/invite_live/form_component.ex:62
|
||||||
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
#: lib/cannery_web/live/tag_live/form_component.ex:108
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -61,7 +61,7 @@ msgstr ""
|
|||||||
msgid "A link to confirm your email change has been sent to the new address."
|
msgid "A link to confirm your email change has been sent to the new address."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:56
|
#: lib/cannery_web/live/ammo_group_live/index.ex:64
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo group deleted succesfully"
|
msgid "Ammo group deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -72,7 +72,8 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
msgid "Are you sure you want to delete %{email}? This action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/container_live/index.html.heex:48
|
#: lib/cannery_web/live/container_live/index.ex:223
|
||||||
|
#: lib/cannery_web/live/container_live/index.html.heex:73
|
||||||
#: lib/cannery_web/live/container_live/show.html.heex:51
|
#: lib/cannery_web/live/container_live/show.html.heex:51
|
||||||
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
#: lib/cannery_web/live/tag_live/index.html.heex:39
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -84,13 +85,13 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to delete the invite for %{name}?"
|
msgid "Are you sure you want to delete the invite for %{name}?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/index.ex:225
|
#: lib/cannery_web/live/ammo_group_live/index.ex:242
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
#: lib/cannery_web/live/ammo_group_live/show.html.heex:75
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this ammo?"
|
msgid "Are you sure you want to delete this ammo?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/templates/user_settings/edit.html.heex:146
|
#: lib/cannery_web/templates/user_settings/edit.html.heex:155
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete your account?"
|
msgid "Are you sure you want to delete your account?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -145,7 +146,7 @@ msgstr ""
|
|||||||
msgid "Register to setup %{name}"
|
msgid "Register to setup %{name}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/add_shot_group_component.html.heex:48
|
#: lib/cannery_web/components/add_shot_group_component.html.heex:55
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74
|
||||||
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157
|
||||||
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
#: lib/cannery_web/live/container_live/form_component.html.heex:52
|
||||||
@ -192,7 +193,7 @@ msgid "Are you sure you want to unstage this ammo?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
#: lib/cannery_web/live/ammo_group_live/show.ex:132
|
||||||
#: lib/cannery_web/live/range_live/index.ex:131
|
#: lib/cannery_web/live/range_live/index.ex:184
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete this shot record?"
|
msgid "Are you sure you want to delete this shot record?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -264,14 +265,14 @@ msgstr ""
|
|||||||
msgid "Ammo updated successfully"
|
msgid "Ammo updated successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_group_live/form_component.ex:177
|
#: lib/cannery_web/live/ammo_group_live/form_component.ex:178
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Ammo added successfully"
|
msgid "Ammo added successfully"
|
||||||
msgid_plural "Ammo added successfully"
|
msgid_plural "Ammo added successfully"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/ammo_type_live/index.ex:163
|
#: lib/cannery_web/live/ammo_type_live/index.ex:232
|
||||||
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
#: lib/cannery_web/live/ammo_type_live/show.html.heex:28
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
msgid "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!"
|
||||||
|
10
priv/i18n/ga.tbx
Normal file
10
priv/i18n/ga.tbx
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE martif PUBLIC "ISO 12200:1999A//DTD MARTIF core (DXFcdV04)//EN" "TBXcdv04.dtd">
|
||||||
|
<martif type="TBX">
|
||||||
|
<martifHeader>
|
||||||
|
<fileDesc>
|
||||||
|
<sourceDesc><p>Translate Toolkit</p></sourceDesc>
|
||||||
|
</fileDesc>
|
||||||
|
</martifHeader>
|
||||||
|
<text><body></body></text>
|
||||||
|
</martif>
|
@ -94,6 +94,135 @@ defmodule Cannery.AmmoTest do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe "ammo types with ammo groups" do
|
||||||
|
setup do
|
||||||
|
current_user = user_fixture()
|
||||||
|
ammo_type = ammo_type_fixture(current_user)
|
||||||
|
container = container_fixture(current_user)
|
||||||
|
|
||||||
|
[
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
container: container,
|
||||||
|
current_user: current_user
|
||||||
|
]
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_average_cost_for_ammo_type!/2 gets average cost for ammo type",
|
||||||
|
%{ammo_type: ammo_type, current_user: current_user, container: container} do
|
||||||
|
{1, [_ammo_group]} =
|
||||||
|
ammo_group_fixture(
|
||||||
|
%{"price_paid" => 25.00, "count" => 1},
|
||||||
|
ammo_type,
|
||||||
|
container,
|
||||||
|
current_user
|
||||||
|
)
|
||||||
|
|
||||||
|
assert 25.0 = Ammo.get_average_cost_for_ammo_type!(ammo_type, current_user)
|
||||||
|
|
||||||
|
{1, [_ammo_group]} =
|
||||||
|
ammo_group_fixture(
|
||||||
|
%{"price_paid" => 25.00, "count" => 1},
|
||||||
|
ammo_type,
|
||||||
|
container,
|
||||||
|
current_user
|
||||||
|
)
|
||||||
|
|
||||||
|
assert 25.0 = Ammo.get_average_cost_for_ammo_type!(ammo_type, current_user)
|
||||||
|
|
||||||
|
{1, [_ammo_group]} =
|
||||||
|
ammo_group_fixture(
|
||||||
|
%{"price_paid" => 70.00, "count" => 1},
|
||||||
|
ammo_type,
|
||||||
|
container,
|
||||||
|
current_user
|
||||||
|
)
|
||||||
|
|
||||||
|
assert 40.0 = Ammo.get_average_cost_for_ammo_type!(ammo_type, current_user)
|
||||||
|
|
||||||
|
{1, [_ammo_group]} =
|
||||||
|
ammo_group_fixture(
|
||||||
|
%{"price_paid" => 30.00, "count" => 1},
|
||||||
|
ammo_type,
|
||||||
|
container,
|
||||||
|
current_user
|
||||||
|
)
|
||||||
|
|
||||||
|
assert 37.5 = Ammo.get_average_cost_for_ammo_type!(ammo_type, current_user)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_round_count_for_ammo_type/2 gets accurate round count for ammo type",
|
||||||
|
%{ammo_type: ammo_type, current_user: current_user, container: container} do
|
||||||
|
{1, [first_ammo_group]} =
|
||||||
|
ammo_group_fixture(%{"count" => 1}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 1 = Ammo.get_round_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(%{"count" => 50}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 51 = Ammo.get_round_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 26}, current_user, ammo_group)
|
||||||
|
assert 25 = Ammo.get_round_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 1}, current_user, first_ammo_group)
|
||||||
|
assert 24 = Ammo.get_round_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_used_count_for_ammo_type/2 gets accurate used round count for ammo type",
|
||||||
|
%{ammo_type: ammo_type, current_user: current_user, container: container} do
|
||||||
|
{1, [first_ammo_group]} =
|
||||||
|
ammo_group_fixture(%{"count" => 1}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 0 = Ammo.get_used_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(%{"count" => 50}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 0 = Ammo.get_used_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 26}, current_user, ammo_group)
|
||||||
|
assert 26 = Ammo.get_used_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 1}, current_user, first_ammo_group)
|
||||||
|
assert 27 = Ammo.get_used_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_historical_count_for_ammo_type/2 gets accurate total round count for ammo type",
|
||||||
|
%{ammo_type: ammo_type, current_user: current_user, container: container} do
|
||||||
|
{1, [first_ammo_group]} =
|
||||||
|
ammo_group_fixture(%{"count" => 1}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 1 = Ammo.get_historical_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(%{"count" => 50}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 51 = Ammo.get_historical_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 26}, current_user, ammo_group)
|
||||||
|
assert 51 = Ammo.get_historical_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 1}, current_user, first_ammo_group)
|
||||||
|
assert 51 = Ammo.get_historical_count_for_ammo_type(ammo_type, current_user)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_used_ammo_groups_count_for_type/2 gets accurate total ammo count for ammo type",
|
||||||
|
%{ammo_type: ammo_type, current_user: current_user, container: container} do
|
||||||
|
{1, [first_ammo_group]} =
|
||||||
|
ammo_group_fixture(%{"count" => 1}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 0 = Ammo.get_used_ammo_groups_count_for_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(%{"count" => 50}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 0 = Ammo.get_used_ammo_groups_count_for_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 50}, current_user, ammo_group)
|
||||||
|
assert 1 = Ammo.get_used_ammo_groups_count_for_type(ammo_type, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 1}, current_user, first_ammo_group)
|
||||||
|
assert 2 = Ammo.get_used_ammo_groups_count_for_type(ammo_type, current_user)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
describe "ammo_groups" do
|
describe "ammo_groups" do
|
||||||
@valid_attrs %{"count" => 42, "notes" => "some notes", "price_paid" => 120.5}
|
@valid_attrs %{"count" => 42, "notes" => "some notes", "price_paid" => 120.5}
|
||||||
@update_attrs %{"count" => 43, "notes" => "some updated notes", "price_paid" => 456.7}
|
@update_attrs %{"count" => 43, "notes" => "some updated notes", "price_paid" => 456.7}
|
||||||
@ -103,7 +232,7 @@ defmodule Cannery.AmmoTest do
|
|||||||
current_user = user_fixture()
|
current_user = user_fixture()
|
||||||
ammo_type = ammo_type_fixture(current_user)
|
ammo_type = ammo_type_fixture(current_user)
|
||||||
container = container_fixture(current_user)
|
container = container_fixture(current_user)
|
||||||
{1, [ammo_group]} = ammo_group_fixture(ammo_type, container, current_user)
|
{1, [ammo_group]} = ammo_group_fixture(%{"count" => 25}, ammo_type, container, current_user)
|
||||||
|
|
||||||
[
|
[
|
||||||
ammo_type: ammo_type,
|
ammo_type: ammo_type,
|
||||||
@ -113,9 +242,76 @@ defmodule Cannery.AmmoTest do
|
|||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
test "list_ammo_groups/0 returns all ammo_groups",
|
test "list_ammo_groups/2 returns all ammo_groups",
|
||||||
%{ammo_group: ammo_group, current_user: current_user} do
|
%{
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
ammo_group: ammo_group,
|
||||||
|
container: container,
|
||||||
|
current_user: current_user
|
||||||
|
} do
|
||||||
|
{1, [another_ammo_group]} =
|
||||||
|
ammo_group_fixture(%{"count" => 30}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 30}, current_user, another_ammo_group)
|
||||||
|
another_ammo_group = another_ammo_group |> Repo.reload!()
|
||||||
assert Ammo.list_ammo_groups(current_user) == [ammo_group] |> Repo.preload(:shot_groups)
|
assert Ammo.list_ammo_groups(current_user) == [ammo_group] |> Repo.preload(:shot_groups)
|
||||||
|
|
||||||
|
assert Ammo.list_ammo_groups(current_user, true)
|
||||||
|
|> Enum.sort_by(fn %{count: count} -> count end) ==
|
||||||
|
[another_ammo_group, ammo_group] |> Repo.preload(:shot_groups)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "list_ammo_groups_for_type/2 returns all ammo_groups for a type",
|
||||||
|
%{
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
container: container,
|
||||||
|
ammo_group: ammo_group,
|
||||||
|
current_user: current_user
|
||||||
|
} do
|
||||||
|
another_ammo_type = ammo_type_fixture(current_user)
|
||||||
|
{1, [_another]} = ammo_group_fixture(another_ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert Ammo.list_ammo_groups_for_type(ammo_type, current_user) ==
|
||||||
|
[ammo_group] |> Repo.preload(:shot_groups)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "list_ammo_groups_for_container/2 returns all ammo_groups for a container",
|
||||||
|
%{
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
container: container,
|
||||||
|
ammo_group: ammo_group,
|
||||||
|
current_user: current_user
|
||||||
|
} do
|
||||||
|
another_container = container_fixture(current_user)
|
||||||
|
{1, [_another]} = ammo_group_fixture(ammo_type, another_container, current_user)
|
||||||
|
|
||||||
|
assert Ammo.list_ammo_groups_for_container(container, current_user) ==
|
||||||
|
[ammo_group] |> Repo.preload(:shot_groups)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_ammo_groups_count_for_type/2 returns count of ammo_groups for a type",
|
||||||
|
%{
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
container: container,
|
||||||
|
current_user: current_user
|
||||||
|
} do
|
||||||
|
another_ammo_type = ammo_type_fixture(current_user)
|
||||||
|
{1, [_another]} = ammo_group_fixture(another_ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert 1 = Ammo.get_ammo_groups_count_for_type(ammo_type, current_user)
|
||||||
|
end
|
||||||
|
|
||||||
|
test "list_staged_ammo_groups/2 returns all ammo_groups that are staged",
|
||||||
|
%{
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
container: container,
|
||||||
|
current_user: current_user
|
||||||
|
} do
|
||||||
|
{1, [another_ammo_group]} =
|
||||||
|
ammo_group_fixture(%{"staged" => true}, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
assert Ammo.list_staged_ammo_groups(current_user) ==
|
||||||
|
[another_ammo_group] |> Repo.preload(:shot_groups)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "get_ammo_group!/1 returns the ammo_group with given id",
|
test "get_ammo_group!/1 returns the ammo_group with given id",
|
||||||
@ -140,6 +336,27 @@ defmodule Cannery.AmmoTest do
|
|||||||
assert ammo_group.price_paid == 120.5
|
assert ammo_group.price_paid == 120.5
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "create_ammo_groups/3 with valid data creates multiple ammo_groups",
|
||||||
|
%{
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
container: container,
|
||||||
|
current_user: current_user
|
||||||
|
} do
|
||||||
|
assert {:ok, {3, ammo_groups}} =
|
||||||
|
@valid_attrs
|
||||||
|
|> Map.merge(%{"ammo_type_id" => ammo_type.id, "container_id" => container.id})
|
||||||
|
|> Ammo.create_ammo_groups(3, current_user)
|
||||||
|
|
||||||
|
assert [%AmmoGroup{}, %AmmoGroup{}, %AmmoGroup{}] = ammo_groups
|
||||||
|
|
||||||
|
ammo_groups
|
||||||
|
|> Enum.map(fn %{count: count, notes: notes, price_paid: price_paid} ->
|
||||||
|
assert count == 42
|
||||||
|
assert notes == "some notes"
|
||||||
|
assert price_paid == 120.5
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
test "create_ammo_groups/3 with invalid data returns error changeset",
|
test "create_ammo_groups/3 with invalid data returns error changeset",
|
||||||
%{ammo_type: ammo_type, container: container, current_user: current_user} do
|
%{ammo_type: ammo_type, container: container, current_user: current_user} do
|
||||||
assert {:error, %Changeset{}} =
|
assert {:error, %Changeset{}} =
|
||||||
@ -175,5 +392,57 @@ defmodule Cannery.AmmoTest do
|
|||||||
Ammo.get_ammo_group!(ammo_group.id, current_user)
|
Ammo.get_ammo_group!(ammo_group.id, current_user)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "get_used_count/1 returns accurate used count",
|
||||||
|
%{ammo_group: ammo_group, current_user: current_user} do
|
||||||
|
assert 0 = Ammo.get_used_count(ammo_group)
|
||||||
|
shot_group_fixture(%{"count" => 15}, current_user, ammo_group)
|
||||||
|
assert 15 = ammo_group |> Repo.preload(:shot_groups, force: true) |> Ammo.get_used_count()
|
||||||
|
shot_group_fixture(%{"count" => 10}, current_user, ammo_group)
|
||||||
|
assert 25 = ammo_group |> Repo.preload(:shot_groups, force: true) |> Ammo.get_used_count()
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_last_used_shot_group/1 returns accurate used count",
|
||||||
|
%{ammo_group: ammo_group, current_user: current_user} do
|
||||||
|
assert ammo_group
|
||||||
|
|> Repo.preload(:shot_groups, force: true)
|
||||||
|
|> Ammo.get_last_used_shot_group()
|
||||||
|
|> is_nil()
|
||||||
|
|
||||||
|
shot_group = shot_group_fixture(%{"date" => ~D[2022-11-10]}, current_user, ammo_group)
|
||||||
|
|
||||||
|
assert ^shot_group =
|
||||||
|
ammo_group
|
||||||
|
|> Repo.preload(:shot_groups, force: true)
|
||||||
|
|> Ammo.get_last_used_shot_group()
|
||||||
|
|
||||||
|
shot_group = shot_group_fixture(%{"date" => ~D[2022-11-11]}, current_user, ammo_group)
|
||||||
|
|
||||||
|
assert ^shot_group =
|
||||||
|
ammo_group
|
||||||
|
|> Repo.preload(:shot_groups, force: true)
|
||||||
|
|> Ammo.get_last_used_shot_group()
|
||||||
|
end
|
||||||
|
|
||||||
|
test "get_percentage_remaining/1 gets accurate total round count for ammo type",
|
||||||
|
%{ammo_group: ammo_group, current_user: current_user} do
|
||||||
|
assert 100 = Ammo.get_percentage_remaining(ammo_group)
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 14}, current_user, ammo_group)
|
||||||
|
|
||||||
|
assert 44 =
|
||||||
|
ammo_group
|
||||||
|
|> Repo.reload!()
|
||||||
|
|> Repo.preload(:shot_groups, force: true)
|
||||||
|
|> Ammo.get_percentage_remaining()
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 11}, current_user, ammo_group)
|
||||||
|
|
||||||
|
assert 0 =
|
||||||
|
ammo_group
|
||||||
|
|> Repo.reload!()
|
||||||
|
|> Repo.preload(:shot_groups, force: true)
|
||||||
|
|> Ammo.get_percentage_remaining()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
136
test/cannery_web/controllers/export_controller_test.exs
Normal file
136
test/cannery_web/controllers/export_controller_test.exs
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
defmodule CanneryWeb.ExportControllerTest do
|
||||||
|
@moduledoc """
|
||||||
|
Tests the export function
|
||||||
|
"""
|
||||||
|
|
||||||
|
use CanneryWeb.ConnCase
|
||||||
|
alias Cannery.{Ammo, Containers, Repo}
|
||||||
|
|
||||||
|
@moduletag :export_controller_test
|
||||||
|
|
||||||
|
setup %{conn: conn} do
|
||||||
|
current_user = user_fixture() |> confirm_user()
|
||||||
|
|
||||||
|
[
|
||||||
|
current_user: current_user,
|
||||||
|
conn: conn |> log_in_user(current_user)
|
||||||
|
]
|
||||||
|
end
|
||||||
|
|
||||||
|
defp add_data(%{current_user: current_user}) do
|
||||||
|
ammo_type = ammo_type_fixture(current_user)
|
||||||
|
container = container_fixture(current_user)
|
||||||
|
tag = tag_fixture(current_user)
|
||||||
|
Containers.add_tag!(container, tag, current_user)
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(ammo_type, container, current_user)
|
||||||
|
shot_group = shot_group_fixture(current_user, ammo_group)
|
||||||
|
ammo_group = ammo_group |> Repo.reload!()
|
||||||
|
|
||||||
|
%{
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
ammo_group: ammo_group,
|
||||||
|
container: container,
|
||||||
|
shot_group: shot_group,
|
||||||
|
tag: tag
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
describe "Exports data" do
|
||||||
|
setup [:add_data]
|
||||||
|
|
||||||
|
test "in JSON", %{
|
||||||
|
conn: conn,
|
||||||
|
current_user: current_user,
|
||||||
|
container: container,
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
ammo_group: ammo_group,
|
||||||
|
shot_group: shot_group,
|
||||||
|
tag: tag
|
||||||
|
} do
|
||||||
|
conn = get(conn, Routes.export_path(conn, :export, :json))
|
||||||
|
|
||||||
|
ideal_ammo_group = %{
|
||||||
|
"ammo_type_id" => ammo_group.ammo_type_id,
|
||||||
|
"container_id" => ammo_group.container_id,
|
||||||
|
"count" => ammo_group.count,
|
||||||
|
"id" => ammo_group.id,
|
||||||
|
"notes" => ammo_group.notes,
|
||||||
|
"price_paid" => ammo_group.price_paid,
|
||||||
|
"staged" => ammo_group.staged,
|
||||||
|
"used_count" => ammo_group |> Ammo.get_used_count(),
|
||||||
|
"percentage_remaining" => ammo_group |> Ammo.get_percentage_remaining()
|
||||||
|
}
|
||||||
|
|
||||||
|
ideal_ammo_type = %{
|
||||||
|
"blank" => ammo_type.blank,
|
||||||
|
"bullet_core" => ammo_type.bullet_core,
|
||||||
|
"bullet_type" => ammo_type.bullet_type,
|
||||||
|
"caliber" => ammo_type.caliber,
|
||||||
|
"cartridge" => ammo_type.cartridge,
|
||||||
|
"case_material" => ammo_type.case_material,
|
||||||
|
"corrosive" => ammo_type.corrosive,
|
||||||
|
"desc" => ammo_type.desc,
|
||||||
|
"firing_type" => ammo_type.firing_type,
|
||||||
|
"grains" => ammo_type.grains,
|
||||||
|
"id" => ammo_type.id,
|
||||||
|
"incendiary" => ammo_type.incendiary,
|
||||||
|
"jacket_type" => ammo_type.jacket_type,
|
||||||
|
"manufacturer" => ammo_type.manufacturer,
|
||||||
|
"muzzle_velocity" => ammo_type.muzzle_velocity,
|
||||||
|
"name" => ammo_type.name,
|
||||||
|
"powder_grains_per_charge" => ammo_type.powder_grains_per_charge,
|
||||||
|
"powder_type" => ammo_type.powder_type,
|
||||||
|
"pressure" => ammo_type.pressure,
|
||||||
|
"primer_type" => ammo_type.primer_type,
|
||||||
|
"tracer" => ammo_type.tracer,
|
||||||
|
"upc" => ammo_type.upc,
|
||||||
|
"average_cost" => ammo_type |> Ammo.get_average_cost_for_ammo_type!(current_user),
|
||||||
|
"round_count" => ammo_type |> Ammo.get_round_count_for_ammo_type(current_user),
|
||||||
|
"used_count" => ammo_type |> Ammo.get_used_count_for_ammo_type(current_user),
|
||||||
|
"ammo_group_count" => ammo_type |> Ammo.get_ammo_groups_count_for_type(current_user, true)
|
||||||
|
}
|
||||||
|
|
||||||
|
ideal_container = %{
|
||||||
|
"desc" => container.desc,
|
||||||
|
"id" => container.id,
|
||||||
|
"location" => container.location,
|
||||||
|
"name" => container.name,
|
||||||
|
"tags" => [
|
||||||
|
%{
|
||||||
|
"id" => tag.id,
|
||||||
|
"name" => tag.name,
|
||||||
|
"bg_color" => tag.bg_color,
|
||||||
|
"text_color" => tag.text_color
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type" => container.type,
|
||||||
|
"ammo_group_count" => container |> Containers.get_container_ammo_group_count!(),
|
||||||
|
"round_count" => container |> Containers.get_container_rounds!()
|
||||||
|
}
|
||||||
|
|
||||||
|
ideal_shot_group = %{
|
||||||
|
"ammo_group_id" => shot_group.ammo_group_id,
|
||||||
|
"count" => shot_group.count,
|
||||||
|
"date" => to_string(shot_group.date),
|
||||||
|
"id" => shot_group.id,
|
||||||
|
"notes" => shot_group.notes
|
||||||
|
}
|
||||||
|
|
||||||
|
ideal_user = %{
|
||||||
|
"confirmed_at" =>
|
||||||
|
current_user.confirmed_at |> Jason.encode!() |> String.replace(~r/\"/, ""),
|
||||||
|
"email" => current_user.email,
|
||||||
|
"id" => current_user.id,
|
||||||
|
"locale" => current_user.locale,
|
||||||
|
"role" => to_string(current_user.role)
|
||||||
|
}
|
||||||
|
|
||||||
|
json_resp = conn |> json_response(200)
|
||||||
|
assert %{"ammo_groups" => [^ideal_ammo_group]} = json_resp
|
||||||
|
assert %{"ammo_types" => [^ideal_ammo_type]} = json_resp
|
||||||
|
assert %{"containers" => [^ideal_container]} = json_resp
|
||||||
|
assert %{"shot_groups" => [^ideal_shot_group]} = json_resp
|
||||||
|
assert %{"user" => ^ideal_user} = json_resp
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
@ -10,25 +10,52 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|
|
||||||
@moduletag :ammo_group_live_test
|
@moduletag :ammo_group_live_test
|
||||||
@shot_group_create_attrs %{"ammo_left" => 5, "notes" => "some notes"}
|
@shot_group_create_attrs %{"ammo_left" => 5, "notes" => "some notes"}
|
||||||
@shot_group_update_attrs %{"count" => 5, "notes" => "some updated notes"}
|
@shot_group_update_attrs %{
|
||||||
|
"count" => 5,
|
||||||
|
"date" => ~N[2022-02-13 03:17:00],
|
||||||
|
"notes" => "some updated notes"
|
||||||
|
}
|
||||||
@create_attrs %{"count" => 42, "notes" => "some notes", "price_paid" => 120.5}
|
@create_attrs %{"count" => 42, "notes" => "some notes", "price_paid" => 120.5}
|
||||||
@update_attrs %{"count" => 43, "notes" => "some updated notes", "price_paid" => 456.7}
|
@update_attrs %{"count" => 43, "notes" => "some updated notes", "price_paid" => 456.7}
|
||||||
@ammo_group_create_limit 10_000
|
@ammo_group_create_limit 10_000
|
||||||
|
@empty_attrs %{
|
||||||
|
"price_paid" => 50,
|
||||||
|
"count" => 20
|
||||||
|
}
|
||||||
|
@shot_group_attrs %{
|
||||||
|
"price_paid" => 50,
|
||||||
|
"count" => 20
|
||||||
|
}
|
||||||
|
|
||||||
# @invalid_attrs %{count: -1, notes: nil, price_paid: nil}
|
# @invalid_attrs %{count: -1, notes: nil, price_paid: nil}
|
||||||
|
|
||||||
defp create_ammo_group(%{current_user: current_user}) do
|
defp create_ammo_group(%{current_user: current_user}) do
|
||||||
ammo_type = ammo_type_fixture(current_user)
|
ammo_type = ammo_type_fixture(current_user)
|
||||||
container = container_fixture(current_user)
|
container = container_fixture(current_user)
|
||||||
{1, [ammo_group]} = ammo_group_fixture(ammo_type, container, current_user)
|
{1, [ammo_group]} = ammo_group_fixture(@create_attrs, ammo_type, container, current_user)
|
||||||
|
|
||||||
shot_group =
|
%{ammo_type: ammo_type, ammo_group: ammo_group, container: container}
|
||||||
%{"count" => 5, "date" => ~N[2022-02-13 03:17:00], "notes" => "some notes"}
|
end
|
||||||
|> shot_group_fixture(current_user, ammo_group)
|
|
||||||
|
defp create_shot_group(%{current_user: current_user, ammo_group: ammo_group}) do
|
||||||
|
shot_group = shot_group_fixture(@shot_group_update_attrs, current_user, ammo_group)
|
||||||
|
ammo_group = ammo_group |> Repo.reload!()
|
||||||
|
|
||||||
%{ammo_group: ammo_group, shot_group: shot_group}
|
%{ammo_group: ammo_group, shot_group: shot_group}
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "Index" do
|
defp create_empty_ammo_group(%{
|
||||||
|
current_user: current_user,
|
||||||
|
ammo_type: ammo_type,
|
||||||
|
container: container
|
||||||
|
}) do
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(@empty_attrs, ammo_type, container, current_user)
|
||||||
|
shot_group = shot_group_fixture(@shot_group_attrs, current_user, ammo_group)
|
||||||
|
ammo_group = ammo_group |> Repo.reload!()
|
||||||
|
%{empty_ammo_group: ammo_group, shot_group: shot_group}
|
||||||
|
end
|
||||||
|
|
||||||
|
describe "Index of ammo group" do
|
||||||
setup [:register_and_log_in_user, :create_ammo_group]
|
setup [:register_and_log_in_user, :create_ammo_group]
|
||||||
|
|
||||||
test "lists all ammo_groups", %{conn: conn, ammo_group: ammo_group} do
|
test "lists all ammo_groups", %{conn: conn, ammo_group: ammo_group} do
|
||||||
@ -43,7 +70,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
||||||
gettext("Add Ammo")
|
dgettext("actions", "Add Ammo")
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
||||||
|
|
||||||
@ -67,7 +94,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
||||||
gettext("Add Ammo")
|
dgettext("actions", "Add Ammo")
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
||||||
|
|
||||||
@ -91,7 +118,7 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
assert index_live |> element("a", dgettext("actions", "Add Ammo")) |> render_click() =~
|
||||||
gettext("Add Ammo")
|
dgettext("actions", "Add Ammo")
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :new))
|
||||||
|
|
||||||
@ -123,27 +150,6 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "saves new shot_group", %{conn: conn, ammo_group: ammo_group} do
|
|
||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
|
||||||
|
|
||||||
assert index_live |> element("a", dgettext("actions", "Record shots")) |> render_click() =~
|
|
||||||
gettext("Record shots")
|
|
||||||
|
|
||||||
assert_patch(index_live, Routes.ammo_group_index_path(conn, :add_shot_group, ammo_group))
|
|
||||||
|
|
||||||
# assert index_live
|
|
||||||
# |> form("#shot_group-form", shot_group: @invalid_attrs)
|
|
||||||
# |> render_change() =~ dgettext("errors", "is invalid")
|
|
||||||
|
|
||||||
{:ok, _view, html} =
|
|
||||||
index_live
|
|
||||||
|> form("#shot-group-form", shot_group: @shot_group_create_attrs)
|
|
||||||
|> render_submit()
|
|
||||||
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
|
||||||
|
|
||||||
assert html =~ dgettext("prompts", "Shots recorded successfully")
|
|
||||||
end
|
|
||||||
|
|
||||||
test "updates ammo_group in listing", %{conn: conn, ammo_group: ammo_group} do
|
test "updates ammo_group in listing", %{conn: conn, ammo_group: ammo_group} do
|
||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
@ -168,6 +174,62 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
assert html =~ "43"
|
assert html =~ "43"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "clones ammo_group in listing", %{conn: conn, ammo_group: ammo_group} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
|
html =
|
||||||
|
index_live
|
||||||
|
|> element("[data-qa=\"clone-#{ammo_group.id}\"]")
|
||||||
|
|> render_click()
|
||||||
|
|
||||||
|
assert html =~ dgettext("actions", "Add Ammo")
|
||||||
|
assert html =~ gettext("$%{amount}", amount: 120.5 |> :erlang.float_to_binary(decimals: 2))
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :clone, ammo_group))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#ammo_group-form", ammo_group: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#ammo_group-form")
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert html =~ dgettext("prompts", "Ammo added successfully")
|
||||||
|
assert html =~ "42"
|
||||||
|
assert html =~ gettext("$%{amount}", amount: 120.5 |> :erlang.float_to_binary(decimals: 2))
|
||||||
|
end
|
||||||
|
|
||||||
|
test "clones ammo_group in listing with updates", %{conn: conn, ammo_group: ammo_group} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
|
html =
|
||||||
|
index_live
|
||||||
|
|> element("[data-qa=\"clone-#{ammo_group.id}\"]")
|
||||||
|
|> render_click()
|
||||||
|
|
||||||
|
assert html =~ dgettext("actions", "Add Ammo")
|
||||||
|
assert html =~ gettext("$%{amount}", amount: 120.5 |> :erlang.float_to_binary(decimals: 2))
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :clone, ammo_group))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#ammo_group-form", ammo_group: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#ammo_group-form", ammo_group: Map.merge(@create_attrs, %{"count" => 43}))
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert html =~ dgettext("prompts", "Ammo added successfully")
|
||||||
|
assert html =~ "43"
|
||||||
|
assert html =~ gettext("$%{amount}", amount: 120.5 |> :erlang.float_to_binary(decimals: 2))
|
||||||
|
end
|
||||||
|
|
||||||
test "deletes ammo_group in listing", %{conn: conn, ammo_group: ammo_group} do
|
test "deletes ammo_group in listing", %{conn: conn, ammo_group: ammo_group} do
|
||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
@ -177,9 +239,59 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|
|
||||||
refute has_element?(index_live, "#ammo_group-#{ammo_group.id}")
|
refute has_element?(index_live, "#ammo_group-#{ammo_group.id}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "saves new shot_group", %{conn: conn, ammo_group: ammo_group} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert index_live |> element("a", dgettext("actions", "Record shots")) |> render_click() =~
|
||||||
|
gettext("Record shots")
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.ammo_group_index_path(conn, :add_shot_group, ammo_group))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#shot_group-form", shot_group: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "is invalid")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#shot-group-form", shot_group: @shot_group_create_attrs)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert html =~ dgettext("prompts", "Shots recorded successfully")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "Show" do
|
describe "Index of empty ammo group" do
|
||||||
|
setup [:register_and_log_in_user, :create_ammo_group, :create_empty_ammo_group]
|
||||||
|
|
||||||
|
test "hides empty ammo groups by default", %{conn: conn, empty_ammo_group: ammo_group} do
|
||||||
|
{:ok, show_live, html} = live(conn, Routes.ammo_group_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert html =~ dgettext("actions", "Show used")
|
||||||
|
refute html =~ gettext("$%{amount}", amount: 50.00 |> :erlang.float_to_binary(decimals: 2))
|
||||||
|
|
||||||
|
refute html =~
|
||||||
|
"\n" <>
|
||||||
|
gettext("%{percentage}%",
|
||||||
|
percentage: ammo_group |> Ammo.get_percentage_remaining()
|
||||||
|
) <>
|
||||||
|
"\n"
|
||||||
|
|
||||||
|
html = show_live |> element("[data-qa=\"toggle_show_used\"]") |> render_click()
|
||||||
|
|
||||||
|
assert html =~ gettext("$%{amount}", amount: 50.00 |> :erlang.float_to_binary(decimals: 2))
|
||||||
|
|
||||||
|
assert html =~
|
||||||
|
"\n" <>
|
||||||
|
gettext("%{percentage}%",
|
||||||
|
percentage: ammo_group |> Ammo.get_percentage_remaining()
|
||||||
|
) <>
|
||||||
|
"\n"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
describe "Show ammo group" do
|
||||||
setup [:register_and_log_in_user, :create_ammo_group]
|
setup [:register_and_log_in_user, :create_ammo_group]
|
||||||
|
|
||||||
test "displays ammo_group", %{conn: conn, ammo_group: ammo_group} do
|
test "displays ammo_group", %{conn: conn, ammo_group: ammo_group} do
|
||||||
@ -234,6 +346,10 @@ defmodule CanneryWeb.AmmoGroupLiveTest do
|
|||||||
|
|
||||||
assert html =~ dgettext("prompts", "Shots recorded successfully")
|
assert html =~ dgettext("prompts", "Shots recorded successfully")
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
describe "Show ammo group with shot group" do
|
||||||
|
setup [:register_and_log_in_user, :create_ammo_group, :create_shot_group]
|
||||||
|
|
||||||
test "updates shot_group in listing",
|
test "updates shot_group in listing",
|
||||||
%{conn: conn, ammo_group: ammo_group, shot_group: shot_group} do
|
%{conn: conn, ammo_group: ammo_group, shot_group: shot_group} do
|
||||||
|
@ -6,7 +6,7 @@ defmodule CanneryWeb.AmmoTypeLiveTest do
|
|||||||
use CanneryWeb.ConnCase
|
use CanneryWeb.ConnCase
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
import CanneryWeb.Gettext
|
import CanneryWeb.Gettext
|
||||||
alias Cannery.Ammo
|
alias Cannery.{Ammo, Repo}
|
||||||
|
|
||||||
@moduletag :ammo_type_live_test
|
@moduletag :ammo_type_live_test
|
||||||
|
|
||||||
@ -26,6 +26,14 @@ defmodule CanneryWeb.AmmoTypeLiveTest do
|
|||||||
"name" => "some updated name",
|
"name" => "some updated name",
|
||||||
"grains" => 456
|
"grains" => 456
|
||||||
}
|
}
|
||||||
|
@ammo_group_attrs %{
|
||||||
|
"notes" => "some ammo group",
|
||||||
|
"count" => 20
|
||||||
|
}
|
||||||
|
@shot_group_attrs %{
|
||||||
|
"notes" => "some shot group",
|
||||||
|
"count" => 20
|
||||||
|
}
|
||||||
|
|
||||||
# @invalid_attrs %{
|
# @invalid_attrs %{
|
||||||
# "bullet_type" => nil,
|
# "bullet_type" => nil,
|
||||||
@ -40,6 +48,22 @@ defmodule CanneryWeb.AmmoTypeLiveTest do
|
|||||||
%{ammo_type: ammo_type_fixture(@create_attrs, current_user)}
|
%{ammo_type: ammo_type_fixture(@create_attrs, current_user)}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
defp create_ammo_group(%{ammo_type: ammo_type, current_user: current_user}) do
|
||||||
|
container = container_fixture(current_user)
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(@ammo_group_attrs, ammo_type, container, current_user)
|
||||||
|
|
||||||
|
%{ammo_group: ammo_group, container: container}
|
||||||
|
end
|
||||||
|
|
||||||
|
defp create_empty_ammo_group(%{ammo_type: ammo_type, current_user: current_user}) do
|
||||||
|
container = container_fixture(current_user)
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(@ammo_group_attrs, ammo_type, container, current_user)
|
||||||
|
shot_group = shot_group_fixture(@shot_group_attrs, current_user, ammo_group)
|
||||||
|
ammo_group = ammo_group |> Repo.reload!()
|
||||||
|
|
||||||
|
%{ammo_group: ammo_group, container: container, shot_group: shot_group}
|
||||||
|
end
|
||||||
|
|
||||||
describe "Index" do
|
describe "Index" do
|
||||||
setup [:register_and_log_in_user, :create_ammo_type]
|
setup [:register_and_log_in_user, :create_ammo_type]
|
||||||
|
|
||||||
@ -97,6 +121,58 @@ defmodule CanneryWeb.AmmoTypeLiveTest do
|
|||||||
assert html =~ "some updated bullet_type"
|
assert html =~ "some updated bullet_type"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "clones ammo_type in listing",
|
||||||
|
%{conn: conn, current_user: current_user, ammo_type: ammo_type} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.ammo_type_index_path(conn, :index))
|
||||||
|
|
||||||
|
html = index_live |> element("[data-qa=\"clone-#{ammo_type.id}\"]") |> render_click()
|
||||||
|
assert html =~ gettext("New Ammo type")
|
||||||
|
assert html =~ "some bullet_type"
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.ammo_type_index_path(conn, :clone, ammo_type))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#ammo_type-form", ammo_type: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#ammo_type-form", ammo_type: @create_attrs)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.ammo_type_index_path(conn, :index))
|
||||||
|
|
||||||
|
ammo_type = ammo_type.id |> Ammo.get_ammo_type!(current_user)
|
||||||
|
assert html =~ dgettext("prompts", "%{name} created successfully", name: ammo_type.name)
|
||||||
|
assert html =~ "some bullet_type"
|
||||||
|
end
|
||||||
|
|
||||||
|
test "clones ammo_type in listing with updates",
|
||||||
|
%{conn: conn, current_user: current_user, ammo_type: ammo_type} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.ammo_type_index_path(conn, :index))
|
||||||
|
|
||||||
|
html = index_live |> element("[data-qa=\"clone-#{ammo_type.id}\"]") |> render_click()
|
||||||
|
assert html =~ gettext("New Ammo type")
|
||||||
|
assert html =~ "some bullet_type"
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.ammo_type_index_path(conn, :clone, ammo_type))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#ammo_type-form", ammo_type: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#ammo_type-form",
|
||||||
|
ammo_type: Map.merge(@create_attrs, %{"bullet_type" => "some updated bullet_type"})
|
||||||
|
)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.ammo_type_index_path(conn, :index))
|
||||||
|
|
||||||
|
ammo_type = ammo_type.id |> Ammo.get_ammo_type!(current_user)
|
||||||
|
assert html =~ dgettext("prompts", "%{name} created successfully", name: ammo_type.name)
|
||||||
|
assert html =~ "some updated bullet_type"
|
||||||
|
end
|
||||||
|
|
||||||
test "deletes ammo_type in listing", %{conn: conn, ammo_type: ammo_type} do
|
test "deletes ammo_type in listing", %{conn: conn, ammo_type: ammo_type} do
|
||||||
{:ok, index_live, _html} = live(conn, Routes.ammo_type_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.ammo_type_index_path(conn, :index))
|
||||||
|
|
||||||
@ -105,7 +181,41 @@ defmodule CanneryWeb.AmmoTypeLiveTest do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "Show" do
|
describe "Index with ammo group" do
|
||||||
|
setup [:register_and_log_in_user, :create_ammo_type, :create_ammo_group]
|
||||||
|
|
||||||
|
test "shows additional ammo type info on toggle",
|
||||||
|
%{conn: conn, ammo_group: ammo_group, current_user: current_user} do
|
||||||
|
{:ok, show_live, html} = live(conn, Routes.ammo_type_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert html =~ dgettext("actions", "Show used")
|
||||||
|
refute html =~ gettext("Used rounds")
|
||||||
|
refute html =~ gettext("Total ever rounds")
|
||||||
|
refute html =~ gettext("Used packs")
|
||||||
|
refute html =~ gettext("Total ever packs")
|
||||||
|
|
||||||
|
html = show_live |> element("[data-qa=\"toggle_show_used\"]") |> render_click()
|
||||||
|
|
||||||
|
assert html =~ gettext("Used rounds")
|
||||||
|
assert html =~ gettext("Total ever rounds")
|
||||||
|
assert html =~ gettext("Used packs")
|
||||||
|
assert html =~ gettext("Total ever packs")
|
||||||
|
|
||||||
|
assert html =~ "20"
|
||||||
|
assert html =~ "0"
|
||||||
|
assert html =~ "1"
|
||||||
|
|
||||||
|
shot_group_fixture(%{"count" => 5}, current_user, ammo_group)
|
||||||
|
|
||||||
|
{:ok, show_live, _html} = live(conn, Routes.ammo_type_index_path(conn, :index))
|
||||||
|
html = show_live |> element("[data-qa=\"toggle_show_used\"]") |> render_click()
|
||||||
|
|
||||||
|
assert html =~ "15"
|
||||||
|
assert html =~ "5"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
describe "Show ammo type" do
|
||||||
setup [:register_and_log_in_user, :create_ammo_type]
|
setup [:register_and_log_in_user, :create_ammo_type]
|
||||||
|
|
||||||
test "displays ammo_type", %{conn: conn, ammo_type: ammo_type} do
|
test "displays ammo_type", %{conn: conn, ammo_type: ammo_type} do
|
||||||
@ -139,4 +249,33 @@ defmodule CanneryWeb.AmmoTypeLiveTest do
|
|||||||
assert html =~ "some updated bullet_type"
|
assert html =~ "some updated bullet_type"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe "Show ammo type with ammo group" do
|
||||||
|
setup [:register_and_log_in_user, :create_ammo_type, :create_ammo_group]
|
||||||
|
|
||||||
|
test "displays ammo group", %{conn: conn, ammo_type: ammo_type, container: container} do
|
||||||
|
{:ok, _show_live, html} = live(conn, Routes.ammo_type_show_path(conn, :show, ammo_type))
|
||||||
|
|
||||||
|
assert html =~ gettext("Show Ammo type")
|
||||||
|
assert html =~ "some ammo group"
|
||||||
|
assert html =~ container.name
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
describe "Show ammo type with empty ammo group" do
|
||||||
|
setup [:register_and_log_in_user, :create_ammo_type, :create_empty_ammo_group]
|
||||||
|
|
||||||
|
test "hides empty ammo groups by default",
|
||||||
|
%{conn: conn, ammo_type: ammo_type} do
|
||||||
|
{:ok, show_live, html} = live(conn, Routes.ammo_type_show_path(conn, :show, ammo_type))
|
||||||
|
|
||||||
|
assert html =~ dgettext("actions", "Show used")
|
||||||
|
refute html =~ "some ammo group"
|
||||||
|
|
||||||
|
html = show_live |> element("[data-qa=\"toggle_show_used\"]") |> render_click()
|
||||||
|
|
||||||
|
assert html =~ "some ammo group"
|
||||||
|
assert html =~ "Empty"
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
@ -6,7 +6,7 @@ defmodule CanneryWeb.ContainerLiveTest do
|
|||||||
use CanneryWeb.ConnCase
|
use CanneryWeb.ConnCase
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
import CanneryWeb.Gettext
|
import CanneryWeb.Gettext
|
||||||
alias Cannery.Containers
|
alias Cannery.{Containers, Repo}
|
||||||
|
|
||||||
@moduletag :container_live_test
|
@moduletag :container_live_test
|
||||||
|
|
||||||
@ -22,6 +22,22 @@ defmodule CanneryWeb.ContainerLiveTest do
|
|||||||
"name" => "some updated name",
|
"name" => "some updated name",
|
||||||
"type" => "some updated type"
|
"type" => "some updated type"
|
||||||
}
|
}
|
||||||
|
@ammo_type_attrs %{
|
||||||
|
"bullet_type" => "some bullet_type",
|
||||||
|
"case_material" => "some case_material",
|
||||||
|
"desc" => "some desc",
|
||||||
|
"manufacturer" => "some manufacturer",
|
||||||
|
"name" => "some name",
|
||||||
|
"grains" => 120
|
||||||
|
}
|
||||||
|
@ammo_group_attrs %{
|
||||||
|
"notes" => "some ammo group",
|
||||||
|
"count" => 20
|
||||||
|
}
|
||||||
|
@shot_group_attrs %{
|
||||||
|
"notes" => "some shot group",
|
||||||
|
"count" => 20
|
||||||
|
}
|
||||||
|
|
||||||
# @invalid_attrs %{desc: nil, location: nil, name: nil, type: nil}
|
# @invalid_attrs %{desc: nil, location: nil, name: nil, type: nil}
|
||||||
|
|
||||||
@ -30,7 +46,16 @@ defmodule CanneryWeb.ContainerLiveTest do
|
|||||||
%{container: container}
|
%{container: container}
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "Index" do
|
defp create_empty_ammo_group(%{container: container, current_user: current_user}) do
|
||||||
|
ammo_type = ammo_type_fixture(@ammo_type_attrs, current_user)
|
||||||
|
{1, [ammo_group]} = ammo_group_fixture(@ammo_group_attrs, ammo_type, container, current_user)
|
||||||
|
shot_group = shot_group_fixture(@shot_group_attrs, current_user, ammo_group)
|
||||||
|
ammo_group = ammo_group |> Repo.reload!()
|
||||||
|
|
||||||
|
%{ammo_group: ammo_group, shot_group: shot_group}
|
||||||
|
end
|
||||||
|
|
||||||
|
describe "Index regular" do
|
||||||
setup [:register_and_log_in_user, :create_container]
|
setup [:register_and_log_in_user, :create_container]
|
||||||
|
|
||||||
test "lists all containers", %{conn: conn, container: container} do
|
test "lists all containers", %{conn: conn, container: container} do
|
||||||
@ -89,6 +114,63 @@ defmodule CanneryWeb.ContainerLiveTest do
|
|||||||
assert html =~ "some updated location"
|
assert html =~ "some updated location"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "clones container in listing", %{
|
||||||
|
conn: conn,
|
||||||
|
current_user: current_user,
|
||||||
|
container: container
|
||||||
|
} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
html = index_live |> element("[data-qa=\"clone-#{container.id}\"]") |> render_click()
|
||||||
|
assert html =~ gettext("New Container")
|
||||||
|
assert html =~ "some location"
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.container_index_path(conn, :clone, container))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#container-form", container: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#container-form", container: @create_attrs)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
container = container.id |> Containers.get_container!(current_user)
|
||||||
|
assert html =~ dgettext("prompts", "%{name} created successfully", name: container.name)
|
||||||
|
assert html =~ "some location"
|
||||||
|
end
|
||||||
|
|
||||||
|
test "clones container in listing with updates", %{
|
||||||
|
conn: conn,
|
||||||
|
current_user: current_user,
|
||||||
|
container: container
|
||||||
|
} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert index_live |> element("[data-qa=\"clone-#{container.id}\"]") |> render_click() =~
|
||||||
|
gettext("New Container")
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.container_index_path(conn, :clone, container))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#container-form", container: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#container-form",
|
||||||
|
container: Map.merge(@create_attrs, %{location: "some updated location"})
|
||||||
|
)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
container = container.id |> Containers.get_container!(current_user)
|
||||||
|
assert html =~ dgettext("prompts", "%{name} created successfully", name: container.name)
|
||||||
|
assert html =~ "some updated location"
|
||||||
|
end
|
||||||
|
|
||||||
test "deletes container in listing", %{conn: conn, container: container} do
|
test "deletes container in listing", %{conn: conn, container: container} do
|
||||||
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :index))
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
@ -97,6 +179,130 @@ defmodule CanneryWeb.ContainerLiveTest do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe "Index table" do
|
||||||
|
setup [:register_and_log_in_user, :create_container]
|
||||||
|
|
||||||
|
test "lists all containers", %{conn: conn, container: container} do
|
||||||
|
{:ok, _index_live, html} = live(conn, Routes.container_index_path(conn, :table))
|
||||||
|
|
||||||
|
assert html =~ gettext("Containers")
|
||||||
|
assert html =~ container.location
|
||||||
|
end
|
||||||
|
|
||||||
|
test "saves new container", %{conn: conn, container: container} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :table))
|
||||||
|
|
||||||
|
assert index_live |> element("a", dgettext("actions", "New Container")) |> render_click() =~
|
||||||
|
gettext("New Container")
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.container_index_path(conn, :new))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#container-form", container: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#container-form", container: @create_attrs)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.container_index_path(conn, :table))
|
||||||
|
|
||||||
|
assert html =~ dgettext("prompts", "%{name} created successfully", name: container.name)
|
||||||
|
assert html =~ "some location"
|
||||||
|
end
|
||||||
|
|
||||||
|
test "updates container in listing", %{
|
||||||
|
conn: conn,
|
||||||
|
current_user: current_user,
|
||||||
|
container: container
|
||||||
|
} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :table))
|
||||||
|
|
||||||
|
assert index_live |> element("[data-qa=\"edit-#{container.id}\"]") |> render_click() =~
|
||||||
|
gettext("Edit %{name}", name: container.name)
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.container_index_path(conn, :edit, container))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#container-form", container: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#container-form", container: @update_attrs)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.container_index_path(conn, :table))
|
||||||
|
|
||||||
|
container = container.id |> Containers.get_container!(current_user)
|
||||||
|
assert html =~ dgettext("prompts", "%{name} updated successfully", name: container.name)
|
||||||
|
assert html =~ "some updated location"
|
||||||
|
end
|
||||||
|
|
||||||
|
test "clones container in listing", %{
|
||||||
|
conn: conn,
|
||||||
|
current_user: current_user,
|
||||||
|
container: container
|
||||||
|
} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
html = index_live |> element("[data-qa=\"clone-#{container.id}\"]") |> render_click()
|
||||||
|
assert html =~ gettext("New Container")
|
||||||
|
assert html =~ "some location"
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.container_index_path(conn, :clone, container))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#container-form", container: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#container-form", container: @create_attrs)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
container = container.id |> Containers.get_container!(current_user)
|
||||||
|
assert html =~ dgettext("prompts", "%{name} created successfully", name: container.name)
|
||||||
|
assert html =~ "some location"
|
||||||
|
end
|
||||||
|
|
||||||
|
test "clones container in listing with updates", %{
|
||||||
|
conn: conn,
|
||||||
|
current_user: current_user,
|
||||||
|
container: container
|
||||||
|
} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
assert index_live |> element("[data-qa=\"clone-#{container.id}\"]") |> render_click() =~
|
||||||
|
gettext("New Container")
|
||||||
|
|
||||||
|
assert_patch(index_live, Routes.container_index_path(conn, :clone, container))
|
||||||
|
|
||||||
|
# assert index_live
|
||||||
|
# |> form("#container-form", container: @invalid_attrs)
|
||||||
|
# |> render_change() =~ dgettext("errors", "can't be blank")
|
||||||
|
|
||||||
|
{:ok, _view, html} =
|
||||||
|
index_live
|
||||||
|
|> form("#container-form",
|
||||||
|
container: Map.merge(@create_attrs, %{location: "some updated location"})
|
||||||
|
)
|
||||||
|
|> render_submit()
|
||||||
|
|> follow_redirect(conn, Routes.container_index_path(conn, :index))
|
||||||
|
|
||||||
|
container = container.id |> Containers.get_container!(current_user)
|
||||||
|
assert html =~ dgettext("prompts", "%{name} created successfully", name: container.name)
|
||||||
|
assert html =~ "some updated location"
|
||||||
|
end
|
||||||
|
|
||||||
|
test "deletes container in listing", %{conn: conn, container: container} do
|
||||||
|
{:ok, index_live, _html} = live(conn, Routes.container_index_path(conn, :table))
|
||||||
|
|
||||||
|
assert index_live |> element("[data-qa=\"delete-#{container.id}\"]") |> render_click()
|
||||||
|
refute has_element?(index_live, "#container-#{container.id}")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
describe "Show" do
|
describe "Show" do
|
||||||
setup [:register_and_log_in_user, :create_container]
|
setup [:register_and_log_in_user, :create_container]
|
||||||
|
|
||||||
@ -134,4 +340,21 @@ defmodule CanneryWeb.ContainerLiveTest do
|
|||||||
assert html =~ "some updated location"
|
assert html =~ "some updated location"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe "Show with empty ammo group" do
|
||||||
|
setup [:register_and_log_in_user, :create_container, :create_empty_ammo_group]
|
||||||
|
|
||||||
|
test "hides empty ammo groups by default",
|
||||||
|
%{conn: conn, container: container} do
|
||||||
|
{:ok, show_live, html} = live(conn, Routes.container_show_path(conn, :show, container))
|
||||||
|
|
||||||
|
assert html =~ dgettext("actions", "Show used")
|
||||||
|
refute html =~ "some ammo group"
|
||||||
|
|
||||||
|
html = show_live |> element("[data-qa=\"toggle_show_used\"]") |> render_click()
|
||||||
|
|
||||||
|
assert html =~ "some ammo group"
|
||||||
|
assert html =~ "Empty"
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
@ -76,7 +76,7 @@ defmodule Cannery.Fixtures do
|
|||||||
def shot_group_fixture(attrs \\ %{}, %User{} = user, %AmmoGroup{} = ammo_group) do
|
def shot_group_fixture(attrs \\ %{}, %User{} = user, %AmmoGroup{} = ammo_group) do
|
||||||
attrs
|
attrs
|
||||||
|> Enum.into(%{
|
|> Enum.into(%{
|
||||||
"count" => 25,
|
"count" => 20,
|
||||||
"date" => ~N[2022-02-13 03:17:00],
|
"date" => ~N[2022-02-13 03:17:00],
|
||||||
"notes" => "some notes"
|
"notes" => "some notes"
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user