add length limits to all items
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-19 23:46:42 -04:00
parent e5e5449e8b
commit fe4e4f4f17
41 changed files with 473 additions and 399 deletions

View File

@ -131,12 +131,12 @@ msgstr ""
msgid "Reset password"
msgstr ""
#: lib/cannery_web/components/add_shot_group_component.html.heex:56
#: lib/cannery_web/components/add_shot_group_component.html.heex:57
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:84
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:159
#: lib/cannery_web/live/container_live/form_component.html.heex:55
#: lib/cannery_web/live/invite_live/form_component.html.heex:32
#: lib/cannery_web/live/range_live/form_component.html.heex:44
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:180
#: lib/cannery_web/live/container_live/form_component.html.heex:57
#: lib/cannery_web/live/invite_live/form_component.html.heex:35
#: lib/cannery_web/live/range_live/form_component.html.heex:45
#: lib/cannery_web/live/tag_live/form_component.html.heex:37
#, elixir-autogen, elixir-format
msgid "Save"

View File

@ -48,42 +48,42 @@ msgid "Background color"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:65
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:143
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:158
#, elixir-autogen, elixir-format
msgid "Blank"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:71
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:79
#, elixir-autogen, elixir-format
msgid "Brass"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:47
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:47
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:51
#, elixir-autogen, elixir-format
msgid "Bullet core"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:46
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:40
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:43
#, elixir-autogen, elixir-format
msgid "Bullet type"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:49
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:61
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:67
#, elixir-autogen, elixir-format
msgid "Caliber"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:48
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:54
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:59
#, elixir-autogen, elixir-format
msgid "Cartridge"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:50
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:68
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:75
#, elixir-autogen, elixir-format
msgid "Case material"
msgstr ""
@ -104,7 +104,7 @@ msgid "Containers"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:66
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:147
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:162
#, elixir-autogen, elixir-format
msgid "Corrosive"
msgstr ""
@ -122,8 +122,8 @@ msgid "Count:"
msgstr ""
#: lib/cannery_web/components/container_table_component.ex:46
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:25
#: lib/cannery_web/live/container_live/form_component.html.heex:28
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:28
#: lib/cannery_web/live/container_live/form_component.html.heex:29
#, elixir-autogen, elixir-format
msgid "Description"
msgstr ""
@ -149,24 +149,24 @@ msgstr ""
msgid "Edit Tag"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:38
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:41
#, elixir-autogen, elixir-format
msgid "Example bullet type abbreviations"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:43
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:47
#, elixir-autogen, elixir-format
msgid "FMJ"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:59
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:106
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:118
#, elixir-autogen, elixir-format
msgid "Grains"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:64
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:139
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:154
#, elixir-autogen, elixir-format
msgid "Incendiary"
msgstr ""
@ -200,7 +200,7 @@ msgstr ""
#: lib/cannery_web/components/container_table_component.ex:47
#: lib/cannery_web/components/move_ammo_group_component.ex:69
#: lib/cannery_web/live/container_live/form_component.html.heex:45
#: lib/cannery_web/live/container_live/form_component.html.heex:47
#, elixir-autogen, elixir-format
msgid "Location"
msgstr ""
@ -211,18 +211,18 @@ msgstr ""
msgid "Location:"
msgstr ""
#: lib/cannery_web/live/container_live/form_component.html.heex:41
#: lib/cannery_web/live/container_live/form_component.html.heex:42
#, elixir-autogen, elixir-format
msgid "Magazine, Clip, Ammo Box, etc"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:67
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:151
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:166
#, elixir-autogen, elixir-format
msgid "Manufacturer"
msgstr ""
#: lib/cannery_web/live/container_live/form_component.html.heex:32
#: lib/cannery_web/live/container_live/form_component.html.heex:33
#, elixir-autogen, elixir-format
msgid "Metal ammo can with the anime girl sticker"
msgstr ""
@ -308,13 +308,13 @@ msgstr ""
msgid "Notes:"
msgstr ""
#: lib/cannery_web/live/container_live/form_component.html.heex:49
#: lib/cannery_web/live/container_live/form_component.html.heex:51
#, elixir-autogen, elixir-format
msgid "On the bookshelf"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:60
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:114
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:126
#, elixir-autogen, elixir-format
msgid "Pressure"
msgstr ""
@ -331,7 +331,7 @@ msgid "Price paid:"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:61
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:121
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:134
#, elixir-autogen, elixir-format
msgid "Primer type"
msgstr ""
@ -362,7 +362,7 @@ msgstr ""
msgid "Simple:"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:50
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:55
#, elixir-autogen, elixir-format
msgid "Steel"
msgstr ""
@ -397,14 +397,14 @@ msgid "The self-hosted firearm tracker website"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:63
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:135
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:150
#, elixir-autogen, elixir-format
msgid "Tracer"
msgstr ""
#: lib/cannery_web/components/container_table_component.ex:48
#: lib/cannery_web/components/move_ammo_group_component.ex:68
#: lib/cannery_web/live/container_live/form_component.html.heex:38
#: lib/cannery_web/live/container_live/form_component.html.heex:39
#, elixir-autogen, elixir-format
msgid "Type"
msgstr ""
@ -420,7 +420,7 @@ msgstr ""
msgid "Users"
msgstr ""
#: lib/cannery_web/live/invite_live/form_component.html.heex:25
#: lib/cannery_web/live/invite_live/form_component.html.heex:28
#, elixir-autogen, elixir-format
msgid "Uses left"
msgstr ""
@ -446,10 +446,10 @@ msgstr ""
msgid "Range day"
msgstr ""
#: lib/cannery_web/components/add_shot_group_component.html.heex:48
#: lib/cannery_web/components/add_shot_group_component.html.heex:49
#: lib/cannery_web/components/shot_group_table_component.ex:44
#: lib/cannery_web/live/ammo_group_live/show.ex:93
#: lib/cannery_web/live/range_live/form_component.html.heex:40
#: lib/cannery_web/live/range_live/form_component.html.heex:41
#, elixir-autogen, elixir-format
msgid "Date"
msgstr ""
@ -533,37 +533,37 @@ msgstr ""
msgid "$%{amount}"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:78
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:87
#, elixir-autogen, elixir-format
msgid "Bimetal"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:51
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:75
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:83
#, elixir-autogen, elixir-format
msgid "Jacket type"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:52
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:82
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:91
#, elixir-autogen, elixir-format
msgid "Muzzle velocity"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:55
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:96
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:108
#, elixir-autogen, elixir-format
msgid "Powder grains per charge"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:53
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:92
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:101
#, elixir-autogen, elixir-format
msgid "Powder type"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:68
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:155
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:173
#, elixir-autogen, elixir-format
msgid "UPC"
msgstr ""
@ -587,7 +587,7 @@ msgid "New password"
msgstr ""
#: lib/cannery_web/components/ammo_type_table_component.ex:62
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:128
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:142
#, elixir-autogen, elixir-format
msgid "Firing type"
msgstr ""
@ -787,7 +787,7 @@ msgstr ""
msgid "isn't he cute >:3"
msgstr ""
#: lib/cannery_web/live/invite_live/form_component.html.heex:29
#: lib/cannery_web/live/invite_live/form_component.html.heex:32
#, elixir-autogen, elixir-format
msgid "Leave \"Uses left\" blank to make invite unlimited"
msgstr ""
@ -1193,33 +1193,33 @@ msgstr ""
msgid "Password"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:117
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:130
#, elixir-autogen, elixir-format
msgid "+P"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:64
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:71
#, elixir-autogen, elixir-format
msgid ".223"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:57
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:63
#, elixir-autogen, elixir-format
msgid "5.56x46mm NATO"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:124
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:138
#, elixir-autogen, elixir-format
msgid "Boxer"
msgstr ""
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:131
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:146
#, elixir-autogen, elixir-format
msgid "Centerfire"
msgstr ""
#: lib/cannery_web/components/add_shot_group_component.html.heex:42
#: lib/cannery_web/live/range_live/form_component.html.heex:34
#: lib/cannery_web/components/add_shot_group_component.html.heex:43
#: lib/cannery_web/live/range_live/form_component.html.heex:35
#, elixir-autogen, elixir-format
msgid "Really great weather"
msgstr ""

