Commit Graph

15 Commits

Author SHA1 Message Date
Shaun Walker
1ce3cc4d7c added extension method for creating a LocalizerFactory using a type name, refactored Pager and LocalizableComponent to use LocalizerFactory 2022-06-15 16:19:22 -04:00
Hisham Bin Ateya
b22f8a0b02 Remove generic type suffix properly 2022-06-08 00:12:10 +03:00
Hisham Bin Ateya
1abae55976 Remove magic string 2022-05-31 11:59:17 +03:00
Hisham Bin Ateya
a83ed40ec4 Avoid breaking changes 2022-05-31 10:40:42 +03:00
Hisham Bin Ateya
583383aee1 Pager should inherits from LocalizableComponent 2022-05-27 15:33:48 +03:00
Shaun Walker
11002efc02 hide deleted pages in Admin Dashboard, impove Settings API by replacing IsPublic with IsPrivate, isolate Setting updates to not affect PageState, make Pager horizintally scrollable on narrow viewports, improve LocalizableComponent to support embedded controls 2022-01-14 13:26:24 -05:00
hishamco
5ce7284a6b Returns English version if the value is empty 2020-12-08 16:45:53 +03:00
hishamco
df1d646083 Refactor LocalizableComponent 2020-12-08 16:37:55 +03:00
hishamco
d8d1412a8f Fallback to English as default culture 2020-11-17 22:28:17 +03:00
Shaun Walker
41b30bfab2 Removed comment and added defensive logic in the eent that the moduletype is not valid. Also changed default behavior to display the name if the key is missing. Will need an option in the future to enable the display of missing keys. 2020-11-09 09:27:52 -05:00
hishamco
26c054c22d Use IStringLocalizerFactory for simplicity 2020-11-08 22:26:04 +03:00
Shaun Walker
b4b73b7e5a fixed compatibility issue in .NET5/WebAssembly where assemblies were not being loaded into the default AppDomain, optimized service registration on WebAssembly, fixed spelling mistake for satellite assemblies constant and fixed issue in LocalizableComponent 2020-11-03 14:41:49 -05:00
hishamco
79b584f268 Check needed if the component is localizable 2020-10-19 21:47:59 +03:00
hishamco
fed56098a0 Avoid resource check in child components 2020-10-19 11:36:05 +03:00
hishamco
5bb7c63d44 Introduce LocalizableComponent 2020-10-19 11:16:46 +03:00