From e877f5a4b4a9ba1770db69c5dda3ebd986061810 Mon Sep 17 00:00:00 2001 From: lewa <lene.wasskog@nibio.no> Date: Wed, 26 Jun 2024 09:14:07 +0200 Subject: [PATCH] fix: Fix translation of description --- VIPSWeb/locale/nb/LC_MESSAGES/django.mo | Bin 4265 -> 4284 bytes observations/locale/bg/LC_MESSAGES/django.po | 39 +++++++++------- observations/locale/bs/LC_MESSAGES/django.po | 39 +++++++++------- observations/locale/de/LC_MESSAGES/django.po | 39 +++++++++------- observations/locale/fi/LC_MESSAGES/django.po | 39 +++++++++------- observations/locale/nb/LC_MESSAGES/django.mo | Bin 1719 -> 1637 bytes observations/locale/nb/LC_MESSAGES/django.po | 42 +++++++++--------- .../locale/nb/LC_MESSAGES/djangojs.mo | Bin 670 -> 637 bytes observations/locale/vi/LC_MESSAGES/django.po | 39 +++++++++------- .../locale/zh_Hans/LC_MESSAGES/django.po | 39 +++++++++------- .../templates/observations/detail.html | 10 +++-- .../templates/observations/timeseries.html | 10 +++-- 12 files changed, 168 insertions(+), 128 deletions(-) diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/django.mo b/VIPSWeb/locale/nb/LC_MESSAGES/django.mo index f4270641c7b7d8cf8bffb7162126d73cfe04eed7..41949b2b6ec954889301e56ec83cfd4515556de7 100755 GIT binary patch delta 731 zcmZ3fxJPlqnR-zM1_otT1_luZ1_n!31_mAm1_nP?1_nt628L)>1_l-e28L2r1_qG2 zDpm#tP6h^s39JkZf(#4{vsf7z3>X*~*03@#C^9fG++}58U}s=p_|M9~z`?-4z|IEY z3$QUTC^IlHNU$+5C^0ZF*sw7$xHB*?#IrHfgAH2F#=y|bz`(GRje+480|SFCI|IW< z1_lNT4h9Az1_lN#P6h^k1_p*$PKbfIoD2+sj0_B=oD2-S3=9m%xfmGu7#J9?Lg^=5 z3=BdH3=E&S7#I{77#P^N85o2a7#P&KAr7<VhM4EVT@NuZgd1W|3^xM<7Xt%B7F0ng zHv@wd0|P@VHv<DV0|UbXZUzQ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3O<P?sR~Xx snduoN3cmR%sX3FCSodsV<6;x=JG>06q*x&rB%U*wljq##FFYrh0TohG1poj5 diff --git a/observations/locale/bg/LC_MESSAGES/django.po b/observations/locale/bg/LC_MESSAGES/django.po index cf73789c..6986253e 100644 --- a/observations/locale/bg/LC_MESSAGES/django.po +++ b/observations/locale/bg/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-26 08:59+0200\n" +"POT-Creation-Date: 2024-06-26 09:11+0200\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" @@ -23,59 +23,64 @@ msgstr "" msgid "Observation" msgstr "" -#: observations/templates/observations/detail.html:34 +#: observations/templates/observations/detail.html:33 +#: observations/templates/observations/timeseries.html:31 +msgid "Description" +msgstr "" + +#: observations/templates/observations/detail.html:36 #: observations/templates/observations/index.html:46 #: observations/templates/observations/index.html:68 #: observations/templates/observations/index_old.html:63 -#: observations/templates/observations/timeseries.html:32 +#: observations/templates/observations/timeseries.html:34 msgid "Organism" msgstr "" -#: observations/templates/observations/detail.html:36 +#: observations/templates/observations/detail.html:38 #: observations/templates/observations/index.html:50 #: observations/templates/observations/index.html:69 #: observations/templates/observations/index_old.html:64 -#: observations/templates/observations/timeseries.html:34 +#: observations/templates/observations/timeseries.html:36 msgid "Crop" msgstr "" -#: observations/templates/observations/detail.html:38 +#: observations/templates/observations/detail.html:40 #: observations/templates/observations/index.html:67 #: observations/templates/observations/index_old.html:62 msgid "Date of observation" msgstr "" -#: observations/templates/observations/detail.html:41 +#: observations/templates/observations/detail.html:43 #: observations/templates/observations/index.html:71 #: observations/templates/observations/timeseries.html:23 #: observations/templates/observations/timeseries.html:28 msgid "Time series" msgstr "" -#: observations/templates/observations/detail.html:45 -#: observations/templates/observations/timeseries.html:36 +#: observations/templates/observations/detail.html:47 +#: observations/templates/observations/timeseries.html:38 msgid "Location" msgstr "" -#: observations/templates/observations/detail.html:48 +#: observations/templates/observations/detail.html:50 msgid "Observation data" msgstr "" -#: observations/templates/observations/detail.html:58 +#: observations/templates/observations/detail.html:60 msgid "Illustrations" msgstr "" -#: observations/templates/observations/detail.html:66 -#: observations/templates/observations/timeseries.html:52 +#: observations/templates/observations/detail.html:68 +#: observations/templates/observations/timeseries.html:54 msgid "View all observations" msgstr "" -#: observations/templates/observations/detail.html:122 +#: observations/templates/observations/detail.html:126 msgid "Observation was not quantified" msgstr "" -#: observations/templates/observations/detail.html:160 -#: observations/templates/observations/timeseries.html:161 +#: observations/templates/observations/detail.html:164 +#: observations/templates/observations/timeseries.html:165 msgid "Map view not available" msgstr "" @@ -135,6 +140,6 @@ msgstr "" msgid "View details" msgstr "" -#: observations/templates/observations/timeseries.html:38 +#: observations/templates/observations/timeseries.html:40 msgid "Number of observations" msgstr "" diff --git a/observations/locale/bs/LC_MESSAGES/django.po b/observations/locale/bs/LC_MESSAGES/django.po index 58d083d3..5edfce4a 100644 --- a/observations/locale/bs/LC_MESSAGES/django.po +++ b/observations/locale/bs/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-26 08:59+0200\n" +"POT-Creation-Date: 2024-06-26 09:11+0200\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" @@ -24,59 +24,64 @@ msgstr "" msgid "Observation" msgstr "" -#: observations/templates/observations/detail.html:34 +#: observations/templates/observations/detail.html:33 +#: observations/templates/observations/timeseries.html:31 +msgid "Description" +msgstr "" + +#: observations/templates/observations/detail.html:36 #: observations/templates/observations/index.html:46 #: observations/templates/observations/index.html:68 #: observations/templates/observations/index_old.html:63 -#: observations/templates/observations/timeseries.html:32 +#: observations/templates/observations/timeseries.html:34 msgid "Organism" msgstr "" -#: observations/templates/observations/detail.html:36 +#: observations/templates/observations/detail.html:38 #: observations/templates/observations/index.html:50 #: observations/templates/observations/index.html:69 #: observations/templates/observations/index_old.html:64 -#: observations/templates/observations/timeseries.html:34 +#: observations/templates/observations/timeseries.html:36 msgid "Crop" msgstr "" -#: observations/templates/observations/detail.html:38 +#: observations/templates/observations/detail.html:40 #: observations/templates/observations/index.html:67 #: observations/templates/observations/index_old.html:62 msgid "Date of observation" msgstr "" -#: observations/templates/observations/detail.html:41 +#: observations/templates/observations/detail.html:43 #: observations/templates/observations/index.html:71 #: observations/templates/observations/timeseries.html:23 #: observations/templates/observations/timeseries.html:28 msgid "Time series" msgstr "" -#: observations/templates/observations/detail.html:45 -#: observations/templates/observations/timeseries.html:36 +#: observations/templates/observations/detail.html:47 +#: observations/templates/observations/timeseries.html:38 msgid "Location" msgstr "" -#: observations/templates/observations/detail.html:48 +#: observations/templates/observations/detail.html:50 msgid "Observation data" msgstr "" -#: observations/templates/observations/detail.html:58 +#: observations/templates/observations/detail.html:60 msgid "Illustrations" msgstr "" -#: observations/templates/observations/detail.html:66 -#: observations/templates/observations/timeseries.html:52 +#: observations/templates/observations/detail.html:68 +#: observations/templates/observations/timeseries.html:54 msgid "View all observations" msgstr "" -#: observations/templates/observations/detail.html:122 +#: observations/templates/observations/detail.html:126 msgid "Observation was not quantified" msgstr "" -#: observations/templates/observations/detail.html:160 -#: observations/templates/observations/timeseries.html:161 +#: observations/templates/observations/detail.html:164 +#: observations/templates/observations/timeseries.html:165 msgid "Map view not available" msgstr "" @@ -136,6 +141,6 @@ msgstr "" msgid "View details" msgstr "" -#: observations/templates/observations/timeseries.html:38 +#: observations/templates/observations/timeseries.html:40 msgid "Number of observations" msgstr "" diff --git a/observations/locale/de/LC_MESSAGES/django.po b/observations/locale/de/LC_MESSAGES/django.po index cf73789c..6986253e 100755 --- a/observations/locale/de/LC_MESSAGES/django.po +++ b/observations/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: 2024-06-26 08:59+0200\n" +"POT-Creation-Date: 2024-06-26 09:11+0200\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" @@ -23,59 +23,64 @@ msgstr "" msgid "Observation" msgstr "" -#: observations/templates/observations/detail.html:34 +#: observations/templates/observations/detail.html:33 +#: observations/templates/observations/timeseries.html:31 +msgid "Description" +msgstr "" + +#: observations/templates/observations/detail.html:36 #: observations/templates/observations/index.html:46 #: observations/templates/observations/index.html:68 #: observations/templates/observations/index_old.html:63 -#: observations/templates/observations/timeseries.html:32 +#: observations/templates/observations/timeseries.html:34 msgid "Organism" msgstr "" -#: observations/templates/observations/detail.html:36 +#: observations/templates/observations/detail.html:38 #: observations/templates/observations/index.html:50 #: observations/templates/observations/index.html:69 #: observations/templates/observations/index_old.html:64 -#: observations/templates/observations/timeseries.html:34 +#: observations/templates/observations/timeseries.html:36 msgid "Crop" msgstr "" -#: observations/templates/observations/detail.html:38 +#: observations/templates/observations/detail.html:40 #: observations/templates/observations/index.html:67 #: observations/templates/observations/index_old.html:62 msgid "Date of observation" msgstr "" -#: observations/templates/observations/detail.html:41 +#: observations/templates/observations/detail.html:43 #: observations/templates/observations/index.html:71 #: observations/templates/observations/timeseries.html:23 #: observations/templates/observations/timeseries.html:28 msgid "Time series" msgstr "" -#: observations/templates/observations/detail.html:45 -#: observations/templates/observations/timeseries.html:36 +#: observations/templates/observations/detail.html:47 +#: observations/templates/observations/timeseries.html:38 msgid "Location" msgstr "" -#: observations/templates/observations/detail.html:48 +#: observations/templates/observations/detail.html:50 msgid "Observation data" msgstr "" -#: observations/templates/observations/detail.html:58 +#: observations/templates/observations/detail.html:60 msgid "Illustrations" msgstr "" -#: observations/templates/observations/detail.html:66 -#: observations/templates/observations/timeseries.html:52 +#: observations/templates/observations/detail.html:68 +#: observations/templates/observations/timeseries.html:54 msgid "View all observations" msgstr "" -#: observations/templates/observations/detail.html:122 +#: observations/templates/observations/detail.html:126 msgid "Observation was not quantified" msgstr "" -#: observations/templates/observations/detail.html:160 -#: observations/templates/observations/timeseries.html:161 +#: observations/templates/observations/detail.html:164 +#: observations/templates/observations/timeseries.html:165 msgid "Map view not available" msgstr "" @@ -135,6 +140,6 @@ msgstr "" msgid "View details" msgstr "" -#: observations/templates/observations/timeseries.html:38 +#: observations/templates/observations/timeseries.html:40 msgid "Number of observations" msgstr "" diff --git a/observations/locale/fi/LC_MESSAGES/django.po b/observations/locale/fi/LC_MESSAGES/django.po index cf73789c..6986253e 100644 --- a/observations/locale/fi/LC_MESSAGES/django.po +++ b/observations/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: 2024-06-26 08:59+0200\n" +"POT-Creation-Date: 2024-06-26 09:11+0200\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" @@ -23,59 +23,64 @@ msgstr "" msgid "Observation" msgstr "" -#: observations/templates/observations/detail.html:34 +#: observations/templates/observations/detail.html:33 +#: observations/templates/observations/timeseries.html:31 +msgid "Description" +msgstr "" + +#: observations/templates/observations/detail.html:36 #: observations/templates/observations/index.html:46 #: observations/templates/observations/index.html:68 #: observations/templates/observations/index_old.html:63 -#: observations/templates/observations/timeseries.html:32 +#: observations/templates/observations/timeseries.html:34 msgid "Organism" msgstr "" -#: observations/templates/observations/detail.html:36 +#: observations/templates/observations/detail.html:38 #: observations/templates/observations/index.html:50 #: observations/templates/observations/index.html:69 #: observations/templates/observations/index_old.html:64 -#: observations/templates/observations/timeseries.html:34 +#: observations/templates/observations/timeseries.html:36 msgid "Crop" msgstr "" -#: observations/templates/observations/detail.html:38 +#: observations/templates/observations/detail.html:40 #: observations/templates/observations/index.html:67 #: observations/templates/observations/index_old.html:62 msgid "Date of observation" msgstr "" -#: observations/templates/observations/detail.html:41 +#: observations/templates/observations/detail.html:43 #: observations/templates/observations/index.html:71 #: observations/templates/observations/timeseries.html:23 #: observations/templates/observations/timeseries.html:28 msgid "Time series" msgstr "" -#: observations/templates/observations/detail.html:45 -#: observations/templates/observations/timeseries.html:36 +#: observations/templates/observations/detail.html:47 +#: observations/templates/observations/timeseries.html:38 msgid "Location" msgstr "" -#: observations/templates/observations/detail.html:48 +#: observations/templates/observations/detail.html:50 msgid "Observation data" msgstr "" -#: observations/templates/observations/detail.html:58 +#: observations/templates/observations/detail.html:60 msgid "Illustrations" msgstr "" -#: observations/templates/observations/detail.html:66 -#: observations/templates/observations/timeseries.html:52 +#: observations/templates/observations/detail.html:68 +#: observations/templates/observations/timeseries.html:54 msgid "View all observations" msgstr "" -#: observations/templates/observations/detail.html:122 +#: observations/templates/observations/detail.html:126 msgid "Observation was not quantified" msgstr "" -#: observations/templates/observations/detail.html:160 -#: observations/templates/observations/timeseries.html:161 +#: observations/templates/observations/detail.html:164 +#: observations/templates/observations/timeseries.html:165 msgid "Map view not available" msgstr "" @@ -135,6 +140,6 @@ msgstr "" msgid "View details" msgstr "" -#: observations/templates/observations/timeseries.html:38 +#: observations/templates/observations/timeseries.html:40 msgid "Number of observations" msgstr "" diff --git a/observations/locale/nb/LC_MESSAGES/django.mo b/observations/locale/nb/LC_MESSAGES/django.mo index 980d9b7890097ce4b9c2ecbcc60db42f4f982fd8..837e55c3dbf467cf529f30e1cb84d1be06e12cd4 100755 GIT binary patch delta 651 zcmdna`;@2to)F7a1_lNOX$A%c83qQ1FANL}stgPaXBa`E3=9cO3=EtM3=D}(3=Av` z3=G*!3=I4X3=9QK3=FIc3=9oS3=BLB3=C~d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iZf}&7@fk6nIh(PfVQUFRwLYrfmEE$!Oic^cqQi~Y;i_#PGGK+H= zLNaqx6^c`fGE<8gLNZHoQa7(;Ze~&it4l07yaS;$l_4ZEr5LOfq_QM6XR;leIsob) BOKSiC diff --git a/observations/locale/nb/LC_MESSAGES/django.po b/observations/locale/nb/LC_MESSAGES/django.po index 42109ced..5250ff7c 100755 --- a/observations/locale/nb/LC_MESSAGES/django.po +++ b/observations/locale/nb/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-26 08:59+0200\n" +"POT-Creation-Date: 2024-06-26 09:11+0200\n" "PO-Revision-Date: 2024-06-06 13:42+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -24,59 +24,64 @@ msgstr "" msgid "Observation" msgstr "Observasjon" -#: observations/templates/observations/detail.html:34 +#: observations/templates/observations/detail.html:33 +#: observations/templates/observations/timeseries.html:31 +msgid "Description" +msgstr "Beskrivelse" + +#: observations/templates/observations/detail.html:36 #: observations/templates/observations/index.html:46 #: observations/templates/observations/index.html:68 #: observations/templates/observations/index_old.html:63 -#: observations/templates/observations/timeseries.html:32 +#: observations/templates/observations/timeseries.html:34 msgid "Organism" msgstr "Organisme" -#: observations/templates/observations/detail.html:36 +#: observations/templates/observations/detail.html:38 #: observations/templates/observations/index.html:50 #: observations/templates/observations/index.html:69 #: observations/templates/observations/index_old.html:64 -#: observations/templates/observations/timeseries.html:34 +#: observations/templates/observations/timeseries.html:36 msgid "Crop" msgstr "Kultur" -#: observations/templates/observations/detail.html:38 +#: observations/templates/observations/detail.html:40 #: observations/templates/observations/index.html:67 #: observations/templates/observations/index_old.html:62 msgid "Date of observation" msgstr "Observasjonsdato" -#: observations/templates/observations/detail.html:41 +#: observations/templates/observations/detail.html:43 #: observations/templates/observations/index.html:71 #: observations/templates/observations/timeseries.html:23 #: observations/templates/observations/timeseries.html:28 msgid "Time series" msgstr "Tidsserie" -#: observations/templates/observations/detail.html:45 -#: observations/templates/observations/timeseries.html:36 +#: observations/templates/observations/detail.html:47 +#: observations/templates/observations/timeseries.html:38 msgid "Location" msgstr "Sted" -#: observations/templates/observations/detail.html:48 +#: observations/templates/observations/detail.html:50 msgid "Observation data" msgstr "Observasjonsdata" -#: observations/templates/observations/detail.html:58 +#: observations/templates/observations/detail.html:60 msgid "Illustrations" msgstr "Illustrasjoner" -#: observations/templates/observations/detail.html:66 -#: observations/templates/observations/timeseries.html:52 +#: observations/templates/observations/detail.html:68 +#: observations/templates/observations/timeseries.html:54 msgid "View all observations" msgstr "Se alle observasjoner" -#: observations/templates/observations/detail.html:122 +#: observations/templates/observations/detail.html:126 msgid "Observation was not quantified" msgstr "Observasjonen ble ikke kvantifisert" -#: observations/templates/observations/detail.html:160 -#: observations/templates/observations/timeseries.html:161 +#: observations/templates/observations/detail.html:164 +#: observations/templates/observations/timeseries.html:165 msgid "Map view not available" msgstr "Kartvisning ikke tilgjengelig" @@ -136,15 +141,12 @@ msgstr "Kultur" msgid "View details" msgstr "Se detaljer" -#: observations/templates/observations/timeseries.html:38 +#: observations/templates/observations/timeseries.html:40 msgid "Number of observations" msgstr "Antall observasjoner" #~ msgid "Title" #~ msgstr "Tittel" -#~ msgid "Description" -#~ msgstr "Beskrivelse" - #~ msgid "Observer" #~ msgstr "Observatør" diff --git a/observations/locale/nb/LC_MESSAGES/djangojs.mo b/observations/locale/nb/LC_MESSAGES/djangojs.mo index 70cb5edf086bb8d5998d09c2ffa3bfaaf0913090..5c17154378d12510a2ba65b59e8b05a675d7e137 100644 GIT binary patch delta 178 zcmbQo`j@5to)F7a1_lNOHU<U;83qOh9|i^nZUzR18jv6Z1H%di1_l-e28NXk3=Con z3=HcS7#I{77#NN+Ffgz(Ffcr0U|?WkU|@K|z`)?d$iVO(DsIHYz#z`Rz+l0|z@Wmw yz!1O$QD4f$z`)4Bz)%gLmB7}33<5J47#NtL43ME9N3l%YsIu{HH{;|&CS3q>+!2oe delta 211 zcmey%GLN<Xo)F7a1_lNOb_NCp83qQ15C#SYZUzR19*`gd1H%pm1_l-e28Nvs3=Con z3=I3AYOgXdFeorEFx+KeU|?lnVED(tz`z7j%gDgs#K^$F&Il3rVq#zrXJB9mU}9k4 zU|?X#U}9iUVPIe=WCF_@F-&7(U|?imV3-4?LH2?y1kr2^3=GU52GnqnBUvXdRAF~X ZElJGGDc*Rbhmixs&dEwGn(WV{2LP=47wG^1 diff --git a/observations/locale/vi/LC_MESSAGES/django.po b/observations/locale/vi/LC_MESSAGES/django.po index 3359f9b4..9c31f9f7 100644 --- a/observations/locale/vi/LC_MESSAGES/django.po +++ b/observations/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: 2024-06-26 08:59+0200\n" +"POT-Creation-Date: 2024-06-26 09:11+0200\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" @@ -23,59 +23,64 @@ msgstr "" msgid "Observation" msgstr "" -#: observations/templates/observations/detail.html:34 +#: observations/templates/observations/detail.html:33 +#: observations/templates/observations/timeseries.html:31 +msgid "Description" +msgstr "" + +#: observations/templates/observations/detail.html:36 #: observations/templates/observations/index.html:46 #: observations/templates/observations/index.html:68 #: observations/templates/observations/index_old.html:63 -#: observations/templates/observations/timeseries.html:32 +#: observations/templates/observations/timeseries.html:34 msgid "Organism" msgstr "" -#: observations/templates/observations/detail.html:36 +#: observations/templates/observations/detail.html:38 #: observations/templates/observations/index.html:50 #: observations/templates/observations/index.html:69 #: observations/templates/observations/index_old.html:64 -#: observations/templates/observations/timeseries.html:34 +#: observations/templates/observations/timeseries.html:36 msgid "Crop" msgstr "" -#: observations/templates/observations/detail.html:38 +#: observations/templates/observations/detail.html:40 #: observations/templates/observations/index.html:67 #: observations/templates/observations/index_old.html:62 msgid "Date of observation" msgstr "" -#: observations/templates/observations/detail.html:41 +#: observations/templates/observations/detail.html:43 #: observations/templates/observations/index.html:71 #: observations/templates/observations/timeseries.html:23 #: observations/templates/observations/timeseries.html:28 msgid "Time series" msgstr "" -#: observations/templates/observations/detail.html:45 -#: observations/templates/observations/timeseries.html:36 +#: observations/templates/observations/detail.html:47 +#: observations/templates/observations/timeseries.html:38 msgid "Location" msgstr "" -#: observations/templates/observations/detail.html:48 +#: observations/templates/observations/detail.html:50 msgid "Observation data" msgstr "" -#: observations/templates/observations/detail.html:58 +#: observations/templates/observations/detail.html:60 msgid "Illustrations" msgstr "" -#: observations/templates/observations/detail.html:66 -#: observations/templates/observations/timeseries.html:52 +#: observations/templates/observations/detail.html:68 +#: observations/templates/observations/timeseries.html:54 msgid "View all observations" msgstr "" -#: observations/templates/observations/detail.html:122 +#: observations/templates/observations/detail.html:126 msgid "Observation was not quantified" msgstr "" -#: observations/templates/observations/detail.html:160 -#: observations/templates/observations/timeseries.html:161 +#: observations/templates/observations/detail.html:164 +#: observations/templates/observations/timeseries.html:165 msgid "Map view not available" msgstr "" @@ -135,6 +140,6 @@ msgstr "" msgid "View details" msgstr "" -#: observations/templates/observations/timeseries.html:38 +#: observations/templates/observations/timeseries.html:40 msgid "Number of observations" msgstr "" diff --git a/observations/locale/zh_Hans/LC_MESSAGES/django.po b/observations/locale/zh_Hans/LC_MESSAGES/django.po index f092c025..7c83a7a0 100755 --- a/observations/locale/zh_Hans/LC_MESSAGES/django.po +++ b/observations/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: 2024-06-26 08:59+0200\n" +"POT-Creation-Date: 2024-06-26 09:11+0200\n" "PO-Revision-Date: 2016-10-27 11:26+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -22,61 +22,66 @@ msgstr "" msgid "Observation" msgstr "观测" -#: observations/templates/observations/detail.html:34 +#: observations/templates/observations/detail.html:33 +#: observations/templates/observations/timeseries.html:31 +msgid "Description" +msgstr "" + +#: observations/templates/observations/detail.html:36 #: observations/templates/observations/index.html:46 #: observations/templates/observations/index.html:68 #: observations/templates/observations/index_old.html:63 -#: observations/templates/observations/timeseries.html:32 +#: observations/templates/observations/timeseries.html:34 msgid "Organism" msgstr "生物" -#: observations/templates/observations/detail.html:36 +#: observations/templates/observations/detail.html:38 #: observations/templates/observations/index.html:50 #: observations/templates/observations/index.html:69 #: observations/templates/observations/index_old.html:64 -#: observations/templates/observations/timeseries.html:34 +#: observations/templates/observations/timeseries.html:36 msgid "Crop" msgstr "作物" -#: observations/templates/observations/detail.html:38 +#: observations/templates/observations/detail.html:40 #: observations/templates/observations/index.html:67 #: observations/templates/observations/index_old.html:62 msgid "Date of observation" msgstr "观测时间" -#: observations/templates/observations/detail.html:41 +#: observations/templates/observations/detail.html:43 #: observations/templates/observations/index.html:71 #: observations/templates/observations/timeseries.html:23 #: observations/templates/observations/timeseries.html:28 msgid "Time series" msgstr "" -#: observations/templates/observations/detail.html:45 -#: observations/templates/observations/timeseries.html:36 +#: observations/templates/observations/detail.html:47 +#: observations/templates/observations/timeseries.html:38 msgid "Location" msgstr "" -#: observations/templates/observations/detail.html:48 +#: observations/templates/observations/detail.html:50 msgid "Observation data" msgstr "观测数据" -#: observations/templates/observations/detail.html:58 +#: observations/templates/observations/detail.html:60 #, fuzzy #| msgid "Observations" msgid "Illustrations" msgstr "观测" -#: observations/templates/observations/detail.html:66 -#: observations/templates/observations/timeseries.html:52 +#: observations/templates/observations/detail.html:68 +#: observations/templates/observations/timeseries.html:54 msgid "View all observations" msgstr "查看所有观测" -#: observations/templates/observations/detail.html:122 +#: observations/templates/observations/detail.html:126 msgid "Observation was not quantified" msgstr "观测没有定量化" -#: observations/templates/observations/detail.html:160 -#: observations/templates/observations/timeseries.html:161 +#: observations/templates/observations/detail.html:164 +#: observations/templates/observations/timeseries.html:165 msgid "Map view not available" msgstr "" @@ -140,7 +145,7 @@ msgstr "作物" msgid "View details" msgstr "看细节" -#: observations/templates/observations/timeseries.html:38 +#: observations/templates/observations/timeseries.html:40 #, fuzzy #| msgid "Date of observation" msgid "Number of observations" diff --git a/observations/templates/observations/detail.html b/observations/templates/observations/detail.html index 0e226da5..085d1c6b 100755 --- a/observations/templates/observations/detail.html +++ b/observations/templates/observations/detail.html @@ -29,8 +29,10 @@ <div class="col-md-6"> <p class="label">{% trans "Observation" %} </p> <h1 style="margin-top: 4px;margin-bottom: 30px"><span id="observationHeading"></span></h1> - <p class="label" id="observationTextLabel"></p> - <p id="observationText"></p> + <div id="observationTextInfo"> + <p class="label">{% trans "Description" %}</p> + <p id="observationText"></p> + </div> <p class="label">{% trans "Organism" %}</p> <p id="organismName"></p> <p class="label">{% trans "Crop" %}</p> @@ -89,8 +91,10 @@ document.getElementById("timeOfObservation").innerHTML = getStandardFormattedDate(observation.timeOfObservation); document.getElementById("observationHeading").innerHTML = observation.observationHeading; if(observation.observationText && observation.observationText !== "") { - document.getElementById("observationTextLabel").innerHTML = gettext("Description"); + document.getElementById("observationTextInfo").hidden = false; document.getElementById("observationText").innerHTML = observation.observationText; + } else { + document.getElementById("observationTextInfo").hidden = true; } if(observation.observationTimeSeries) { console.info("observation.observationTimeSeries", observation.observationTimeSeries) diff --git a/observations/templates/observations/timeseries.html b/observations/templates/observations/timeseries.html index c3b2bc0d..12351710 100644 --- a/observations/templates/observations/timeseries.html +++ b/observations/templates/observations/timeseries.html @@ -27,8 +27,10 @@ <div class="col-md-6"> <p class="label">{% trans "Time series" %} </p> <h1 style="margin-top: 4px;margin-bottom: 30px"><span id="timeSeriesName"></span></h1> - <p class="label" id="timeSeriesDescriptionLabel"></p> - <p id="timeSeriesDescription"></p> + <div id="timeSeriesDescriptionInfo"> + <p class="label">{% trans "Description" %}</p> + <p id="timeSeriesDescription"></p> + </div> <p class="label">{% trans "Organism" %}</p> <p id="organismName"></p> <p class="label">{% trans "Crop" %}</p> @@ -75,8 +77,10 @@ document.getElementById("timeSeriesLocation").innerHTML = observationTimeSeries.locationPointOfInterest.name; if(observationTimeSeries.description && observationTimeSeries.description !== "") { - document.getElementById("timeSeriesDescriptionLabel").innerHTML = gettext("Description"); + document.getElementById("timeSeriesDescriptionInfo").hidden = false; document.getElementById("timeSeriesDescription").innerHTML = observationTimeSeries.description; + } else { + document.getElementById("timeSeriesDescriptionInfo").hidden = true; } let observations = []; -- GitLab