This commit is contained in:
shibao 2022-07-25 22:04:10 -04:00
parent 8f23a6bccb
commit c6e6154689
30 changed files with 270 additions and 1617 deletions

View File

@ -34,34 +34,6 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts";
opacity: 0.95 !important;
}
/* Alerts and form errors used by phx.new */
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
.alert-info {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}
.alert-warning {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
.alert-danger {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.alert p {
margin-bottom: 0;
}
.alert:empty {
display: none;
}
.invalid-feedback {
color: #a94442;
display: block;

View File

@ -6,8 +6,9 @@
}
.input-primary {
@apply border-primary-500 hover:border-primary-600 active:border-primary-600;
@apply text-black;
@apply bg-primary-900;
@apply border-primary-600 hover:border-primary-500 active:border-primary-400;
@apply text-primary-400;
}
.checkbox {
@ -27,31 +28,62 @@
.btn {
@apply focus:outline-none px-4 py-2 rounded-lg;
@apply shadow-sm focus:shadow-lg;
@apply border;
@apply transition-all duration-300 ease-in-out;
}
.btn-primary {
@apply bg-primary-500 focus:bg-primary-600 active:bg-primary-600;
@apply border-primary-500 focus:border-primary-600 active:border-primary-600;
@apply text-white;
@apply bg-primary-900 focus:bg-primary-900 active:bg-primary-800;
@apply border-primary-600 hover:border-primary-500 active:border-primary-400;
@apply text-primary-400;
}
.btn-alert {
@apply bg-red-600 focus:bg-red-700 active:bg-red-800;
@apply border-red-600 focus:border-red-700 active:border-red-800;
@apply text-white;
@apply text-primary-400;
}
.hr {
@apply border border-primary-300 w-full max-w-2xl;
@apply border border-primary-400 w-full max-w-2xl;
}
.hr-light {
@apply border border-white w-full max-w-2xl;
@apply border border-primary-600 w-full max-w-2xl;
}
.link {
@apply hover:underline;
@apply transition-colors duration-500 ease-in-out;
}
.alert {
@apply bg-primary-900;
@apply border-primary-600 hover:border-primary-500 active:border-primary-400;
@apply text-primary-400;
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
.alert-info {
@apply text-primary-400;
}
.alert-warning {
color: #8a6d3b;
}
.alert-danger {
color: #a94442;
}
.alert p {
margin-bottom: 0;
}
.alert:empty {
@apply hidden;
}
}

View File

@ -1,6 +1,7 @@
// We import the CSS which is extracted to its own file by esbuild.
// Remove this line if you add a your own CSS build pipeline (e.g postcss).
import '../css/app.scss'
import "@fontsource/nunito-sans";
// If you want to use Phoenix channels, run `mix help phx.gen.channel`
// to get started and then uncomment the line below.

159
assets/package-lock.json generated
View File

@ -6,6 +6,7 @@
"": {
"license": "MIT",
"dependencies": {
"@fontsource/nunito-sans": "^4.5.8",
"@fortawesome/fontawesome-free": "^6.1.1",
"alpinejs": "^3.10.2",
"phoenix": "file:../deps/phoenix",
@ -1828,6 +1829,11 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/@fontsource/nunito-sans": {
"version": "4.5.8",
"resolved": "https://registry.npmjs.org/@fontsource/nunito-sans/-/nunito-sans-4.5.8.tgz",
"integrity": "sha512-a725clWrshbo8nNGraAiX+DdI684JTUAMqcdBIldvbFVccWSjGzIJC6q7lXSEtsAGaEm/4h2FeMhgs4tS6UZEw=="
},
"node_modules/@fortawesome/fontawesome-free": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.1.1.tgz",
@ -1894,6 +1900,30 @@
"node": ">=6.0.0"
}
},
"node_modules/@jridgewell/source-map": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz",
"integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==",
"dev": true,
"dependencies": {
"@jridgewell/gen-mapping": "^0.3.0",
"@jridgewell/trace-mapping": "^0.3.9"
}
},
"node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz",
"integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==",
"dev": true,
"dependencies": {
"@jridgewell/set-array": "^1.0.1",
"@jridgewell/sourcemap-codec": "^1.4.10",
"@jridgewell/trace-mapping": "^0.3.9"
},
"engines": {
"node": ">=6.0.0"
}
},
"node_modules/@jridgewell/sourcemap-codec": {
"version": "1.4.13",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz",
@ -7227,12 +7257,6 @@
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
"dev": true
},
"node_modules/lodash.sortby": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
"integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",
"dev": true
},
"node_modules/lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
@ -11227,14 +11251,14 @@
}
},
"node_modules/terser": {
"version": "5.13.1",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz",
"integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==",
"version": "5.14.2",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz",
"integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==",
"dev": true,
"dependencies": {
"@jridgewell/source-map": "^0.3.2",
"acorn": "^8.5.0",
"commander": "^2.20.0",
"source-map": "~0.8.0-beta.0",
"source-map-support": "~0.5.20"
},
"bin": {
@ -11314,18 +11338,6 @@
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true
},
"node_modules/terser/node_modules/source-map": {
"version": "0.8.0-beta.0",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz",
"integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==",
"dev": true,
"dependencies": {
"whatwg-url": "^7.0.0"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
@ -11386,15 +11398,6 @@
"node": ">=0.8"
}
},
"node_modules/tr46": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz",
"integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=",
"dev": true,
"dependencies": {
"punycode": "^2.1.0"
}
},
"node_modules/trim-newlines": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz",
@ -11669,12 +11672,6 @@
"minimalistic-assert": "^1.0.0"
}
},
"node_modules/webidl-conversions": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz",
"integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==",
"dev": true
},
"node_modules/webpack": {
"version": "5.72.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.0.tgz",
@ -12062,17 +12059,6 @@
"node": ">=0.8.0"
}
},
"node_modules/whatwg-url": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",
"integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",
"dev": true,
"dependencies": {
"lodash.sortby": "^4.7.0",
"tr46": "^1.0.1",
"webidl-conversions": "^4.0.2"
}
},
"node_modules/which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
@ -13546,6 +13532,11 @@
}
}
},
"@fontsource/nunito-sans": {
"version": "4.5.8",
"resolved": "https://registry.npmjs.org/@fontsource/nunito-sans/-/nunito-sans-4.5.8.tgz",
"integrity": "sha512-a725clWrshbo8nNGraAiX+DdI684JTUAMqcdBIldvbFVccWSjGzIJC6q7lXSEtsAGaEm/4h2FeMhgs4tS6UZEw=="
},
"@fortawesome/fontawesome-free": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.1.1.tgz",
@ -13596,6 +13587,29 @@
"integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==",
"dev": true
},
"@jridgewell/source-map": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz",
"integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==",
"dev": true,
"requires": {
"@jridgewell/gen-mapping": "^0.3.0",
"@jridgewell/trace-mapping": "^0.3.9"
},
"dependencies": {
"@jridgewell/gen-mapping": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz",
"integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==",
"dev": true,
"requires": {
"@jridgewell/set-array": "^1.0.1",
"@jridgewell/sourcemap-codec": "^1.4.10",
"@jridgewell/trace-mapping": "^0.3.9"
}
}
}
},
"@jridgewell/sourcemap-codec": {
"version": "1.4.13",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz",
@ -17640,12 +17654,6 @@
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
"dev": true
},
"lodash.sortby": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
"integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",
"dev": true
},
"lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
@ -20476,14 +20484,14 @@
}
},
"terser": {
"version": "5.13.1",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz",
"integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==",
"version": "5.14.2",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz",
"integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==",
"dev": true,
"requires": {
"@jridgewell/source-map": "^0.3.2",
"acorn": "^8.5.0",
"commander": "^2.20.0",
"source-map": "~0.8.0-beta.0",
"source-map-support": "~0.5.20"
},
"dependencies": {
@ -20498,15 +20506,6 @@
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true
},
"source-map": {
"version": "0.8.0-beta.0",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz",
"integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==",
"dev": true,
"requires": {
"whatwg-url": "^7.0.0"
}
}
}
},
@ -20584,15 +20583,6 @@
"punycode": "^2.1.1"
}
},
"tr46": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz",
"integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=",
"dev": true,
"requires": {
"punycode": "^2.1.0"
}
},
"trim-newlines": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz",
@ -20814,12 +20804,6 @@
"minimalistic-assert": "^1.0.0"
}
},
"webidl-conversions": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz",
"integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==",
"dev": true
},
"webpack": {
"version": "5.72.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.0.tgz",
@ -21087,17 +21071,6 @@
"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==",
"dev": true
},
"whatwg-url": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",
"integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",
"dev": true,
"requires": {
"lodash.sortby": "^4.7.0",
"tr46": "^1.0.1",
"webidl-conversions": "^4.0.2"
}
},
"which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",

