Compare commits

..

99 Commits

Author SHA1 Message Date
kolaente 60e051433c
chore: group return parameter
continuous-integration/drone/pr Build is failing Details
2023-04-25 18:33:48 +02:00
kolaente 1ab50f4d7c
chore: make fuzzy matching a paramater 2023-04-25 18:33:48 +02:00
kolaente e3191c85fa
fix: make type singular 2023-04-25 18:33:47 +02:00
kolaente a12d2081ef
chore(i18n): clarify translation string 2023-04-25 18:33:47 +02:00
kolaente d3933e5591
chore: use startsWith for prefix matching 2023-04-25 18:33:47 +02:00
kolaente fd1e838e40
fix: clarify user search setting 2023-04-25 18:33:47 +02:00
kolaente 1a3621cf64
chore: remove user margin from the component 2023-04-25 18:33:45 +02:00
kolaente 9a47111686
chore: remove user margin from the component 2023-04-25 18:33:23 +02:00
kolaente 1cb39e133b
feat(quick add magic): allow fuzzy matching of assignees when the api results are unambigous 2023-04-25 18:33:23 +02:00
kolaente c52cc79c66
fix: ensure all matched quick add magic parts are correctly removed from the task 2023-04-25 18:33:23 +02:00
kolaente c15dcd7529
fix: lint 2023-04-25 18:33:23 +02:00
kolaente ffaccd0e9b
feat(assignees): show user avatar in search results 2023-04-25 18:33:22 +02:00
kolaente ee62d40f3d
feat: show initial list of users when opening the assignees view 2023-04-25 18:33:22 +02:00
kolaente bc825e41a9
chore: clarify users when can still be found even if they disabled it 2023-04-25 18:33:22 +02:00
kolaente 1db0da815c
fix(quick add magic): cleanup all assignee properties 2023-04-25 18:33:22 +02:00
kolaente 46b35f3885
fix(quick add magic): use the project user service to find assignees for quick add magic 2023-04-25 18:33:22 +02:00
kolaente 681626da2c
fix(quick add magic): don't replace the prefix in every occurrence when it is present in the matched part 2023-04-25 18:33:22 +02:00
kolaente b80f070431
feat: show avatar and full name in team overview
continuous-integration/drone/push Build is failing Details
2023-04-25 18:32:36 +02:00
renovate 03936c0403 chore(deps): update dependency vite to v4.3.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-25 16:04:40 +00:00
kolaente 62825d2e64
fix: add spacing between checkbox and title of related task
continuous-integration/drone/push Build is passing Details
Related to https://github.com/go-vikunja/frontend/issues/111
2023-04-25 17:33:47 +02:00
renovate 5cd5caef45 chore(deps): update dependency @vue/eslint-config-typescript to v11.0.3
continuous-integration/drone/push Build is passing Details
2023-04-25 15:17:58 +00:00
renovate 798e8b529d chore(deps): update dependency @vitejs/plugin-legacy to v4.0.3
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-25 15:04:36 +00:00
renovate 0e3766c5a5 chore(deps): update typescript-eslint monorepo to v5.59.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-25 13:05:07 +00:00
renovate 90207a4427 chore(deps): update dependency @vitejs/plugin-vue to v4.2.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-25 10:05:12 +00:00
renovate 60993a886a chore(deps): update dependency caniuse-lite to v1.0.30001481
continuous-integration/drone/push Build is passing Details
2023-04-24 06:16:59 +00:00
renovate a6b42f9181 chore(deps): update dependency happy-dom to v9.9.2
continuous-integration/drone/push Build is passing Details
2023-04-24 06:16:43 +00:00
renovate 98fbd7c53c chore(deps): update dependency netlify-cli to v14
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-24 01:05:19 +00:00
renovate 8d533f50e8 chore(deps): update dependency rollup to v3.21.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-23 20:04:46 +00:00
renovate 707459ec77 chore(deps): update dependency @types/node to v18.16.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-23 06:04:51 +00:00
renovate faf7db649e chore(deps): update dependency esbuild to v0.17.18
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-22 21:04:36 +00:00
renovate 202e71be48 chore(deps): update dependency vue-tsc to v1.4.4
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-22 20:04:41 +00:00
renovate d6e8b418d3 chore(deps): update dependency vue-tsc to v1.4.3
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-22 16:04:50 +00:00
renovate a9f41f6114 chore(deps): update dependency eslint to v8.39.0
continuous-integration/drone/push Build is passing Details
2023-04-22 15:45:11 +00:00
renovate f6f0d52518 fix(deps): update dependency @vueuse/core to v10.1.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-22 10:04:50 +00:00
renovate ccb9be42c2 chore(deps): update dependency vue-tsc to v1.4.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-21 11:04:30 +00:00
renovate 179009bfe3 chore(deps): update dependency @types/node to v18.15.13
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-21 07:04:39 +00:00
renovate 8c2bd94a9f chore(deps): update dependency vue-tsc to v1.4.1
continuous-integration/drone/push Build is passing Details
2023-04-21 06:13:48 +00:00
renovate 7757166d75 chore(deps): update dependency rollup to v3.20.7
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-21 05:04:36 +00:00
renovate 7f03002972 chore(deps): update dependency vite to v4.3.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2023-04-20 20:04:26 +00:00
renovate 8555006d9e chore(deps): update dependency vue-tsc to v1.4.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2023-04-20 18:04:40 +00:00
renovate 713ad64658 fix(deps): update sentry-javascript monorepo to v7.49.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-20 16:04:46 +00:00
renovate 0713d481e3 fix(deps): update dependency pinia to v2.0.35
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-20 11:04:28 +00:00
renovate ace0cf3588 chore(deps): update dependency vite to v4.3.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-20 09:04:31 +00:00
renovate bba3bbfe89 chore(deps): update dependency @types/dompurify to v3.0.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-20 08:04:42 +00:00
renovate 754afc5496 chore(deps): update dependency @types/node to v18.15.12
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-20 00:05:04 +00:00
renovate f1e8892ab5 chore(deps): update dependency postcss to v8.4.23
continuous-integration/drone/push Build is passing Details
2023-04-19 20:32:32 +00:00
renovate c11e192c4e fix(deps): update dependency axios to v1.3.6
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-19 20:05:18 +00:00
renovate e9c704075d chore(deps): update pnpm to v8.3.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-19 13:04:16 +00:00
renovate 35edcb5672 chore(deps): update dependency rollup to v3.20.6
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-18 12:05:05 +00:00
renovate 4695798176 chore(deps): update dependency vite to v4.2.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-18 10:05:15 +00:00
renovate 7a323fd170 chore(deps): update dependency rollup to v3.20.5
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-18 06:04:54 +00:00
renovate 1d6e4b6e32 chore(deps): update pnpm to v8.3.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-18 01:04:56 +00:00
renovate 5524aa7998 chore(deps): update dependency cypress to v12.10.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-17 19:04:51 +00:00
renovate 15ff2008e3 chore(deps): update typescript-eslint monorepo to v5.59.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-17 18:05:11 +00:00
renovate 9bc2e6e165 chore(deps): update dependency postcss-preset-env to v8.3.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-17 07:04:46 +00:00
renovate 344001856c chore(deps): update dependency rollup to v3.20.4
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-17 06:04:41 +00:00
renovate ad261fcc2f chore(deps): update dependency esbuild to v0.17.17
continuous-integration/drone/push Build is failing Details
2023-04-17 05:29:14 +00:00
renovate 5142a0ae72 chore(deps): update dependency caniuse-lite to v1.0.30001479
continuous-integration/drone/push Build is passing Details
2023-04-17 05:27:04 +00:00
renovate 6d195f96c9 chore(deps): update dependency happy-dom to v9.7.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-17 01:05:56 +00:00
Frederick [Bot] 1917b217a8 [skip ci] Updated translations via Crowdin 2023-04-17 00:25:34 +00:00
renovate 1f6b01bc73 chore(deps): update dependency rollup to v3.20.3
continuous-integration/drone/push Build is passing Details
2023-04-16 17:19:59 +00:00
renovate d47a16aa8e chore(deps): update dependency postcss to v8.4.22
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-16 14:04:37 +00:00
renovate c57d00a74b chore(deps): update dependency eslint-plugin-vue to v9.11.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-15 01:04:45 +00:00
renovate 77ea7fa0ee fix(deps): update dependency @vueuse/core to v10.0.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-14 22:04:52 +00:00
kolaente b92d780cda chore: formatting
continuous-integration/drone/push Build is passing Details
2023-04-14 21:53:04 +00:00
kolaente f14e721caf fix: rename resolveRef 2023-04-14 21:53:04 +00:00
renovate 1ff6399112 fix(deps): update dependency @vueuse/core to v10 2023-04-14 21:53:04 +00:00
renovate 503fb8da76 fix(deps): update dependency dompurify to v3.0.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-14 18:04:56 +00:00
renovate f050cb7015 chore(deps): update histoire to v0.16.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-14 11:04:40 +00:00
renovate 3670916f36 fix(deps): update sentry-javascript monorepo to v7.48.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-14 10:04:35 +00:00
Frederick [Bot] 838a063eaa [skip ci] Updated translations via Crowdin 2023-04-14 00:26:31 +00:00
renovate e1b16b11d6 chore(deps): update node.js to v18.16.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-13 01:04:28 +00:00
Dominik Pschenitschni 314cbf471f feat: better vscode vitest integration
continuous-integration/drone/push Build is passing Details
2023-04-12 15:39:49 +00:00
Dominik Pschenitschni a416d26f7c
chore: better function naming in password components
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2023-04-12 16:15:40 +02:00
Dominik Pschenitschni 795b26e1dd feat: improve datemathHelp.vue
continuous-integration/drone/push Build is passing Details
2023-04-12 07:33:45 +00:00
renovate 14666cf9d8 chore(deps): update dependency sass to v1.62.0
continuous-integration/drone/push Build is passing Details
2023-04-12 05:57:33 +00:00
renovate c938f31935 chore(deps): update pnpm to v8
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-11 23:05:49 +00:00
kolaente 35a52ef01b
fix(quick add magic): date parsing with a date at the beginning
continuous-integration/drone/push Build is passing Details
Resolves https://github.com/go-vikunja/frontend/issues/110
2023-04-11 18:12:08 +02:00
renovate 3b05ce3f10 chore(deps): update histoire to v0.16.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-11 14:04:49 +00:00
renovate aec4fd7a2d chore(deps): update dependency vitest to v0.30.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-11 12:04:57 +00:00
renovate 2661af3a17 fix(deps): update sentry-javascript monorepo to v7.47.0
continuous-integration/drone/push Build is passing Details
2023-04-11 12:01:30 +00:00
renovate 56f43bae3f chore(deps): update typescript-eslint monorepo to v5.58.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-10 18:04:41 +00:00
renovate 84472d2e9c chore(deps): update dependency happy-dom to v9.1.9
continuous-integration/drone/push Build is passing Details
2023-04-10 13:17:25 +00:00
renovate c5afcd63b0 chore(deps): update dependency postcss-preset-env to v8.3.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2023-04-10 12:05:14 +00:00
renovate 9bdb257814 chore(deps): update dependency caniuse-lite to v1.0.30001477
continuous-integration/drone/push Build is passing Details
2023-04-10 11:14:22 +00:00
renovate 5ad9891b16 chore(deps): update pnpm to v7.32.0
continuous-integration/drone/push Build is passing Details
2023-04-10 11:13:57 +00:00
renovate 7c04064917 chore(deps): update dependency vitest to v0.30.0
continuous-integration/drone/push Build is passing Details
2023-04-10 11:13:43 +00:00
renovate fb5383d86b chore(deps): update dependency esbuild to v0.17.16
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-10 05:04:46 +00:00
renovate 68af314ec0 chore(deps): update dependency eslint to v8.38.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-08 00:04:43 +00:00
renovate 8b1de5ce09 fix(deps): update dependency pinia to v2.0.34
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-07 20:04:46 +00:00
renovate 724b6fe091 chore(deps): update dependency typescript to v5.0.4
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-07 18:04:25 +00:00
renovate 6648cd30c3 chore(deps): update dependency sass to v1.61.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-06 22:04:45 +00:00
kolaente 8b90b45739
fix: make sure the unread notifications indicator is correctly positioned
continuous-integration/drone/push Build is passing Details
Resolves #3358
2023-04-06 16:11:12 +02:00
renovate 39be67eecf fix(deps): update dependency axios to v1.3.5
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-06 09:06:06 +00:00
Frederick [Bot] 750f0ddeab [skip ci] Updated translations via Crowdin 2023-04-05 00:06:16 +00:00
renovate 6a5ece2f24 chore(deps): update pnpm to v7.31.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-04 01:04:32 +00:00
Frederick [Bot] 4ce33abfe6 [skip ci] Updated translations via Crowdin 2023-04-04 00:06:21 +00:00
renovate 5b7e1af87d chore(deps): update dependency @types/dompurify to v3.0.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-03 20:04:51 +00:00
renovate 59c6605b14 chore(deps): update typescript-eslint monorepo to v5.57.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-04-03 18:05:29 +00:00
40 changed files with 1381 additions and 1323 deletions

