Andrew Nicols
cc193bd7a6
MDL-78346 tool_langimport: Print any notifications before redirect
2023-05-25 14:54:35 +08:00
Andrew Nicols
ad7a5030f1
MDL-78346 tool_langimport: Prevent uninstallation of invalid targets
2023-05-25 11:14:14 +08:00
Jun Pataleta
f91261c9fa
MDL-72882 tool_langimport: Set default language when deleting lang pack
...
* When the language pack being deleted is
- the same as the site default language, we must set the site default
language to 'en'.
- fix the user's current language to the default site language.
2022-11-03 13:27:11 +08:00
David Mudrák
c85215e955
MDL-70608 lang: Install langpacks asynchronously via ad hoc task
...
When multiple language packs are selected for installation, perform the
installation asynchronously in the background via ad hoc task.
2021-02-19 16:02:02 +01:00
David Mudrák
cb425a917f
MDL-56527 admin: Improve the error message if download is not available
...
The previous string did not actually contain a link where the lang pack
could be downloaded from.
2016-12-09 11:22:12 +01:00
Neill Magill
6a6f2e1ca6
MDL-56133 tool_langimport: Changes should be visible after import
...
Before this change if a language pack was updated by the
\tool_langimport\task\update_langpacks_task scheduled task, changes
would not be available to users until an admin manually cleared the
strings cache.
This change causes the cache to purged when a language pack it update,
this will cause it to rebuild so users will start seeing updates
automatically.
2016-11-08 10:56:56 +00:00
Martin Mastny
6ddf92c774
MDL-39319 langimport: Able to delete more languages at once
2015-05-29 13:08:33 +08:00
Andrew Davis
4a85b4c0d0
MDL-49008 lang: removed preemptive deleting of old language files
2015-02-22 19:58:57 +01:00
Andrew Davis
323f95b222
MDL-49008 lang: made lang update error reporting work
2015-02-22 19:58:57 +01:00
Dan Poltawski
ed914e31c5
MDL-46210 langimport: logging for install/update/remove
...
Now that we have sceduled tasks updating the langpacks, its useful
to log which actions have occured.
2014-10-05 14:34:38 +01:00
Dan Poltawski
816b3e0176
MDL-46210 langimport: Rearrange code
...
Factoring code into a controller class so that the update
can be put into a scheduled task (and be a bit tider).
2014-10-05 14:25:45 +01:00