release 1.7
This commit is contained in:
parent
121b6d8c85
commit
c6bcd8ca5e
@ -1,3 +1,7 @@
|
||||
1.7 - 2023.04.25
|
||||
- require dotclear 2.26
|
||||
- use namespace
|
||||
|
||||
1.6 - 2022.12.15
|
||||
- update to dotclear 2.24
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
[![Release](https://img.shields.io/github/v/release/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/releases)
|
||||
[![Date](https://img.shields.io/github/release-date/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/releases)
|
||||
[![Issues](https://img.shields.io/github/issues/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/issues)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/lunarPhase)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/blob/master/LICENSE)
|
||||
|
||||
|
14
_define.php
14
_define.php
@ -7,23 +7,23 @@
|
||||
*
|
||||
* @author Tomtom, Pierre Van Glabeke and Contributors
|
||||
*
|
||||
* @copyright Jean-Crhistian Denis
|
||||
* @copyright Jean-Christian Denis
|
||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
if (!defined('DC_RC_PATH')) {
|
||||
if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->registerModule(
|
||||
'lunarPhase',
|
||||
'Moon phases',
|
||||
'Display the moon phases on a widget',
|
||||
'Tomtom, Pierre Van Glabeke and Contributors',
|
||||
'1.6',
|
||||
'1.7',
|
||||
[
|
||||
'requires' => [['core', '2.24']],
|
||||
'requires' => [['core', '2.26']],
|
||||
'permissions' => dcCore::app()->auth->makePermissions([
|
||||
dcAuth::PERMISSION_USAGE,
|
||||
dcAuth::PERMISSION_CONTENT_ADMIN,
|
||||
dcCore::app()->auth::PERMISSION_USAGE,
|
||||
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
|
||||
]),
|
||||
'type' => 'plugin',
|
||||
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332971#p332971',
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="lunarPhase">
|
||||
<name>lunarPhase</name>
|
||||
<version>1.6</version>
|
||||
<name>Moon phases</name>
|
||||
<version>1.7</version>
|
||||
<author>Tomtom, Pierre Van Glabeke and Contributors</author>
|
||||
<desc>Display the moon phases on a widget</desc>
|
||||
<file>https://github.com/JcDenis/lunarPhase/releases/download/v1.6/plugin-lunarPhase.zip</file>
|
||||
<da:dcmin>2.24</da:dcmin>
|
||||
<file>https://github.com/JcDenis/lunarPhase/releases/download/v1.7/plugin-lunarPhase.zip</file>
|
||||
<da:dcmin>2.26</da:dcmin>
|
||||
<da:details>https://plugins.dotaddict.org/dc2/details/lunarPhase</da:details>
|
||||
<da:support>http://forum.dotclear.org/viewtopic.php?pid=332971#p332971</da:support>
|
||||
</module>
|
||||
|
41
locales/fr/main.lang.php
Normal file
41
locales/fr/main.lang.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Dotclear
|
||||
*
|
||||
* @copyright Olivier Meunier & Association Dotclear
|
||||
* @copyright GPL-2.0-only
|
||||
*/
|
||||
#
|
||||
# DOT NOT MODIFY THIS FILE !
|
||||
#
|
||||
|
||||
use Dotclear\Helper\L10n;
|
||||
|
||||
L10n::$locales['Moon phases'] = 'Phases de la Lune';
|
||||
L10n::$locales['Display the moon phases'] = 'Afficher les phases de la Lune et autres données';
|
||||
L10n::$locales['Display actual phase of moon'] = 'Afficher la phase actuelle de la Lune';
|
||||
L10n::$locales['Display actual illumination of moon'] = 'Afficher le taux d\'illumination actuel de la Lune';
|
||||
L10n::$locales['Display actual age of moon'] = 'Afficher l\'âge actuel de la Lune';
|
||||
L10n::$locales['Display actual distance between moon and earth'] = 'Afficher la distance actuelle entre la Terre et la Lune';
|
||||
L10n::$locales['Display actual distance between moon and sun'] = 'Afficher la distance actuelle entre le Soleil et la Lune';
|
||||
L10n::$locales['Display actual angle of moon'] = 'Afficher l\'angle actuel de la Lune';
|
||||
L10n::$locales['Display actual angle of sun'] = 'Afficher l\'angle actuel du Soleil';
|
||||
L10n::$locales['Display actual parallax of moon'] = 'Afficher la parallaxe actuelle de la Lune';
|
||||
L10n::$locales['Display all previsions for the next moon phases'] = 'Afficher toutes les prévisions des prochaines lunaisons';
|
||||
L10n::$locales['Illumination: %s%%'] = 'Illumination : %s%%';
|
||||
L10n::$locales['Age of moon: %s days'] = 'Age de la Lune : %s jours';
|
||||
L10n::$locales['Distance to earth: %s km'] = 'Distance à la Terre : %s km';
|
||||
L10n::$locales['Distance to sun: %s km'] = 'Distance au Soleil : %s km';
|
||||
L10n::$locales['Angle of moon: %s deg'] = 'Angle de la Lune : %s deg';
|
||||
L10n::$locales['Angle of sun: %s deg'] = 'Angle du Soleil : %s deg';
|
||||
L10n::$locales['Parallax: %s deg'] = 'Parallaxe : %s deg';
|
||||
L10n::$locales['In live'] = 'En direct';
|
||||
L10n::$locales['Previsions'] = 'Prévisions';
|
||||
L10n::$locales['New moon'] = 'Nouvelle lune';
|
||||
L10n::$locales['Waxing crescent moon'] = 'Lune croissante';
|
||||
L10n::$locales['First quarter moon'] = 'Premier quartier';
|
||||
L10n::$locales['Waxing gibbous moon'] = 'Lune gibbeuse croissante';
|
||||
L10n::$locales['Full moon'] = 'Pleine lune';
|
||||
L10n::$locales['Waning gibbous moon'] = 'Lune gibbeuse décroissante';
|
||||
L10n::$locales['Last quarter moon'] = 'Dernier quartier';
|
||||
L10n::$locales['Waning crescent moon'] = 'Lune décroissante';
|
Loading…
Reference in New Issue
Block a user