2
.nvmrc
View File

@ -1 +1 @@
18.15.0
18.16.0

View File

@ -8,6 +8,7 @@
"lokalise.i18n-ally",
"mgmcdermott.vscode-language-babel",
"mikestead.dotenv",
"Syler.sass-indented"
"Syler.sass-indented",
"zixuanchen.vitest-explorer"
]
}

View File

@ -13,7 +13,7 @@
},
"homepage": "https://vikunja.io/",
"funding": "https://opencollective.com/vikunja",
"packageManager": "pnpm@7.30.5",
"packageManager": "pnpm@8.3.1",
"keywords": [
"todo",
"productivity",
@ -53,17 +53,17 @@
"@infectoone/vue-ganttastic": "2.1.4",
"@intlify/unplugin-vue-i18n": "0.10.0",
"@kyvg/vue3-notification": "2.9.0",
"@sentry/tracing": "7.46.0",
"@sentry/vue": "7.46.0",
"@vueuse/core": "9.13.0",
"axios": "1.3.4",
"@sentry/tracing": "7.49.0",
"@sentry/vue": "7.49.0",
"@vueuse/core": "10.1.0",
"axios": "1.3.6",
"blurhash": "2.0.5",
"bulma-css-variables": "0.9.33",
"camel-case": "4.1.2",
"codemirror": "5.65.12",
"date-fns": "2.29.3",
"dayjs": "1.11.7",
"dompurify": "3.0.1",
"dompurify": "3.0.2",
"easymde": "2.18.0",
"fast-deep-equal": "3.1.3",
"flatpickr": "4.6.13",
@ -74,7 +74,7 @@
"klona": "2.0.6",
"lodash.debounce": "4.0.8",
"marked": "4.3.0",
"pinia": "2.0.33",
"pinia": "2.0.35",
"register-service-worker": "1.7.2",
"snake-case": "3.0.4",
"sortablejs": "1.15.0",
@ -92,53 +92,53 @@
"@cypress/vite-dev-server": "5.0.5",
"@cypress/vue": "5.0.5",
"@faker-js/faker": "7.6.0",
"@histoire/plugin-screenshot": "0.15.9",
"@histoire/plugin-vue": "0.15.8",
"@histoire/plugin-screenshot": "0.16.1",
"@histoire/plugin-vue": "0.16.1",
"@rushstack/eslint-patch": "1.2.0",
"@types/codemirror": "5.60.7",
"@types/dompurify": "3.0.0",
"@types/dompurify": "3.0.2",
"@types/flexsearch": "0.7.3",
"@types/is-touch-device": "1.0.0",
"@types/lodash.debounce": "4.0.7",
"@types/marked": "4.0.8",
"@types/node": "18.15.11",
"@types/node": "18.16.0",
"@types/postcss-preset-env": "7.7.0",
"@types/sortablejs": "1.15.1",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"@vitejs/plugin-legacy": "4.0.2",
"@vitejs/plugin-vue": "4.1.0",
"@vue/eslint-config-typescript": "11.0.2",
"@typescript-eslint/eslint-plugin": "5.59.1",
"@typescript-eslint/parser": "5.59.1",
"@vitejs/plugin-legacy": "4.0.3",
"@vitejs/plugin-vue": "4.2.0",
"@vue/eslint-config-typescript": "11.0.3",
"@vue/test-utils": "2.3.2",
"@vue/tsconfig": "0.1.3",
"autoprefixer": "10.4.14",
"browserslist": "4.21.5",
"caniuse-lite": "1.0.30001473",
"caniuse-lite": "1.0.30001481",
"css-has-pseudo": "5.0.2",
"csstype": "3.1.2",
"cypress": "12.9.0",
"esbuild": "0.17.15",
"eslint": "8.37.0",
"eslint-plugin-vue": "9.10.0",
"happy-dom": "9.1.0",
"histoire": "0.15.9",
"netlify-cli": "13.2.2",
"postcss": "8.4.21",
"cypress": "12.10.0",
"esbuild": "0.17.18",
"eslint": "8.39.0",
"eslint-plugin-vue": "9.11.0",
"happy-dom": "9.9.2",
"histoire": "0.16.1",
"netlify-cli": "14.2.1",
"postcss": "8.4.23",
"postcss-easing-gradients": "3.0.1",
"postcss-easings": "3.0.1",
"postcss-focus-within": "7.0.2",
"postcss-preset-env": "8.3.0",
"rollup": "3.20.2",
"postcss-preset-env": "8.3.2",
"rollup": "3.21.0",
"rollup-plugin-visualizer": "5.9.0",
"sass": "1.60.0",
"sass": "1.62.0",
"start-server-and-test": "2.0.0",
"typescript": "5.0.3",
"vite": "4.2.1",
"typescript": "5.0.4",
"vite": "4.3.2",
"vite-plugin-inject-preload": "1.3.1",
"vite-plugin-pwa": "0.14.7",
"vite-svg-loader": "4.0.0",
"vitest": "0.29.8",
"vue-tsc": "1.2.0",
"vitest": "0.30.1",
"vue-tsc": "1.4.4",
"wait-on": "7.0.1",
"workbox-cli": "6.5.4"
},

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
<script setup lang="ts">
import datemathHelp from './datemathHelp.vue'
</script>
<template>
<Story>
<Variant title="Default">
<datemathHelp />
</Variant>
</Story>
</template>

View File

@ -1,7 +1,8 @@
<template>
<card
class="has-no-shadow how-it-works-modal"
:title="$t('input.datemathHelp.title')">
:title="$t('input.datemathHelp.title')"
>
<p>
{{ $t('input.datemathHelp.intro') }}
</p>
@ -27,11 +28,11 @@
</p>
<p>{{ $t('misc.forExample') }}</p>
<ul>
<li><code>+1d</code>{{ $t('input.datemathHelp.add1Day') }}</li>
<li><code>-1d</code>{{ $t('input.datemathHelp.minus1Day') }}</li>
<li><code>/d</code>{{ $t('input.datemathHelp.roundDay') }}</li>
<li><code>+1d</code> {{ $t('input.datemathHelp.add1Day') }}</li>
<li><code>-1d</code> {{ $t('input.datemathHelp.minus1Day') }}</li>
<li><code>/d</code> {{ $t('input.datemathHelp.roundDay') }}</li>
</ul>
<p>{{ $t('input.datemathHelp.supportedUnits') }}</p>
<h3>{{ $t('input.datemathHelp.supportedUnits') }}</h3>
<table class="table">
<tbody>
<tr>
@ -69,7 +70,7 @@
</tbody>
</table>
<p>{{ $t('input.datemathHelp.someExamples') }}</p>
<h3>{{ $t('input.datemathHelp.someExamples') }}</h3>
<table class="table">
<tbody>
<tr>
@ -100,7 +101,7 @@
<td><code>{{ exampleDate }}||+1M/d</code></td>
<td>
<i18n-t keypath="input.datemathHelp.examples.datePlusMonth" scope="global">
<code>{{ exampleDate }}</code>
<strong>{{ exampleDate }}</strong>
</i18n-t>
</td>
</tr>
@ -110,13 +111,15 @@
</template>
<script lang="ts" setup>
import {formatDate} from '@/helpers/time/formatDate'
import {formatDateShort} from '@/helpers/time/formatDate'
import BaseButton from '@/components/base/BaseButton.vue'
const exampleDate = formatDate(new Date(), 'yyyy-MM-dd')
const exampleDate = formatDateShort(new Date())
</script>
<style scoped lang="scss">
// FIXME: Remove style overwrites
.how-it-works-modal {
font-size: 1rem;
}

