From 9b465c7e0a45557f627c7a6fb0ce53983d2cf3d0 Mon Sep 17 00:00:00 2001 From: Salvatore <salvatore@rezo.net> Date: Sun, 16 Feb 2025 01:30:03 +0100 Subject: [PATCH] i18n: [Salvatore] [source:lang/ paquet-rainette] Export depuis https://trad.spip.net de la langue en i18n: [Salvatore] [source:lang/ paquet-rainette] Export depuis https://trad.spip.net de la langue fr --- lang/paquet-rainette_en.php | 10 +++------- lang/paquet-rainette_fr.php | 4 +++- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/lang/paquet-rainette_en.php b/lang/paquet-rainette_en.php index f650608..7d5d8cf 100644 --- a/lang/paquet-rainette_en.php +++ b/lang/paquet-rainette_en.php @@ -3,11 +3,7 @@ // extrait automatiquement de https://trad.spip.net/tradlang_module/rainette-paquet-xml-rainette?lang_cible=en // ** ne pas modifier le fichier ** -if (!defined('_ECRIRE_INC_VERSION')) { - return; -} - -$GLOBALS[$GLOBALS['idx_lang']] = array( +return [ // R 'rainette_description' => 'This new version of Rainette lets you select your weather service from 8 different ones. A configuration is available for each service, in particular for setting a registration key. The displays offered by this version are incompatible with those of the v1 and v2 branches. @@ -18,5 +14,5 @@ It does not store any information in a database, nor does it manage the selectio Weather data is displayed mainly through the use of models in templates. The plugin offers default templates such as {{rainette_previsions}} and {{rainette_conditions}}. It is also possible to display information on the selected location either via the {{rainette_infos}} template, or via the <code>#RAINETTE_INFOS</code> tag. All Rainette displays can be customized (icons, labels, units, presentation, etc.).', - 'rainette_slogan' => 'Everyday weather' -); + 'rainette_slogan' => 'Everyday weather', +]; diff --git a/lang/paquet-rainette_fr.php b/lang/paquet-rainette_fr.php index 646db3e..9791439 100644 --- a/lang/paquet-rainette_fr.php +++ b/lang/paquet-rainette_fr.php @@ -1,7 +1,9 @@ <?php // This is a SPIP language file -- Ceci est un fichier langue de SPIP // Fichier source, a modifier dans https://git.spip.net/spip-contrib-extensions/rainette.git + return [ + // R 'rainette_description' => 'Cette nouvelle version de Rainette permet de choisir son service météo parmi OpenWeather, Weatherbit.io, WeatherAPI, AccuWeather ou World Weather Online. Une configuration est disponible pour chaque service en particulier pour saisir une clé d’enregistrement. Les affichages proposées par cette version sont incompatibles avec ceux des branches v1 et v2. @@ -11,5 +13,5 @@ Il ne stocke aucune information en base de données ni ne gère le choix des lie L’affichage des données météorologiques se fait principalement via l’utilisation de modèles dans les squelettes. Le plugin propose des modèles par défaut comme {{rainette_previsions}} et {{rainette_conditions}}. Il est possible aussi d’afficher les informations sur le lieu choisi soit via le modèle {{rainette_infos}}, soit via la balise <code>#RAINETTE_INFOS</code>. Tous les affichages proposés par Rainette sont personnalisables (icônes, libellés, unités, présentation...).', - 'rainette_slogan' => 'La météo au quotidien' + 'rainette_slogan' => 'La météo au quotidien', ]; -- GitLab