Jacob Overgaard
|
ee31030099
|
add support to reload the value if key changes
|
2023-07-27 11:40:26 +02:00 |
|
Jacob Overgaard
|
d594c8e7ea
|
cancel any old subscription if the language changes
|
2023-07-27 11:39:43 +02:00 |
|
Jacob Overgaard
|
fde921155c
|
add sleep test utility
|
2023-07-27 11:39:31 +02:00 |
|
Jacob Overgaard
|
273efeb476
|
add tests to localization context
|
2023-07-27 10:07:49 +02:00 |
|
Jacob Overgaard
|
c12bf6707c
|
localization context should not listen for auth itself (makes it harder to test)
|
2023-07-27 10:07:39 +02:00 |
|
Jacob Overgaard
|
2b65a78f67
|
rename src/tsconfig to tsconfig.build
|
2023-07-27 10:07:10 +02:00 |
|
Jacob Overgaard
|
a7c6957e3c
|
backoffice-element should react to user loggedin and set up localization context
|
2023-07-27 10:06:51 +02:00 |
|
Niels Lyngsø
|
b7d58ce75d
|
implement for dashboards
|
2023-07-26 15:30:47 +02:00 |
|
Niels Lyngsø
|
638dad5b43
|
condition types
|
2023-07-26 14:35:54 +02:00 |
|
Niels Lyngsø
|
a1328b996e
|
prettier
|
2023-07-26 14:35:43 +02:00 |
|
Niels Lyngsø
|
38f62f6316
|
type correction
|
2023-07-26 14:35:02 +02:00 |
|
Niels Lyngsø
|
9af9154346
|
clean up some unprovide typing
|
2023-07-26 14:34:29 +02:00 |
|
Jacob Overgaard
|
b60a88a8fd
|
update imports
|
2023-07-26 11:12:39 +02:00 |
|
Jacob Overgaard
|
95a1824871
|
translation to your profile
|
2023-07-26 10:29:01 +02:00 |
|
Jacob Overgaard
|
353b6acb9f
|
Merge remote-tracking branch 'origin/main' into feature/localization
|
2023-07-26 10:15:02 +02:00 |
|
Niels Lyngsø
|
de00b7a9f2
|
no need for the controller alias either
|
2023-07-26 09:11:55 +02:00 |
|
Niels Lyngsø
|
7e910d20b2
|
no need for this check
|
2023-07-26 09:11:36 +02:00 |
|
Niels Lyngsø
|
5fa60c472a
|
Merge remote-tracking branch 'origin/main' into feature/extension-manager
|
2023-07-26 08:51:12 +02:00 |
|
Niels Lyngsø
|
d9e42764f1
|
Merge pull request #816 from umbraco/feature/rename-to-dictionary
|
2023-07-25 21:19:42 +02:00 |
|
Niels Lyngsø
|
2f74019fa1
|
lint fixing
|
2023-07-25 21:09:28 +02:00 |
|
Niels Lyngsø
|
68ae4e3176
|
move element controller back to its position.
|
2023-07-25 21:02:14 +02:00 |
|
Niels Lyngsø
|
097d19c921
|
out-commented unProvide code
|
2023-07-25 21:01:57 +02:00 |
|
Niels Lyngsø
|
580e072825
|
together with this impl.
|
2023-07-25 21:00:33 +02:00 |
|
Niels Lyngsø
|
bd59414d48
|
the important fix
|
2023-07-25 21:00:23 +02:00 |
|
Niels Lyngsø
|
a9bb731b29
|
fix type
|
2023-07-25 20:15:19 +02:00 |
|
Jacob Overgaard
|
abdbc2d918
|
rename translation section to Dictionary
|
2023-07-25 16:38:52 +02:00 |
|
Jacob Overgaard
|
99412a55f7
|
use localizeMany for buttons
|
2023-07-25 16:32:31 +02:00 |
|
Jacob Overgaard
|
b3328014e9
|
support listening on changed translations with localizeMany
|
2023-07-25 16:31:28 +02:00 |
|
Niels Lyngsø
|
18c98cdfe7
|
create new promise each time, to ensure the promise gets resolved with latest instance.
|
2023-07-25 16:18:44 +02:00 |
|
Niels Lyngsø
|
41ed29f35f
|
clean up base controller on destroy
|
2023-07-25 16:12:05 +02:00 |
|
Jacob Overgaard
|
32a2de69c1
|
add label localization
|
2023-07-25 16:09:50 +02:00 |
|
Jacob Overgaard
|
ed8c585d74
|
add 'key' to localizeMany
|
2023-07-25 16:09:42 +02:00 |
|
Niels Lyngsø
|
e60ba46468
|
destroy after removal from controller host
|
2023-07-25 16:04:22 +02:00 |
|
Jacob Overgaard
|
823a6fb4e7
|
add 'this' to warnings so elements are easier to locate
|
2023-07-25 15:54:07 +02:00 |
|
Jacob Overgaard
|
93dafad0c4
|
add close variable
|
2023-07-25 15:50:36 +02:00 |
|
Jacob Overgaard
|
f5424809dc
|
avoid need of internal value with requestUpdate
|
2023-07-25 15:50:28 +02:00 |
|
Jacob Overgaard
|
304be0cd5a
|
use shadowdom anyway to support slots
|
2023-07-25 15:50:09 +02:00 |
|
Jacob Overgaard
|
010c3e9daa
|
super optimize localization context to avoid rxjs error handling
|
2023-07-25 15:49:44 +02:00 |
|
Jacob Overgaard
|
d3c372f68b
|
Revert "remove and merge debug"
This reverts commit c1a82a7457.
|
2023-07-25 15:26:31 +02:00 |
|
Jacob Overgaard
|
c1a82a7457
|
remove and merge debug
|
2023-07-25 15:21:28 +02:00 |
|
Jacob Overgaard
|
f7901f61f0
|
add docs
|
2023-07-25 15:14:41 +02:00 |
|
Jacob Overgaard
|
22a99a8b9f
|
fix http link
|
2023-07-25 15:03:56 +02:00 |
|
Jacob Overgaard
|
891a1f58a4
|
add error callback & debug mode
|
2023-07-25 15:03:13 +02:00 |
|
Jacob Overgaard
|
30ddd30f6d
|
add throwError
|
2023-07-25 15:02:08 +02:00 |
|
Jacob Overgaard
|
d51988bcfd
|
add support for more callbacks on Observer
|
2023-07-25 15:02:02 +02:00 |
|
Jacob Overgaard
|
88ea431c60
|
use extension helpers to load translation extensions
|
2023-07-25 13:54:30 +02:00 |
|
Jacob Overgaard
|
5ceca8f5ef
|
move assets to assets folder
|
2023-07-25 13:50:55 +02:00 |
|
Jacob Overgaard
|
d58179b19a
|
add localization-api paths
|
2023-07-25 13:50:48 +02:00 |
|
Jacob Overgaard
|
26c35c63ff
|
only emit if translation holds values
|
2023-07-25 13:42:09 +02:00 |
|
Jacob Overgaard
|
accc0284aa
|
move registry to localization-api and provide from backoffice-element
|
2023-07-25 13:40:17 +02:00 |
|