Mise à jour des localisations
-spanish, german, french
This commit is contained in:
Binary file not shown.
+875
-372
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+780
-235
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+873
-369
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: sur-le-sentier.fr\n"
|
"Project-Id-Version: sur-le-sentier.fr\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-12-12 10:09+0100\n"
|
"POT-Creation-Date: 2024-12-12 16:31+0100\n"
|
||||||
"PO-Revision-Date: 2024-12-12 10:11+0100\n"
|
"PO-Revision-Date: 2024-12-12 16:32+0100\n"
|
||||||
"Last-Translator: Bruno <bruno@clicclac.info>\n"
|
"Last-Translator: Bruno <bruno@clicclac.info>\n"
|
||||||
"Language-Team: French <bruno@clicclac.info>\n"
|
"Language-Team: French <bruno@clicclac.info>\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
@@ -130,6 +130,35 @@ msgstr "Etat: "
|
|||||||
msgid " logged in"
|
msgid " logged in"
|
||||||
msgstr " connecté"
|
msgstr " connecté"
|
||||||
|
|
||||||
|
#: admin.php:45 view_bdd.php:119 view_bdd.php:173 view_bdd2.php:298
|
||||||
|
#: view_bdd2.php:324
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Editer"
|
||||||
|
|
||||||
|
#: admin.php:46
|
||||||
|
msgid "Insert"
|
||||||
|
msgstr "Insérer"
|
||||||
|
|
||||||
|
#: admin.php:47
|
||||||
|
msgid "Modify"
|
||||||
|
msgstr "Modifier"
|
||||||
|
|
||||||
|
#: admin.php:48
|
||||||
|
msgid "View (Ajax)"
|
||||||
|
msgstr "Voir (Ajax)"
|
||||||
|
|
||||||
|
#: admin.php:49
|
||||||
|
msgid "View"
|
||||||
|
msgstr "Voir"
|
||||||
|
|
||||||
|
#: admin.php:50
|
||||||
|
msgid "Clean"
|
||||||
|
msgstr "Nettoyer"
|
||||||
|
|
||||||
|
#: admin.php:56 view_bdd.php:234 view_bdd2.php:432
|
||||||
|
msgid "Log out"
|
||||||
|
msgstr "Déconnexion"
|
||||||
|
|
||||||
#: avif/picture.php:18 delete_bdd.php:117 edit_bdd.php:49 modify_bdd.php:157
|
#: avif/picture.php:18 delete_bdd.php:117 edit_bdd.php:49 modify_bdd.php:157
|
||||||
#: requests.php:14 view_bdd.php:55 view_bdd2.php:98
|
#: requests.php:14 view_bdd.php:55 view_bdd2.php:98
|
||||||
msgid "View photos in Sqlite base"
|
msgid "View photos in Sqlite base"
|
||||||
@@ -307,7 +336,7 @@ msgstr "Exposition manuelle"
|
|||||||
msgid "Program"
|
msgid "Program"
|
||||||
msgstr "Programme"
|
msgstr "Programme"
|
||||||
|
|
||||||
#: clean_bdd.php:425
|
#: clean_bdd.php:425 translator.php:28 translator_gettext.php:16
|
||||||
msgid "Aperture Priority"
|
msgid "Aperture Priority"
|
||||||
msgstr "Priorité ouverture"
|
msgstr "Priorité ouverture"
|
||||||
|
|
||||||
@@ -818,6 +847,10 @@ msgstr "ISO"
|
|||||||
msgid "speed"
|
msgid "speed"
|
||||||
msgstr "vitesse"
|
msgstr "vitesse"
|
||||||
|
|
||||||
|
#: translator.php:26
|
||||||
|
msgid "String"
|
||||||
|
msgstr "Chaîne"
|
||||||
|
|
||||||
#: vegas/index.php:106
|
#: vegas/index.php:106
|
||||||
msgid "<span class=\"green\">Latest</span> images..."
|
msgid "<span class=\"green\">Latest</span> images..."
|
||||||
msgstr "<span class=\"green\">Dernières</span> images..."
|
msgstr "<span class=\"green\">Dernières</span> images..."
|
||||||
@@ -886,10 +919,6 @@ msgstr ""
|
|||||||
msgid "is it hard"
|
msgid "is it hard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view_bdd.php:119 view_bdd.php:173 view_bdd2.php:298 view_bdd2.php:324
|
|
||||||
msgid "Edit"
|
|
||||||
msgstr "Editer"
|
|
||||||
|
|
||||||
#: view_bdd.php:121 view_bdd.php:175 view_bdd2.php:300 view_bdd2.php:326
|
#: view_bdd.php:121 view_bdd.php:175 view_bdd2.php:300 view_bdd2.php:326
|
||||||
msgid "Suppress"
|
msgid "Suppress"
|
||||||
msgstr "Supprimer"
|
msgstr "Supprimer"
|
||||||
@@ -921,10 +950,6 @@ msgstr "Programme"
|
|||||||
msgid "WB"
|
msgid "WB"
|
||||||
msgstr "Balance des blancs"
|
msgstr "Balance des blancs"
|
||||||
|
|
||||||
#: view_bdd.php:234 view_bdd2.php:432
|
|
||||||
msgid "Log out"
|
|
||||||
msgstr "Déconnexion"
|
|
||||||
|
|
||||||
#: view_bdd2.php:197
|
#: view_bdd2.php:197
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%d image found with the following query:"
|
msgid "%d image found with the following query:"
|
||||||
|
|||||||
+21
-1
@@ -220,7 +220,7 @@ function localize($domain) {
|
|||||||
echo "langue: " . $langue . "<br>";
|
echo "langue: " . $langue . "<br>";
|
||||||
*/
|
*/
|
||||||
|
|
||||||
putenv('LC_ALL=' . $langue);
|
putenv('LC_ALL=' . $langue); // $langue = fr_FR.utf8
|
||||||
$loc = setlocale(LC_ALL, $langue);
|
$loc = setlocale(LC_ALL, $langue);
|
||||||
|
|
||||||
bindtextdomain($domain, $root . '/Locale/nocache'); // by-pass gettext() cache. Now the cache is forced to flush every time.
|
bindtextdomain($domain, $root . '/Locale/nocache'); // by-pass gettext() cache. Now the cache is forced to flush every time.
|
||||||
@@ -230,4 +230,24 @@ function localize($domain) {
|
|||||||
|
|
||||||
$nation = array('fr_FR' => gettext('French'), 'en_US' => gettext('English') , 'de_DE' => gettext('German'), 'es_ES' => gettext('Spanish') );
|
$nation = array('fr_FR' => gettext('French'), 'en_US' => gettext('English') , 'de_DE' => gettext('German'), 'es_ES' => gettext('Spanish') );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function motranslator($domain) {
|
||||||
|
require('vendor/autoload.php');
|
||||||
|
|
||||||
|
// Create loader object
|
||||||
|
$loader = new PhpMyAdmin\MoTranslator\Loader();
|
||||||
|
|
||||||
|
// Set locale
|
||||||
|
//$loader->setlocale('fr');
|
||||||
|
$loader->setlocale('fr_FR.utf8');
|
||||||
|
|
||||||
|
// Set default text domain
|
||||||
|
$loader->textdomain('sentier');
|
||||||
|
|
||||||
|
// Set path where to look for a domain
|
||||||
|
//$loader->bindtextdomain('sentier', __DIR__ . '/data/locale/');
|
||||||
|
$loader->bindtextdomain('sentier', __DIR__ . '/Locale/');
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user