diff --git a/README.md b/README.md index 7a28a3b..828eb75 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Php web interface to manage Philips Hue lights in a local network. * Copy color settings between lights (copy to, copy from, switch with) * Switch lights on/off * Run simple effects -* **Multi Lang** (new translation files can be added after installation or be submitted for an integration) +* **Multi Lang** (new translation files can be added after installation and/or be submitted for an integration) * Fully touch device compatible * **Hue API class available** in 'include/hueapi.php' (see comments in file) * **Hue cmd web service available** with 'hueapi_cmd.php' (see comments in file and [wiki](https://github.com/FredBardin/phpMyHue/wiki/Web-services)) @@ -46,7 +46,7 @@ If you're asked to proceed manually because automatic setup failed to complete ( 2. Edit 'include/config.php' and put correct values for '$bridgeip', '$username' and, if needed, for '$lang'. * 'bridgeip' is the ip address of your hue bridge in your lan. * 'username' is a registered user in your hue bridge (cf http://www.developers.meethue.com/documentation/api-core-concepts). - * 'lang' references an existing 'include/text_"lang".json' file ('en' by default). + * 'lang' references an existing 'lang/text_"lang".json' file ('en' by default). ### Licence MIT diff --git a/effects/score.xml b/effects/score.xml index 1f0715c..92f3675 100644 --- a/effects/score.xml +++ b/effects/score.xml @@ -15,16 +15,16 @@ - + - + + + + + - - - - diff --git a/histo.txt b/histo.txt index f7a53bc..bfffa5f 100644 --- a/histo.txt +++ b/histo.txt @@ -1,3 +1,7 @@ +v1.6 - : + - New logo + - Move translation files from 'include' to 'lang' + - Correction of v1.5 - 11/09/2016 : - Add Sensors Rules management - Update color conversion with new formulas from meethue diff --git a/hueapi_cmd.php b/hueapi_cmd.php index 731f78d..3911aac 100644 --- a/hueapi_cmd.php +++ b/hueapi_cmd.php @@ -42,7 +42,7 @@ } echo json_encode($HueAPI->info['groups']['other']); } else { // Normal process - // if command or delete : set, else load information + // if command or delete : set, else load information if (isset($cmdjs) || $method == "DELETE"){ echo $HueAPI->setInfo($action,$cmdjs,$method); } else { diff --git a/include/functions.php b/include/functions.php index 2bc893f..724317f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -27,7 +27,7 @@ function choose_lang(){ global $lang; // Get lang file array - $lang_ar = glob('include/text_??.json'); + $lang_ar = glob('lang/text_??.json'); // Display lang list echo "