Commit eb4f4309 authored by David's avatar David

- 4.2

     - Modification de la détection de langue pour plus compatibilité avec tout les codes langues
     - Intégration d'un script de téléchargement/compilation automatique des traductions depuis Crowdin
parent 34b0259b
......@@ -7,9 +7,26 @@ RewriteEngine on
RewriteRule ^Autonome.php$ index.php?langue=fr&%{QUERY_STRING} [L]
RewriteRule ^StandAlone.php$ index.php?langue=en&%{QUERY_STRING} [L]
# Support de tout les codes langues :
# https://support.crowdin.com/api/language-codes/
# Spécial Montenegrin : sr-Cyrl-ME
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^sr-Cyrl-ME(.*) index.php?langue=sr-Cyrl-ME&%{QUERY_STRING}
# xx-YY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z]{2}-[A-Z]{2})(.*) index.php?langue=$1&%{QUERY_STRING}
# xxx-YY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z]{3}-[A-Z]{2})(.*) index.php?langue=$1&%{QUERY_STRING}
# xxx
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z]{3})(.*) index.php?langue=$1&%{QUERY_STRING}
# xx
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z]{2})(.*) index.php?langue=$1&%{QUERY_STRING}
......@@ -49,6 +49,9 @@ Le rendre accessible depuis votre serveur http et personnaliser les valeur du fi
### Changelog
- 4.2
- Modification de la détection de langue pour plus compatibilité avec tout les codes langues
- Intégration d'un script de téléchargement/compilation automatique des traductions depuis Crowdin
- 4.1.2
- #4 Prise en compte des boîtiers de jonctions
- Correcion bug
......
<?php
$CalcPvAutonomeVersion='4.1.2';
$CalcPvAutonomeVersion='4.2';
include_once('./lib/Fonction.php');
$config_ini = parse_ini_file('./config.ini', true);
$lang_ini = parse_ini_file('./lang/lang.ini',true);
// Langues disponibles :
foreach($lang_ini as $lang) {
$localeDispo[]=$lang['code'];
}
/*$
$localeDispo=array( '<b>Contribute to translation</b> (in-context)' => 'aa',
'Afrikaans (?%)' => 'af',
'Español (?%)' => 'es',
'English (100%)' => 'en',
'Français (100%)' => 'fr',
'Indonesia (?%)' => 'id',
'Italiano' => 'it',
'Nederlands <b>'._('partial translation').' (10%)</b>' => 'nl',
'Polski <b>'._('partial translation').' (10%)</b>' => 'pl',
'Pусский (10%)' => 'ru',
'Türk (73%)' => 'tr',
'український <b>'._('partial translation').' (8%)</b>' => 'uk',
);
*/
// Dans les URL on utilisera les codes langues https://support.crowdin.com/api/language-codes/
// On a une fonction pour retrouve le local à partir (et vis et versa)
// Fonction de langue :
function langue2locale($langue) {
switch ($langue) {
// Pseudo langue pour la traduction in-context de crowdin
case 'aa':
return 'aa_ER.utf8';
break;
// Vrai langue
case 'fr':
return 'fr_FR.utf8';
break;
case 'es':
return 'es_ES.utf8';
break;
case 'es-ES':
return 'es_ES.utf8';
break;
case 'pt':
return 'pt_PT.utf8';
break;
case 'eo':
return 'eo.utf8';
break;
case 'nl':
return 'nl_NL.utf8';
break;
case 'tr':
return 'tr_TR.utf8';
break;
case 'uk':
return 'uk_UA.utf8';
break;
case 'id':
return 'id_ID.utf8';
break;
case 'af':
return 'af_ZA.utf8';
break;
case 'ru':
return 'ru_RU.utf8';
break;
case 'it':
return 'it_IT.utf8';
break;
default:
return 'en_US.utf8';
}
}
include('./lang/lang-dispo.php');
// Détection et redirection (langue toujours)
if (isset($_GET['langue']) && in_array(substr($_GET['langue'], 0, 2), $localeDispo)) {
$locale = langue2locale($_GET['langue']);
if ($_COOKIE['langue'] != $_GET['langue']) {
setcookie("langue",$_GET['langue'],strtotime( '+1 year' ));
if (isset($_GET['langue'])) {
$locale = lang2locale($_GET['langue']);
$localeshort=locale2lang($locale);
if ($_COOKIE['langue'] != $localeshort) {
setcookie("langue",$localeshort,strtotime( '+1 year' ));
}
} elseif (isset($_GET['langue']) && !in_array(substr($_GET['langue'], 0, 2), $localeDispo)) {
$locale = langue2locale('en'); // Erreur ou hack :
header('Location: '.replaceLang2url($locale));
} elseif (isset($_COOKIE['langue'])) {
$locale = langue2locale($_COOKIE['langue']);
$locale = lang2locale($_COOKIE['langue']);
$localeshort=locale2lang($_COOKIE['langue']);
header('Location: '.addLang2url($locale));
} else {
$locale = langue2locale(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2));
$locale = lang2locale($_SERVER['HTTP_ACCEPT_LANGUAGE']);
$localeshort=locale2lang($_SERVER['HTTP_ACCEPT_LANGUAGE']);
header('Location: '.addLang2url($locale));
exit();
}
//$locale = langue2locale('es');
$localeshort=substr($locale, 0, 2);
// Définition de la langue :
$results=putenv("LC_ALL=$locale");
$results=putenv("LC_ALL=$locale.utf8");
if (!$results) {
exit ('putenv failed');
}
$results=putenv("LC_LANG=$locale");
$results=putenv("LC_LANG=$locale.utf8");
if (!$results) {
exit ('putenv failed');
}
$results=putenv("LC_LANGUAGE=$locale");
$results=putenv("LC_LANGUAGE=$locale.utf8");
if (!$results) {
exit ('putenv failed');
}
$results=setlocale(LC_ALL, $locale);
$results=setlocale(LC_ALL, "$locale.utf8");
if (!$results) {
exit ('setlocale failed: locale function is not available on this platform, or the given local does not exist in this environment');
}
......@@ -152,7 +87,7 @@ $country = @geoip_country_code_by_name(get_ip());
ksort($lang_ini);
foreach($lang_ini as $lang) {
$flag='';
if (substr($locale, 0, 2) == $lang['code']) {
if ($localeshort == $lang['code']) {
$flag=' drapeauActif';
}
echo '<a id="href'.$lang['code'].'" href="'.replaceLang2url($lang['code']).'"><img class="drapeau'.$flag.'" src="./lib/'.$lang['code'].'.png" alt="'.$lang['code'].'" width="23" height="15" /></a>';
......@@ -161,10 +96,10 @@ $country = @geoip_country_code_by_name(get_ip());
$("#languesLegende").show();';
if ($lang['code'] == 'aa') {
echo '$("#languesLegende").html("<b>Contribute to translation</b> (in-context)");';
} else if ($lang['translated_progress'] < 60) {
echo '$("#languesLegende").html("<b>'.strtoupper($lang['code']).'</b> '._('partial translation').' ('.$lang['translated_progress'].'%)");';
} else if ($lang['translated_progress'] < 90) {
echo '$("#languesLegende").html("<b>'.$lang['code'].'</b> '._('partial translation').' ('.$lang['translated_progress'].'%)");';
} else {
echo '$("#languesLegende").html("<b>'.strtoupper($lang['code']).'</b> ('.$lang['translated_progress'].'%)");';
echo '$("#languesLegende").html("<b>'.$lang['code'].'</b> ('.$lang['translated_progress'].'%)");';
}
echo '})
.mouseout(function() {
......
......@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: calcpvautonome\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-16 14:36+0100\n"
"PO-Revision-Date: 2018-02-18 16:47-0500\n"
"PO-Revision-Date: 2018-02-19 10:21-0500\n"
"Last-Translator: kepon85 <david@mercereau.info>\n"
"Language-Team: Afrikaans\n"
"Language: af_ZA\n"
......@@ -14,7 +14,7 @@ msgstr ""
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: calcpvautonome\n"
"X-Crowdin-Language: af\n"
"X-Crowdin-File: /v4.0/messages.pot\n"
"X-Crowdin-File: messages.pot\n"
#: CalcConsommation.php:2
msgid "In order to know the electric consumption (in Watts) of your devices you may"
......
Name,Languages,"Translated (Words)","Target Words","Approved (Words)","Votes Made"
"billoges (billog2968)",Afrikaans,1219,1312,0,0
"DavidM (kepon85)",Afrikaans,29,28,1219,0
amp8,,0,0,0,0
"Emre Özdiyar (incendiesq)",,0,0,0,0
"Elías Loreto (eliasjloreto)",,0,0,0,0
agusalim,,0,0,0,0
"Ericka Simancas (ackseriam)",,0,0,0,0
"ayukhamil (javhihi19091996)",,0,0,0,0
"Fachrur Razi (fachrurrazi)",,0,0,0,0
amp8,,0,0,0,0
ferimenn,,0,0,0,0
"Bartłomiej Mathea (apocz)",,0,0,0,0
thegreenfox,,0,0,0,0
agusalim,,0,0,0,0
isacastillor,,0,0,0,0
"Emre Özdiyar (incendiesq)",,0,0,0,0
"Tatjana Larina (erikaflynn) (t257233)",,0,0,0,0
Daiky69,,0,0,0,0
"raja rizki (rizki271197)",,0,0,0,0
"bym (bymc)",,0,0,0,0
nasruddinn,,0,0,0,0
aikochan,,0,0,0,0
aleysiaa,,0,0,0,0
"Elías Loreto (eliasjloreto)",,0,0,0,0
"Juan Raúl Hernández (jraulhernandezi)",,0,0,0,0
"Erol Yağız AYDIN (escorn)",,0,0,0,0
mirrim,,0,0,0,0
"Ned (nednet)",,0,0,0,0
paulcmal,,0,0,0,0
coucou39,,0,0,0,0
"Philippe (ppmt)",,0,0,0,0
"Marion (guillerette)",,0,0,0,0
Mariajosi,,0,0,0,0
Nibor44,,0,0,0,0
Laeth,,0,0,0,0
paulcmal,,0,0,0,0
"Andriy Poznakhovskyy (Andrulko)",,0,0,0,0
"Ned (nednet)",,0,0,0,0
Poussinou,,0,0,0,0
"Bartłomiej Mathea (apocz)",,0,0,0,0
PifyZ,,0,0,0,0
taha2002,,0,0,0,0
tarfayaproject,,0,0,0,0
StarlightF,,0,0,0,0
"Harun Demirel (harundemirel)",,0,0,0,0
alfanerd,,0,0,0,0
"bym (bymc)",,0,0,0,0
"Andriy Poznakhovskyy (Andrulko)",,0,0,0,0
"Erol Yağız AYDIN (escorn)",,0,0,0,0
aafeng,,0,0,0,0
msgid ""
msgstr ""
"Project-Id-Version: calcpvautonome\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-16 14:36+0100\n"
"PO-Revision-Date: 2018-02-19 10:21-0500\n"
"Last-Translator: kepon85 <david@mercereau.info>\n"
"Language-Team: Afrikaans\n"
"Language: af_ZA\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: calcpvautonome\n"
"X-Crowdin-Language: af\n"
"X-Crowdin-File: messages.pot\n"
#: CalcConsommation.php:2
msgid "In order to know the electric consumption (in Watts) of your devices you may"
msgstr "Ten einde te weet wat die elektriese verbruik (in Watt) van jou toestelle wat jy kan"
#: CalcConsommation.php:4
msgid "Check on the device's specification sheet or label"
msgstr "Kyk op die toestel se spesifikasie vel of etiket"
#: CalcConsommation.php:5
msgid "You may get a Wattmeter (~10&euro;) that will show you the exact consumption if plugged between power socket and the applience"
msgstr "Jy kan kry'n Wattmeter (~10&euro;) wat sal jou wys die presiese verbruik as ingeprop tussen krag socket en die applience"
#: CalcConsommation.php:7
msgid "To calculate the dimensions of an autonomous solar installation, consider that it is wintertime (longer lighting time needed, but the fridge might be unplugged due to low temperature outside...)"
msgstr "Om te bereken die dimensies van'n outonome sonkrag installasie, is van mening dat dit is winter (langer beligting tyd wat nodig is, maar die yskas kan word afgeskakel as gevolg van te lae temperatuur buite...)"
#: CalcConsommation.php:9
msgid "First sober example"
msgstr "Die eerste nugter voorbeeld"
#: CalcConsommation.php:10
msgid "Second example"
msgstr "Tweede voorbeeld"
#: CalcConsommation.php:15
msgid "Equipment"
msgstr "Toerusting"
#: CalcConsommation.php:16
msgid "Power (Watt)"
msgstr "Krag (Watt)"
#: CalcConsommation.php:17
msgid "Turn on<br />simultaneously"
msgstr "Draai op<br />gelyktydig"
#: CalcConsommation.php:18
msgid "Number"
msgstr "Aantal"
#: CalcConsommation.php:19
msgid "Daily use time"
msgstr "Die daaglikse gebruik van tyd"
#: CalcConsommation.php:20
msgid "Automatic consumption<br />calculation"
msgstr "Outomatiese verbruik<br />berekening"
#: CalcConsommation.php:21
msgid "Daily<br />consumption"
msgstr "Daaglikse<br />verbruik"
#: CalcConsommation.php:27 CalcPvAutonome.php:1155
msgid "Your daily electrical needs"
msgstr "Jou daaglikse elektriese behoeftes"
#: CalcConsommation.php:28 CalcPvAutonome.php:1160
msgid "Your need in maximum electrical power"
msgstr "Jou nodig het in die maksimum elektriese krag"
#: CalcConsommation.php:28
msgid "Total addition of power required by devices that are likely to be plugged and on at the same time OR consumption of the most power demanding appliance in case it is not plugged simultaneously with the rest"
msgstr "Totale toevoeging van die krag wat vereis word deur die toestelle wat is geneig om te word ingeprop en op dieselfde tyd OF die verbruik van die mees krag veeleisende toestel in die geval is dit nie ingeprop is nie gelyktydig met die res"
#: CalcConsommation.php:29
msgid "Click here to introduce those values to calculate <br/> the dimension of your autonomous solar installation"
msgstr "Klik hier om te stel die waardes te bereken<br/>die dimensie van jou outonome sonkrag installasie"
#: CalcConsommation.php:31
msgid "Add an empty line"
msgstr "Voeg'n leë lyn"
#: CalcConsommation.php:33
msgid "Add a line according to a template..."
msgstr "Voeg'n lyn volgens'n sjabloon..."
#: CalcConsommation.php:39
msgid "The models' values are approximate estimations, if you need more precise measurement consider using Wattmeter to determine the exact consumption of each of yours devices"
msgstr "Die modelle se waardes is benaderde skattings, as jy nodig het om meer akkurate meting oorweeg die gebruik van Wattmeter om te bepaal wat die presiese verbruik van elke van jou toestelle"
#: CalcConsommation.php:45
msgid "Share / Save this table"
msgstr "Deel / Spaar hierdie tafel"
#: CalcConsommation.php:64
msgid "Tick all the devices that are likely to be switched on at the same time (for example: Pc, fridge, lightbulb in the livingroom). At the other hand, you might rather want to unplug your Pc when you are using a drill"
msgstr "Merk al die toestelle wat is geneig om te word aangeskakel op dieselfde tyd (byvoorbeeld: Pc, yskas, gloeilamp in die woonkamer). Aan die ander kant, kan jy eerder wil koppel jou Rekenaar wanneer jy met behulp van'n boor"
#: CalcConsommation.php:97
msgid "Ticked: your daily consumption will be estimated automatically<br/>Unticked: you shall specifiy your daily consumption (useful in case your fridge is plugged 24/7 yet it goes on only if room temperature rises"
msgstr "Afgemerk: jou daaglikse verbruik sal word beraam outomaties<br/>nie afgemerk: jy sal specifiy jou daaglikse verbruik (nuttig in die geval van jou yskas is ingeprop 24/7 maar dit gaan op slegs indien kamer temperatuur styg"
#: CalcConsommation.php:103
msgid "The calculation is: Power (W) * Time (in hours) * Number = Wh/j (Watt Hour Day)"
msgstr "Die berekening is: Krag (W) * Tyd (in uur) * Aantal = Wh/j (Watt-Uur Dag)"
#: CalcConsommation.php:237
msgid "Copy the internet address below keep it there or share it here..."
msgstr "Kopieer die internet adres hieronder hou dit daar of deel dit hier..."
#: CalcPvAutonome.php:8
msgid "January"
msgstr "Januarie"
#: CalcPvAutonome.php:9
msgid "February"
msgstr ""
#: CalcPvAutonome.php:10
msgid "March"
msgstr ""
#: CalcPvAutonome.php:11
msgid "April"
msgstr ""
#: CalcPvAutonome.php:12
msgid "May"
msgstr ""
#: CalcPvAutonome.php:13
msgid "June"
msgstr ""
#: CalcPvAutonome.php:14
msgid "July"
msgstr ""
#: CalcPvAutonome.php:15
msgid "August"
msgstr ""
#: CalcPvAutonome.php:16
msgid "September"
msgstr ""
#: CalcPvAutonome.php:17
msgid "October"
msgstr ""
#: CalcPvAutonome.php:18
msgid "November"
msgstr ""
#: CalcPvAutonome.php:19
msgid "December"
msgstr ""
#: CalcPvAutonome.php:42
msgid "Daily need is not correct because < 0"
msgstr "Daaglikse nodig het, is nie korrek nie, want < 0"
#: CalcPvAutonome.php:43
msgid "Maximum power requirement is not correct because < 0"
msgstr "Maksimum krag vereiste is nie korrek nie, want < 0"
#: CalcPvAutonome.php:45
msgid "Panel's custom power is not correct because < 0"
msgstr "Die paneel se persoonlike krag is nie korrek nie, want < 0"
#: CalcPvAutonome.php:46
msgid "Panel's custom open circuit voltage (Vdoc) is not correct because < 0"
msgstr "Die paneel se persoonlike oop kring spanning (Vdoc) is nie korrek nie, want < 0"
#: CalcPvAutonome.php:47
msgid "Panel's custom short circuit current (Isc) is not correct because < 0"
msgstr "Die paneel se persoonlike kortsluiting huidige (Isc) is nie korrek nie, want < 0"
#: CalcPvAutonome.php:50
msgid "Custom battery voltage is not correct because < 0"
msgstr "Persoonlike battery spanning is nie korrek nie, want < 0"
#: CalcPvAutonome.php:51
msgid "Custom battery capacity is not correct because < 0"
msgstr "Persoonlike battery kapasiteit is nie korrek nie, want < 0"
#: CalcPvAutonome.php:59
msgid "Custom charge controller voltage is incorrect because < 0"
msgstr "Persoonlike beheer kontroleerder spanning is verkeerd, want < 0"
#: CalcPvAutonome.php:60
msgid "Custom charge controller power is not correct because < 0"
msgstr "Persoonlike beheer kontroleerder krag is nie korrek nie, want < 0"
#: CalcPvAutonome.php:61
msgid "Custom charge controller short-circuit current is incorrect because < 0"
msgstr "Persoonlike beheer kontroleerder kort-kring huidige is verkeerd, want < 0"
#: CalcPvAutonome.php:63
msgid "The autonomous days amount is not correct because < 0"
msgstr "Die outonome dae bedrag is nie korrek nie, want < 0"
#: CalcPvAutonome.php:64
msgid "Electrical yield of batteries is not correct because < 0"
msgstr "Elektriese opbrengs van batterye is nie korrek nie, want < 0"
#: CalcPvAutonome.php:65
msgid "Installation electrical efficiency is not correct because < 0"
msgstr "Installasie van elektriese doeltreffendheid is nie korrek nie, want < 0"
#: CalcPvAutonome.php:66
msgid "Discharge level is not correct because < 0"
msgstr "Ontslag vlak is nie korrek nie, want < 0"
#: CalcPvAutonome.php:67
msgid "The safety margin Icc of the charge controller is not correct because < 0"
msgstr "Die veiligheid marge Icc van die koste kontroleerder is nie korrek nie, want < 0"
#: CalcPvAutonome.php:68
msgid "Panels and charge controller in-between distance is not correct because < 0"
msgstr "Panele en beheer kontroles in-tussen afstand is nie korrek nie, want < 0"
#: CalcPvAutonome.php:69
msgid "Batteries and charge controller in-between distance is not correct because < 0"
msgstr "Batterye en beheer kontroles in-tussen afstand is nie korrek nie, want < 0"
#: CalcPvAutonome.php:70
msgid "Conductor resistivity is not correct because < 0"
msgstr "Dirigent weerstand is nie korrek nie, want < 0"
#: CalcPvAutonome.php:71
msgid "Tolerable voltage drop is not correct because < 0"
msgstr "Dirigent weerstand is nie korrek nie, want < 0"
#: CalcPvAutonome.php:80
msgid "Panels orientation is not correct. "
msgstr "Panele oriëntasie is nie korrek nie. "
#: CalcPvAutonome.php:83
msgid "Panels inclination is not correct, it must be between 0 (horizontal) and 90 (vertical)"
msgstr "Panele neiging is nie korrek nie, dit moet wees tussen 0 (horisontale) en 90 (vertikale)"
#: CalcPvAutonome.php:86
msgid "You must enter latitude and longitude to deduce solar irradiation with a click on the map of the world."
msgstr "Jy moet breedtegraad en lengtegraad te lei son bestraling met'n klik op die kaart van die wêreld."
#: CalcPvAutonome.php:100
msgid "Unable to download solar irradiation data from <a href=\"http://re.jrc.ec.europa.eu/PVGIS5-release.html\" target=\"_blank\"> PVGIS </a>, switch to mode manual or use <a href=\"http://calcpvautonome.zici.fr/v2.2/\"> the previous version </a> of CalcPvAutonome."
msgstr "Nie in staat is om af te laai son bestraling data van <a href=\"http://re.jrc.ec.europa.eu/PVGIS5-release.html\" target=\"_blank\">PVGIS</a>,skakel na die handleiding af of die gebruik<a href=\"http://calcpvautonome.zici.fr/v2.2/\">die vorige weergawe</a>van CalcPvAutonome."
#: CalcPvAutonome.php:111
msgid "Incorrect solar irradiation data. The position shown on the map may not be covered by <a href=\"http://re.jrc.ec.europa.eu/PVGIS5-release.html\" target=\"_blank\"> PVGIS </a>."
msgstr "Verkeerde son bestraling data. Die posisie op die kaart gewys kan nie gedek word deur <a href=\"http://re.jrc.ec.europa.eu/PVGIS5-release.html\" target=\"_blank\">PVGIS </a>."
#: CalcPvAutonome.php:117
msgid "Average daily radiation is not correct because < 0"
msgstr "Gemiddelde daaglikse straling is nie korrek nie, want < 0"
#: CalcPvAutonome.php:121
msgid "Errors in the form prevent you from continuing, please correct :"
msgstr "Foute in die vorm verhoed dat jy die voortsetting van, asseblief korrek is :"
#: CalcPvAutonome.php:128
msgid "Result of the dimension calculation"
msgstr "Gevolg van die dimensie berekening"
#: CalcPvAutonome.php:129
msgid "<b>Warning</b>: Results are approximate, it is recommended to doublecheck with sales representative and validate your installation before buying materials."
msgstr "<b>Waarskuwing</b>: Resultate is by benadering, dit word aanbeveel om te controleert met verkope verteenwoordiger en bekragtig jou installasie voor die aankoop van materiaal."
#: CalcPvAutonome.php:133 CalcPvAutonome.php:991
msgid "Photovoltaic panel"
msgstr "Fotovoltaïese paneel"
#: CalcPvAutonome.php:153
msgid "Average sunlight"
msgstr "Gemiddelde sonlig"
#: CalcPvAutonome.php:153
msgid "kWh/m&sup2;/d"
msgstr "kWh/m&sup2;/d"
#: CalcPvAutonome.php:180
msgid "Here we are looking for the power (peak, expressed in W) from solar panels to be mounted to fulfill your needs according to your geographical location. The formula is as follow : "
msgstr "Hier is ons op soek na die krag (piek, uitgedruk in W) van sonkrag panele gemonteer word om te voldoen aan jou behoeftes volgens jou geografiese ligging. Die formule is soos volg : "
#: CalcPvAutonome.php:181
msgid "Pp = Dn / (Yb X Yi X Rd)"
msgstr "Pp = Dn / (Yb X Yi X Rd)"
#: CalcPvAutonome.php:183
msgid "Pp (Wp) : Peak power (goal)"
msgstr "Pp (Wp) : Piek krag (doel)"
#: CalcPvAutonome.php:184 CalcPvAutonome.php:366
msgid "Dn (Wh/d) : Daily needs"
msgstr "Db (Wh/d) : Daaglikse behoeftes"
#: CalcPvAutonome.php:185
msgid "Yb : electrical yield of batteries"
msgstr "Ob : elektriese opbrengs van batterye"
#: CalcPvAutonome.php:186
msgid "Yi : electrical yield for the remaining installation (charge controller, ...)"
msgstr "Oi : elektriese opbrengs vir die res van die installasie (aanklag kontroleerder, ...)"
#: CalcPvAutonome.php:187
msgid "Rd : average daily radiation of the worst month in the plane of the panel (kWh/m&sup2;/d)"
msgstr ""
#: CalcPvAutonome.php:224
#, php-format
msgid "According to data from <a href=\"http://re.jrc.ec.europa.eu/PVGIS5-release.html\" target=\"_blank\">PVGIS</a>, the value for the selected location is %s kWh/m&sup2;/d"
msgstr "Volgens data van<a href=\"http://re.jrc.ec.europa.eu/PVGIS5-release.html\" target=\"_blank\">PVGIS</a>, die waarde vir die geselekteerde plek is %s kWh/m&sup2;/d"
#: CalcPvAutonome.php:231 CalcPvAutonome.php:371
msgid "In your case, result is"
msgstr "In jou geval, is die resultaat is"
#: CalcPvAutonome.php:235 CalcPvAutonome.php:374
msgid "Hide the process"
msgstr "Steek die proses"
#: CalcPvAutonome.php:236
msgid "Pp"
msgstr "Pp"
#: CalcPvAutonome.php:239
msgid "Photovoltaic panels produce electricity from sunlight (solar radiation)."
msgstr "Fotovoltaïese panele produseer elektrisiteit van die son (die son)."
#: CalcPvAutonome.php:240
#, php-format
msgid "According entered data, <b>%sW</b> of solar panel are required to fulfill your daily needs of %sWh/d."
msgstr "Volgens aangegaan data,<b>%sW</b> van die sonpaneel is nodig om te voldoen aan jou daaglikse behoeftes van %sWh/d."
#: CalcPvAutonome.php:332
#, php-format
msgid "One possibility could be to have <b>%d panel(s)</b> %s of <b>%dW</b> each"
msgstr "Een moontlikheid kan wees om<b>%dpaneel(s)</b>%svan<b>%dW</b>elke"
#: CalcPvAutonome.php:332 CalcPvAutonome.php:336
#, php-format
msgid "Specificity of the panel"
msgstr "Spesifisiteit van die paneel"
#: CalcPvAutonome.php:332 CalcPvAutonome.php:336
#, php-format
msgid "Which extend the unit capacity to %dW"
msgstr "Wat die uitbreiding van die eenheid kapasiteit om %dW"
#: CalcPvAutonome.php:334
#, php-format
msgid "With your personnalized solar panel the hypothesis would be to have <b>%d panel(s)</b> of <b>%dW</b> each, which could raise the plant up to %dW"
msgstr "Met jou persoonlike sonpaneel die hipotese sou wees om te hê <b>%d paneel(s)</b> van<b>%dW</b> elkeen, wat kan verhoog die plant tot %dW"
#: CalcPvAutonome.php:336
#, php-format
msgid "With %s selected panel of <b>%dW</b>, one hypothesis would be to have <b>%d of panel(s)</b>"
msgstr ""
#: CalcPvAutonome.php:342 CalcPvAutonome.php:1000
msgid "Batterie"
msgstr ""
#: CalcPvAutonome.php:344
msgid "We are looking here for the nominal capacity expressed in ampere per hour (Ah, given in <a href=\"http://www.batterie-solaire.com/batterie-delestage-electrique.htm\" target=\"_blank\">C10</a>)"
msgstr ""
#: CalcPvAutonome.php:363
msgid "Cap = (Dn x Aut) / (DD x U)"
msgstr ""
#: CalcPvAutonome.php:365
msgid "Cap (Ah) : Nominal capacity of batteries (in <a href=\"http://www.batterie-solaire.com/batterie-delestage-electrique.htm\" target=\"_blank\">C10</a>))"
msgstr ""
#: CalcPvAutonome.php:367
msgid "Aut: Autonomous days amount (no sun)"
msgstr ""
#: CalcPvAutonome.php:368
msgid "DD (%)"
msgstr ""
#: CalcPvAutonome.php:368
#, php-format
msgid "With lead batteries, the critical threshold of 50% of discharge mustn't be reached, 20% being ideal"
msgstr "Met lood batterye, die kritieke drumpel van 50% van ontslag moet nie bereik word nie, 20% wat ideaal"
#: CalcPvAutonome.php:368
msgid "Maximum discharge rate"
msgstr "Maksimum koers ontslag"
#: CalcPvAutonome.php:369
msgid "U (V)"
msgstr ""
#: CalcPvAutonome.php:369 CalcPvAutonome.php:1394
msgid "In automatic mode the batteries voltage will be deducted from the panel need <br />From 0 to 500W : 12V<br />From 500 to 1500 W : 24V<br />Above 1500 W : 48V"
msgstr ""
#: CalcPvAutonome.php:369 CalcPvAutonome.php:1388
msgid "Final battery plant voltage"
msgstr "Finale battery spanning plant"
#: CalcPvAutonome.php:375
msgid "Cap"
msgstr ""
#: CalcPvAutonome.php:377
#, php-format
msgid "Batteries are used to store electric energy produced by the panels. You will need a battery plant of <b>%d Ah at %d V</b>."
msgstr ""
#: CalcPvAutonome.php:378
msgid "See, understand the procedure, the calculation"
msgstr "Sien, verstaan die proses, die berekening"
#: CalcPvAutonome.php:385
#, php-format
msgid "The discharge current of the battery plant must not exceed %d"
msgstr "Die ontslag huidige van die battery plant moet nie meer as %d"
#: CalcPvAutonome.php:385 CalcPvAutonome.php:397
#, php-format
msgid "In our case it gives"
msgstr "In ons geval is dit gee"
#: CalcPvAutonome.php:386
#, php-format
msgid "Yet with a max power need of %dW, the discharge current is"
msgstr "Nog met'n maksimum krag nodig het%dW, die ontslag huidige is"
#: CalcPvAutonome.php:387
#, php-format
msgid "In order to respond to a %dW max power need, you need to increase the battery plant by "
msgstr "Ten einde te reageer op'n %dW max krag nodig het, wat jy nodig het om te verhoog die battery deur die plant "
#: CalcPvAutonome.php:397
#, php-format
msgid "The battery plant charging current musn't exceed %d"
msgstr "Die battery plant laai huidige moet nie oorskry %d"
#: CalcPvAutonome.php:398
#, php-format
msgid "Yet with %dW panels the charge current is"
msgstr "Tog met %dW panele van die aanklag huidige is"
#: CalcPvAutonome.php:399
#, php-format
msgid "If your charge controller allows it you can limit it or increase your battery plant to"
msgstr ""
#: CalcPvAutonome.php:401
msgid "We will state to increase the battery plant"
msgstr ""
#: CalcPvAutonome.php:494
#, php-format
msgid "A wiring hypothesis would be to have <b>%d></b> <b>%s</b> type batteries, which increases the plant capacity up to %dAh"
msgstr ""
#: CalcPvAutonome.php:496
#, php-format
msgid "You chose to use custom %dAh at %dV battery. Here is a wiring hypothesis with <b>%d</b> of these batteries which raise the plant capacity to %dAh"
msgstr ""
#: CalcPvAutonome.php:498
#, php-format
msgid "You chose to use <b>%s</b> type batteries. Here is a wiring hypothesis with <b>%d</b> of these batteries which raise the plant capacity to %dAh"
msgstr ""
#: CalcPvAutonome.php:500