View File

@ -47,8 +47,13 @@ const displayName = computed(() => getDisplayName(props.user))
</script>
<style lang="scss" scoped>
.user.is-inline {
display: inline;
.user {
display: flex;
justify-items: center;
&.is-inline {
display: inline-flex;
}
}
.avatar {

View File

@ -146,12 +146,13 @@ function to(n, index) {
.trigger-button {
width: 100%;
position: relative;
}
.unread-indicator {
position: absolute;
top: .75rem;
right: 1.15rem;
top: 1rem;
right: .5rem;
width: .75rem;
height: .75rem;

View File

@ -442,5 +442,6 @@ async function toggleTaskDone(task: ITask) {
.task-done-checkbox {
padding: 0;
height: 18px; // The exact height of the checkbox in the container
margin-right: .75rem;
}
</style>

View File

@ -1,7 +1,7 @@
import { computed } from 'vue'
import type { Ref } from 'vue'
import {computed} from 'vue'
import type {Ref} from 'vue'
import {useTitle as useTitleVueUse, resolveRef} from '@vueuse/core'
import {useTitle as useTitleVueUse, toRef} from '@vueuse/core'
type UseTitleParameters = Parameters<typeof useTitleVueUse>
@ -9,12 +9,12 @@ export function useTitle(...args: UseTitleParameters) {
const [newTitle, ...restArgs] = args
const pageTitle = resolveRef(newTitle) as Ref<string>
const pageTitle = toRef(newTitle) as Ref<string>
const completeTitle = computed(() =>
const completeTitle = computed(() =>
(typeof pageTitle.value === 'undefined' || pageTitle.value === '')
? 'Vikunja'
: `${pageTitle.value} | Vikunja`,
? 'Vikunja'
: `${pageTitle.value} | Vikunja`,
)
return useTitleVueUse(completeTitle, ...restArgs)

View File

@ -129,7 +129,7 @@ const addTimeToDate = (text: string, date: Date, previousMatch: string | null):
}
export const getDateFromText = (text: string, now: Date = new Date()) => {
const fullDateRegex = / ([0-9][0-9]?\/[0-9][0-9]?\/[0-9][0-9]([0-9][0-9])?|[0-9][0-9][0-9][0-9]\/[0-9][0-9]?\/[0-9][0-9]?|[0-9][0-9][0-9][0-9]-[0-9][0-9]?-[0-9][0-9]?)/ig
const fullDateRegex = /(^| )([0-9][0-9]?\/[0-9][0-9]?\/[0-9][0-9]([0-9][0-9])?|[0-9][0-9][0-9][0-9]\/[0-9][0-9]?\/[0-9][0-9]?|[0-9][0-9][0-9][0-9]-[0-9][0-9]?-[0-9][0-9]?)/ig
// 1. Try parsing the text as a "usual" date, like 2021-06-24 or 06/24/2021
let results: string[] | null = fullDateRegex.exec(text)
@ -138,7 +138,7 @@ export const getDateFromText = (text: string, now: Date = new Date()) => {
let containsYear = true
if (result === null) {
// 2. Try parsing the date as something like "jan 21" or "21 jan"
const monthRegex = new RegExp(` (${monthsRegexGroup} [0-9][0-9]?|[0-9][0-9]? ${monthsRegexGroup})`, 'ig')
const monthRegex = new RegExp(`(^| )(${monthsRegexGroup} [0-9][0-9]?|[0-9][0-9]? ${monthsRegexGroup})`, 'ig')
results = monthRegex.exec(text)
result = results === null ? null : `${results[0]} ${now.getFullYear()}`.trim()
foundText = results === null ? '' : results[0].trim()
@ -146,7 +146,7 @@ export const getDateFromText = (text: string, now: Date = new Date()) => {
if (result === null) {
// 3. Try parsing the date as "27/01" or "01/27"
const monthNumericRegex = / ([0-9][0-9]?\/[0-9][0-9]?)/ig
const monthNumericRegex = /(^| )([0-9][0-9]?\/[0-9][0-9]?)/ig
results = monthNumericRegex.exec(text)
// Put the year before or after the date, depending on what works
@ -299,7 +299,7 @@ const getDateFromWeekday = (text: string): dateFoundResult => {
}
const getDayFromText = (text: string) => {
const matcher = /($| )(([1-2][0-9])|(3[01])|(0?[1-9]))(st|nd|rd|th|\.)($| )/ig
const matcher = /(^| )(([1-2][0-9])|(3[01])|(0?[1-9]))(st|nd|rd|th|\.)($| )/ig
const results = matcher.exec(text)
if (results === null) {
return {

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Kód",
"quote": "Citace",
"unorderedList": "Seznam s odrážkami",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Čistý blok",
"link": "Odkaz",
"image": "Obrázek",
@ -566,14 +566,14 @@
"canuse": "Můžete použít vzorec pro filtrování podle relativních datumů.",
"learnhow": "Podívejte se, jak to funguje",
"title": "Datumový vzorec",
"intro": "Datumový vzorec umožňuje určit relativní data, která jsou při použití filtru vyřešena za běhu Vikunjou.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Každý datumový matematický výraz začíná datem ukotvení, které může být buď {0}, nebo datový řetězec končící {1}. Po tomto ukotvení může volitelně následovat jeden nebo více matematických výrazů.",
"similar": "Tyto výrazy jsou podobné výrazům poskytnutým {0} a {1}.",
"add1Day": "Přidat jeden den",
"minus1Day": "Odečíst jeden den",
"roundDay": "Zaokrouhlit dolů na nejbližší den",
"supportedUnits": "Podporované časové jednotky jsou:",
"someExamples": "Některé příklady časových výrazů:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Sekundy",
"minutes": "Minuty",

View File

@ -529,7 +529,7 @@
"code": "Kode",
"quote": "Citat",
"unorderedList": "Usorteret liste",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Ryd Blok",
"link": "Link",
"image": "Billede",
@ -566,14 +566,14 @@
"canuse": "Du kan bruge datomatematik til at filtrere for relative datoer.",
"learnhow": "Se hvordan det virker",
"title": "Datomatematik",
"intro": "Dato Matematik giver dig mulighed for at angive relative datoer, som er løst løbende af Vikunja, når du anvender filteret.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Hver Datomatematik udtryk starter med en ankerdato, som enten kan være {0} eller en datostreng, der slutter med {1}. Denneanker dato kan eventuelt efterfølges af en eller flere matematik udtryk.",
"similar": "Disse udtryk ligner dem fra {0} og {1}.",
"add1Day": "Læg en dag til",
"minus1Day": "Træk en dag fra",
"roundDay": "Rund ned til nærmeste dag",
"supportedUnits": "Understøttede tidsenheder er:",
"someExamples": "Eksempler på tidsudtryk:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Sekunder",
"minutes": "Minutter",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Zitat",
"unorderedList": "Ungeordnete Liste",
"orderedList ": "Ordered List",
"orderedList": "Geordnete Liste",
"cleanBlock": "Formatierung löschen",
"link": "Link",
"image": "Bild",
@ -566,14 +566,14 @@
"canuse": "Du kannst Datumsberechnung verwenden, um nach relativen Daten zu filtern.",
"learnhow": "Sieh dir an, wie es funktioniert",
"title": "Datumsberechnung",
"intro": "Die Datumsberechnung erlaubt es, relative Daten anzugeben, die bei der Anwendung des Filters von Vikunja aufgelöst werden.",
"intro": "Du kannst relative Daten angeben, die bei der Anwendung des Filters von Vikunja aufgelöst werden.",
"expression": "Jeder Ausdruck der Datumsberechnung beginnt mit einem Datumswert, welcher entweder {0} sein kann oder mit {1} endet. Auf diesen Datumswert kann optional ein oder mehrere mathematische Ausdrücke folgen.",
"similar": "Diese Ausdrücke ähneln denen von {0} und {1}.",
"add1Day": "Einen Tag hinzufügen",
"minus1Day": "Einen Tag abziehen",
"roundDay": "Auf den nächsten Tag abrunden",
"supportedUnits": "Unterstützte Zeiteinheiten sind:",
"someExamples": "Einige Beispiele für Zeitausdrücke:",
"supportedUnits": "Unterstützte Zeiteinheiten",
"someExamples": "Beispiele für Zeitausdrücke",
"units": {
"seconds": "Sekunden",
"minutes": "Minuten",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Zitaat",
"unorderedList": "Ungordnedi Listä",
"orderedList ": "Ordered List",
"orderedList": "Geordnete Liste",
"cleanBlock": "Formatierig Lösche",
"link": "Link",
"image": "Bild",
@ -566,14 +566,14 @@
"canuse": "Du kannst Datumsberechnung verwenden, um nach relativen Daten zu filtern.",
"learnhow": "Sieh dir an, wie es funktioniert",
"title": "Datumsberechnung",
"intro": "Die Datumsberechnung erlaubt es, relative Daten anzugeben, die bei der Anwendung des Filters von Vikunja aufgelöst werden.",
"intro": "Du kannst relative Daten angeben, die bei der Anwendung des Filters von Vikunja aufgelöst werden.",
"expression": "Jeder Ausdruck der Datumsberechnung beginnt mit einem Datumswert, welcher entweder {0} sein kann oder mit {1} endet. Auf diesen Datumswert kann optional ein oder mehrere mathematische Ausdrücke folgen.",
"similar": "Diese Ausdrücke ähneln denen von {0} und {1}.",
"add1Day": "Einen Tag hinzufügen",
"minus1Day": "Einen Tag abziehen",
"roundDay": "Auf den nächsten Tag abrunden",
"supportedUnits": "Unterstützte Zeiteinheiten sind:",
"someExamples": "Einige Beispiele für Zeitausdrücke:",
"supportedUnits": "Unterstützte Zeiteinheiten",
"someExamples": "Beispiele für Zeitausdrücke",
"units": {
"seconds": "Sekunden",
"minutes": "Minuten",

View File

@ -569,14 +569,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Código",
"quote": "Cita",
"unorderedList": "Lista no ordenada",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Borrar Bloque",
"link": "Enlace",
"image": "Imagen",
@ -566,14 +566,14 @@
"canuse": "Puedes usar ecuaciones para filtrar por fechas relacionadas.",
"learnhow": "Mira cómo funciona",
"title": "Ecuaciones",
"intro": "Las Ecuaciones permiten determinar qué fechas relacionadas te mostrará Vikunja al aplicar este filtro.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Cada expresión matemática empieza con una fecha ancla, que puede ser {0}, o una cadena de texto que acabe en {1}. Opcionalmente, esta fecha puede estar seguida de una o más expresiones.",
"similar": "Estas expresiones son similares a las definidas en {0} y {1}.",
"add1Day": "Añadir un día",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Citation",
"unorderedList": "Liste non ordonnée",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Bloc propre",
"link": "Lien",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Codice",
"quote": "Citazione",
"unorderedList": "Elenco puntato",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Pulisci Blocco",
"link": "Link",
"image": "Immagine",
@ -566,14 +566,14 @@
"canuse": "Puoi usare le date calcolate per filtrare per date relative.",
"learnhow": "Scopri come funziona",
"title": "Date Calcolate",
"intro": "Le Date Calcolate ti permettono di specificare date relative che vengono calcolate al volo da Vikunja quando viene applicato il filtro.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Ogni Data Calcolata inizia con una data base, che può essere {0}, o una data con {1} alla fine. Questa data base può essere seguita da una o più espressioni matematiche.",
"similar": "Queste espressioni sono simili a quelle fornite da {0} e {1}.",
"add1Day": "Aggiungi un giorno",
"minus1Day": "Sottrai un giorno",
"roundDay": "Arrotonda per difetto al giorno più vicino",
"supportedUnits": "Le unità di tempo supportate sono:",
"someExamples": "Alcuni esempi di espressione temporale:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Secondi",
"minutes": "Minuti",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Citaat",
"unorderedList": "Ongesorteerde lijst",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Afbeelding",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -6,10 +6,10 @@
"welcomeEvening": "God Morgen {username}!",
"lastViewed": "Sist sett",
"project": {
"newText": "You can create a new project for your new tasks:",
"new": "New project",
"importText": "Or import your projects and tasks from other services into Vikunja:",
"import": "Import your data into Vikunja"
"newText": "Du kan opprette en ny liste for dine nye oppgaver:",
"new": "Nytt prosjekt",
"importText": "Eller importer lister og oppgaver fra andre tjenester til Vikunja:",
"import": "Importer dine data til Vikunja"
}
},
"404": {
@ -85,7 +85,7 @@
"weekStartSunday": "Søndag",
"weekStartMonday": "Mandag",
"language": "Språk",
"defaultProject": "Default Project",
"defaultProject": "Standard prosjekt",
"timezone": "Tidssone",
"overdueTasksRemindersTime": "Utløpte påminnelses-tid for oppgaver"
},
@ -143,7 +143,7 @@
},
"deletion": {
"title": "Slett kontoen din",
"text1": "The deletion of your account is permanent and cannot be undone. We will delete all your namespaces, projects, tasks and everything associated with it.",
"text1": "Sletting av din konto er permanent og kan ikke angres. Vi vil slette alle dine navneområder og prosjekter, oppgaver og alt forbundet med den.",
"text2": "For å fortsette, skriv inn passordet ditt. Du vil motta en e-post med ytterligere instruksjoner.",
"confirm": "Slett min konto",
"requestSuccess": "Forespørselen var vellykket. Du vil motta en e-post med ytterligere instruksjoner.",
@ -157,7 +157,7 @@
},
"export": {
"title": "Eksporter dine kontodata",
"description": "You can request a copy of all your Vikunja data. This include Namespaces, Projects, Tasks and everything associated to them. You can import this data in any Vikunja instance through the migration function.",
"description": "Du kan be om en kopi av alle Vikunja dataene dine. Dette inkluderer navneområder, lister, oppgaver og alt tilknyttet dem.",
"descriptionPasswordRequired": "Skriv inn passordet for å fortsette:",
"request": "Be om kopi av mine Vikunja Data",
"success": "Du har spurt om dine Vikunja data! Vi sender deg en e-post når den er klar til å laste ned.",
@ -165,193 +165,193 @@
}
},
"project": {
"archived": "This project is archived. It is not possible to create new or edit tasks for it.",
"title": "Project Title",
"color": "Color",
"projects": "Projects",
"search": "Type to search for a project…",
"searchSelect": "Click or press enter to select this project",
"shared": "Shared Projects",
"noDescriptionAvailable": "No project description is available.",
"archived": "Dette prosjektet er arkivert. Det er ikke mulig å opprette nye eller redigere oppgaver for det.",
"title": "Prosjekt tittel",
"color": "Farger",
"projects": "Prosjekter",
"search": "Tast for å søke etter et prosjekt…",
"searchSelect": "Klikk eller trykk enter for å velge dette prosjektet",
"shared": "Delte prosjekter",
"noDescriptionAvailable": "Ingen prosjektbeskrivelse er tilgjengelig.",
"create": {
"header": "New project",
"titlePlaceholder": "The project's title goes here…",
"addTitleRequired": "Please specify a title.",
"createdSuccess": "The project was successfully created.",
"addProjectRequired": "Please specify a project or set a default project in the settings."
"header": "Nytt prosjekt",
"titlePlaceholder": "Prosjektets tittel er her…",
"addTitleRequired": "Angi den nye tittelen.",
"createdSuccess": "Prosjektet ble opprettet.",
"addProjectRequired": "Vennligst spesifiser et prosjekt eller angi et standardprosjekt i innstillingene."
},
"archive": {
"title": "Archive \"{project}\"",
"archive": "Archive this project",
"unarchive": "Un-Archive this project",
"unarchiveText": "You will be able to create new tasks or edit it.",
"archiveText": "You won't be able to edit this project or create new tasks until you un-archive it.",
"success": "The project was successfully archived."
"title": "Arkiver{project}\"",
"archive": "Arkiver dette prosjektet",
"unarchive": "Av-arkivere dette prosjektet",
"unarchiveText": "Du vil kunne opprette nye oppgaver eller redigere den.",
"archiveText": "Du vil ikke være i stand til å redigere denne listen eller opprette nye oppgaver før du fjerner arkiveringen.",
"success": "Prosjektet ble vellykket arkivert."
},
"background": {
"title": "Set project background",
"remove": "Remove Background",
"upload": "Choose a background from your pc",
"searchPlaceholder": "Search for a background…",
"poweredByUnsplash": "Powered by Unsplash",
"loadMore": "Load more photos",
"success": "The background has been set successfully!",
"removeSuccess": "The background has been removed successfully!"
"title": "Angi prosjektbakgrunn",
"remove": "Fjern bakgrunn",
"upload": "Velg en bakgrunn fra din pc",
"searchPlaceholder": "Søk etter en bakgrunn…",
"poweredByUnsplash": "Drevet av Unsplash",
"loadMore": "Laste inn flere bilder",
"success": "Bakgrunnen er satt vellykket!",
"removeSuccess": "Bakgrunnen har blitt fjernet!"
},
"delete": {
"title": "Delete \"{project}\"",
"header": "Delete this project",
"text1": "Are you sure you want to delete this project and all of its contents?",
"text2": "This includes all tasks and CANNOT BE UNDONE!",
"success": "The project was successfully deleted.",
"tasksToDelete": "This will irrevocably remove approx. {count} tasks.",
"noTasksToDelete": "This project does not contain any tasks, it should be safe to delete."
"title": "Slett \"{project}",
"header": "Slett dette prosjektet",
"text1": "Er du sikker på at du vil slette dette prosjektet og alle relaterte data?",
"text2": "Dette inkluderer alle oppgaver og KAN IKKE ANGRES!",
"success": "Prosjektet ble slettet.",
"tasksToDelete": "Dette vil ugjenkallelig fjerne ca. {count} oppgaver.",
"noTasksToDelete": "Dette prosjektet inneholder ingen oppgaver, det bør være trygt å slette."
},
"duplicate": {
"title": "Duplicate this project",
"label": "Duplicate",
"text": "Select a namespace which should hold the duplicated project:",
"success": "The project was successfully duplicated."
"title": "Dupliser dette prosjektet",
"label": "Dupliser",
"text": "Velg et navneområde som skal holde det dupliserte prosjektet:",
"success": "Prosjektet ble duplisert."
},
"edit": {
"header": "Edit This Project",
"title": "Edit \"{project}\"",
"titlePlaceholder": "The project title goes here…",
"identifierTooltip": "The project identifier can be used to uniquely identify a task across projects. You can set it to empty to disable it.",
"identifier": "Project Identifier",
"identifierPlaceholder": "The project identifier goes here…",
"description": "Description",
"descriptionPlaceholder": "The projects description goes here…",
"color": "Color",
"success": "The project was successfully updated."
"header": "Rediger prosjekt",
"title": "Rediger \"{project}",
"titlePlaceholder": "Prosjekttittelen går her…",
"identifierTooltip": "Prosjektidentifikatoren kan brukes til å identifisere en oppgave på tvers av prosjekter. Du kan sette den til tom for å deaktivere den.",
"identifier": "Prosjekt identifikator",
"identifierPlaceholder": "Prosjektidentifikatoren kommer her…",
"description": "Beskrivelse",
"descriptionPlaceholder": "Beskrivelsen gis her…",
"color": "Farger",
"success": "Prosjektet ble opprettet."
},
"share": {
"header": "Share this project",
"title": "Share \"{project}\"",
"share": "Share",
"header": "Del dette prosjektet",
"title": "Del \"{project}\"",
"share": "Del",
"links": {
"title": "Share Links",
"what": "What is a share link?",
"explanation": "Share Links allow you to easily share a project with other users who don't have an account on Vikunja.",
"create": "Create a new link share",
"name": "Name (optional)",
"title": "Del link",
"what": "Hva er en lenke for deling?",
"explanation": "Lenker lar deg enkelt dele et prosjekt med andre brukere som ikke har en konto på Vikunja.",
"create": "Opprett en ny lenkedeling",
"name": "Navn (valgfritt)",
"namePlaceholder": "e.g. Lorem Ipsum",
"nameExplanation": "All actions done by this link share will show up with the name.",
"password": "Password (optional)",
"passwordExplanation": "When authenticating, the user will be required to enter this password.",
"noName": "No name set",
"remove": "Remove a link share",
"removeText": "Are you sure you want to remove this link share? It will no longer be possible to access this project with this link share. This cannot be undone!",
"createSuccess": "The link share was successfully created.",
"deleteSuccess": "The link share was successfully deleted",
"view": "View",
"sharedBy": "Shared by {0}"
"nameExplanation": "Alle handlinger utført av denne koblingsdelingen vises med navnet.",
"password": "Passord (valgfritt)",
"passwordExplanation": "Når brukeren autentiseres, må vedkommende angi dette passordet.",
"noName": "Ingen navn satt",
"remove": "Fjern en link deling",
"removeText": "Er du sikker på at du vil fjerne denne lenkedelen? Det vil ikke lenger være mulig å åpne dette prosjektet med denne lenkedelingen. Dette kan ikke angres!",
"createSuccess": "Delingen ble opprettet.",
"deleteSuccess": "Delingen ble slettet",
"view": "Vis",
"sharedBy": "Delt av {0}"
},
"userTeam": {
"typeUser": "user | users",
"typeUser": "bruker | brukere",
"typeTeam": "team | teams",
"shared": "Shared with these {type}",
"you": "You",
"notShared": "Not shared with any {type} yet.",
"removeHeader": "Remove a {type} from the {sharable}",
"removeText": "Are you sure you want to remove this {sharable} from the {type}? This cannot be undone!",
"removeSuccess": "The {sharable} was successfully removed from the {type}.",
"addedSuccess": "The {type} was successfully added.",
"updatedSuccess": "The {type} was successfully added."
"shared": "Delt med disse {type}",
"you": "Du",
"notShared": "Ikke delt med noen {type} ennå.",
"removeHeader": "Fjern en {type} fra {sharable}",
"removeText": "Er du sikker på at du vil fjerne denne {sharable} fra {type}? Dette kan ikke angres!",
"removeSuccess": "{sharable} ble fjernet fra {type}.",
"addedSuccess": "{type} ble lagt til.",
"updatedSuccess": "{type} ble lagt til."
},
"right": {
"title": "Permission",
"read": "Read only",
"readWrite": "Read & write",
"admin": "Admin"
"title": "Rettighet",
"read": "Kun lese",
"readWrite": "Lese og skrive",
"admin": "Administrator"
},
"attributes": {
"link": "Link",
"delete": "Delete"
"delete": "Slett"
}
},
"list": {
"title": "List",
"add": "Add",
"addPlaceholder": "Add a new task…",
"empty": "This project is currently empty.",
"newTaskCta": "Create a new task.",
"editTask": "Edit Task"
"title": "Liste",
"add": "Legg til",
"addPlaceholder": "Legg til ny oppgave…",
"empty": "Dette prosjektet er for øyeblikket tomt.",
"newTaskCta": "Lage en ny oppgave.",
"editTask": "Endre oppgave"
},
"gantt": {
"title": "Gantt",
"showTasksWithoutDates": "Show tasks which don't have dates set",
"size": "Size",
"default": "Default",
"month": "Month",
"day": "Day",
"hour": "Hour",
"range": "Date Range",
"noDates": "This task has no dates set."
"showTasksWithoutDates": "Vis oppgaver som ikke har datoer angitt",
"size": "Størrelse",
"default": "Standard",
"month": "Måned",
"day": "Dag",
"hour": "Time",
"range": "Datointervall",
"noDates": "Denne oppgaven har ingen datoer satt."
},
"table": {
"title": "Table",
"columns": "Columns"
"title": "Tabell",
"columns": "Kolonner"
},
"kanban": {
"title": "Kanban",
"limit": "Limit: {limit}",
"noLimit": "Not Set",
"doneBucket": "Done bucket",
"doneBucketHint": "All tasks moved into this bucket will automatically marked as done.",
"doneBucketHintExtended": "All tasks moved into the done bucket will be marked as done automatically. All tasks marked as done from elsewhere will be moved as well.",
"doneBucketSavedSuccess": "The done bucket has been saved successfully.",
"deleteLast": "You cannot remove the last bucket.",
"addTaskPlaceholder": "Enter the new task title…",
"addTask": "Add a task",
"addAnotherTask": "Add another task",
"addBucket": "Create a new bucket",
"addBucketPlaceholder": "Enter the new bucket title…",
"deleteHeaderBucket": "Delete the bucket",
"deleteBucketText1": "Are you sure you want to delete this bucket?",
"deleteBucketText2": "This will not delete any tasks but move them into the default bucket.",
"deleteBucketSuccess": "The bucket has been deleted successfully.",
"bucketTitleSavedSuccess": "The bucket title has been saved successfully.",
"bucketLimitSavedSuccess": "The bucket limit been saved successfully.",
"collapse": "Collapse this bucket"
"limit": "Grense: {limit}",
"noLimit": "Ikke Angitt",
"doneBucket": "Ferdig bøtte",
"doneBucketHint": "Alle oppgaver som flyttet til denne bøtte vil automatisk bli markert som ferdig.",
"doneBucketHintExtended": "Alle oppgaver som er flyttet inn i den utførte bøtten, vil bli merket som utført automatisk. Alle oppgaver merket som gjort fra andre steder vil også bli flyttet.",
"doneBucketSavedSuccess": "Bøtten er lagret.",
"deleteLast": "Du kan ikke fjerne den siste bøtten.",
"addTaskPlaceholder": "Angi den nye oppgavens tittel…",
"addTask": "Legg til oppgave",
"addAnotherTask": "Legg til en annen oppgave",
"addBucket": "Lag en ny bøtte",
"addBucketPlaceholder": "Angi den nye bøtte tittelen…",
"deleteHeaderBucket": "Slett bøtte",
"deleteBucketText1": "Er du sikker på at du vil slette denne bøtte?",
"deleteBucketText2": "Dette vil ikke slette noen oppgaver, men flytte dem til standard bøtte.",
"deleteBucketSuccess": "Bøtten er slettet.",
"bucketTitleSavedSuccess": "Bøtten er lagret.",
"bucketLimitSavedSuccess": "Grensen på bøtte er lagret.",
"collapse": "Skjul denne bøtten"
},
"pseudo": {
"favorites": {
"title": "Favorites"
"title": "Favoritter"
}
}
},
"namespace": {
"title": "Namespaces & Projects",
"title": "Navneområder & lister",
"namespace": "Navneområde",
"showArchived": "Vis arkiverte",
"noneAvailable": "Du har ingen navneområder akkurat nå.",
"unarchive": "Av-arkiver",
"archived": "Arkivert",
"noProjects": "This namespace does not contain any projects.",
"createProject": "Create a new project in this namespace.",
"noProjects": "Dette navneområdet inneholder ikke noen prosjekter.",
"createProject": "Opprett et nytt prosjekt i dette navneområdet.",
"namespaces": "Navnerom",
"search": "Skriv for å søke etter en etikett…",
"create": {
"title": "Nytt navneområde",
"titleRequired": "Angi den nye tittelen.",
"explanation": "A namespace is a collection of projects you can share and use to organize your projects with. In fact, every project belongs to a namespace.",
"explanation": "Et navneområde er en samling av lister du kan dele og bruke til å organisere listene dine med. I realiteten hører hver liste til et navneområde.",
"tooltip": "Hva er et navneområde?",
"success": "Navneområdet ble opprettet."
},
"archive": {
"titleArchive": "Arkiv \"{namespace}\"",
"titleUnarchive": "Av-Arkiv \"{namespace}\"",
"archiveText": "You won't be able to edit this namespace or create new projects until you un-archive it. This will also archive all projects in this namespace.",
"unarchiveText": "You will be able to create new projects or edit it.",
"archiveText": "Du vil ikke kunne redigere dette navneområdet eller opprette nye lister før du avlaster arkivet. Dette vil også arkivere alle lister i dette navneområdet.",
"unarchiveText": "Du vil kunne opprette nye oppgaver eller redigere den.",
"success": "Navnerommet ble arkivert.",
"unarchiveSuccess": "Navnerommet ble vellykket fjernet fra arkivet.",
"description": "If a namespace is archived, you cannot create new projects or edit it."
"description": "Hvis navneområdet er arkivert, kan du ikke opprette nye lister eller redigere det."
},
"delete": {
"title": "Slett \"{namespace}",
"text1": "Er du sikker på at du vil slette dette navneområdet og alt innholdet?",
"text2": "This includes all projects and tasks and CANNOT BE UNDONE!",
"text2": "Dette inkluderer alle oppgaver og KAN IKKE ANGRES!",
"success": "Navnområdet ble slettet."
},
"edit": {
@ -372,7 +372,7 @@
},
"pseudo": {
"sharedProjects": {
"title": "Shared Projects"
"title": "Delte prosjekter"
},
"favorites": {
"title": "Favoritter"
@ -403,9 +403,9 @@
},
"create": {
"title": "Nytt lagret filter",
"description": "A saved filter is a virtual project which is computed from a set of filters each time it is accessed. Once created, it will appear in a special namespace.",
"description": "Et lagret filter er en virtuell liste som beregnes fra et sett med filtre hver gang det åpnes. Når du er opprettet, vil det vises i et eget navneområde.",
"action": "Opprett nytt filter",
"titleRequired": "Please provide a title for the filter."
"titleRequired": "Skriv inn en tittel for filteret."
},
"delete": {
"header": "Slett dette lagrede filteret",
@ -435,7 +435,7 @@
"label": {
"title": "Etiketter",
"manage": "Behandle etiketter",
"description": "Click on a label to edit it. You can edit all labels you created, you can use all labels which are associated with a task to whose project you have access.",
"description": "Klikk på en etikett for å redigere den. Du kan redigere alle etikettene du lagde, du kan bruke alle etikettene som er tilknyttet en oppgave som du har tilgang til.",
"newCTA": "Du har ingen etiketter for øyeblikket.",
"search": "Skriv for å søke etter en etikett…",
"create": {
@ -460,7 +460,7 @@
},
"sharing": {
"authenticating": "Autentiserer…",
"passwordRequired": "This shared project requires a password. Please enter it below:",
"passwordRequired": "Denne delte listen krever et passord. Vennligst skriv det nedenfor:",
"error": "En feil oppsto.",
"invalidPassword": "Det oppgitte passordet er ugyldig."
},
@ -529,7 +529,7 @@
"code": "Kode",
"quote": "Sitat",
"unorderedList": "Uordnet liste",
"orderedList ": "Ordered List",
"orderedList": "Sortert liste",
"cleanBlock": "Tøm blokk",
"link": "Link",
"image": "Bilde",
@ -572,8 +572,8 @@
"add1Day": "Legg til en dag",
"minus1Day": "Trekk fra en dag",
"roundDay": "Rund ned til nærmeste verdi",
"supportedUnits": "Støttede tidsenheter er:",
"someExamples": "Noen eksempler på tidsuttrykk:",
"supportedUnits": "Støttede tidsenheter",
"someExamples": "Noen eksempler på tidsuttrykk",
"units": {
"seconds": "Sekunder",
"minutes": "Minutter",
@ -602,7 +602,7 @@
"addReminder": "Legg til en ny påminnelse…",
"doneSuccess": "Oppgaven ble markert som ferdig.",
"undoneSuccess": "Oppgaven ble fjernet som ferdig.",
"undo": "Undo",
"undo": "Angre",
"openDetail": "Åpne detaljvisning",
"checklistTotal": "{checked} av {total} oppgaver",
"checklistAllDone": "{total} oppgaver",
@ -619,7 +619,7 @@
"chooseDueDate": "Klikk her for å angi en forfallsdato",
"chooseStartDate": "Klikk her for å angi en startdato",
"chooseEndDate": "Klikk her for å angi en sluttdato",
"move": "Move task to a different project",
"move": "Flytt oppgaven til en annen liste",
"done": "Marker som utført!",
"undone": "Merk som uferdig",
"created": "Opprettet {0} av {1}",
@ -627,7 +627,7 @@
"doneAt": "Ferdig {0}",
"updateSuccess": "Oppgaven ble lagret.",
"deleteSuccess": "Oppgaven har blitt slettet.",
"belongsToProject": "This task belongs to project '{project}'",
"belongsToProject": "Denne oppgaven tilhører listen '{project}'",
"due": "Forfallsdato {at}",
"closePopup": "Lukk popup",
"delete": {
@ -647,7 +647,7 @@
"percentDone": "Angi fremdrift",
"attachments": "Legg til vedlegg",
"relatedTasks": "Legg til relasjon",
"moveProject": "Move",
"moveProject": "Flytt",
"color": "Sett Farge",
"delete": "Slett",
"favorite": "Legg til i favoritter",
@ -674,21 +674,21 @@
"updated": "Oppdatert"
},
"subscription": {
"subscribedProjectThroughParentNamespace": "You can't unsubscribe here because you are subscribed to this project through its namespace.",
"subscribedProjectThroughParentNamespace": "Du kan ikke slutte å abonnere her fordi du abonnerer på denne listen gjennom dens navneområde.",
"subscribedTaskThroughParentNamespace": "Du kan ikke slutte å abonnere her fordi du abonnerer på denne oppgaven gjennom navneområdet.",
"subscribedTaskThroughParentProject": "You can't unsubscribe here because you are subscribed to this task through its project.",
"subscribedTaskThroughParentProject": "Du kan ikke melde deg ut her fordi du abonnerer på denne oppgaven gjennom prosjektet.",
"subscribedNamespace": "Du abonnerer for øyeblikket på dette navneområdet og vil motta varsler for endringer.",
"notSubscribedNamespace": "Du abonnerer ikke på dette navneområdet og vil ikke motta varsler for endringer.",
"subscribedProject": "You are currently subscribed to this project and will receive notifications for changes.",
"notSubscribedProject": "You are not subscribed to this project and won't receive notifications for changes.",
"subscribedProject": "Du abonnerer for øyeblikket på dette prosjektet og vil motta varsler for endringer.",
"notSubscribedProject": "Du abonnerer ikke på dette prosjektet og vil ikke motta varsler for endringer.",
"subscribedTask": "Du abonnerer for øyeblikket på denne oppgaven og vil motta varsler for endringer.",
"notSubscribedTask": "Du abonnerer ikke på denne oppgaven og vil ikke motta varsler for endringer.",
"subscribe": "Abonnerer",
"unsubscribe": "Avslutt abonnement",
"subscribeSuccessNamespace": "Du abonnerer nå på dette navneområdet",
"unsubscribeSuccessNamespace": "Du blir nå avmeldt dette navneområdet",
"subscribeSuccessProject": "You are now subscribed to this project",
"unsubscribeSuccessProject": "You are now unsubscribed to this project",
"subscribeSuccessProject": "Du abonnerer nå på dette prosjektet",
"unsubscribeSuccessProject": "Du har nå avsluttet abonnementet for dette prosjektet",
"subscribeSuccessTask": "Du abonnerer nå på denne oppgaven",
"unsubscribeSuccessTask": "Du har nå avsluttet abonnementet for denne oppgaven"
},
@ -762,7 +762,7 @@
"new": "Ny oppgaveforbindelse",
"searchPlaceholder": "Skriv søk etter en ny oppgave å legge til som relatert…",
"createPlaceholder": "Legg til denne som ny relatert oppgave",
"differentProject": "This task belongs to a different project.",
"differentProject": "Denne oppgaven tilhører et annet prosjekt.",
"differentNamespace": "Denne oppgaven tilhører en annen navneområde.",
"noneYet": "Ingen arbeidsrelasjoner ennå.",
"delete": "Slett relasjon",
@ -812,10 +812,10 @@
"priority1": "For å angi en oppgaves prioritet, legg til et nummer 1-5, med en {prefix} som prefiks.",
"priority2": "Jo høyere tallet er, desto høyere prioritet.",
"assignees": "For å direkte tilordne oppgaven til en bruker må du legge til brukernavnet deres med {prefix} som er prefikset på oppgaven.",
"project1": "To set a project for the task to appear in, enter its name prefixed with {prefix}.",
"project2": "This will return an error if the project does not exist.",
"project3": "To use spaces, simply add a \" or ' around the project name.",
"project4": "For example: {prefix}\"Project with spaces\".",
"project1": "For å angi et prosjekt for oppgaven som skal vises i, angi dets navn med {prefix}.",
"project2": "Dette vil returnere en feil dersom prosjektet ikke finnes.",
"project3": "For å bruke mellomrom, legg bare til en \" eller ' rundt navnet på prosjektet.",
"project4": "For eksempel: {prefix}\"Prosjekt med mellomrom\".",
"dateAndTime": "Dato og tid",
"date": "Hvilken som helst dato vil bli brukt som forfallsdato for den nye oppgaven. Du kan bruke datoer i hvilket som helst format:",
"dateWeekday": "hver ukedag vil bruke neste dato med den datoen",
@ -848,19 +848,19 @@
"delete": {
"header": "Slett gruppen",
"text1": "Er du sikker på at du vil slette denne gruppen og alle dets medlemmer?",
"text2": "All team members will lose access to projects and namespaces shared with this team. This CANNOT BE UNDONE!",
"text2": "Alle teammedlemmer vil miste tilgang til prosjekter og navneområder som deles med dette teamet. KAN IKKE ANGRES!",
"success": "Gruppen ble slettet."
},
"deleteUser": {
"header": "Fjerne en bruker fra gruppen",
"text1": "Er du sikker på at du vil fjerne bruker fra denne gruppen?",
"text2": "They will lose access to all projects and namespaces this team has access to. This CANNOT BE UNDONE!",
"text2": "De vil miste tilgang til alle prosjekter og namespaces dette teamet har tilgang til. Dette KAN IKKE ANGRES!",
"success": "Brukeren ble slettet fra gruppen."
},
"leave": {
"title": "Forlat gruppen",
"text1": "Er du sikker på at du vil forlate denne gruppen?",
"text2": "You will lose access to all projects and namespaces this team has access to. If you change your mind you'll need a team admin to add you again.",
"text2": "Du vil miste tilgang til alle prosjekter og namespaces dette teamet har tilgang til. Hvis du ombestemmer deg, må du ha en lagadministrator for å legge deg til igjen.",
"success": "Du har forlatt gruppen."
}
},
@ -892,22 +892,22 @@
"attachment": "Legg til et vedlegg til denne oppgaven",
"related": "Endre relaterte oppgaver for denne oppgaven",
"color": "Endre fargen på denne oppgaven",
"move": "Move this task to another project",
"move": "Flytt denne oppgaven til et annet prosjekt",
"reminder": "Behandle påminnelser om denne oppgaven",
"description": "Veksle redigering av oppgavebeskrivelsen"
},
"project": {
"title": "Project Views",
"switchToListView": "Switch to list view",
"switchToGanttView": "Switch to gantt view",
"switchToKanbanView": "Switch to kanban view",
"switchToTableView": "Switch to table view"
"title": "Prosjektvisning",
"switchToListView": "Byttet til listevisning",
"switchToGanttView": "Bytt til gantt-visning",
"switchToKanbanView": "Bytt til kanban visning",
"switchToTableView": "Bytt til tabellvisning"
},
"navigation": {
"title": "Navigasjon",
"overview": "Naviger til oversikt",
"upcoming": "Gå til kommende oppgaver",
"namespaces": "Navigate to namespaces & projects",
"namespaces": "Gå til navneområder & prosjekter",
"labels": "Naviger til etiketter",
"teams": "Naviger til gruppe"
}
@ -924,7 +924,7 @@
"unarchive": "Av-arkiver",
"setBackground": "Bruk som bakgrunn",
"share": "Del",
"newProject": "New project"
"newProject": "Nytt prosjekt"
},
"apiConfig": {
"url": "Vikunja URL",
@ -943,24 +943,24 @@
"notification": {
"title": "Varsler",
"none": "Du har ingen varsler på dette tidspunktet!",
"explainer": "Notifications will appear here when actions on namespaces, projects or tasks you subscribed to happen."
"explainer": "Varsler vil vises her når handlinger på navneområder, prosjekter, lister eller oppgaver du abonnerer på."
},
"quickActions": {
"commands": "Kommandoer",
"placeholder": "Skriv en kommando eller søk…",
"hint": "You can use {project} to limit the search to a project. Combine {project} or {label} (labels) with a search query to search for a task with these labels or on that project. Use {assignee} to only search for teams.",
"hint": "Du kan bruke {project} for å begrense søket til en liste. Kombiner {project} eller {label} (etiketter) med et søk for å søke etter en oppgave med disse etikettene eller på den listen. Bruk {assignee} for bare å søke etter lag.",
"tasks": "Oppgaver",
"projects": "Projects",
"projects": "Prosjekter",
"teams": "Grupper",
"newProject": "Enter the title of the new project…",
"newProject": "Skriv tittelen på det nye prosjektet…",
"newTask": "Skriv tittelen på den nye oppgaven…",
"newNamespace": "Skriv inn tittelen på det nye navneområdet…",
"newTeam": "Skriv inn navnet på den nye gruppen…",
"createTask": "Create a task in the current project ({title})",
"createProject": "Create a project in the current namespace ({title})",
"createTask": "Opprett en oppgave i det gjeldende prosjektet ({title})",
"createProject": "Opprett et prosjekt i gjeldende navneområde ({title})",
"cmds": {
"newTask": "Ny oppgave",
"newProject": "New project",
"newProject": "Nytt prosjekt",
"newNamespace": "Nytt navneområde",
"newTeam": "Ny gruppe"
}
@ -992,15 +992,15 @@
"1018": "Innstillingen av brukerens avatartype er ugyldig.",
"2001": "ID kan ikke være tom eller 0.",
"2002": "Noen av forespørselsdataene var ugyldig.",
"3001": "The project does not exist.",
"3004": "You need to have read permissions on that project to perform that action.",
"3005": "The project title cannot be empty.",
"3006": "The project share does not exist.",
"3007": "A project with this identifier already exists.",
"3008": "The project is archived and can therefore only be accessed read only. This is also true for all tasks associated with this project.",
"4001": "The project task text cannot be empty.",
"4002": "The project task does not exist.",
"4003": "All bulk editing tasks must belong to the same project.",
"3001": "Prosjektet finnes ikke.",
"3004": "Du må ha lesetilgang til prosjektet for å utføre den handlingen.",
"3005": "Tittelen kan ikke være tom.",
"3006": "Prosjektdeling finnes ikke.",
"3007": "Et prosjekt med denne identifikatoren eksisterer allerede.",
"3008": "Prosjektet er arkivert og kan derfor bare leses inn. Dette gjelder også for alle oppgaver som er tilknyttet dette prosjektet.",
"4001": "Prosjektets oppgavetekst kan ikke være tom.",
"4002": "Prosjektoppgaven finnes ikke.",
"4003": "Alle bulkredigering oppgaver må tilhøre samme prosjekt.",
"4004": "Trenger minst én oppgave når masseredigeringsoppgaver skal utføres.",
"4005": "Du har ikke rettigheter til å redigere denne siden.",
"4006": "Du kan ikke sette en overordnet oppgave som oppgaven selv.",
@ -1026,21 +1026,21 @@
"5012": "Navneområdet er arkivert og kan derfor kun leses på.",
"6001": "Gruppe nanvet kan ikke være tomt.",
"6002": "Gruppen finnes ikke.",
"6004": "The team already has access to that namespace or project.",
"6004": "Teamet har allerede tilgang til det navneområdet eller prosjektet.",
"6005": "Brukeren er allerede medlem av gruppen.",
"6006": "Kan ikke slette siste gruppemedlem.",
"6007": "The team does not have access to the project to perform that action.",
"7002": "The user already has access to that project.",
"7003": "You do not have access to that project.",
"6007": "Gruppen har ikke tilgang til prosjektet for å utføre den handlingen.",
"7002": "Brukeren har allerede tilgang til det prosjektet.",
"7003": "Du har ikke tilgang til det prosjektet.",
"8001": "Denne etiketten finnes allerede på den oppgaven.",
"8002": "Etiketten finnes ikke.",
"8003": "Du har ikke tilgang til denne etiketten.",
"9001": "Linken er ugyldig.",
"10001": "Bøtten finnes ikke.",
"10002": "The bucket does not belong to that project.",
"10003": "You cannot remove the last bucket on a project.",
"10002": "Denne bøtte tilhører ikke det prosjektet.",
"10003": "Du kan ikke fjerne den siste bøtten på et prosjekt.",
"10004": "Du kan ikke legge til oppgaven i denne bøtte fordi den allerede overskrider grensen på oppgaver som den kan holde.",
"10005": "There can be only one done bucket per project.",
"10005": "Det kan bare finnes én ferdigstilt bøtte per prosjekt.",
"11001": "Det lagrede filteret finnes ikke.",
"11002": "Lagrede filtre er ikke tilgjengelige for lenke delinger.",
"12001": "Abonnement enhetstypen er ugyldig.",

View File

@ -529,7 +529,7 @@
"code": "Kod",
"quote": "Cytat",
"unorderedList": "Lista nieuporządkowana",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Wyczyść blok",
"link": "Link",
"image": "Obraz",
@ -566,14 +566,14 @@
"canuse": "Możesz użyć kalkulacji dat do względnego filtrowania dat.",
"learnhow": "Sprawdź jak to działa",
"title": "Kalkulacja daty",
"intro": "Kalkulacja daty pozwala względnie określić daty, które są przetwarzane przez Vikunję w locie, w czasie stosowania filtra.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Każde wyrażenie kalkulacji daty rozpoczyna się datą zakotwiczenia, którą może być {0} lub wyrażeniem daty zakończonym {1}. Po tej dacie zakotwiczenia opcjonalnie może następować jedno lub więcej wyrażeń matematycznych.",
"similar": "Te wyrażenia są podobne do tych dostarczonych przez {0} i {1}.",
"add1Day": "Dodaj jeden dzień",
"minus1Day": "Odejmij jeden dzień",
"roundDay": "Zaokrąglij w dół do najbliższego dnia",
"supportedUnits": "Obsługiwane jednostki czasu to:",
"someExamples": "Kilka przykładów wyrażeń czasowych:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Sekundy",
"minutes": "Minuty",

View File

@ -529,7 +529,7 @@
"code": "Código",
"quote": "Citação",
"unorderedList": "Lista não ordenada",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Imagem",
@ -566,14 +566,14 @@
"canuse": "Você pode usar matemática de data para filtrar datas relativas.",
"learnhow": "Veja como funciona",
"title": "Matemática de Data",
"intro": "A matemática de data permite que você especifique datas relativas que são resolvidas em tempo real pelo Vikunja ao aplicar o filtro.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Adicionar um dia",
"minus1Day": "Subtrair um dia",
"roundDay": "Round down to the nearest day",
"supportedUnits": "As unidades de tempo suportadas são:",
"someExamples": "Alguns exemplos de expressões temporais:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Segundos",
"minutes": "Minutos",

View File

@ -529,7 +529,7 @@
"code": "Código",
"quote": "Citação",
"unorderedList": "Lista Não Ordenada",
"orderedList ": "Lista Ordenada",
"orderedList": "Lista Ordenada",
"cleanBlock": "Limpar Formatação",
"link": "Link",
"image": "Imagem",
@ -566,14 +566,14 @@
"canuse": "Podes utilizar cálculo de data para filtrar por datas relativas.",
"learnhow": "Vê como funciona",
"title": "Cálculo de Data",
"intro": "O cálculo de data permite especificar datas relativas resolvidas em tempo real pelo Vikunja na aplicação do filtro.",
"intro": "Especifica datas relativas que serão resolvidas em tempo real pela Vikunja ao aplicar o filtro.",
"expression": "Cada expressão de Cálculo de Data inicia com uma data âncora, que tanto pode ser {0}, como uma expressão de data terminada com {1}. Esta data âncora pode ser opcionalmente seguida de uma ou mais expressões matemáticas.",
"similar": "Essas expressões são semelhantes às fornecidas por {0} e {1}.",
"add1Day": "Adicionar um dia",
"minus1Day": "Subtrair um dia",
"roundDay": "Arredondar para baixo para o dia mais próximo",
"supportedUnits": "As unidades de tempo suportadas são:",
"someExamples": "Alguns exemplos de expressões de tempo:",
"supportedUnits": "Unidades de tempo suportadas",
"someExamples": "Exemplos de expressões de tempo",
"units": {
"seconds": "Segundos",
"minutes": "Minutos",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Код",
"quote": "Цитата",
"unorderedList": "Маркированный список",
"orderedList ": "Нумерованный список",
"orderedList": "Нумерованный список",
"cleanBlock": "Очистить блок",
"link": "Ссылка",
"image": "Изображение",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Как это работает",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "Это похоже на выражения, которые используются в {0} и {1}.",
"add1Day": "Добавить один день",
"minus1Day": "Вычесть один день",
"roundDay": "Округление вниз до начала дня",
"supportedUnits": "Поддерживаемые единицы времени:",
"someExamples": "Примеры выражений:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Секунды",
"minutes": "Минуты",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Trích dẫn",
"unorderedList": "Gạch đầu dòng",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Làm sạch Khối",
"link": "Liên kết",
"image": "Ảnh",
@ -566,14 +566,14 @@
"canuse": "Bạn có thể sử dụng biểu thức tính ngày để lọc những ngày liên quan.",
"learnhow": "Xem cách hoạt động",
"title": "Tính Ngày",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Mỗi Biểu thức tính ngày bắt đầu bằng một ngày cố định, có thể là {0}, hoặc kết thúc bằng {1}. Ngày cố định này có thể được theo sau bởi một hoặc nhiều biểu thức toán học.",
"similar": "Những biểu thức này tương tự như những biểu thức được cung cấp bởi {0} và {1}.",
"add1Day": "Thêm một ngày",
"minus1Day": "Bớt đi một ngày",
"roundDay": "Làm tròn đến ngày gần nhất",
"supportedUnits": "Các đơn vị thời gian hỗ trợ là:",
"someExamples": "Một vài ví dụ về cách hiển thị thời gian:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Giây",
"minutes": "Phút",

View File

@ -529,7 +529,7 @@
"code": "代码",
"quote": "引用",
"unorderedList": "无序列表",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "清除格式",
"link": "链接",
"image": "图片",
@ -566,14 +566,14 @@
"canuse": "你可以使用 Date Math 来筛选相对日期。",
"learnhow": "查看它如何工作",
"title": "Date Math",
"intro": "Date Math 允许你在使用过滤器时由 Vikunja 动态解析相对日期。",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "每个 Date Math 表达式以锚点日期开头,可以是 {0},也可以是以 {1} 结尾的日期文本。 这个锚点日期后可以跟一个或多个数学表达式。",
"similar": "这些表达式类似于 {0} 和 {1} 提供的表达式。",
"add1Day": "加一天",
"minus1Day": "减一天",
"roundDay": "往最近的那天舍入",
"supportedUnits": "支持的时间单位是:",
"someExamples": "时间表达式的一些例子:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "秒数。",
"minutes": "分钟",

View File

@ -529,7 +529,7 @@
"code": "Code",
"quote": "Quote",
"unorderedList": "Unordered List",
"orderedList ": "Ordered List",
"orderedList": "Ordered List",
"cleanBlock": "Clean Block",
"link": "Link",
"image": "Image",
@ -566,14 +566,14 @@
"canuse": "You can use date math to filter for relative dates.",
"learnhow": "Check out how it works",
"title": "Date Math",
"intro": "Date Math allows you to specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"intro": "Specify relative dates which are resolved on the fly by Vikunja when applying the filter.",
"expression": "Each Date Math expression starts with an anchor date, which can either be {0}, or a date string ending with {1}. This anchor date can optionally be followed by one or more maths expressions.",
"similar": "These expressions are similar to the ones provided by {0} and {1}.",
"add1Day": "Add one day",
"minus1Day": "Subtract one day",
"roundDay": "Round down to the nearest day",
"supportedUnits": "Supported time units are:",
"someExamples": "Some examples of time expressions:",
"supportedUnits": "Supported time units",
"someExamples": "Examples of time expressions",
"units": {
"seconds": "Seconds",
"minutes": "Minutes",

View File

@ -438,41 +438,50 @@ describe('Parse Task Text', () => {
now.setFullYear(2021, 5, 24)
const cases = {
'Lorem Ipsum 06/08/2021 ad': '2021-6-8',
'Lorem Ipsum 6/7/21 ad': '2021-6-7',
'dolor sit amet 27/07/2021,': null,
'dolor sit amet 2021/07/06,': '2021-7-6',
'dolor sit amet 2021-07-06': '2021-7-6',
'dolor sit amet 27 jan': '2022-1-27',
'dolor sit amet 27/1': '2022-1-27',
'dolor sit amet 27/01': '2022-1-27',
'dolor sit amet 16/12': '2021-12-16',
'dolor sit amet 01/27': '2022-1-27',
'dolor sit amet 1/27': '2022-1-27',
'dolor sit amet Jan 27': '2022-1-27',
'dolor sit amet jan 27': '2022-1-27',
'dolor sit amet feb 21': '2022-2-21',
'dolor sit amet mar 21': '2022-3-21',
'dolor sit amet apr 21': '2022-4-21',
'dolor sit amet may 21': '2022-5-21',
'dolor sit amet jun 21': '2022-6-21',
'dolor sit amet jul 21': '2021-7-21',
'dolor sit amet aug 21': '2021-8-21',
'dolor sit amet sep 21': '2021-9-21',
'dolor sit amet oct 21': '2021-10-21',
'dolor sit amet nov 21': '2021-11-21',
'dolor sit amet dec 21': '2021-12-21',
'06/08/2021': '2021-6-8',
'6/7/21': '2021-6-7',
'27/07/2021,': null,
'2021/07/06,': '2021-7-6',
'2021-07-06': '2021-7-6',
'27 jan': '2022-1-27',
'27/1': '2022-1-27',
'27/01': '2022-1-27',
'16/12': '2021-12-16',
'01/27': '2022-1-27',
'1/27': '2022-1-27',
'Jan 27': '2022-1-27',
'jan 27': '2022-1-27',
'feb 21': '2022-2-21',
'mar 21': '2022-3-21',
'apr 21': '2022-4-21',
'may 21': '2022-5-21',
'jun 21': '2022-6-21',
'jul 21': '2021-7-21',
'aug 21': '2021-8-21',
'sep 21': '2021-9-21',
'oct 21': '2021-10-21',
'nov 21': '2021-11-21',
'dec 21': '2021-12-21',
} as Record<string, string | null>
for (const c in cases) {
it(`should parse '${c}' as '${cases[c]}'`, () => {
const {date} = getDateFromText(c, now)
it(`should parse '${c}' as '${cases[c]}' with the date at the end`, () => {
const {date} = getDateFromText(`Lorem Ipsum ${c}`, now)
if (date === null && cases[c] === null) {
expect(date).toBeNull()
return
}
expect(`${date?.getFullYear()}-${date.getMonth() + 1}-${date?.getDate()}`).toBe(cases[c])
expect(`${date?.getFullYear()}-${date?.getMonth() + 1}-${date?.getDate()}`).toBe(cases[c])
})
it(`should parse '${c}' as '${cases[c]}' with the date at the beginning`, () => {
const {date} = getDateFromText(`${c} Lorem Ipsum`, now)
if (date === null && cases[c] === null) {
expect(date).toBeNull()
return
}
expect(`${date?.getFullYear()}-${date?.getMonth() + 1}-${date?.getDate()}`).toBe(cases[c])
})
}
})

View File

@ -73,7 +73,11 @@
:search-results="foundUsers"
label="username"
v-model="newMember"
/>
>
<template #searchResult="{option: user}">
<User :avatar-size="24" :user="user" class="m-0"/>
</template>
</multiselect>
</div>
<div class="control">
<x-button @click="addUser" icon="plus">
@ -88,7 +92,9 @@
<table class="table has-actions is-striped is-hoverable is-fullwidth">
<tbody>
<tr :key="m.id" v-for="m in team?.members">
<td>{{ getDisplayName(m) }}</td>
<td>
<User :avatar-size="24" :user="m" class="m-0"/>
</td>
<td>
<template v-if="m.id === userInfo.id">
<b class="is-success">You</b>
@ -185,6 +191,7 @@ import {useRoute, useRouter} from 'vue-router'
import Editor from '@/components/input/AsyncEditor'
import Multiselect from '@/components/input/multiselect.vue'
import User from '@/components/misc/user.vue'
import TeamService from '@/services/team'
import TeamMemberService from '@/services/teamMember'

View File

@ -11,17 +11,17 @@
{{ $t('user.auth.login') }}
</x-button>
</div>
<form @submit.prevent="submit" id="form" v-if="!successMessage">
<form @submit.prevent="resetPassword" id="form" v-if="!successMessage">
<div class="field">
<label class="label" for="password">{{ $t('user.auth.password') }}</label>
<Password @submit="submit" @update:modelValue="v => credentials.password = v"/>
<Password @submit="resetPassword" @update:modelValue="v => credentials.password = v"/>
</div>
<div class="field is-grouped">
<div class="control">
<x-button
:loading="passwordResetService.loading"
@click="submit"
@click="resetPassword"
>
{{ $t('user.auth.resetPassword') }}
</x-button>
@ -47,7 +47,7 @@ const passwordResetService = reactive(new PasswordResetService())
const errorMsg = ref('')
const successMessage = ref('')
async function submit() {
async function resetPassword() {
errorMsg.value = ''
if(credentials.password === '') {

View File

@ -11,7 +11,7 @@
{{ $t('user.auth.login') }}
</x-button>
</div>
<form @submit.prevent="submit" v-if="!isSuccess">
<form @submit.prevent="requestPasswordReset" v-if="!isSuccess">
<div class="field">
<label class="label" for="email">{{ $t('user.auth.email') }}</label>
<div class="control">
@ -30,7 +30,7 @@
<div class="field is-grouped">
<div class="control">
<x-button
@click="submit"
type="submit"
:loading="passwordResetService.loading"
>
{{ $t('user.auth.resetPasswordAction') }}
@ -45,19 +45,18 @@
</template>
<script setup lang="ts">
import {ref, reactive} from 'vue'
import {ref, shallowReactive} from 'vue'
import PasswordResetModel from '@/models/passwordReset'
import PasswordResetService from '@/services/passwordReset'
import Message from '@/components/misc/message.vue'
// Not sure if this instance needs a shalloRef at all
const passwordResetService = reactive(new PasswordResetService())
const passwordResetService = shallowReactive(new PasswordResetService())
const passwordReset = ref(new PasswordResetModel())
const errorMsg = ref('')
const isSuccess = ref(false)
async function submit() {
async function requestPasswordReset() {
errorMsg.value = ''
try {
await passwordResetService.requestResetPassword(passwordReset.value)

View File

@ -60,6 +60,7 @@ export default defineConfig(({mode}) => {
// https://vitest.dev/config/
test: {
environment: 'happy-dom',
'vitest.commandLine': 'pnpm test:unit',
},
css: {
preprocessorOptions: {