emergency update

Cannot install de_DE or fr_FR if unraid.net is installed
This commit is contained in:
Squidly271 2021-03-02 18:51:48 -05:00
parent e0ef1da833
commit 80886642b5
3 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -2,8 +2,8 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "community.applications"> <!ENTITY name "community.applications">
<!ENTITY author "Andrew Zawadzki"> <!ENTITY author "Andrew Zawadzki">
<!ENTITY version "2021.02.27a"> <!ENTITY version "2021.03.02">
<!ENTITY md5 "5856a99ba798b0fa83fa2a938c79d542"> <!ENTITY md5 "1e2e3b37df276e2fd48f89ff5b8a92bf">
<!ENTITY launch "Apps"> <!ENTITY launch "Apps">
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;"> <!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
<!ENTITY github "Squidly271/community.applications"> <!ENTITY github "Squidly271/community.applications">
@ -13,6 +13,9 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.4.0" support="https://lime-technology.com/forums/topic/38582-plug-in-community-applications/" icon="users"> <PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.4.0" support="https://lime-technology.com/forums/topic/38582-plug-in-community-applications/" icon="users">
<CHANGES> <CHANGES>
###2021.03.02
- Emergency update: Unable to install de_DE / fr_FR languages if unraid.net is installed
###2021.02.27 ###2021.02.27
- Changed: CSS color fixes, updates etc - Changed: CSS color fixes, updates etc
- Misc: Code re-organization - Misc: Code re-organization

View File

@ -310,7 +310,7 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
$currentLanguage = $dynamixSettings['display']['locale'] ?: "en_US"; $currentLanguage = $dynamixSettings['display']['locale'] ?: "en_US";
$installedLanguages = array_diff(scandir("/usr/local/emhttp/languages"),array(".","..")); $installedLanguages = array_diff(scandir("/usr/local/emhttp/languages"),array(".",".."));
$installedLanguages = array_filter($installedLanguages,function($v) { $installedLanguages = array_filter($installedLanguages,function($v) {
return is_dir("/usr/local/emhttp/languages/$v"); return is_file("/boot/config/plugins/lang-$v.xml");
}); });
$installedLanguages[] = "en_US"; $installedLanguages[] = "en_US";
} }