AndyButland
49c6212cb6
Implemented constants, tests and functionality for trying one fallback method and then another
2018-07-28 08:11:48 +02:00
AndyButland
b608ea8322
Restored service context as being DIed into PublishedValueFallback.
...
Whilst only the LocalizationService service is needed, not injecting this via the service context was breaking the unit tests.
If there's a way around this so we can use the mocked ILocalizationService in tests then this change can be reverted.
2018-07-28 07:58:22 +02:00
Stephan
a35f67ecef
Refactoring
2018-07-24 15:04:30 +02:00
AndyButland
1be74589f2
Combined fallback parameters into an array that defines methods and priority to be used.
2018-07-21 15:58:49 +02:00
AndyButland
695f21eadb
Removed unnecessary loop in looking up value from a fall-back language.
...
Put in a check to abort fall-back if there's a loop in language fall-backs.
2018-07-21 09:41:07 +02:00
AndyButland
aadd843c33
Implemented published value fall back via language
2018-07-08 16:14:58 +02:00
Stephan
d56af5872d
Implement basic fallback plumbing (in progress)
2018-05-02 13:38:45 +02:00