From ab5ecf75330a742f22f0547513f8faca576b66c9 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 22 Nov 2023 16:33:33 +0100 Subject: [PATCH] Add even more translations --- VIPSWeb/locale/bg/LC_MESSAGES/django.po | 13 +------ VIPSWeb/locale/bs/LC_MESSAGES/django.po | 13 +------ VIPSWeb/locale/de/LC_MESSAGES/django.po | 13 +------ VIPSWeb/locale/fi/LC_MESSAGES/django.po | 13 +------ VIPSWeb/locale/nb/LC_MESSAGES/django.po | 13 +------ VIPSWeb/locale/vi/LC_MESSAGES/django.po | 13 +------ VIPSWeb/locale/zh_Hans/LC_MESSAGES/django.po | 13 +------ spatial/locale/bg/LC_MESSAGES/django.po | 36 +++++++++++++++++++ spatial/locale/bs/LC_MESSAGES/django.po | 37 ++++++++++++++++++++ spatial/locale/de/LC_MESSAGES/django.po | 36 +++++++++++++++++++ spatial/locale/fi/LC_MESSAGES/django.po | 36 +++++++++++++++++++ spatial/locale/nb/LC_MESSAGES/django.po | 15 +++++--- spatial/locale/vi/LC_MESSAGES/django.po | 36 +++++++++++++++++++ spatial/locale/zh_Hans/LC_MESSAGES/django.po | 36 +++++++++++++++++++ spatial/static/spatial/js/gridmap.js | 16 ++++----- spatial/templates/spatial/gridmap.html | 2 +- 16 files changed, 244 insertions(+), 97 deletions(-) create mode 100644 spatial/locale/bg/LC_MESSAGES/django.po create mode 100644 spatial/locale/bs/LC_MESSAGES/django.po create mode 100644 spatial/locale/de/LC_MESSAGES/django.po create mode 100644 spatial/locale/fi/LC_MESSAGES/django.po create mode 100644 spatial/locale/vi/LC_MESSAGES/django.po create mode 100644 spatial/locale/zh_Hans/LC_MESSAGES/django.po diff --git a/VIPSWeb/locale/bg/LC_MESSAGES/django.po b/VIPSWeb/locale/bg/LC_MESSAGES/django.po index 49c8cec0..c0bf5669 100755 --- a/VIPSWeb/locale/bg/LC_MESSAGES/django.po +++ b/VIPSWeb/locale/bg/LC_MESSAGES/django.po @@ -19,7 +19,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:16+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: 2014-05-14 09:31+0200\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -107,8 +107,6 @@ msgid "More info" msgstr "" #: VIPSWeb/templates/index.html:25 VIPSWeb/templates/index_old.html:25 -#: spatial/templates/spatial/gridmap.html:4 -#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "Добре дошли" @@ -228,15 +226,6 @@ msgstr "" msgid "Saddle gall midge" msgstr "" -#: spatial/templates/spatial/gridmap.html:30 -msgid "Current date" -msgstr "" - -#: spatial/templates/spatial/index.html:24 -#: spatial/templates/spatial/index.html:26 -msgid "VIPS Spatial" -msgstr "" - #~ msgid "Dropdown" #~ msgstr "Падащо меню" diff --git a/VIPSWeb/locale/bs/LC_MESSAGES/django.po b/VIPSWeb/locale/bs/LC_MESSAGES/django.po index e1fa4b14..230d7746 100755 --- a/VIPSWeb/locale/bs/LC_MESSAGES/django.po +++ b/VIPSWeb/locale/bs/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:16+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: 2015-02-13 11:26+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -96,8 +96,6 @@ msgid "More info" msgstr "" #: VIPSWeb/templates/index.html:25 VIPSWeb/templates/index_old.html:25 -#: spatial/templates/spatial/gridmap.html:4 -#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "Dobrodošli " @@ -215,12 +213,3 @@ msgstr "" #: ipmd/templates/ipmd/saddlegallmidgeform.html:28 msgid "Saddle gall midge" msgstr "" - -#: spatial/templates/spatial/gridmap.html:30 -msgid "Current date" -msgstr "" - -#: spatial/templates/spatial/index.html:24 -#: spatial/templates/spatial/index.html:26 -msgid "VIPS Spatial" -msgstr "" diff --git a/VIPSWeb/locale/de/LC_MESSAGES/django.po b/VIPSWeb/locale/de/LC_MESSAGES/django.po index 866f7a0b..951b92eb 100755 --- a/VIPSWeb/locale/de/LC_MESSAGES/django.po +++ b/VIPSWeb/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:16+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,8 +95,6 @@ msgid "More info" msgstr "" #: VIPSWeb/templates/index.html:25 VIPSWeb/templates/index_old.html:25 -#: spatial/templates/spatial/gridmap.html:4 -#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "" @@ -208,12 +206,3 @@ msgstr "" #: ipmd/templates/ipmd/saddlegallmidgeform.html:28 msgid "Saddle gall midge" msgstr "" - -#: spatial/templates/spatial/gridmap.html:30 -msgid "Current date" -msgstr "" - -#: spatial/templates/spatial/index.html:24 -#: spatial/templates/spatial/index.html:26 -msgid "VIPS Spatial" -msgstr "" diff --git a/VIPSWeb/locale/fi/LC_MESSAGES/django.po b/VIPSWeb/locale/fi/LC_MESSAGES/django.po index b862f196..74131c32 100755 --- a/VIPSWeb/locale/fi/LC_MESSAGES/django.po +++ b/VIPSWeb/locale/fi/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:16+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,8 +95,6 @@ msgid "More info" msgstr "" #: VIPSWeb/templates/index.html:25 VIPSWeb/templates/index_old.html:25 -#: spatial/templates/spatial/gridmap.html:4 -#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "Tervetuloa" @@ -214,12 +212,3 @@ msgstr "" #: ipmd/templates/ipmd/saddlegallmidgeform.html:28 msgid "Saddle gall midge" msgstr "" - -#: spatial/templates/spatial/gridmap.html:30 -msgid "Current date" -msgstr "" - -#: spatial/templates/spatial/index.html:24 -#: spatial/templates/spatial/index.html:26 -msgid "VIPS Spatial" -msgstr "" diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/django.po b/VIPSWeb/locale/nb/LC_MESSAGES/django.po index 5aaef013..ba47f2ff 100755 --- a/VIPSWeb/locale/nb/LC_MESSAGES/django.po +++ b/VIPSWeb/locale/nb/LC_MESSAGES/django.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: VIPSWeb\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:16+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: 2013-11-07 20:18+0200\n" "Last-Translator: Tor-Einar Skog <tor-einar.skog@nibio.no>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -107,8 +107,6 @@ msgid "More info" msgstr "Mer informasjon" #: VIPSWeb/templates/index.html:25 VIPSWeb/templates/index_old.html:25 -#: spatial/templates/spatial/gridmap.html:4 -#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "Velkommen" @@ -239,12 +237,3 @@ msgstr "" #: ipmd/templates/ipmd/saddlegallmidgeform.html:28 msgid "Saddle gall midge" msgstr "" - -#: spatial/templates/spatial/gridmap.html:30 -msgid "Current date" -msgstr "" - -#: spatial/templates/spatial/index.html:24 -#: spatial/templates/spatial/index.html:26 -msgid "VIPS Spatial" -msgstr "" diff --git a/VIPSWeb/locale/vi/LC_MESSAGES/django.po b/VIPSWeb/locale/vi/LC_MESSAGES/django.po index e4f659d4..9ff8a0f5 100755 --- a/VIPSWeb/locale/vi/LC_MESSAGES/django.po +++ b/VIPSWeb/locale/vi/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:16+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -97,8 +97,6 @@ msgid "More info" msgstr "" #: VIPSWeb/templates/index.html:25 VIPSWeb/templates/index_old.html:25 -#: spatial/templates/spatial/gridmap.html:4 -#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "Chào mừng" @@ -215,15 +213,6 @@ msgstr "" msgid "Saddle gall midge" msgstr "" -#: spatial/templates/spatial/gridmap.html:30 -msgid "Current date" -msgstr "" - -#: spatial/templates/spatial/index.html:24 -#: spatial/templates/spatial/index.html:26 -msgid "VIPS Spatial" -msgstr "" - #~ msgid "Temporarily down for maintenance" #~ msgstr "Tạm ngưng để bảo trì" diff --git a/VIPSWeb/locale/zh_Hans/LC_MESSAGES/django.po b/VIPSWeb/locale/zh_Hans/LC_MESSAGES/django.po index f3c7106e..dd464ac8 100644 --- a/VIPSWeb/locale/zh_Hans/LC_MESSAGES/django.po +++ b/VIPSWeb/locale/zh_Hans/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:16+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: 2019-06-24 12:21+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -94,8 +94,6 @@ msgid "More info" msgstr "更多的信息" #: VIPSWeb/templates/index.html:25 VIPSWeb/templates/index_old.html:25 -#: spatial/templates/spatial/gridmap.html:4 -#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "欢迎" @@ -215,15 +213,6 @@ msgstr "" msgid "Saddle gall midge" msgstr "" -#: spatial/templates/spatial/gridmap.html:30 -msgid "Current date" -msgstr "" - -#: spatial/templates/spatial/index.html:24 -#: spatial/templates/spatial/index.html:26 -msgid "VIPS Spatial" -msgstr "" - #~ msgid "Temporarily down for maintenance" #~ msgstr "暂时停机维护" diff --git a/spatial/locale/bg/LC_MESSAGES/django.po b/spatial/locale/bg/LC_MESSAGES/django.po new file mode 100644 index 00000000..d7598b8b --- /dev/null +++ b/spatial/locale/bg/LC_MESSAGES/django.po @@ -0,0 +1,36 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \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" +#: spatial/templates/spatial/gridmap.html:4 +#: spatial/templates/spatial/psilartemp.html:24 +msgid "Welcome" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:30 +msgid "Current date" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:39 +msgid "Location details" +msgstr "" + +#: spatial/templates/spatial/index.html:24 +#: spatial/templates/spatial/index.html:26 +msgid "VIPS Spatial" +msgstr "" diff --git a/spatial/locale/bs/LC_MESSAGES/django.po b/spatial/locale/bs/LC_MESSAGES/django.po new file mode 100644 index 00000000..6419bede --- /dev/null +++ b/spatial/locale/bs/LC_MESSAGES/django.po @@ -0,0 +1,37 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +#: spatial/templates/spatial/gridmap.html:4 +#: spatial/templates/spatial/psilartemp.html:24 +msgid "Welcome" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:30 +msgid "Current date" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:39 +msgid "Location details" +msgstr "" + +#: spatial/templates/spatial/index.html:24 +#: spatial/templates/spatial/index.html:26 +msgid "VIPS Spatial" +msgstr "" diff --git a/spatial/locale/de/LC_MESSAGES/django.po b/spatial/locale/de/LC_MESSAGES/django.po new file mode 100644 index 00000000..d7598b8b --- /dev/null +++ b/spatial/locale/de/LC_MESSAGES/django.po @@ -0,0 +1,36 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \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" +#: spatial/templates/spatial/gridmap.html:4 +#: spatial/templates/spatial/psilartemp.html:24 +msgid "Welcome" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:30 +msgid "Current date" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:39 +msgid "Location details" +msgstr "" + +#: spatial/templates/spatial/index.html:24 +#: spatial/templates/spatial/index.html:26 +msgid "VIPS Spatial" +msgstr "" diff --git a/spatial/locale/fi/LC_MESSAGES/django.po b/spatial/locale/fi/LC_MESSAGES/django.po new file mode 100644 index 00000000..d7598b8b --- /dev/null +++ b/spatial/locale/fi/LC_MESSAGES/django.po @@ -0,0 +1,36 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \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" +#: spatial/templates/spatial/gridmap.html:4 +#: spatial/templates/spatial/psilartemp.html:24 +msgid "Welcome" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:30 +msgid "Current date" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:39 +msgid "Location details" +msgstr "" + +#: spatial/templates/spatial/index.html:24 +#: spatial/templates/spatial/index.html:26 +msgid "VIPS Spatial" +msgstr "" diff --git a/spatial/locale/nb/LC_MESSAGES/django.po b/spatial/locale/nb/LC_MESSAGES/django.po index 487e9102..b6a84220 100644 --- a/spatial/locale/nb/LC_MESSAGES/django.po +++ b/spatial/locale/nb/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-22 16:22+0100\n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -17,14 +17,21 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: templates/spatial/gridmap.html:4 templates/spatial/psilartemp.html:24 + +#: spatial/templates/spatial/gridmap.html:4 +#: spatial/templates/spatial/psilartemp.html:24 msgid "Welcome" msgstr "Velkommen" -#: templates/spatial/gridmap.html:30 +#: spatial/templates/spatial/gridmap.html:30 msgid "Current date" msgstr "Gjeldende dato" -#: templates/spatial/index.html:24 templates/spatial/index.html:26 +#: spatial/templates/spatial/gridmap.html:39 +msgid "Location details" +msgstr "Detaljer for lokalitet" + +#: spatial/templates/spatial/index.html:24 +#: spatial/templates/spatial/index.html:26 msgid "VIPS Spatial" msgstr "VIPS-varsler i rutenett" diff --git a/spatial/locale/vi/LC_MESSAGES/django.po b/spatial/locale/vi/LC_MESSAGES/django.po new file mode 100644 index 00000000..90fa5f2b --- /dev/null +++ b/spatial/locale/vi/LC_MESSAGES/django.po @@ -0,0 +1,36 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +#: spatial/templates/spatial/gridmap.html:4 +#: spatial/templates/spatial/psilartemp.html:24 +msgid "Welcome" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:30 +msgid "Current date" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:39 +msgid "Location details" +msgstr "" + +#: spatial/templates/spatial/index.html:24 +#: spatial/templates/spatial/index.html:26 +msgid "VIPS Spatial" +msgstr "" diff --git a/spatial/locale/zh_Hans/LC_MESSAGES/django.po b/spatial/locale/zh_Hans/LC_MESSAGES/django.po new file mode 100644 index 00000000..90fa5f2b --- /dev/null +++ b/spatial/locale/zh_Hans/LC_MESSAGES/django.po @@ -0,0 +1,36 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-22 16:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +#: spatial/templates/spatial/gridmap.html:4 +#: spatial/templates/spatial/psilartemp.html:24 +msgid "Welcome" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:30 +msgid "Current date" +msgstr "" + +#: spatial/templates/spatial/gridmap.html:39 +msgid "Location details" +msgstr "" + +#: spatial/templates/spatial/index.html:24 +#: spatial/templates/spatial/index.html:26 +msgid "VIPS Spatial" +msgstr "" diff --git a/spatial/static/spatial/js/gridmap.js b/spatial/static/spatial/js/gridmap.js index 9f7601eb..b839a0c8 100644 --- a/spatial/static/spatial/js/gridmap.js +++ b/spatial/static/spatial/js/gridmap.js @@ -149,10 +149,10 @@ msLoadMap(): Unable to access file. (/disks/data01/mapserver/wms/SEPTREFFUM/SEPT { let currentLayer = timestampLayers[params[j]]; let currentLayerParam = currentLayer.Name.split(".")[1]; - if(j==0) + /*if(j==0) { console.info(currentLayer.Abstract); - } + }*/ layers.push( new ol.layer.Image({ source: new ol.source.ImageWMS({ @@ -294,7 +294,7 @@ async function displayQueryResult(evt) let response = await fetch(url); let responseXML = await response.text(); - console.info(responseXML); + //console.info(responseXML); // User clicked outside of layer extent if(responseXML.trim().length == 0) { @@ -326,11 +326,11 @@ async function displayQueryResult(evt) return; } - let warningStatusTitle = warningStatus == 0 ? _("No forecast available") - : warningStatus == 1 ? _("Missing data") - : warningStatus == 2 ? _("No risk of infection") - : warningStatus == 3 ? _("Medium risk of infection") - : warningStatus == 4 ? _("High risk of infection") : ""; + let warningStatusTitle = warningStatus == 0 ? gettext("No forecast available") + : warningStatus == 1 ? gettext("Missing data") + : warningStatus == 2 ? gettext("No risk of infection") + : warningStatus == 3 ? gettext("Medium risk of infection") + : warningStatus == 4 ? gettext("High risk of infection") : ""; let paramHTML = "<ul>"; paramCodes = Object.keys(parameters); diff --git a/spatial/templates/spatial/gridmap.html b/spatial/templates/spatial/gridmap.html index d26286e8..d92c87b0 100644 --- a/spatial/templates/spatial/gridmap.html +++ b/spatial/templates/spatial/gridmap.html @@ -36,7 +36,7 @@ </div> </div> - <div id="popup" title="Location details"></div> + <div id="popup" title="{% trans "Location details" %}""></div> <div class="col-md-12"> <h2 id="modelTitle"></h2> <div id="modelAbstract"></div> -- GitLab