diff --git a/cydiapomonella/locale/nb/LC_MESSAGES/django.po b/cydiapomonella/locale/nb/LC_MESSAGES/django.po new file mode 100644 index 0000000000000000000000000000000000000000..38c65a1633808c67cb852fbd4804bb9b3c14c95f --- /dev/null +++ b/cydiapomonella/locale/nb/LC_MESSAGES/django.po @@ -0,0 +1,82 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-06-29 15:48+0200\n" +"PO-Revision-Date: 2020-06-29 15:51+0200\n" +"Language: nb\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" +"Last-Translator: \n" +"Language-Team: \n" +"X-Generator: Poedit 2.0.6\n" + +#: templates/cydiapomonella/index.html:29 +msgid "Cydia pomonella" +msgstr "Eplevikler" + +#: templates/cydiapomonella/index.html:510 +msgid "Calculate the risk of attack by the coddling moth" +msgstr "Beregn fare for angrep av eplevikler" + +#: templates/cydiapomonella/index.html:518 +msgid "Select weather station" +msgstr "Velg målestasjon" + +#: templates/cydiapomonella/index.html:545 +#: templates/cydiapomonella/index.html:548 +#: templates/cydiapomonella/index.html:551 +#: templates/cydiapomonella/index.html:594 +msgid "days" +msgstr "dager" + +#: templates/cydiapomonella/index.html:562 +msgid "Date" +msgstr "Dato" + +#: templates/cydiapomonella/index.html:563 +#: templates/cydiapomonella/index.html:564 +#: templates/cydiapomonella/index.html:565 +#: templates/cydiapomonella/index.html:566 +#: templates/cydiapomonella/index.html:567 +msgid "Temp at" +msgstr "Temp kl" + +#: templates/cydiapomonella/index.html:568 +msgid "Daily rainfall" +msgstr "Døgnnedbør" + +#: templates/cydiapomonella/index.html:583 +msgid "Heat sum" +msgstr "Varmesum" + +#: templates/cydiapomonella/index.html:587 +msgid "Calculate heat sum from date" +msgstr "Beregn varmesum fra dato" + +#: templates/cydiapomonella/index.html:594 +msgid "Heat sum, with a base temperature of 10 degrees Celcius, calculated for" +msgstr "Varmesum, med basistemperatur 10, beregnet for" + +#: templates/cydiapomonella/index.html:594 +msgid "weather station for the period starting with" +msgstr "målestasjon for perioden fra og med" + +#: templates/cydiapomonella/index.html:594 +msgid "and ending with" +msgstr "til og med" + +#: templates/cydiapomonella/index.html:594 +msgid "is" +msgstr "er" + +#: templates/cydiapomonella/index.html:594 +msgid "day degrees" +msgstr "graddager" diff --git a/cydiapomonella/templates/cydiapomonella/index.html b/cydiapomonella/templates/cydiapomonella/index.html index 6d2092c82ad40f71e9ea00f1e75e67fa9905312e..c53a2f2df99254a288c3441e9f662079678dcb3c 100644 --- a/cydiapomonella/templates/cydiapomonella/index.html +++ b/cydiapomonella/templates/cydiapomonella/index.html @@ -26,7 +26,7 @@ # {% endcomment %} {% load i18n l10n %} -{% block title%}{% trans "Cydiapomonella" %}{%endblock%} +{% block title%}{% trans "Cydia pomonella" %}{%endblock%} {% block extendCSS %} <link rel="stylesheet" type="text/css" href="{% static 'css/datatables.min.1.10.21.css' %}"/> @@ -507,7 +507,7 @@ <div class="col-md-12" > - <h1>Calculate the risk of attack by apple wrap</h1> + <h1>{% trans "Calculate the risk of attack by the coddling moth" %}</h1> </div> @@ -515,7 +515,7 @@ <div class="row "> <div class="col-sm-4"> <select name="weatherStationName" id="weatherStationId" class="form-control"> - <option value="-1">-- Velg klimastasjon --</option> + <option value="-1">-- {% trans "Select weather station" %} --</option> <option value="11">Apelsvoll</option> <option value="12">Balestrand</option> <option value="13">Bø</option> @@ -542,13 +542,13 @@ <div class="col-sm-6"> <form> <label class="radio-inline"> - <input type="radio" name="radioDays" class="clsRadioDays" value="7" checked>7 days + <input type="radio" name="radioDays" class="clsRadioDays" value="7" checked>7 {% trans "days" %} </label> <label class="radio-inline"> - <input type="radio" name="radioDays" class="clsRadioDays" value="14">14 days + <input type="radio" name="radioDays" class="clsRadioDays" value="14">14 {% trans "days" %} </label> <label class="radio-inline"> - <input type="radio" name="radioDays" class="clsRadioDays" value="21">21 days + <input type="radio" name="radioDays" class="clsRadioDays" value="21">21 {% trans "days" %} </label> </form> @@ -559,13 +559,13 @@ <table id="idTableWeather" class="table table-striped table-bordered dt-responsive nowrap collapsed " style="width:fit-content;"> <thead> <tr> - <th>Date</th> - <th>Temp 19:00</th> - <th>Temp 20:00</th> - <th>Temp 21:00</th> - <th>Temp 22:00</th> - <th>Temp 23:00</th> - <th>Rain Fall</th> + <th>{% trans "Date" %}</th> + <th>{% trans "Temp at" %} 19</th> + <th>{% trans "Temp at" %} 20</th> + <th>{% trans "Temp at" %} 21</th> + <th>{% trans "Temp at" %} 22</th> + <th>{% trans "Temp at" %} 23</th> + <th>{% trans "Daily rainfall" %}, mm</th> </tr> </thead> </table> @@ -580,18 +580,18 @@ <div class="container-fluid" id="idDivHeatSum" style="display: none;"> <div class="row "> - <label class="control-label">Heat Sum</label> + <label class="control-label">{% trans "Heat sum" %}</label> <form class="form-inline"> <div class="form-group form-inline"> - <label for="nameTxtDateInput">Calculate heat sum from Date:</label> + <label for="nameTxtDateInput">{% trans "Calculate heat sum from date" %}:</label> <input id="idTxtDateInput" name="nameTxtDateInput" class="form-control" type="date" placeholder="yyyy-mm-dd" onkeydown="return false" value="2020-01-01"/> </div> <!-- button type="submit" class="btn btn-default">Submit</button --> </form> </div> <div class="row alert alert-warning"> - Varmesum, med basistemperatur 10, beregnet for <span id='idSpanWeatherStationName'>-</span> klimastasjon for perioden fra og med <span id="idSpanStartDate">-</span> til <span id="idSpanEndDate">--</span> ( <span id="idSpanDateDifference">-</span> dager ) er : <span class="label label-primary" id="idDivResultNonNegative"></span> graddager + {% trans "Heat sum, with a base temperature of 10 degrees Celcius, calculated for" %} <span id='idSpanWeatherStationName'>-</span> {% trans "weather station for the period starting with" %} <span id="idSpanStartDate">-</span> {% trans "and ending with" %} <span id="idSpanEndDate">--</span> (<span id="idSpanDateDifference">-</span> {% trans "days" %}) {% trans "is" %} : <span class="label label-primary" id="idDivResultNonNegative"></span> {% trans "day degrees" %} </div> </div>