View File

@ -119,22 +119,22 @@ msgstr "Tá nasc an úsáideoir a deimhnigh neamhbailí nó as dáta."
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:144
#: lib/cannery/accounts/user.ex:145
#, elixir-autogen, elixir-format
msgid "did not change"
msgstr "Níor athraigh sé"
#: lib/cannery/accounts/user.ex:165
#: lib/cannery/accounts/user.ex:166
#, elixir-autogen, elixir-format
msgid "does not match password"
msgstr ""
#: lib/cannery/accounts/user.ex:202
#: lib/cannery/accounts/user.ex:203
#, elixir-autogen, elixir-format
msgid "is not valid"
msgstr ""
#: lib/cannery/accounts/user.ex:99
#: lib/cannery/accounts/user.ex:100
#, elixir-autogen, elixir-format
msgid "must have the @ sign and no spaces"
msgstr ""
@ -185,27 +185,27 @@ msgstr ""
msgid "Your browser does not support the canvas element."
msgstr ""
#: lib/cannery/activity_log/shot_group.ex:72
#: lib/cannery/activity_log/shot_group.ex:74
#, elixir-autogen, elixir-format, fuzzy
msgid "Please select a valid user and ammo pack"
msgstr ""
#: lib/cannery/activity_log/shot_group.ex:86
#: lib/cannery/activity_log/shot_group.ex:88
#, elixir-autogen, elixir-format
msgid "Ammo left can be at most %{count} rounds"
msgstr ""
#: lib/cannery/activity_log/shot_group.ex:82
#: lib/cannery/activity_log/shot_group.ex:84
#, elixir-autogen, elixir-format
msgid "Ammo left must be at least 0"
msgstr ""
#: lib/cannery/activity_log/shot_group.ex:119
#: lib/cannery/activity_log/shot_group.ex:122
#, elixir-autogen, elixir-format, fuzzy
msgid "Count can be at most %{count} shots"
msgstr ""
#: lib/cannery/activity_log/shot_group.ex:78
#: lib/cannery/activity_log/shot_group.ex:80
#, elixir-autogen, elixir-format
msgid "can't be blank"
msgstr ""

View File

@ -120,12 +120,12 @@ msgstr ""
msgid "Please check your email to verify your account"
msgstr ""
#: lib/cannery_web/components/add_shot_group_component.html.heex:58
#: lib/cannery_web/components/add_shot_group_component.html.heex:59
#: lib/cannery_web/live/ammo_group_live/form_component.html.heex:85
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:160
#: lib/cannery_web/live/container_live/form_component.html.heex:57
#: lib/cannery_web/live/invite_live/form_component.html.heex:34
#: lib/cannery_web/live/range_live/form_component.html.heex:46
#: lib/cannery_web/live/ammo_type_live/form_component.html.heex:181
#: lib/cannery_web/live/container_live/form_component.html.heex:59
#: lib/cannery_web/live/invite_live/form_component.html.heex:37
#: lib/cannery_web/live/range_live/form_component.html.heex:47
#: lib/cannery_web/live/tag_live/form_component.html.heex:39
#, elixir-autogen, elixir-format
msgid "Saving..."