Skip to content

Commit

Permalink
Add description templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Mar 5, 2024
1 parent eecb3a6 commit 94d36e5
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 92 deletions.
86 changes: 63 additions & 23 deletions ckanext/matomo/i18n/ckanext-matomo.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Translations template for ckanext-matomo.
# Copyright (C) 2023 ORGANIZATION
# Copyright (C) 2024 ORGANIZATION
# This file is distributed under the same license as the ckanext-matomo project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ckanext-matomo 0.0.1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-08-25 10:06+0000\n"
"POT-Creation-Date: 2024-03-05 12:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -57,58 +57,61 @@ msgid "Stats"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:4
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:5
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:6
msgid "Weekly visits for last 12 months"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:13
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:29
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:37
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:22
msgid "Visits"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:14
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:15
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:23
msgid "During last 30 days"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:15
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:16
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:24
msgid "During last 12 months"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:16
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:17
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:21
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:21
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:25
msgid "All time:"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:17
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:14
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:17
msgid "Download counts"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:29
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:37
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:37
msgid "Year"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:29
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:37
#: ckanext/matomo/templates/report/dataset_analytics.html:14
#: ckanext/matomo/templates/report/dataset_analytics.html:42
#: ckanext/matomo/templates/report/resource_analytics.html:11
#: ckanext/matomo/templates/report/resource_analytics.html:32
msgid "Downloads"
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:31
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:34
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:34
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:39
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:39
msgid "Week"
msgstr ""

Expand Down Expand Up @@ -156,6 +159,29 @@ msgstr ""
msgid "No analytics found for most downloaded datasets."
msgstr ""

#: ckanext/matomo/templates/report/dataset_analytics_description.html:3
msgid ""
"You can choose to discover the statistics of datasets either on organization "
"or dataset level. Total views include pageviews of the organization's all "
"datasets counted together. Initial entrance includes visitors that visit the "
"page for the first time. Downloads include all dataset downloads of the "
"organization. Number of API requests include the total sum of API requests "
"made for the organization's datasets. Please note downloads and number of API"
" requests include only statistics of datasets that have been uploaded to the "
"service."
msgstr ""

#: ckanext/matomo/templates/report/dataset_analytics_description.html:9
msgid ""
"Discover statistics of the organization on dataset level. Total views include"
" all pageviews of the specific dataset. Initial entrance includes visitors "
"that visit the page for the first time. Downloads include all downloads of "
"the specific dataset. Number of API requests include the total sum of API "
"requests made on the dataset. Please note downloads and number of API "
"requests include only statistics of datasets that have been uploaded to the "
"service."
msgstr ""

#: ckanext/matomo/templates/report/location_analytics.html:37
msgid "Sessions by month"
msgstr ""
Expand Down Expand Up @@ -222,6 +248,20 @@ msgstr ""
msgid "No statistics found for most downloaded resources."
msgstr ""

#: ckanext/matomo/templates/report/resource_analytics_description.html:3
msgid ""
"Discover datasets' download and API request amounts on organization level. "
"Please note that this data only includes statistics of datasets that have "
"been uploaded to the service."
msgstr ""

#: ckanext/matomo/templates/report/resource_analytics_description.html:8
msgid ""
"Discover selected organization's download and API request amounts on dataset "
"level. Please note that this data only includes statistics of datasets that "
"have been uploaded to the service."
msgstr ""

#: ckanext/matomo/templates/report/search_term_analytics.html:9
msgid "Search term"
msgstr ""
Expand Down
61 changes: 38 additions & 23 deletions ckanext/matomo/i18n/fi/LC_MESSAGES/ckanext-matomo.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translations template for ckanext-matomo.
# Copyright (C) 2023 ORGANIZATION
# Copyright (C) 2024 ORGANIZATION
# This file is distributed under the same license as the ckanext-matomo project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
# Translators:
# Pasi Laakso <[email protected]>, 2021
Expand All @@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ckanext-matomo 0.0.1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-08-25 10:06+0000\n"
"POT-Creation-Date: 2024-03-05 10:19+0000\n"
"PO-Revision-Date: 2021-11-17 12:18+0000\n"
"Last-Translator: Roosa Lampinen, 2023\n"
"Language-Team: Finnish (https://app.transifex.com/avoindata/teams/7979/fi/)\n"
Expand Down Expand Up @@ -63,64 +63,79 @@ msgstr "Suosituimmat hakusanat ja viimeisimmät hakupäivämäärät"
msgid "Last searched date"
msgstr "Viimeksi haettu"

#: ckanext/matomo/translations.py:16
msgid ""
"You can choose to discover the statistics of datasets either on organization"
" or dataset level. Total views include pageviews of the organization's all "
"datasets counted together. Initial entrance includes visitors that visit the"
" page for the first time. Downloads include all dataset downloads of the "
"organization. Number of API requests include the total sum of API requests "
"made for the organization's datasets. Please note downloads and number of "
"API requests include only statistics of datasets that have been uploaded to "
"the service."
msgstr ""

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:2
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:2
msgid "Stats"
msgstr "Tilastot"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:4
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:5
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:6
msgid "Weekly visits for last 12 months"
msgstr "Viikoittaiset vierailut viimeisten 12kk ajalta"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:13
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:29
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:37
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:22
msgid "Visits"
msgstr "Sivunäytöt"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:14
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:15
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:23
msgid "During last 30 days"
msgstr "Viimeisten 30 päivän aikana"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:15
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:16
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:19
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:24
msgid "During last 12 months"
msgstr "Viimeisten 12 kk aikana"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:16
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:17
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:21
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:21
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:20
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:25
msgid "All time:"
msgstr "Koko ajalta:"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:17
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:14
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:18
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:17
msgid "Download counts"
msgstr "Lataukset"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:29
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:37
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:37
msgid "Year"
msgstr "edellinen vuosi"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:29
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:32
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:37
#: ckanext/matomo/templates/report/dataset_analytics.html:14
#: ckanext/matomo/templates/report/dataset_analytics.html:42
#: ckanext/matomo/templates/report/resource_analytics.html:11
#: ckanext/matomo/templates/report/resource_analytics.html:32
msgid "Downloads"
msgstr "Lataukset"

#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:31
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:34
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:34
#: ckanext/matomo/templates/matomo/snippets/dataset_stats.html:39
#: ckanext/matomo/templates/matomo/snippets/resource_stats.html:39
msgid "Week"
msgstr "edellinen viikko"

Expand Down
Loading

0 comments on commit 94d36e5

Please sign in to comment.