From 11b3316b172cf6d8e674f16c91ea32d872209fb0 Mon Sep 17 00:00:00 2001 From: Sylvain Dangin Date: Thu, 29 Mar 2018 22:00:50 +0200 Subject: [PATCH] Rename --- README.md | 8 ++++---- core/ajax/{template.ajax.php => Template.ajax.php} | 0 core/i18n/en_US.json | 4 ++-- core/i18n/fr_FR.json | 4 ++-- core/php/{template.inc.php => Template.inc.php} | 0 desktop/js/{template.js => Template.js} | 0 .../{modal.template.php => modal.Template.php} | 0 desktop/php/{template.php => Template.php} | 4 ++-- docs/fr_FR/changelog.md | 4 ++-- docs/fr_FR/index-template.md | 2 +- docs/fr_FR/presentation.md | 2 +- .../{template_icon.pdn => Template_icon.pdn} | Bin .../{template_icon.png => Template_icon.png} | Bin plugin_info/info.json | 2 +- plugin_info/install.php | 6 +++--- tests/tools/spellCheckMD.sh | 2 +- 16 files changed, 19 insertions(+), 19 deletions(-) rename core/ajax/{template.ajax.php => Template.ajax.php} (100%) rename core/php/{template.inc.php => Template.inc.php} (100%) rename desktop/js/{template.js => Template.js} (100%) rename desktop/modal/{modal.template.php => modal.Template.php} (100%) rename desktop/php/{template.php => Template.php} (99%) rename plugin_info/{template_icon.pdn => Template_icon.pdn} (100%) rename plugin_info/{template_icon.png => Template_icon.png} (100%) diff --git a/README.md b/README.md index 01196335..39bc7f35 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -[![license](https://img.shields.io/github/license/Jeedom-Plugins-Extra/plugin-template.svg)](./LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/Jeedom-Plugins-Extra/plugin-template.svg)](../../graphs/contributors) [![GitHub release](https://img.shields.io/github/release/Jeedom-Plugins-Extra/plugin-template.svg)](../../releases) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/_USERNAME) [![Waffle.io - Columns and their card count](https://badge.waffle.io/Jeedom-Plugins-Extra/plugin-template.svg?columns=all)](https://waffle.io/Jeedom-Plugins-Extra/plugin-template) +[![license](https://img.shields.io/github/license/Jeedom-Plugins-Extra/plugin-Template.svg)](./LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/Jeedom-Plugins-Extra/plugin-Template.svg)](../../graphs/contributors) [![GitHub release](https://img.shields.io/github/release/Jeedom-Plugins-Extra/plugin-Template.svg)](../../releases) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/_USERNAME) [![Waffle.io - Columns and their card count](https://badge.waffle.io/Jeedom-Plugins-Extra/plugin-Template.svg?columns=all)](https://waffle.io/Jeedom-Plugins-Extra/plugin-Template) -### Master: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template.svg?branch=master)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-template/badge.svg?branch=master)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-template?branch=master) +### Master: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template.svg?branch=master)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-Template/badge.svg?branch=master)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-Template?branch=master) -### Develop: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template.svg?branch=develop)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-template/badge.svg?branch=develop)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-template?branch=develop) +### Develop: [![Build Status](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template.svg?branch=develop)](https://travis-ci.org/Jeedom-Plugins-Extra/plugin-Template) [![Coverage Status](https://coveralls.io/repos/github/Jeedom-Plugins-Extra/plugin-Template/badge.svg?branch=develop)](https://coveralls.io/github/Jeedom-Plugins-Extra/plugin-Template?branch=develop) # Présentation: @@ -31,7 +31,7 @@ Template de permettant de céér des plugins pour Jeedom # Documentation complète: -[![Read the Docs](plugin_info/template_icon.png)](https://jeedom-plugins-extra.github.io/plugin-template) +[![Read the Docs](plugin_info/Template_icon.png)](https://jeedom-plugins-extra.github.io/plugin-Template) [![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/_USERNAME/) diff --git a/core/ajax/template.ajax.php b/core/ajax/Template.ajax.php similarity index 100% rename from core/ajax/template.ajax.php rename to core/ajax/Template.ajax.php diff --git a/core/i18n/en_US.json b/core/i18n/en_US.json index 868ca3d2..1d4822ff 100644 --- a/core/i18n/en_US.json +++ b/core/i18n/en_US.json @@ -1,5 +1,5 @@ { - "plugins\/template\/desktop\/php\/template.php": { + "plugins\/Template\/desktop\/php\/Template.php": { "Action": "Action", "Activer": "Activate", "Ajouter": "Add", @@ -21,7 +21,7 @@ "Type": "Type", "Visible": "Visible" }, - "plugins\/template\/plugin_info\/configuration.php": { + "plugins\/Template\/plugin_info\/configuration.php": { "Global param 1": "First global parameter", "Global param 2": "Second global parameter", "Global param 3": "Third global parameter", diff --git a/core/i18n/fr_FR.json b/core/i18n/fr_FR.json index 41b05651..440d8140 100644 --- a/core/i18n/fr_FR.json +++ b/core/i18n/fr_FR.json @@ -1,5 +1,5 @@ { - "plugins\/template\/desktop\/php\/template.php": { + "plugins\/Template\/desktop\/php\/Template.php": { "Action": "Action", "Activer": "Activer", "Ajouter": "Ajouter", @@ -21,7 +21,7 @@ "Type": "Type", "Visible": "Visible" }, - "plugins\/template\/plugin_info\/configuration.php": { + "plugins\/Template\/plugin_info\/configuration.php": { "Global param 1": "Premier paramètre global", "Global param 2": "Deuxième paramètre global", "Global param 3": "Troisième paramètre global", diff --git a/core/php/template.inc.php b/core/php/Template.inc.php similarity index 100% rename from core/php/template.inc.php rename to core/php/Template.inc.php diff --git a/desktop/js/template.js b/desktop/js/Template.js similarity index 100% rename from desktop/js/template.js rename to desktop/js/Template.js diff --git a/desktop/modal/modal.template.php b/desktop/modal/modal.Template.php similarity index 100% rename from desktop/modal/modal.template.php rename to desktop/modal/modal.Template.php diff --git a/desktop/php/template.php b/desktop/php/Template.php similarity index 99% rename from desktop/php/template.php rename to desktop/php/Template.php index ef3ed50d..f3caf036 100644 --- a/desktop/php/template.php +++ b/desktop/php/Template.php @@ -2,7 +2,7 @@ if (!isConnect('admin')) { throw new \Exception('{{401 - Accès non autorisé}}'); } -$plugin = plugin::byId('template'); +$plugin = plugin::byId('Template'); sendVarToJS('eqType', $plugin->getId()); $eqLogics = eqLogic::byType($plugin->getId()); ?> @@ -165,5 +165,5 @@