Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down Expand Up @@ -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/)
File renamed without changes.
4 changes: 2 additions & 2 deletions core/i18n/en_US.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins\/template\/desktop\/php\/template.php": {
"plugins\/Template\/desktop\/php\/Template.php": {
"Action": "Action",
"Activer": "Activate",
"Ajouter": "Add",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions core/i18n/fr_FR.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins\/template\/desktop\/php\/template.php": {
"plugins\/Template\/desktop\/php\/Template.php": {
"Action": "Action",
"Activer": "Activer",
"Ajouter": "Ajouter",
Expand All @@ -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",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions desktop/php/template.php → desktop/php/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
?>
Expand Down Expand Up @@ -165,5 +165,5 @@
</div>

<?php
include_file('desktop', 'template', 'js', 'template');
include_file('desktop', 'template', 'js', 'Template');
include_file('core', 'plugin.template', 'js');
4 changes: 2 additions & 2 deletions docs/fr_FR/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@

### Détail des changements

Détail complet des mises à jour sur [Historique Commit](https://github.com/Jeedom-Plugins-Extra/plugin-template/commits/master)
Détail complet des mises à jour sur [Historique Commit](https://github.com/Jeedom-Plugins-Extra/plugin-Template/commits/master)

# Bug

En cas de problèmes avec ce plugin il est possible d'ouvrir un ticket pour demander une correction :

[https://github.com/Jeedom-Plugins-Extra/plugin-template/issues](https://github.com/Jeedom-Plugins-Extra/plugin-template/issues)
[https://github.com/Jeedom-Plugins-Extra/plugin-Template/issues](https://github.com/Jeedom-Plugins-Extra/plugin-Template/issues)
~~Remplacer le lien vers le bugtracker du plugin~~
2 changes: 1 addition & 1 deletion docs/fr_FR/index-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Exemple :

```
{
"id" : "template",
"id" : "Template",
"name" : "Template",
"description" : "Plugin template pour la création de plugin",
"licence" : "AGPL",
Expand Down
2 changes: 1 addition & 1 deletion docs/fr_FR/presentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Retrouvez le sur le [Market](https://www.jeedom.com/market/index.php?v=d&p=marke

~~Insérer un screenshot du plugin en mode desktop~~

![screenshot1](../images/template_icon.png)
![screenshot1](../images/Template_icon.png)

# Forum

Expand Down
File renamed without changes.
File renamed without changes
2 changes: 1 addition & 1 deletion plugin_info/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id" : "template",
"id" : "Template",
"name" : "Template",
"description" : "Plugin template pour la création de plugin",
"licence" : "AGPL",
Expand Down
6 changes: 3 additions & 3 deletions plugin_info/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@

require_once dirname(__FILE__) . '/../../../core/php/core.inc.php';

function template_install() {
function Template_install() {

}

function template_update() {
function Template_update() {

}


function template_remove() {
function Template_remove() {

}

Expand Down
2 changes: 1 addition & 1 deletion tests/tools/spellCheckMD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
for file in *.md docs/fr_FR/*.md;
do
echo $files
if [ $file = "docs/fr_FR/index-template.md" ] || [ $file = "docs/fr_FR/index.md" ]
if [ $file = "docs/fr_FR/index-Template.md" ] || [ $file = "docs/fr_FR/index.md" ]
then
echo "skip "$file
else
Expand Down