Commit Graph

434 Commits

Author SHA1 Message Date
David Straub 8566ae95f9 Correctly load backend translations 2022-08-27 14:50:34 +02:00
David Straub 7e435d4512 Localize login page 2022-08-27 10:04:06 +02:00
David Straub 4b71eccf31 Add missing import 2022-08-27 10:03:53 +02:00
khashashin 10773f999c Load frontend strings in connectedCallback (#88)
* Move strings initialization process in to class constructor
Detect browser language and set it as Application lang.

* move the logic of getting browser languge from class constructor in to Lit `connectedCallback()` lifecycle

* restore the part of the code that controls the display of the onboarding settings.

* changes according to https://github.com/gramps-project/Gramps.js/pull/88

* Remove translation string assignment logic from _loadString() method.

* remove unnecessary comment

* restore renderContent condition

* rearrange imports as they were originally

* restore loading settings in constructor
2022-08-27 09:47:03 +02:00
David Straub 5c9b12a96b Add Swedish 2022-08-25 21:43:58 +02:00
Weblate (bot) fffd1aa527 Translated using Weblate (Swedish) (#91)
Currently translated at 100.0% (52 of 52 strings)

Translation: Gramps/Web
Translate-URL: https://hosted.weblate.org/projects/gramps-project/web/sv/

Co-authored-by: Pär Ekholm <github1@m.pekholm.org>
2022-08-25 21:43:18 +02:00
David Straub 944c6ff66a Remove home person string (#41) 2022-08-25 21:32:37 +02:00
David Straub d6308b9142 Add new languages (#41) 2022-08-25 08:48:32 +02:00
Weblate (bot) 1a6eda5a1d Translations update from Hosted Weblate (#90)
* Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (52 of 52 strings)

Translation: Gramps/Web
Translate-URL: https://hosted.weblate.org/projects/gramps-project/web/en_GB/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 86.5% (45 of 52 strings)

Translation: Gramps/Web
Translate-URL: https://hosted.weblate.org/projects/gramps-project/web/nb_NO/

* Translated using Weblate (Portuguese (Portugal))

Currently translated at 100.0% (52 of 52 strings)

Translation: Gramps/Web
Translate-URL: https://hosted.weblate.org/projects/gramps-project/web/pt_PT/

Co-authored-by: Nick Hall <nick-h@gramps-project.org>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2022-08-25 08:26:48 +02:00
David Straub 36190aa16e Add empty language files for missing locales (#41) 2022-08-24 20:37:21 +02:00
David Straub e92642358f Add en.json (#41) 2022-08-24 17:58:59 +02:00
khashashin 34ee1abf12 Feat/i18n (#87)
* add new translations and fix existing

* add index file to handle exporting all translations so we can import them as a single line in string.js

* Added some plugins to handle json translation files.
Rollup now converts them to javascript objects during application build

* upgrade rollup to 2.60.2 to fix build issues

* Add more translation strings
2022-08-19 13:28:28 +02:00
David Straub 53d3287aff Version -> 0.13.3 v0.13.3 2022-08-15 21:15:22 +02:00
David Straub 0e03724d8d Do not require setting home person if db is empty (fixes #84) 2022-08-15 16:07:39 +02:00
David Straub dd3a989095 Version -> 0.13.2 v0.13.2 2022-08-13 22:58:00 +02:00
David Straub 633fc6e24a Add string 2022-08-13 22:43:24 +02:00
David Straub c6519d6f1f Do not show onboarding if tree is empty 2022-08-13 22:43:10 +02:00
David Straub d95a9b4fb6 Remove obsolete comment 2022-08-13 22:36:03 +02:00
David Straub 262e431825 Gracefully handle missing home person (#84) 2022-08-13 22:34:59 +02:00
David Straub 5b631e84a5 Version -> 0.13.1 v0.13.1 2022-08-13 14:02:39 +02:00
David Straub 1661b274c3 No shortcuts in contenteditable (#80) 2022-08-01 21:22:20 +02:00
David Straub b8f3942c4a Bump version v0.13.0 2022-07-27 21:36:09 +02:00
David Straub 8c793e34f1 Add UI for audio & video files (closes #65) 2022-07-19 19:59:57 +02:00
David Straub 6316768674 Add onboarding wizard (fixes #76) 2022-07-10 12:07:09 +02:00
David Straub b99ad5a8e7 Bump version v0.12.0 2022-07-01 14:43:43 +02:00
David Straub b4ca9035a1 Trigger on workflow dispatch 2022-07-01 14:20:55 +02:00
David Straub f6cbed9ce3 On network error during login, stop and show reload button 2022-06-28 20:59:41 +02:00
David Straub 0f9ac8cac2 Show role in timeline if not primary (fixes #72) 2022-06-24 21:04:06 +02:00
David Straub 191c84d865 Exclude more elements (fixes #74) 2022-06-24 17:16:46 +02:00
David Straub 5691dd3dc2 Add keyboard shortcuts 2022-04-24 20:55:17 +02:00
David Straub 74c9af95bd Search view: improvments to focus behaviour, fix 0 items 2022-04-24 20:55:00 +02:00
David Straub a20abfb48e Handle initial language change for all object views (#61) 2022-04-15 21:25:35 +02:00
David Straub 79f5fa9238 Fix label for adding child 2022-04-15 21:06:45 +02:00
David Straub e5651b3b3e Fix wrong anniversary date 2022-04-15 21:03:39 +02:00
David Straub 20729e87fc Fix file thumbnail placeholder (related: #65) 2022-04-15 18:00:50 +02:00
David Straub ab59bd9678 recent blog posts: simplify using new component 2022-04-15 13:14:47 +02:00
David Straub 8bbedd22be anniversaries: handle no items 2022-04-15 13:14:36 +02:00
David Straub a379b88636 person relationship: handle "self" 2022-04-15 13:14:21 +02:00
David Straub aab5e3365e Add loading animation to recently changed objects 2022-04-13 22:44:41 +02:00
David Straub 061aeb1e84 Add loading animation for anniversaries 2022-04-12 22:14:48 +02:00
David Straub fdb4f43833 Use new connected component for anniversaries 2022-04-12 21:29:55 +02:00
David Straub 89d1a7ff43 Add relation to home person to person view 2022-04-12 21:29:10 +02:00
David Straub 6b130e0e8c Load and store home person details 2022-04-12 21:28:35 +02:00
David Straub 3c266536d4 network error message 2022-04-12 21:28:13 +02:00
David Straub 465de96a75 Underline call name in person view (fixes #69) 2022-03-30 08:55:09 +02:00
David Straub af922913e7 Correctly localize place ref table v0.11.0 2022-03-27 18:29:21 +02:00
David Straub 8487e5e7e0 Readme: Add link to backend repo 2022-03-27 11:12:14 +02:00
David Straub d25089ec2d Version -> 0.11.0 2022-03-23 09:17:35 +01:00
David Straub e362c81d3f Add type strings 2022-03-23 09:12:07 +01:00
David Straub f793954872 Fix: avoid showing "place hierarchy" tab for non-places (e.g. media) 2022-02-23 20:43:03 +01:00