View File

@ -9,6 +9,7 @@
"test": "standard"
},
"dependencies": {
"@fontsource/nunito-sans": "^4.5.8",
"@fortawesome/fontawesome-free": "^6.1.1",
"alpinejs": "^3.10.2",
"phoenix": "file:../deps/phoenix",

View File

@ -9,7 +9,7 @@ module.exports = {
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: colors.black,
primary: colors.zinc,
black: colors.black,
white: colors.white,
gray: colors.neutral,
@ -17,6 +17,9 @@ module.exports = {
red: colors.rose,
yellow: colors.amber
},
fontFamily: {
'sans': ['Nunito Sans', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont']
},
extend: {
spacing: {
128: '32rem',

View File

@ -13,12 +13,12 @@ defmodule MemexWeb.Components.Topbar do
%{results: [], title_content: nil, flash: nil, current_user: nil} |> Map.merge(assigns)
~H"""
<nav role="navigation" class="mb-8 px-8 py-4 w-full bg-primary-400">
<nav role="navigation" class="mb-8 px-8 py-4 w-full bg-primary-900 text-primary-400">
<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">
<%= live_redirect("Memex",
<%= live_redirect("memex",
to: Routes.live_path(Endpoint, HomeLive),
class: "mx-2 my-1 leading-5 text-xl text-white hover:underline"
class: "mx-2 my-1 leading-5 text-xl text-primary-400 hover:underline"
) %>
<%= if @title_content do %>
@ -32,8 +32,29 @@ defmodule MemexWeb.Components.Topbar do
<hr class="mb-2 sm:hidden hr-light" />
<ul class="flex flex-row flex-wrap justify-center items-center
text-lg text-white text-ellipsis">
text-lg text-primary-400 text-ellipsis">
<%= if @current_user do %>
<li class="mx-2 my-1">
<%= live_redirect(gettext("Pipelines"),
to: Routes.pipeline_index_path(Endpoint, :index),
class: "text-primary-400 text-primary-400 hover:underline truncate"
) %>
</li>
<li class="mx-2 my-1">
<%= live_redirect(gettext("Contexts"),
to: Routes.context_index_path(Endpoint, :index),
class: "text-primary-400 text-primary-400 hover:underline truncate"
) %>
</li>
<li class="mx-2 my-1">
<%= live_redirect(gettext("Notes"),
to: Routes.note_index_path(Endpoint, :index),
class: "text-primary-400 text-primary-400 hover:underline truncate"
) %>
</li>
<form phx-change="suggest" phx-submit="search">
<input
type="text"
@ -51,20 +72,23 @@ defmodule MemexWeb.Components.Topbar do
<% end %>
</datalist>
</form>
<%= if @current_user.role == :admin do %>
<li class="mx-2 my-1">
<%= live_redirect(gettext("Invites"),
to: Routes.invite_index_path(Endpoint, :index),
class: "text-white text-white hover:underline"
class: "text-primary-400 text-primary-400 hover:underline"
) %>
</li>
<% end %>
<li class="mx-2 my-1">
<%= live_redirect(@current_user.email,
to: Routes.user_settings_path(Endpoint, :edit),
class: "text-white text-white hover:underline truncate"
class: "text-primary-400 text-primary-400 hover:underline truncate"
) %>
</li>
<li class="mx-2 my-1">
<%= link to: Routes.user_session_path(Endpoint, :delete),
method: :delete,
@ -72,10 +96,11 @@ defmodule MemexWeb.Components.Topbar do
<i class="fas fa-sign-out-alt"></i>
<% end %>
</li>
<%= if @current_user.role == :admin and function_exported?(Routes, :live_dashboard_path, 2) do %>
<li class="mx-2 my-1">
<%= live_redirect to: Routes.live_dashboard_path(Endpoint, :home),
class: "text-white text-white hover:underline" do %>
class: "text-primary-400 text-primary-400 hover:underline" do %>
<i class="fas fa-gauge"></i>
<% end %>
</li>
@ -85,14 +110,15 @@ defmodule MemexWeb.Components.Topbar do
<li class="mx-2 my-1">
<%= live_redirect(dgettext("actions", "Register"),
to: Routes.user_registration_path(Endpoint, :new),
class: "text-white text-white hover:underline truncate"
class: "text-primary-400 text-primary-400 hover:underline truncate"
) %>
</li>
<% end %>
<li class="mx-2 my-1">
<%= live_redirect(dgettext("actions", "Log in"),
to: Routes.user_session_path(Endpoint, :new),
class: "text-white text-white hover:underline truncate"
class: "text-primary-400 text-primary-400 hover:underline truncate"
) %>
</li>
<% end %>

View File

@ -1,9 +1,77 @@
<div class="flex flex-col justify-center items-center text-center space-y-4">
<h1 class="title text-primary-500 text-2xl">
<h1 class="title text-primary-400 text-2xl">
<%= gettext("memex") %>
</h1>
<p class="title text-primary-500 text-lg">
<%= gettext("filling this out later") %>
</p>
<hr class="hr" />
<ul class="flex flex-col space-y-4 text-center">
<li class="flex flex-col justify-center items-center
space-y-2">
<b class="whitespace-nowrap">
<%= gettext("Notes:") %>
</b>
<p>
<%= gettext("Document notes about individual items or concepts") %>
</p>
</li>
<li class="flex flex-col justify-center items-center
space-y-2">
<b class="whitespace-nowrap">
<%= gettext("Contexts:") %>
</b>
<p>
<%= gettext("Provide context around a single topic and hotlink to your notes") %>
</p>
</li>
<li class="flex flex-col justify-center items-center
space-y-2">
<b class="whitespace-nowrap">
<%= gettext("Pipelines:") %>
</b>
<p>
<%= gettext("Document your processes, attaching contexts to each step") %>
</p>
</li>
</ul>
<hr class="hr" />
<ul class="flex flex-col space-y-4 text-center">
<h2 class="title text-primary-400 text-lg">
<%= gettext("Features") %>
</h2>
<li class="flex flex-col justify-center items-center
space-y-2">
<b class="whitespace-nowrap">
<%= gettext("Multi-user:") %>
</b>
<p>
<%= gettext("Built with sharing and collaboration in mind") %>
</p>
</li>
<li class="flex flex-col justify-center items-center
space-y-2">
<b class="whitespace-nowrap">
<%= gettext("Privacy:") %>
</b>
<p>
<%= gettext("Privacy controls on a per-note, context or pipeline basis") %>
</p>
</li>
<li class="flex flex-col justify-center items-center
space-y-2">
<b class="whitespace-nowrap">
<%= gettext("Convenient:") %>
</b>
<p>
<%= gettext("Accessible from any internet-capable device") %>
</p>
</li>
</ul>
</div>

View File

@ -1,5 +1,5 @@
<div>
<h2 class="mb-8 text-center title text-xl text-primary-600">
<h2 class="mb-8 text-center title text-xl text-primary-400">
<%= @title %>
</h2>
<.form
@ -17,11 +17,11 @@
</div>
<% end %>
<%= label(f, :name, gettext("Name"), class: "title text-lg text-primary-600") %>
<%= label(f, :name, gettext("Name"), class: "title text-lg text-primary-400") %>
<%= text_input(f, :name, class: "input input-primary col-span-2") %>
<%= error_tag(f, :name, "col-span-3") %>
<%= label(f, :uses_left, gettext("Uses left"), class: "title text-lg text-primary-600") %>
<%= label(f, :uses_left, gettext("Uses left"), class: "title text-lg text-primary-400") %>
<%= number_input(f, :uses_left, min: 0, class: "input input-primary col-span-2") %>
<%= error_tag(f, :uses_left, "col-span-3") %>

View File

@ -4,7 +4,7 @@
</h1>
<%= if @invites |> Enum.empty?() do %>
<h1 class="title text-xl text-primary-600">
<h1 class="title text-xl text-primary-400">
<%= gettext("No invites 😔") %>
</h1>
@ -34,13 +34,13 @@
</form>
</:code_actions>
<%= live_patch to: Routes.invite_index_path(Endpoint, :edit, invite),
class: "text-primary-600 link",
class: "text-primary-400 link",
data: [qa: "edit-#{invite.id}"] do %>
<i class="fa-fw fa-lg fas fa-edit"></i>
<% end %>
<%= link to: "#",
class: "text-primary-600 link",
class: "text-primary-400 link",
phx_click: "delete_invite",
phx_value_id: invite.id,
data: [
@ -85,7 +85,7 @@
<%= unless @admins |> Enum.empty?() do %>
<hr class="hr" />
<h1 class="title text-2xl text-primary-600">
<h1 class="title text-2xl text-primary-400">
<%= gettext("Admins") %>
</h1>
@ -93,7 +93,7 @@
<%= for admin <- @admins do %>
<.user_card user={admin}>
<%= link to: "#",
class: "text-primary-600 link",
class: "text-primary-400 link",
phx_click: "delete_user",
phx_value_id: admin.id,
data: [
@ -114,7 +114,7 @@
<%= unless @users |> Enum.empty?() do %>
<hr class="hr" />
<h1 class="title text-2xl text-primary-600">
<h1 class="title text-2xl text-primary-400">
<%= gettext("Users") %>
</h1>
@ -122,7 +122,7 @@
<%= for user <- @users do %>
<.user_card user={user}>
<%= link to: "#",
class: "text-primary-600 link",
class: "text-primary-400 link",
phx_click: "delete_user",
phx_value_id: user.id,
data: [

View File

@ -93,14 +93,18 @@ defmodule MemexWeb.Router do
scope "/", MemexWeb do
pipe_through [:browser, :require_authenticated_user, :require_admin]
live_dashboard "/dashboard", metrics: MemexWeb.Telemetry, ecto_repos: [Memex.Repo]
live "/invites", InviteLive.Index, :index
live "/invites/new", InviteLive.Index, :new
live "/invites/:id/edit", InviteLive.Index, :edit
end
end
scope "/", MemexWeb do
pipe_through [:browser, :require_authenticated_user, :require_admin]
live_dashboard "/dashboard", metrics: MemexWeb.Telemetry, ecto_repos: [Memex.Repo]
end
scope "/", MemexWeb do
pipe_through [:browser]

View File

@ -18,13 +18,13 @@
<div class="pb-8 w-full flex flex-col justify-center items-center text-center">
<div class="p-8 sm:p-16 w-full flex flex-col justify-center items-center space-y-4 max-w-3xl">
<h1 class="title text-primary-600 text-3xl">
<h1 class="title text-primary-400 text-3xl">
<%= @error_string %>
</h1>
<hr class="w-full hr" />
<a href={Routes.live_path(Endpoint, HomeLive)} class="link title text-primary-600 text-lg">
<a href={Routes.live_path(Endpoint, HomeLive)} class="link title text-primary-400 text-lg">
<%= dgettext("errors", "Go back home") %>
</a>
</div>

View File

@ -29,26 +29,26 @@
<div
id="loading"
class="fixed opacity-0 top-0 left-0 w-screen h-screen bg-white z-50
class="fixed opacity-0 top-0 left-0 w-screen h-screen bg-primary-900 z-50
flex flex-col justify-center items-center space-y-4
transition-opacity ease-in-out duration-500"
>
<h1 class="title text-2xl title-primary-500 text-primary-500">
<h1 class="title text-2xl title-primary-500 text-primary-400">
<%= gettext("Loading...") %>
</h1>
<i class="fas fa-3x fa-spin fa-gear text-primary-500"></i>
<i class="fas fa-3x fa-spin fa-gear text-primary-400"></i>
</div>
<div
id="disconnect"
class="fixed opacity-0 top-0 left-0 w-screen h-screen bg-white z-50
class="fixed opacity-0 top-0 left-0 w-screen h-screen bg-primary-900 z-50
flex flex-col justify-center items-center space-y-4
transition-opacity ease-in-out duration-500"
>
<h1 class="title text-2xl title-primary-500 text-primary-500">
<h1 class="title text-2xl title-primary-500 text-primary-400">
<%= gettext("Reconnecting...") %>
</h1>
<i class="fas fa-3x fa-fade fa-satellite-dish text-primary-500"></i>
<i class="fas fa-3x fa-fade fa-satellite-dish text-primary-400"></i>
</div>

View File

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<%= csrf_meta_tag() %>
<%= if(assigns |> Map.has_key?(:page_title), do: @page_title, else: "Memex")
|> live_title_tag(suffix: " | Memex") %>
<%= if(assigns |> Map.has_key?(:page_title), do: @page_title, else: "memex")
|> live_title_tag(suffix: " | memex") %>
<link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/css/app.css")} />
<script
defer
@ -17,7 +17,7 @@
</script>
</head>
<body class="m-0 p-0 w-full h-full">
<body class="m-0 p-0 w-full h-full bg-primary-800 text-primary-400 subpixel-antialiased">
<%= @inner_content %>
</body>
</html>

View File

@ -1,5 +1,5 @@
<div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4">
<h1 class="title text-primary-600 text-xl">
<h1 class="title text-primary-400 text-xl">
<%= dgettext("actions", "Resend confirmation instructions") %>
</h1>
@ -9,7 +9,7 @@
action={Routes.user_confirmation_path(@conn, :create)}
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
>
<%= label(f, :email, class: "title text-lg text-primary-600") %>
<%= label(f, :email, class: "title text-lg text-primary-400") %>
<%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
<%= submit(dgettext("actions", "Resend confirmation instructions"),

View File

@ -1,5 +1,5 @@
<div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4">
<h1 class="title text-primary-600 text-xl">
<h1 class="title text-primary-400 text-xl">
<%= dgettext("actions", "Register") %>
</h1>
@ -21,15 +21,15 @@
<%= hidden_input(f, :invite_token, value: @invite.token) %>
<% end %>
<%= label(f, :email, class: "title text-lg text-primary-600") %>
<%= label(f, :email, class: "title text-lg text-primary-400") %>
<%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
<%= error_tag(f, :email, "col-span-3") %>
<%= label(f, :password, class: "title text-lg text-primary-600") %>
<%= label(f, :password, class: "title text-lg text-primary-400") %>
<%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %>
<%= error_tag(f, :password, "col-span-3") %>
<%= label(f, :locale, gettext("Language"), class: "title text-lg text-primary-600") %>
<%= label(f, :locale, gettext("Language"), class: "title text-lg text-primary-400") %>
<%= select(
f,
:locale,

View File

@ -1,5 +1,5 @@
<div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4">
<h1 class="title text-primary-600 text-xl">
<h1 class="title text-primary-400 text-xl">
<%= dgettext("actions", "Reset password") %>
</h1>
@ -17,12 +17,12 @@
</div>
<% end %>
<%= label(f, :password, "New password", class: "title text-lg text-primary-600") %>
<%= label(f, :password, "New password", class: "title text-lg text-primary-400") %>
<%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %>
<%= error_tag(f, :password, "col-span-3") %>
<%= label(f, :password_confirmation, "Confirm new password",
class: "title text-lg text-primary-600"
class: "title text-lg text-primary-400"
) %>
<%= password_input(f, :password_confirmation,
required: true,

View File

@ -1,5 +1,5 @@
<div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4">
<h1 class="title text-primary-600 text-xl">
<h1 class="title text-primary-400 text-xl">
<%= dgettext("actions", "Forgot your password?") %>
</h1>
@ -9,7 +9,7 @@
action={Routes.user_reset_password_path(@conn, :create)}
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
>
<%= label(f, :email, class: "title text-lg text-primary-600") %>
<%= label(f, :email, class: "title text-lg text-primary-400") %>
<%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
<%= submit(dgettext("actions", "Send instructions to reset password"),

View File

@ -1,5 +1,5 @@
<div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4">
<h1 class="title text-primary-600 text-xl">
<h1 class="title text-primary-400 text-xl">
<%= dgettext("actions", "Log in") %>
</h1>
@ -18,14 +18,14 @@
</div>
<% end %>
<%= label(f, :email, class: "title text-lg text-primary-600") %>
<%= label(f, :email, class: "title text-lg text-primary-400") %>
<%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
<%= label(f, :password, class: "title text-lg text-primary-600") %>
<%= label(f, :password, class: "title text-lg text-primary-400") %>
<%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %>
<%= label(f, :remember_me, gettext("Keep me logged in for 60 days"),
class: "title text-lg text-primary-600"
class: "title text-lg text-primary-400"
) %>
<%= checkbox(f, :remember_me, class: "checkbox col-span-2") %>

View File

@ -1,5 +1,5 @@
<div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center text-center space-y-4">
<h1 class="pb-4 title text-primary-600 text-xl">
<h1 class="pb-4 title text-primary-400 text-xl">
<%= gettext("Settings") %>
</h1>
@ -11,7 +11,7 @@
action={Routes.user_settings_path(@conn, :update)}
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
>
<h3 class="title text-primary-600 text-lg col-span-3">
<h3 class="title text-primary-400 text-lg col-span-3">
<%= dgettext("actions", "Change email") %>
</h3>
@ -25,13 +25,13 @@
<%= hidden_input(f, :action, name: "action", value: "update_email") %>
<%= label(f, :email, class: "title text-lg text-primary-600") %>
<%= label(f, :email, class: "title text-lg text-primary-400") %>
<%= email_input(f, :email, required: true, class: "mx-2 my-1 input input-primary col-span-2") %>
<%= error_tag(f, :email, "col-span-3") %>
<%= label(f, :current_password, gettext("Current password"),
for: "current_password_for_email",
class: "mx-2 my-1 title text-lg text-primary-600"
class: "mx-2 my-1 title text-lg text-primary-400"
) %>
<%= password_input(f, :current_password,
required: true,
@ -54,7 +54,7 @@
action={Routes.user_settings_path(@conn, :update)}
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
>
<h3 class="title text-primary-600 text-lg col-span-3">
<h3 class="title text-primary-400 text-lg col-span-3">
<%= dgettext("actions", "Change password") %>
</h3>
@ -68,7 +68,7 @@
<%= hidden_input(f, :action, name: "action", value: "update_password") %>
<%= label(f, :password, gettext("New password"), class: "title text-lg text-primary-600") %>
<%= label(f, :password, gettext("New password"), class: "title text-lg text-primary-400") %>
<%= password_input(f, :password,
required: true,
class: "mx-2 my-1 input input-primary col-span-2"
@ -76,7 +76,7 @@
<%= error_tag(f, :password, "col-span-3") %>
<%= label(f, :password_confirmation, gettext("Confirm new password"),
class: "title text-lg text-primary-600"
class: "title text-lg text-primary-400"
) %>
<%= password_input(f, :password_confirmation,
required: true,
@ -86,7 +86,7 @@
<%= label(f, :current_password, gettext("Current password"),
for: "current_password_for_password",
class: "title text-lg text-primary-600"
class: "title text-lg text-primary-400"
) %>
<%= password_input(f, :current_password,
required: true,
@ -109,7 +109,7 @@
action={Routes.user_settings_path(@conn, :update)}
class="flex flex-col space-y-4 justify-center items-center"
>
<h3 class="title text-primary-600 text-lg">
<h3 class="title text-primary-400 text-lg">
<%= dgettext("actions", "Change Language") %>
</h3>

View File

@ -1,104 +0,0 @@
## 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.
msgid ""
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:15
#: lib/lokal_web/templates/user_settings/edit.html.heex:44
msgid "Change email"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:58
#: lib/lokal_web/templates/user_settings/edit.html.heex:99
msgid "Change password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:139
msgid "Delete User"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:51
#: lib/lokal_web/templates/user_reset_password/new.html.heex:3
#: lib/lokal_web/templates/user_session/new.html.heex:44
msgid "Forgot your password?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:93
#: lib/lokal_web/templates/user_confirmation/new.html.heex:29
#: lib/lokal_web/templates/user_registration/new.html.heex:47
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:47
#: lib/lokal_web/templates/user_reset_password/new.html.heex:29
#: lib/lokal_web/templates/user_session/new.html.heex:3
#: lib/lokal_web/templates/user_session/new.html.heex:32
msgid "Log in"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:86
#: lib/lokal_web/templates/user_confirmation/new.html.heex:24
#: lib/lokal_web/templates/user_registration/new.html.heex:3
#: lib/lokal_web/templates/user_registration/new.html.heex:41
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:42
#: lib/lokal_web/templates/user_reset_password/new.html.heex:24
#: lib/lokal_web/templates/user_session/new.html.heex:39
msgid "Register"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_confirmation/new.html.heex:3
#: lib/lokal_web/templates/user_confirmation/new.html.heex:15
msgid "Resend confirmation instructions"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:3
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:33
msgid "Reset password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_reset_password/new.html.heex:15
msgid "Send instructions to reset password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:32
msgid "Copy to clipboard"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:16
msgid "Create Invite"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:11
msgid "Invite someone new!"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:28
msgid "Save"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:113
msgid "Change Language"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:131
msgid "Change language"
msgstr ""

View File

@ -1,171 +0,0 @@
## 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.
msgid ""
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:78
msgid "Confirm new password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:8
msgid "Confirm your account"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:32
#: lib/lokal_web/templates/user_settings/edit.html.heex:87
msgid "Current password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:9
msgid "Forgot your password?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/invite_card.ex:25
msgid "Invite Disabled"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:56
#: lib/lokal_web/live/invite_live/index.ex:41
#: lib/lokal_web/live/invite_live/index.html.heex:3
msgid "Invites"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_session/new.html.heex:27
msgid "Keep me logged in for 60 days"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/live.html.heex:37
msgid "Loading..."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_session_controller.ex:8
msgid "Log in"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:71
msgid "New password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/live.html.heex:50
msgid "Reconnecting..."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:35
msgid "Register"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:36
msgid "Reset your password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:10
#: lib/lokal_web/templates/user_settings/edit.html.heex:3
msgid "Settings"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/home_live.html.heex:7
msgid "Shop from your community"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/invite_card.ex:20
msgid "Uses Left:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/home_live.html.heex:3
msgid "Welcome to Memex"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/home_live.ex:10
msgid "Home"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:89
msgid "Admins"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:58
msgid "Disable"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:33
msgid "Edit Invite"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:62
msgid "Enable"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:20
msgid "Name"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:37
msgid "New Invite"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:8
msgid "No invites 😔"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:78
msgid "Set Unlimited"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:118
msgid "Users"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:24
msgid "Uses left"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:36
#: lib/lokal_web/templates/user_settings/edit.html.heex:126
msgid "English"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/user_card.ex:30
msgid "User registered on"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:32
msgid "Language"
msgstr ""

View File

@ -1,92 +0,0 @@
## 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.
msgid ""
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:3
#: lib/lokal_web/templates/email/confirm_email.txt.eex:2
#: lib/lokal_web/templates/email/reset_password.html.heex:3
#: lib/lokal_web/templates/email/reset_password.txt.eex:2
#: lib/lokal_web/templates/email/update_email.html.heex:3
#: lib/lokal_web/templates/email/update_email.txt.eex:2
msgid "Hi %{email},"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.txt.eex:10
msgid "If you didn't create an account at %{url}, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/reset_password.txt.eex:8
#: lib/lokal_web/templates/email/update_email.txt.eex:8
msgid "If you didn't request this change from %{url}, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/update_email.html.heex:8
#: lib/lokal_web/templates/email/update_email.txt.eex:4
msgid "You can change your email by visiting the URL below:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:14
#: lib/lokal_web/templates/email/confirm_email.txt.eex:6
msgid "You can confirm your account by visiting the URL below:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/reset_password.html.heex:8
#: lib/lokal_web/templates/email/reset_password.txt.eex:4
msgid "You can reset your password by visiting the URL below:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/email.ex:30
msgid "Confirm your Memex account"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:22
msgid "If you didn't create an account at Memex, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/reset_password.html.heex:16
#: lib/lokal_web/templates/email/update_email.html.heex:16
msgid "If you didn't request this change from Memex, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/email.ex:37
msgid "Reset your Memex password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/email.txt.eex:9
msgid "This email was sent from Memex at %{url}, the self-hosted firearm tracker website."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/email.html.heex:13
msgid "This email was sent from Memex, the self-hosted firearm tracker website."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/email.ex:44
msgid "Update your Memex email"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:9
#: lib/lokal_web/templates/email/confirm_email.txt.eex:4
msgid "Welcome to Memex"
msgstr ""

View File

@ -1,105 +0,0 @@
## "msgid"s in this file come from POT (.pot) files.
##
## Do not add, change, or remove "msgid"s manually here as
## they're tied to the ones in the corresponding POT file
## (with the same domain).
##
## Use "mix gettext.extract --merge" or "mix gettext.merge"
## to merge POT files into PO files.
msgid ""
msgstr ""
"Language: en\n"
"Plural-Forms: nplurals=2\n"
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:15
#: lib/lokal_web/templates/user_settings/edit.html.heex:44
msgid "Change email"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:58
#: lib/lokal_web/templates/user_settings/edit.html.heex:99
msgid "Change password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:139
msgid "Delete User"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:51
#: lib/lokal_web/templates/user_reset_password/new.html.heex:3
#: lib/lokal_web/templates/user_session/new.html.heex:44
msgid "Forgot your password?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:93
#: lib/lokal_web/templates/user_confirmation/new.html.heex:29
#: lib/lokal_web/templates/user_registration/new.html.heex:47
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:47
#: lib/lokal_web/templates/user_reset_password/new.html.heex:29
#: lib/lokal_web/templates/user_session/new.html.heex:3
#: lib/lokal_web/templates/user_session/new.html.heex:32
msgid "Log in"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:86
#: lib/lokal_web/templates/user_confirmation/new.html.heex:24
#: lib/lokal_web/templates/user_registration/new.html.heex:3
#: lib/lokal_web/templates/user_registration/new.html.heex:41
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:42
#: lib/lokal_web/templates/user_reset_password/new.html.heex:24
#: lib/lokal_web/templates/user_session/new.html.heex:39
msgid "Register"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_confirmation/new.html.heex:3
#: lib/lokal_web/templates/user_confirmation/new.html.heex:15
msgid "Resend confirmation instructions"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:3
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:33
msgid "Reset password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_reset_password/new.html.heex:15
msgid "Send instructions to reset password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:32
msgid "Copy to clipboard"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:16
msgid "Create Invite"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:11
msgid "Invite someone new!"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:28
msgid "Save"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:113
msgid "Change Language"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:131
msgid "Change language"
msgstr ""

View File

@ -1,172 +0,0 @@
## "msgid"s in this file come from POT (.pot) files.
##
## Do not add, change, or remove "msgid"s manually here as
## they're tied to the ones in the corresponding POT file
## (with the same domain).
##
## Use "mix gettext.extract --merge" or "mix gettext.merge"
## to merge POT files into PO files.
msgid ""
msgstr ""
"Language: en\n"
"Plural-Forms: nplurals=2\n"
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:78
msgid "Confirm new password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:8
msgid "Confirm your account"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:32
#: lib/lokal_web/templates/user_settings/edit.html.heex:87
msgid "Current password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:9
msgid "Forgot your password?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/invite_card.ex:25
msgid "Invite Disabled"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:56
#: lib/lokal_web/live/invite_live/index.ex:41
#: lib/lokal_web/live/invite_live/index.html.heex:3
msgid "Invites"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_session/new.html.heex:27
msgid "Keep me logged in for 60 days"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/live.html.heex:37
msgid "Loading..."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_session_controller.ex:8
msgid "Log in"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:71
msgid "New password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/live.html.heex:50
msgid "Reconnecting..."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:35
msgid "Register"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:36
msgid "Reset your password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:10
#: lib/lokal_web/templates/user_settings/edit.html.heex:3
msgid "Settings"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/home_live.html.heex:7
msgid "Shop from your community"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/invite_card.ex:20
msgid "Uses Left:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/home_live.html.heex:3
msgid "Welcome to Memex"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/home_live.ex:10
msgid "Home"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:89
msgid "Admins"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:58
msgid "Disable"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:33
msgid "Edit Invite"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:62
msgid "Enable"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:20
msgid "Name"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:37
msgid "New Invite"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:8
msgid "No invites 😔"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:78
msgid "Set Unlimited"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:118
msgid "Users"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:24
msgid "Uses left"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:36
#: lib/lokal_web/templates/user_settings/edit.html.heex:126
msgid "English"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/user_card.ex:30
msgid "User registered on"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:32
msgid "Language"
msgstr ""

View File

@ -1,93 +0,0 @@
## "msgid"s in this file come from POT (.pot) files.
##
## Do not add, change, or remove "msgid"s manually here as
## they're tied to the ones in the corresponding POT file
## (with the same domain).
##
## Use "mix gettext.extract --merge" or "mix gettext.merge"
## to merge POT files into PO files.
msgid ""
msgstr ""
"Language: en\n"
"Plural-Forms: nplurals=2\n"
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:3
#: lib/lokal_web/templates/email/confirm_email.txt.eex:2
#: lib/lokal_web/templates/email/reset_password.html.heex:3
#: lib/lokal_web/templates/email/reset_password.txt.eex:2
#: lib/lokal_web/templates/email/update_email.html.heex:3
#: lib/lokal_web/templates/email/update_email.txt.eex:2
msgid "Hi %{email},"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.txt.eex:10
msgid "If you didn't create an account at %{url}, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/reset_password.txt.eex:8
#: lib/lokal_web/templates/email/update_email.txt.eex:8
msgid "If you didn't request this change from %{url}, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/update_email.html.heex:8
#: lib/lokal_web/templates/email/update_email.txt.eex:4
msgid "You can change your email by visiting the URL below:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:14
#: lib/lokal_web/templates/email/confirm_email.txt.eex:6
msgid "You can confirm your account by visiting the URL below:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/reset_password.html.heex:8
#: lib/lokal_web/templates/email/reset_password.txt.eex:4
msgid "You can reset your password by visiting the URL below:"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/email.ex:30
msgid "Confirm your Memex account"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:22
msgid "If you didn't create an account at Memex, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/reset_password.html.heex:16
#: lib/lokal_web/templates/email/update_email.html.heex:16
msgid "If you didn't request this change from Memex, please ignore this."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/email.ex:37
msgid "Reset your Memex password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/email.txt.eex:9
msgid "This email was sent from Memex at %{url}, the self-hosted firearm tracker website."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/layout/email.html.heex:13
msgid "This email was sent from Memex, the self-hosted firearm tracker website."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/email.ex:44
msgid "Update your Memex email"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/email/confirm_email.html.heex:9
#: lib/lokal_web/templates/email/confirm_email.txt.eex:4
msgid "Welcome to Memex"
msgstr ""

View File

@ -1,204 +0,0 @@
## `msgid`s in this file come from POT (.pot) files.
##
## Do not add, change, or remove `msgid`s manually here as
## they're tied to the ones in the corresponding POT file
## (with the same domain).
##
## Use `mix gettext.extract --merge` or `mix gettext.merge`
## to merge POT files into PO files.
msgid ""
msgstr ""
"Language: en\n"
## From Ecto.Changeset.cast/4
msgid "can't be blank"
msgstr ""
## From Ecto.Changeset.unique_constraint/3
msgid "has already been taken"
msgstr ""
## From Ecto.Changeset.put_change/3
msgid "is invalid"
msgstr ""
## From Ecto.Changeset.validate_acceptance/3
msgid "must be accepted"
msgstr ""
## From Ecto.Changeset.validate_format/3
msgid "has invalid format"
msgstr ""
## From Ecto.Changeset.validate_subset/3
msgid "has an invalid entry"
msgstr ""
## From Ecto.Changeset.validate_exclusion/3
msgid "is reserved"
msgstr ""
## From Ecto.Changeset.validate_confirmation/3
msgid "does not match confirmation"
msgstr ""
## From Ecto.Changeset.no_assoc_constraint/3
msgid "is still associated with this entry"
msgstr ""
msgid "are still associated with this entry"
msgstr ""
msgid "should be %{count} character(s)"
msgid_plural "should be %{count} character(s)"
msgstr[0] ""
msgstr[1] ""
## From Ecto.Changeset.validate_length/3
msgid "should have %{count} item(s)"
msgid_plural "should have %{count} item(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should be at least %{count} character(s)"
msgid_plural "should be at least %{count} character(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should have at least %{count} item(s)"
msgid_plural "should have at least %{count} item(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should be at most %{count} character(s)"
msgid_plural "should be at most %{count} character(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should have at most %{count} item(s)"
msgid_plural "should have at most %{count} item(s)"
msgstr[0] ""
msgstr[1] ""
## From Ecto.Changeset.validate_number/3
msgid "must be less than %{number}"
msgstr ""
msgid "must be greater than %{number}"
msgstr ""
msgid "must be less than or equal to %{number}"
msgstr ""
msgid "must be greater than or equal to %{number}"
msgstr ""
msgid "must be equal to %{number}"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:84
msgid "Email change link is invalid or it has expired."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/error/error.html.heex:8
msgid "Error"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/error/error.html.heex:28
msgid "Go back home"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/views/error_view.ex:11
msgid "Internal Server Error"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_session_controller.ex:17
msgid "Invalid email or password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/views/error_view.ex:9
msgid "Not found"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:15
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:15
#: lib/lokal_web/templates/user_settings/edit.html.heex:21
#: lib/lokal_web/templates/user_settings/edit.html.heex:64
#: lib/lokal_web/templates/user_settings/edit.html.heex:119
msgid "Oops, something went wrong! Please check the errors below."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:63
msgid "Reset password link is invalid or it has expired."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:25
#: lib/lokal_web/controllers/user_registration_controller.ex:56
msgid "Sorry, public registration is disabled"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:15
#: lib/lokal_web/controllers/user_registration_controller.ex:46
msgid "Sorry, this invite was not found or expired"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:99
msgid "Unable to delete user"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/views/error_view.ex:10
msgid "Unauthorized"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:54
msgid "User confirmation link is invalid or it has expired."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_auth.ex:177
msgid "You are not authorized to view this page."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_auth.ex:39
#: lib/lokal_web/controllers/user_auth.ex:161
msgid "You must confirm your account and log in to access this page."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:130
msgid "did not change"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:151
msgid "does not match password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:188
msgid "is not valid"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:84
msgid "must have the @ sign and no spaces"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:18
msgid "You are not authorized to view this page"
msgstr ""

View File

@ -1,143 +0,0 @@
## "msgid"s in this file come from POT (.pot) files.
##
## Do not add, change, or remove "msgid"s manually here as
## they're tied to the ones in the corresponding POT file
## (with the same domain).
##
## Use "mix gettext.extract --merge" or "mix gettext.merge"
## to merge POT files into PO files.
msgid ""
msgstr ""
"Language: en\n"
"Plural-Forms: nplurals=2\n"
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:38
msgid "%{email} confirmed successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:29
msgid "A link to confirm your email change has been sent to the new address."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:143
msgid "Are you sure you want to delete your account?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:71
msgid "Are you sure you want to log out?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:77
msgid "Email changed successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:23
msgid "If your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:24
msgid "If your email is in our system, you will receive instructions to reset your password shortly."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_session_controller.ex:23
msgid "Logged out successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:46
msgid "Password reset successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:49
msgid "Password updated successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:74
msgid "Please check your email to verify your account"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:95
msgid "Your account has been deleted"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:101
#: lib/lokal_web/live/invite_live/index.html.heex:130
msgid "Are you sure you want to delete %{email}? This action is permanent!"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:127
msgid "Copied to clipboard"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:30
msgid "Saving..."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:133
msgid "Are you sure you want to change your language?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:65
msgid "Language updated successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.ex:62
msgid "%{invite_name} created successfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:53
msgid "%{invite_name} deleted succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:114
msgid "%{invite_name} disabled succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:90
msgid "%{invite_name} enabled succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:68
msgid "%{invite_name} updated succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.ex:42
msgid "%{invite_name} updated successfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:139
msgid "%{user_email} deleted succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:48
msgid "Are you sure you want to delete the invite for %{invite_name}?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:73
msgid "Are you sure you want to make %{invite_name} unlimited?"
msgstr ""

View File

@ -1,201 +0,0 @@
## This is a PO Template file.
##
## `msgid`s here are often extracted from source code.
## Add new translations manually only if they're dynamic
## translations that can't be statically extracted.
##
## Run `mix gettext.extract` to bring this file up to
## date. Leave `msgstr`s empty as changing them here has no
## effect: edit them in PO (`.po`) files instead.
## From Ecto.Changeset.cast/4
msgid "can't be blank"
msgstr ""
## From Ecto.Changeset.unique_constraint/3
msgid "has already been taken"
msgstr ""
## From Ecto.Changeset.put_change/3
msgid "is invalid"
msgstr ""
## From Ecto.Changeset.validate_acceptance/3
msgid "must be accepted"
msgstr ""
## From Ecto.Changeset.validate_format/3
msgid "has invalid format"
msgstr ""
## From Ecto.Changeset.validate_subset/3
msgid "has an invalid entry"
msgstr ""
## From Ecto.Changeset.validate_exclusion/3
msgid "is reserved"
msgstr ""
## From Ecto.Changeset.validate_confirmation/3
msgid "does not match confirmation"
msgstr ""
## From Ecto.Changeset.no_assoc_constraint/3
msgid "is still associated with this entry"
msgstr ""
msgid "are still associated with this entry"
msgstr ""
## From Ecto.Changeset.validate_length/3
msgid "should be %{count} character(s)"
msgid_plural "should be %{count} character(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should have %{count} item(s)"
msgid_plural "should have %{count} item(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should be at least %{count} character(s)"
msgid_plural "should be at least %{count} character(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should have at least %{count} item(s)"
msgid_plural "should have at least %{count} item(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should be at most %{count} character(s)"
msgid_plural "should be at most %{count} character(s)"
msgstr[0] ""
msgstr[1] ""
msgid "should have at most %{count} item(s)"
msgid_plural "should have at most %{count} item(s)"
msgstr[0] ""
msgstr[1] ""
## From Ecto.Changeset.validate_number/3
msgid "must be less than %{number}"
msgstr ""
msgid "must be greater than %{number}"
msgstr ""
msgid "must be less than or equal to %{number}"
msgstr ""
msgid "must be greater than or equal to %{number}"
msgstr ""
msgid "must be equal to %{number}"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:84
msgid "Email change link is invalid or it has expired."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/error/error.html.heex:8
msgid "Error"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/error/error.html.heex:28
msgid "Go back home"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/views/error_view.ex:11
msgid "Internal Server Error"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_session_controller.ex:17
msgid "Invalid email or password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/views/error_view.ex:9
msgid "Not found"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_registration/new.html.heex:15
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:15
#: lib/lokal_web/templates/user_settings/edit.html.heex:21
#: lib/lokal_web/templates/user_settings/edit.html.heex:64
#: lib/lokal_web/templates/user_settings/edit.html.heex:119
msgid "Oops, something went wrong! Please check the errors below."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:63
msgid "Reset password link is invalid or it has expired."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:25
#: lib/lokal_web/controllers/user_registration_controller.ex:56
msgid "Sorry, public registration is disabled"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:15
#: lib/lokal_web/controllers/user_registration_controller.ex:46
msgid "Sorry, this invite was not found or expired"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:99
msgid "Unable to delete user"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/views/error_view.ex:10
msgid "Unauthorized"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:54
msgid "User confirmation link is invalid or it has expired."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_auth.ex:177
msgid "You are not authorized to view this page."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_auth.ex:39
#: lib/lokal_web/controllers/user_auth.ex:161
msgid "You must confirm your account and log in to access this page."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:130
msgid "did not change"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:151
msgid "does not match password"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:188
msgid "is not valid"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/memex/accounts/user.ex:84
msgid "must have the @ sign and no spaces"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:18
msgid "You are not authorized to view this page"
msgstr ""

View File

@ -1,142 +0,0 @@
## 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.
msgid ""
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:38
msgid "%{email} confirmed successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:29
msgid "A link to confirm your email change has been sent to the new address."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:143
msgid "Are you sure you want to delete your account?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/components/topbar.ex:71
msgid "Are you sure you want to log out?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:77
msgid "Email changed successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_confirmation_controller.ex:23
msgid "If your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:24
msgid "If your email is in our system, you will receive instructions to reset your password shortly."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_session_controller.ex:23
msgid "Logged out successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_reset_password_controller.ex:46
msgid "Password reset successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:49
msgid "Password updated successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_registration_controller.ex:74
msgid "Please check your email to verify your account"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:95
msgid "Your account has been deleted"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:101
#: lib/lokal_web/live/invite_live/index.html.heex:130
msgid "Are you sure you want to delete %{email}? This action is permanent!"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:127
msgid "Copied to clipboard"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.html.heex:30
msgid "Saving..."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/templates/user_settings/edit.html.heex:133
msgid "Are you sure you want to change your language?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/controllers/user_settings_controller.ex:65
msgid "Language updated successfully."
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.ex:62
msgid "%{invite_name} created successfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:53
msgid "%{invite_name} deleted succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:114
msgid "%{invite_name} disabled succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:90
msgid "%{invite_name} enabled succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:68
msgid "%{invite_name} updated succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/form_component.ex:42
msgid "%{invite_name} updated successfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.ex:139
msgid "%{user_email} deleted succesfully"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:48
msgid "Are you sure you want to delete the invite for %{invite_name}?"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/lokal_web/live/invite_live/index.html.heex:73
msgid "Are you sure you want to make %{invite_name} unlimited?"
msgstr ""