From 1503e8d18272d1fc91cfb1999298f796b3774550 Mon Sep 17 00:00:00 2001 From: amercader Date: Wed, 22 Jul 2015 12:06:27 +0100 Subject: [PATCH] Build frontend --- ckan/public/base/i18n/ar.js | 2 +- ckan/public/base/i18n/ar.min.js | 2 +- ckan/public/base/i18n/en_AU.js | 32 +++++++++++++++++++ ckan/public/base/i18n/en_AU.min.js | 2 +- ckan/public/base/i18n/fi.js | 8 ++--- ckan/public/base/i18n/fi.min.js | 2 +- ckan/public/base/i18n/is.js | 2 +- ckan/public/base/i18n/is.min.js | 2 +- ckan/public/base/i18n/it.js | 4 +++ ckan/public/base/i18n/it.min.js | 2 +- ckan/public/base/i18n/pt_BR.js | 4 +++ ckan/public/base/i18n/pt_BR.min.js | 2 +- ckan/public/base/i18n/ru.js | 2 +- ckan/public/base/i18n/ru.min.js | 2 +- ckan/public/base/i18n/uk_UA.js | 32 +++++++++++++++++++ ckan/public/base/i18n/uk_UA.min.js | 2 +- ckan/public/base/i18n/vi.js | 4 +++ ckan/public/base/i18n/vi.min.js | 2 +- .../theme/public/recline_view.min.js | 2 +- 19 files changed, 93 insertions(+), 17 deletions(-) diff --git a/ckan/public/base/i18n/ar.js b/ckan/public/base/i18n/ar.js index 85428aae047..08a8334a883 100644 --- a/ckan/public/base/i18n/ar.js +++ b/ckan/public/base/i18n/ar.js @@ -10,7 +10,7 @@ ], "Edit": [ null, - "تعديل" + "تحرير" ], "Follow": [ null, diff --git a/ckan/public/base/i18n/ar.min.js b/ckan/public/base/i18n/ar.min.js index 438e1e59584..f30975f63de 100644 --- a/ckan/public/base/i18n/ar.min.js +++ b/ckan/public/base/i18n/ar.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"ar","plural-forms":"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"},"Cancel":[null,"إلغاء"],"Edit":[null,"تعديل"],"Follow":[null,"تابع"],"Hide":[null,"إخفاء"],"Show more":[null,"إظهار المزيد"],"Upload a file":[null,"تحميل ملف"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"ar","plural-forms":"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"},"Cancel":[null,"إلغاء"],"Edit":[null,"تحرير"],"Follow":[null,"تابع"],"Hide":[null,"إخفاء"],"Show more":[null,"إظهار المزيد"],"Upload a file":[null,"تحميل ملف"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/en_AU.js b/ckan/public/base/i18n/en_AU.js index d3548431bdd..47d396df486 100644 --- a/ckan/public/base/i18n/en_AU.js +++ b/ckan/public/base/i18n/en_AU.js @@ -44,6 +44,14 @@ null, "Input is too short, must be at least one character" ], + "Link": [ + null, + "Link" + ], + "Link to a URL on the internet (you can also link to an API)": [ + null, + "Link to a URL on the internet (you can also link to an API)" + ], "Loading...": [ null, "Loading..." @@ -60,10 +68,26 @@ null, "Remove" ], + "Reorder resource view": [ + null, + "Reorder resource view" + ], + "Reorder resources": [ + null, + "Reorder resources" + ], "Resource uploaded": [ null, "Resource uploaded" ], + "Save order": [ + null, + "Save order" + ], + "Saving...": [ + null, + "Saving..." + ], "Show more": [ null, "Show more" @@ -108,6 +132,14 @@ null, "Upload a file" ], + "Upload a file on your computer": [ + null, + "Upload a file on your computer" + ], + "You are uploading a file. Are you sure you want to navigate away and stop this upload?": [ + null, + "You are uploading a file. Are you sure you want to navigate away and stop this upload?" + ], "show less": [ null, "show less" diff --git a/ckan/public/base/i18n/en_AU.min.js b/ckan/public/base/i18n/en_AU.min.js index f5a0912fc61..3e9f82b9b18 100644 --- a/ckan/public/base/i18n/en_AU.min.js +++ b/ckan/public/base/i18n/en_AU.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"en_AU","plural-forms":"nplurals=2; plural=(n != 1);"},"An Error Occurred":[null,"An Error Occurred"],"Are you sure you want to perform this action?":[null,"Are you sure you want to perform this action?"],"Cancel":[null,"Cancel"],"Confirm":[null,"Confirm"],"Edit":[null,"Edit"],"Failed to load data API information":[null,"Failed to load data API information"],"Follow":[null,"Follow"],"Hide":[null,"Hide"],"Image":[null,"Image"],"Input is too short, must be at least one character":[null,"Input is too short, must be at least one character"],"Loading...":[null,"Loading..."],"No matches found":[null,"No matches found"],"Please Confirm Action":[null,"Please Confirm Action"],"Remove":[null,"Remove"],"Resource uploaded":[null,"Resource uploaded"],"Show more":[null,"Show more"],"Start typing…":[null,"Start typing…"],"There are unsaved modifications to this form":[null,"There are unsaved modifications to this form"],"There is no API data to load for this resource":[null,"There is no API data to load for this resource"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Unable to authenticate upload"],"Unable to get data for uploaded file":[null,"Unable to get data for uploaded file"],"Unable to upload file":[null,"Unable to upload file"],"Unfollow":[null,"Unfollow"],"Upload":[null,"Upload"],"Upload a file":[null,"Upload a file"],"show less":[null,"show less"],"show more":[null,"show more"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"en_AU","plural-forms":"nplurals=2; plural=(n != 1);"},"An Error Occurred":[null,"An Error Occurred"],"Are you sure you want to perform this action?":[null,"Are you sure you want to perform this action?"],"Cancel":[null,"Cancel"],"Confirm":[null,"Confirm"],"Edit":[null,"Edit"],"Failed to load data API information":[null,"Failed to load data API information"],"Follow":[null,"Follow"],"Hide":[null,"Hide"],"Image":[null,"Image"],"Input is too short, must be at least one character":[null,"Input is too short, must be at least one character"],"Link":[null,"Link"],"Link to a URL on the internet (you can also link to an API)":[null,"Link to a URL on the internet (you can also link to an API)"],"Loading...":[null,"Loading..."],"No matches found":[null,"No matches found"],"Please Confirm Action":[null,"Please Confirm Action"],"Remove":[null,"Remove"],"Reorder resource view":[null,"Reorder resource view"],"Reorder resources":[null,"Reorder resources"],"Resource uploaded":[null,"Resource uploaded"],"Save order":[null,"Save order"],"Saving...":[null,"Saving..."],"Show more":[null,"Show more"],"Start typing…":[null,"Start typing…"],"There are unsaved modifications to this form":[null,"There are unsaved modifications to this form"],"There is no API data to load for this resource":[null,"There is no API data to load for this resource"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Unable to authenticate upload"],"Unable to get data for uploaded file":[null,"Unable to get data for uploaded file"],"Unable to upload file":[null,"Unable to upload file"],"Unfollow":[null,"Unfollow"],"Upload":[null,"Upload"],"Upload a file":[null,"Upload a file"],"Upload a file on your computer":[null,"Upload a file on your computer"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"You are uploading a file. Are you sure you want to navigate away and stop this upload?"],"show less":[null,"show less"],"show more":[null,"show more"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/fi.js b/ckan/public/base/i18n/fi.js index 82fe9568cae..c10f9c7eff6 100644 --- a/ckan/public/base/i18n/fi.js +++ b/ckan/public/base/i18n/fi.js @@ -50,7 +50,7 @@ ], "Link to a URL on the internet (you can also link to an API)": [ null, - "Linkki URL-osoitteeseen intterneteissä (voit myös linkittää API:in)" + "Linkki URL-osoitteeseen internetissä (voit myös linkittää API:in)" ], "Loading...": [ null, @@ -94,7 +94,7 @@ ], "Start typing…": [ null, - "Ala kirjoittamaan..." + "Ala kirjoittaa..." ], "There are unsaved modifications to this form": [ null, @@ -114,7 +114,7 @@ ], "Unable to get data for uploaded file": [ null, - "Datan saaminen ladattavalle tiedostolle epäonnistui" + "Datan saaminen ladattavaan tiedostoon epäonnistui" ], "Unable to upload file": [ null, @@ -138,7 +138,7 @@ ], "You are uploading a file. Are you sure you want to navigate away and stop this upload?": [ null, - "Olet olet parhaillaan lataamassa tiedostoa palvelimelle. Oletko varma että haluat navigoida sivukta ja keskeyttää lataamisen?" + "Olet parhaillaan lataamassa tiedostoa palvelimelle. Oletko varma, että haluat poistua sivulta ja keskeyttää lataamisen?" ], "show less": [ null, diff --git a/ckan/public/base/i18n/fi.min.js b/ckan/public/base/i18n/fi.min.js index 79549f255fa..3e0c464093a 100644 --- a/ckan/public/base/i18n/fi.min.js +++ b/ckan/public/base/i18n/fi.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"fi","plural-forms":"nplurals=2; plural=(n != 1);"},"An Error Occurred":[null,"Tapahtui virhe"],"Are you sure you want to perform this action?":[null,"Oletko varma, että haluat tehdä tämän?"],"Cancel":[null,"Peruuta"],"Confirm":[null,"Vahvista"],"Edit":[null,"Muokkaa"],"Failed to load data API information":[null,"Data API:n tietojen lataaminen epäonnistui"],"Follow":[null,"Seuraa"],"Hide":[null,"Piilota"],"Image":[null,"Kuva"],"Input is too short, must be at least one character":[null,"Liian lyhyt, pitää olla vähintään yksi merkki"],"Link":[null,"Linkki"],"Link to a URL on the internet (you can also link to an API)":[null,"Linkki URL-osoitteeseen intterneteissä (voit myös linkittää API:in)"],"Loading...":[null,"Ladataan..."],"No matches found":[null,"Ei yhtään osumaa"],"Please Confirm Action":[null,"Vahvista toimenpide"],"Remove":[null,"Poista"],"Reorder resource view":[null,"Uudelleenjärjestä resurssinäyttö"],"Reorder resources":[null,"Uudelleenjärjestä resurssit"],"Resource uploaded":[null,"Resurssi on ladattu"],"Save order":[null,"Tallenna tilaus"],"Saving...":[null,"Tallentaa..."],"Show more":[null,"Näytä enemmän"],"Start typing…":[null,"Ala kirjoittamaan..."],"There are unsaved modifications to this form":[null,"Lomakkeella on tallentamattomia tietoja"],"There is no API data to load for this resource":[null,"API:n kautta ei ole ladattavissa dataa tälle resurssille"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Lataamisen autentikointi epäonnistui"],"Unable to get data for uploaded file":[null,"Datan saaminen ladattavalle tiedostolle epäonnistui"],"Unable to upload file":[null,"Tiedoston lataaminen epäonnistui"],"Unfollow":[null,"Lopeta seuraaminen"],"Upload":[null,"Lataa"],"Upload a file":[null,"Tallenna tiedosto"],"Upload a file on your computer":[null,"Lataa tiedosto työasemalta"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Olet olet parhaillaan lataamassa tiedostoa palvelimelle. Oletko varma että haluat navigoida sivukta ja keskeyttää lataamisen?"],"show less":[null,"näytä vähemmän"],"show more":[null,"näytä lisää"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"fi","plural-forms":"nplurals=2; plural=(n != 1);"},"An Error Occurred":[null,"Tapahtui virhe"],"Are you sure you want to perform this action?":[null,"Oletko varma, että haluat tehdä tämän?"],"Cancel":[null,"Peruuta"],"Confirm":[null,"Vahvista"],"Edit":[null,"Muokkaa"],"Failed to load data API information":[null,"Data API:n tietojen lataaminen epäonnistui"],"Follow":[null,"Seuraa"],"Hide":[null,"Piilota"],"Image":[null,"Kuva"],"Input is too short, must be at least one character":[null,"Liian lyhyt, pitää olla vähintään yksi merkki"],"Link":[null,"Linkki"],"Link to a URL on the internet (you can also link to an API)":[null,"Linkki URL-osoitteeseen internetissä (voit myös linkittää API:in)"],"Loading...":[null,"Ladataan..."],"No matches found":[null,"Ei yhtään osumaa"],"Please Confirm Action":[null,"Vahvista toimenpide"],"Remove":[null,"Poista"],"Reorder resource view":[null,"Uudelleenjärjestä resurssinäyttö"],"Reorder resources":[null,"Uudelleenjärjestä resurssit"],"Resource uploaded":[null,"Resurssi on ladattu"],"Save order":[null,"Tallenna tilaus"],"Saving...":[null,"Tallentaa..."],"Show more":[null,"Näytä enemmän"],"Start typing…":[null,"Ala kirjoittaa..."],"There are unsaved modifications to this form":[null,"Lomakkeella on tallentamattomia tietoja"],"There is no API data to load for this resource":[null,"API:n kautta ei ole ladattavissa dataa tälle resurssille"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Lataamisen autentikointi epäonnistui"],"Unable to get data for uploaded file":[null,"Datan saaminen ladattavaan tiedostoon epäonnistui"],"Unable to upload file":[null,"Tiedoston lataaminen epäonnistui"],"Unfollow":[null,"Lopeta seuraaminen"],"Upload":[null,"Lataa"],"Upload a file":[null,"Tallenna tiedosto"],"Upload a file on your computer":[null,"Lataa tiedosto työasemalta"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Olet parhaillaan lataamassa tiedostoa palvelimelle. Oletko varma, että haluat poistua sivulta ja keskeyttää lataamisen?"],"show less":[null,"näytä vähemmän"],"show more":[null,"näytä lisää"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/is.js b/ckan/public/base/i18n/is.js index 7c0d7dd6945..375d68e829e 100644 --- a/ckan/public/base/i18n/is.js +++ b/ckan/public/base/i18n/is.js @@ -2,7 +2,7 @@ "": { "domain": "ckan", "lang": "is", - "plural-forms": "nplurals=2; plural=(n != 1);" + "plural-forms": "nplurals=2; plural=(n % 10 == 1 || n % 100 != 11);" }, "An Error Occurred": [ null, diff --git a/ckan/public/base/i18n/is.min.js b/ckan/public/base/i18n/is.min.js index 025be9d24af..9dfc0135264 100644 --- a/ckan/public/base/i18n/is.min.js +++ b/ckan/public/base/i18n/is.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"is","plural-forms":"nplurals=2; plural=(n != 1);"},"An Error Occurred":[null,"Villa kom upp"],"Are you sure you want to perform this action?":[null,"Ertu viss um að þú viljir framkvæma þessa aðgerð?"],"Cancel":[null,"Hætta við"],"Confirm":[null,"Staðfesta"],"Edit":[null,"Breyta"],"Failed to load data API information":[null,"Villa kom upp við að sækja upplýsingar um API gögn"],"Follow":[null,"Fylgjast með"],"Hide":[null,"Fela"],"Image":[null,"Mynd"],"Input is too short, must be at least one character":[null,"Of stutt, verður að vera í það minnsta einn stafur"],"Link":[null,"Tengill"],"Link to a URL on the internet (you can also link to an API)":[null,"Farðu inn á vefslóð á netinu (þú getur líka tengst API)"],"Loading...":[null,"Hleð..."],"No matches found":[null,"Ekkert fannst"],"Please Confirm Action":[null,"Vinsamlegast staðfestu aðgerðina"],"Remove":[null,"Fjarlægja"],"Reorder resources":[null,"Endurpantaðu tilföng"],"Resource uploaded":[null,"Skránni hefur verið hlaðið inn"],"Save order":[null,"Vistaðu pöntun"],"Saving...":[null,"Vistun í gangi..."],"Show more":[null,"Sýna fleiri"],"Start typing…":[null,"Sláðu inn fyrstu stafina..."],"There are unsaved modifications to this form":[null,"Það eru óvistaðar breytingar í þessu formi"],"There is no API data to load for this resource":[null,"Það eru engin API gögn sem er hægt að hlaða inn fyrir þessa skrá"],"URL":[null,"Vefslóð"],"Unable to authenticate upload":[null,"Ekki fékkst heimild til að hlaða inn skrá"],"Unable to get data for uploaded file":[null,"Ekki tókst að sækja gögn úr skránni sem þú hlóðst inn"],"Unable to upload file":[null,"Ekki tókst að hlaða inn skrá"],"Unfollow":[null,"Hætta að fylgjast með"],"Upload":[null,"Hlaða inn"],"Upload a file":[null,"Hlaða inn skrá"],"Upload a file on your computer":[null,"Sæktu skrá á tölvuna þína"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Þú ert að sækja skrá. Ertu viss um að viljir fara af síðunni og stöðva niðurhalið? "],"show less":[null,"sýna færri"],"show more":[null,"sýna fleiri"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"is","plural-forms":"nplurals=2; plural=(n % 10 == 1 || n % 100 != 11);"},"An Error Occurred":[null,"Villa kom upp"],"Are you sure you want to perform this action?":[null,"Ertu viss um að þú viljir framkvæma þessa aðgerð?"],"Cancel":[null,"Hætta við"],"Confirm":[null,"Staðfesta"],"Edit":[null,"Breyta"],"Failed to load data API information":[null,"Villa kom upp við að sækja upplýsingar um API gögn"],"Follow":[null,"Fylgjast með"],"Hide":[null,"Fela"],"Image":[null,"Mynd"],"Input is too short, must be at least one character":[null,"Of stutt, verður að vera í það minnsta einn stafur"],"Link":[null,"Tengill"],"Link to a URL on the internet (you can also link to an API)":[null,"Farðu inn á vefslóð á netinu (þú getur líka tengst API)"],"Loading...":[null,"Hleð..."],"No matches found":[null,"Ekkert fannst"],"Please Confirm Action":[null,"Vinsamlegast staðfestu aðgerðina"],"Remove":[null,"Fjarlægja"],"Reorder resources":[null,"Endurpantaðu tilföng"],"Resource uploaded":[null,"Skránni hefur verið hlaðið inn"],"Save order":[null,"Vistaðu pöntun"],"Saving...":[null,"Vistun í gangi..."],"Show more":[null,"Sýna fleiri"],"Start typing…":[null,"Sláðu inn fyrstu stafina..."],"There are unsaved modifications to this form":[null,"Það eru óvistaðar breytingar í þessu formi"],"There is no API data to load for this resource":[null,"Það eru engin API gögn sem er hægt að hlaða inn fyrir þessa skrá"],"URL":[null,"Vefslóð"],"Unable to authenticate upload":[null,"Ekki fékkst heimild til að hlaða inn skrá"],"Unable to get data for uploaded file":[null,"Ekki tókst að sækja gögn úr skránni sem þú hlóðst inn"],"Unable to upload file":[null,"Ekki tókst að hlaða inn skrá"],"Unfollow":[null,"Hætta að fylgjast með"],"Upload":[null,"Hlaða inn"],"Upload a file":[null,"Hlaða inn skrá"],"Upload a file on your computer":[null,"Sæktu skrá á tölvuna þína"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Þú ert að sækja skrá. Ertu viss um að viljir fara af síðunni og stöðva niðurhalið? "],"show less":[null,"sýna færri"],"show more":[null,"sýna fleiri"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/it.js b/ckan/public/base/i18n/it.js index 7daf713546c..6ea02eb119f 100644 --- a/ckan/public/base/i18n/it.js +++ b/ckan/public/base/i18n/it.js @@ -68,6 +68,10 @@ null, "Rimuovi" ], + "Reorder resource view": [ + null, + "Riordina vista di risorsa" + ], "Reorder resources": [ null, "Riordina risorse" diff --git a/ckan/public/base/i18n/it.min.js b/ckan/public/base/i18n/it.min.js index f53dcff0b41..81806d5827e 100644 --- a/ckan/public/base/i18n/it.min.js +++ b/ckan/public/base/i18n/it.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"it","plural-forms":"nplurals=2; plural=(n != 1);"},"An Error Occurred":[null,"Si è verificato un errore"],"Are you sure you want to perform this action?":[null,"Sei certo di voler confermare questa azione?"],"Cancel":[null,"Annulla"],"Confirm":[null,"Conferma"],"Edit":[null,"Modifica"],"Failed to load data API information":[null,"Lettura dei dati attraverso le API fallita"],"Follow":[null,"Segui"],"Hide":[null,"Nascondi"],"Image":[null,"Immagine"],"Input is too short, must be at least one character":[null,"Troppo breve! Il testo deve contenere almeno un carattere"],"Link":[null,"Link"],"Link to a URL on the internet (you can also link to an API)":[null,"Link a un indirizzo internet (puoi anche inserire l'URL di un API)"],"Loading...":[null,"Caricando..."],"No matches found":[null,"Elementi non trovati"],"Please Confirm Action":[null,"Confermare azione"],"Remove":[null,"Rimuovi"],"Reorder resources":[null,"Riordina risorse"],"Resource uploaded":[null,"Risorsa caricata"],"Save order":[null,"Salva ordine"],"Saving...":[null,"Salvataggio in corso..."],"Show more":[null,"Mostra più"],"Start typing…":[null,"Inizia a scrivere..."],"There are unsaved modifications to this form":[null,"Ci sono modifiche non salvate per questa form"],"There is no API data to load for this resource":[null,"Non ci sono dati da caricare via API per questa risorsa "],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Impossibile autenticare il caricamento"],"Unable to get data for uploaded file":[null,"Impossibile accedere ai dati per il file caricato"],"Unable to upload file":[null,"Impossibile caricare il file"],"Unfollow":[null,"Non seguire più"],"Upload":[null,"Carica"],"Upload a file":[null,"Carica un file"],"Upload a file on your computer":[null,"Carica un file dal computer"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Stai caricando un file. Sei sicuro che vuoi abbandonare questa pagina e interrompere il caricamento?"],"show less":[null,"visualizzane meno"],"show more":[null,"visualizzane di più"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"it","plural-forms":"nplurals=2; plural=(n != 1);"},"An Error Occurred":[null,"Si è verificato un errore"],"Are you sure you want to perform this action?":[null,"Sei certo di voler confermare questa azione?"],"Cancel":[null,"Annulla"],"Confirm":[null,"Conferma"],"Edit":[null,"Modifica"],"Failed to load data API information":[null,"Lettura dei dati attraverso le API fallita"],"Follow":[null,"Segui"],"Hide":[null,"Nascondi"],"Image":[null,"Immagine"],"Input is too short, must be at least one character":[null,"Troppo breve! Il testo deve contenere almeno un carattere"],"Link":[null,"Link"],"Link to a URL on the internet (you can also link to an API)":[null,"Link a un indirizzo internet (puoi anche inserire l'URL di un API)"],"Loading...":[null,"Caricando..."],"No matches found":[null,"Elementi non trovati"],"Please Confirm Action":[null,"Confermare azione"],"Remove":[null,"Rimuovi"],"Reorder resource view":[null,"Riordina vista di risorsa"],"Reorder resources":[null,"Riordina risorse"],"Resource uploaded":[null,"Risorsa caricata"],"Save order":[null,"Salva ordine"],"Saving...":[null,"Salvataggio in corso..."],"Show more":[null,"Mostra più"],"Start typing…":[null,"Inizia a scrivere..."],"There are unsaved modifications to this form":[null,"Ci sono modifiche non salvate per questa form"],"There is no API data to load for this resource":[null,"Non ci sono dati da caricare via API per questa risorsa "],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Impossibile autenticare il caricamento"],"Unable to get data for uploaded file":[null,"Impossibile accedere ai dati per il file caricato"],"Unable to upload file":[null,"Impossibile caricare il file"],"Unfollow":[null,"Non seguire più"],"Upload":[null,"Carica"],"Upload a file":[null,"Carica un file"],"Upload a file on your computer":[null,"Carica un file dal computer"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Stai caricando un file. Sei sicuro che vuoi abbandonare questa pagina e interrompere il caricamento?"],"show less":[null,"visualizzane meno"],"show more":[null,"visualizzane di più"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/pt_BR.js b/ckan/public/base/i18n/pt_BR.js index 553c20de5a0..60c4212a23d 100644 --- a/ckan/public/base/i18n/pt_BR.js +++ b/ckan/public/base/i18n/pt_BR.js @@ -68,6 +68,10 @@ null, "Remover" ], + "Reorder resource view": [ + null, + "Reordenar visão de recurso" + ], "Reorder resources": [ null, "Reordenar recursos" diff --git a/ckan/public/base/i18n/pt_BR.min.js b/ckan/public/base/i18n/pt_BR.min.js index 06430234f90..782115993d7 100644 --- a/ckan/public/base/i18n/pt_BR.min.js +++ b/ckan/public/base/i18n/pt_BR.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"pt_BR","plural-forms":"nplurals=2; plural=(n > 1);"},"An Error Occurred":[null,"Ocorreu um erro"],"Are you sure you want to perform this action?":[null,"Você tem certeza de que deseja executar essa ação?"],"Cancel":[null,"Cancelar"],"Confirm":[null,"Confirme"],"Edit":[null,"Editar"],"Failed to load data API information":[null,"Falhou em carregar informações sobre a API de dados"],"Follow":[null,"Seguir"],"Hide":[null,"Ocultar"],"Image":[null,"Imagem"],"Input is too short, must be at least one character":[null,"Entrada insuficiente. É necessário ao menos um caractere."],"Link":[null,"Link"],"Link to a URL on the internet (you can also link to an API)":[null,"Link para uma URL na internet (você também pode ligar a uma API)"],"Loading...":[null,"Carregando ..."],"No matches found":[null,"Nenhum resultado encontrado"],"Please Confirm Action":[null,"Favor confirmar a ação"],"Remove":[null,"Remover"],"Reorder resources":[null,"Reordenar recursos"],"Resource uploaded":[null,"Recurso enviado"],"Save order":[null,"Salvar ordem"],"Saving...":[null,"Salvando..."],"Show more":[null,"Mostrar mais"],"Start typing…":[null,"Comece a digitar ..."],"There are unsaved modifications to this form":[null,"Há modificações não salvas neste formulário"],"There is no API data to load for this resource":[null,"Não existe API de dados para carregar para este recurso"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Não foi possível autenticar o envio"],"Unable to get data for uploaded file":[null,"Não foi possível obter os dados do arquivo carregado"],"Unable to upload file":[null,"Não foi possível enviar o arquivo"],"Unfollow":[null,"Deixar de seguir"],"Upload":[null,"Enviar"],"Upload a file":[null,"Carrega um arquivo"],"Upload a file on your computer":[null,"Enviar um arquivo do seu computador"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Você está enviando um arquivo. Tem certeza de que quer navegar para outra página e parar esse envio?"],"show less":[null,"mostrar menos"],"show more":[null,"mostrar mais"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"pt_BR","plural-forms":"nplurals=2; plural=(n > 1);"},"An Error Occurred":[null,"Ocorreu um erro"],"Are you sure you want to perform this action?":[null,"Você tem certeza de que deseja executar essa ação?"],"Cancel":[null,"Cancelar"],"Confirm":[null,"Confirme"],"Edit":[null,"Editar"],"Failed to load data API information":[null,"Falhou em carregar informações sobre a API de dados"],"Follow":[null,"Seguir"],"Hide":[null,"Ocultar"],"Image":[null,"Imagem"],"Input is too short, must be at least one character":[null,"Entrada insuficiente. É necessário ao menos um caractere."],"Link":[null,"Link"],"Link to a URL on the internet (you can also link to an API)":[null,"Link para uma URL na internet (você também pode ligar a uma API)"],"Loading...":[null,"Carregando ..."],"No matches found":[null,"Nenhum resultado encontrado"],"Please Confirm Action":[null,"Favor confirmar a ação"],"Remove":[null,"Remover"],"Reorder resource view":[null,"Reordenar visão de recurso"],"Reorder resources":[null,"Reordenar recursos"],"Resource uploaded":[null,"Recurso enviado"],"Save order":[null,"Salvar ordem"],"Saving...":[null,"Salvando..."],"Show more":[null,"Mostrar mais"],"Start typing…":[null,"Comece a digitar ..."],"There are unsaved modifications to this form":[null,"Há modificações não salvas neste formulário"],"There is no API data to load for this resource":[null,"Não existe API de dados para carregar para este recurso"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Não foi possível autenticar o envio"],"Unable to get data for uploaded file":[null,"Não foi possível obter os dados do arquivo carregado"],"Unable to upload file":[null,"Não foi possível enviar o arquivo"],"Unfollow":[null,"Deixar de seguir"],"Upload":[null,"Enviar"],"Upload a file":[null,"Carrega um arquivo"],"Upload a file on your computer":[null,"Enviar um arquivo do seu computador"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Você está enviando um arquivo. Tem certeza de que quer navegar para outra página e parar esse envio?"],"show less":[null,"mostrar menos"],"show more":[null,"mostrar mais"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/ru.js b/ckan/public/base/i18n/ru.js index 9caa80bb0c2..daa31daa6b6 100644 --- a/ckan/public/base/i18n/ru.js +++ b/ckan/public/base/i18n/ru.js @@ -2,7 +2,7 @@ "": { "domain": "ckan", "lang": "ru", - "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);" + "plural-forms": "nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);" }, "An Error Occurred": [ null, diff --git a/ckan/public/base/i18n/ru.min.js b/ckan/public/base/i18n/ru.min.js index af5794b72fa..88db16d8498 100644 --- a/ckan/public/base/i18n/ru.min.js +++ b/ckan/public/base/i18n/ru.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"ru","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);"},"An Error Occurred":[null,"Возникла ошибка"],"Are you sure you want to perform this action?":[null,"Вы уверены, что хотите выполнить это действие?"],"Cancel":[null,"Отменить"],"Confirm":[null,"Потверждение"],"Edit":[null,"Редактировать"],"Failed to load data API information":[null,"Не удалось загрузить данные API "],"Follow":[null,"Следить"],"Hide":[null,"Спрятать"],"Image":[null,"Картинка"],"Input is too short, must be at least one character":[null,"Слишком коротко, должен быть хотя бы один символ"],"Loading...":[null,"Идет загрузка..."],"No matches found":[null,"Совпадений не найдено"],"Please Confirm Action":[null,"Пожалуйста, подтвердите действие"],"Remove":[null,"Удалить"],"Resource uploaded":[null,"Ресурс загружен"],"Show more":[null,"Показать еще"],"Start typing…":[null,"Начните вводить ..."],"There are unsaved modifications to this form":[null,"Есть несохраненные изменения в этой форме"],"There is no API data to load for this resource":[null,"Нет API данных для загрузки для данного ресурса"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Не удается загрузить аутентификации"],"Unable to get data for uploaded file":[null,"Невозможно получить данные для загружаемого файла"],"Unable to upload file":[null,"Невозможно загрузить файл"],"Unfollow":[null,"Не следовать"],"Upload":[null,"Загрузка"],"Upload a file":[null,"Вложить файл"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Вы загружаете файл. Вы уверены что хотите прервать ?"],"show less":[null,"показать меньше"],"show more":[null,"показать еще"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"ru","plural-forms":"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"},"An Error Occurred":[null,"Возникла ошибка"],"Are you sure you want to perform this action?":[null,"Вы уверены, что хотите выполнить это действие?"],"Cancel":[null,"Отменить"],"Confirm":[null,"Потверждение"],"Edit":[null,"Редактировать"],"Failed to load data API information":[null,"Не удалось загрузить данные API "],"Follow":[null,"Следить"],"Hide":[null,"Спрятать"],"Image":[null,"Картинка"],"Input is too short, must be at least one character":[null,"Слишком коротко, должен быть хотя бы один символ"],"Loading...":[null,"Идет загрузка..."],"No matches found":[null,"Совпадений не найдено"],"Please Confirm Action":[null,"Пожалуйста, подтвердите действие"],"Remove":[null,"Удалить"],"Resource uploaded":[null,"Ресурс загружен"],"Show more":[null,"Показать еще"],"Start typing…":[null,"Начните вводить ..."],"There are unsaved modifications to this form":[null,"Есть несохраненные изменения в этой форме"],"There is no API data to load for this resource":[null,"Нет API данных для загрузки для данного ресурса"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Не удается загрузить аутентификации"],"Unable to get data for uploaded file":[null,"Невозможно получить данные для загружаемого файла"],"Unable to upload file":[null,"Невозможно загрузить файл"],"Unfollow":[null,"Не следовать"],"Upload":[null,"Загрузка"],"Upload a file":[null,"Вложить файл"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Вы загружаете файл. Вы уверены что хотите прервать ?"],"show less":[null,"показать меньше"],"show more":[null,"показать еще"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/uk_UA.js b/ckan/public/base/i18n/uk_UA.js index a371bc375a2..a62aca96abf 100644 --- a/ckan/public/base/i18n/uk_UA.js +++ b/ckan/public/base/i18n/uk_UA.js @@ -44,6 +44,14 @@ null, "Ввід надто короткий, має бути хоча би один символ" ], + "Link": [ + null, + "Посилання" + ], + "Link to a URL on the internet (you can also link to an API)": [ + null, + "Додати посилання на адресу в інтернеті (або посилання на API)" + ], "Loading...": [ null, "Завантаження..." @@ -60,10 +68,26 @@ null, "Видалити" ], + "Reorder resource view": [ + null, + "Змінити порядок представлення ресурсу" + ], + "Reorder resources": [ + null, + "Змінити порядок ресурсів" + ], "Resource uploaded": [ null, "Ресурс вивантажено" ], + "Save order": [ + null, + "Зберегти порядок" + ], + "Saving...": [ + null, + "Збереження..." + ], "Show more": [ null, "Показати більше" @@ -108,6 +132,14 @@ null, "Вкласти файл" ], + "Upload a file on your computer": [ + null, + "Вкласти файл з комп’ютера" + ], + "You are uploading a file. Are you sure you want to navigate away and stop this upload?": [ + null, + "Ви вкладаєте файл. Ви впевнені, що хочете перейти на іншу сторінку і припинити вкладення?" + ], "show less": [ null, "показати менше" diff --git a/ckan/public/base/i18n/uk_UA.min.js b/ckan/public/base/i18n/uk_UA.min.js index 70faace3c57..db5bda99205 100644 --- a/ckan/public/base/i18n/uk_UA.min.js +++ b/ckan/public/base/i18n/uk_UA.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"uk_UA","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);"},"An Error Occurred":[null,"Виникла помилка"],"Are you sure you want to perform this action?":[null,"Ви впевнені, що хочете виконати цю операцію?"],"Cancel":[null,"Скасувати"],"Confirm":[null,"Підтвердити"],"Edit":[null,"Редагувати"],"Failed to load data API information":[null,"Не вдалося завантажити інформацію про дані API"],"Follow":[null,"Стежити"],"Hide":[null,"Сховати"],"Image":[null,"Зображення"],"Input is too short, must be at least one character":[null,"Ввід надто короткий, має бути хоча би один символ"],"Loading...":[null,"Завантаження..."],"No matches found":[null,"Збігів не знайдено"],"Please Confirm Action":[null,"Підтвердіть операцію"],"Remove":[null,"Видалити"],"Resource uploaded":[null,"Ресурс вивантажено"],"Show more":[null,"Показати більше"],"Start typing…":[null,"Друкуйте..."],"There are unsaved modifications to this form":[null,"Ця форма містить незбережені зміни"],"There is no API data to load for this resource":[null,"Для цього ресурсу немає доступних для завантаження даних API"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Не вдалося завантажити"],"Unable to get data for uploaded file":[null,"Не вдалось отримати дані з вивантаженого файла"],"Unable to upload file":[null,"Не вдалось вивантажити файл"],"Unfollow":[null,"Не стежити"],"Upload":[null,"Вивантажити"],"Upload a file":[null,"Вкласти файл"],"show less":[null,"показати менше"],"show more":[null,"показати більше"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"uk_UA","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);"},"An Error Occurred":[null,"Виникла помилка"],"Are you sure you want to perform this action?":[null,"Ви впевнені, що хочете виконати цю операцію?"],"Cancel":[null,"Скасувати"],"Confirm":[null,"Підтвердити"],"Edit":[null,"Редагувати"],"Failed to load data API information":[null,"Не вдалося завантажити інформацію про дані API"],"Follow":[null,"Стежити"],"Hide":[null,"Сховати"],"Image":[null,"Зображення"],"Input is too short, must be at least one character":[null,"Ввід надто короткий, має бути хоча би один символ"],"Link":[null,"Посилання"],"Link to a URL on the internet (you can also link to an API)":[null,"Додати посилання на адресу в інтернеті (або посилання на API)"],"Loading...":[null,"Завантаження..."],"No matches found":[null,"Збігів не знайдено"],"Please Confirm Action":[null,"Підтвердіть операцію"],"Remove":[null,"Видалити"],"Reorder resource view":[null,"Змінити порядок представлення ресурсу"],"Reorder resources":[null,"Змінити порядок ресурсів"],"Resource uploaded":[null,"Ресурс вивантажено"],"Save order":[null,"Зберегти порядок"],"Saving...":[null,"Збереження..."],"Show more":[null,"Показати більше"],"Start typing…":[null,"Друкуйте..."],"There are unsaved modifications to this form":[null,"Ця форма містить незбережені зміни"],"There is no API data to load for this resource":[null,"Для цього ресурсу немає доступних для завантаження даних API"],"URL":[null,"URL"],"Unable to authenticate upload":[null,"Не вдалося завантажити"],"Unable to get data for uploaded file":[null,"Не вдалось отримати дані з вивантаженого файла"],"Unable to upload file":[null,"Не вдалось вивантажити файл"],"Unfollow":[null,"Не стежити"],"Upload":[null,"Вивантажити"],"Upload a file":[null,"Вкласти файл"],"Upload a file on your computer":[null,"Вкласти файл з комп’ютера"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Ви вкладаєте файл. Ви впевнені, що хочете перейти на іншу сторінку і припинити вкладення?"],"show less":[null,"показати менше"],"show more":[null,"показати більше"]} \ No newline at end of file diff --git a/ckan/public/base/i18n/vi.js b/ckan/public/base/i18n/vi.js index 9e2e0999b48..078920155b0 100644 --- a/ckan/public/base/i18n/vi.js +++ b/ckan/public/base/i18n/vi.js @@ -68,6 +68,10 @@ null, "Xóa" ], + "Reorder resource view": [ + null, + "Sắp xép lại dữ liệu." + ], "Reorder resources": [ null, "Sắp xếp lại nguồn" diff --git a/ckan/public/base/i18n/vi.min.js b/ckan/public/base/i18n/vi.min.js index 807004cfbdc..62669314bca 100644 --- a/ckan/public/base/i18n/vi.min.js +++ b/ckan/public/base/i18n/vi.min.js @@ -1 +1 @@ -{"":{"domain":"ckan","lang":"vi","plural-forms":"nplurals=1; plural=0;"},"An Error Occurred":[null,"Xuất hiện lỗi"],"Are you sure you want to perform this action?":[null,"Bạn chắc chắn muốn thực hiện hoạt động này"],"Cancel":[null,"Hủy"],"Confirm":[null,"Xác nhận"],"Edit":[null,"Hiệu chỉnh"],"Failed to load data API information":[null,"Không thể tải thông tin giao diện người sử dụng dữ liệu "],"Follow":[null,"Theo dõi"],"Hide":[null,"Ẩn"],"Image":[null,"Hình ảnh"],"Input is too short, must be at least one character":[null,"Kí tự quá ngắn, phải có ít nhất 1 kí tự"],"Link":[null,"Liên kết"],"Link to a URL on the internet (you can also link to an API)":[null,"Liên kết đến một địa chỉ trên mạng ( Bạn cũng có thể liên kết với một giao diện người sử dụng)"],"Loading...":[null,"Đang tải"],"No matches found":[null,"Không tìm thấy"],"Please Confirm Action":[null,"Xác nhận hành động"],"Remove":[null,"Xóa"],"Reorder resources":[null,"Sắp xếp lại nguồn"],"Resource uploaded":[null,"Nguồn đã tải lên"],"Save order":[null,"Lưu"],"Saving...":[null,"Đang lưu"],"Show more":[null,"Hiển thị thêm"],"Start typing…":[null,"Bắt đầu nhập"],"There are unsaved modifications to this form":[null,"Không thể lưu thay đổi theo hình thức này"],"There is no API data to load for this resource":[null,"Không có dữ liệu giao diện người sử dụng để tải nguồn này"],"URL":[null,"Địa chỉ"],"Unable to authenticate upload":[null,"Không thể tải lên giá trị"],"Unable to get data for uploaded file":[null,"Không thể lấy dữ liệu từ tệp đã tải"],"Unable to upload file":[null,"Không thể tải tệp"],"Unfollow":[null,"Không theo dõi"],"Upload":[null,"Tải lên"],"Upload a file":[null,"Tải lên một tệp"],"Upload a file on your computer":[null,"Tải lên một tệp từ máy tính của bạn"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Bạn đang tải tệp. Bạn muốn chuyển hướng và ngừng tải tệp?"],"show less":[null,"Hiển thị ít hơn"],"show more":[null,"Hiển thị thêm"]} \ No newline at end of file +{"":{"domain":"ckan","lang":"vi","plural-forms":"nplurals=1; plural=0;"},"An Error Occurred":[null,"Xuất hiện lỗi"],"Are you sure you want to perform this action?":[null,"Bạn chắc chắn muốn thực hiện hoạt động này"],"Cancel":[null,"Hủy"],"Confirm":[null,"Xác nhận"],"Edit":[null,"Hiệu chỉnh"],"Failed to load data API information":[null,"Không thể tải thông tin giao diện người sử dụng dữ liệu "],"Follow":[null,"Theo dõi"],"Hide":[null,"Ẩn"],"Image":[null,"Hình ảnh"],"Input is too short, must be at least one character":[null,"Kí tự quá ngắn, phải có ít nhất 1 kí tự"],"Link":[null,"Liên kết"],"Link to a URL on the internet (you can also link to an API)":[null,"Liên kết đến một địa chỉ trên mạng ( Bạn cũng có thể liên kết với một giao diện người sử dụng)"],"Loading...":[null,"Đang tải"],"No matches found":[null,"Không tìm thấy"],"Please Confirm Action":[null,"Xác nhận hành động"],"Remove":[null,"Xóa"],"Reorder resource view":[null,"Sắp xép lại dữ liệu."],"Reorder resources":[null,"Sắp xếp lại nguồn"],"Resource uploaded":[null,"Nguồn đã tải lên"],"Save order":[null,"Lưu"],"Saving...":[null,"Đang lưu"],"Show more":[null,"Hiển thị thêm"],"Start typing…":[null,"Bắt đầu nhập"],"There are unsaved modifications to this form":[null,"Không thể lưu thay đổi theo hình thức này"],"There is no API data to load for this resource":[null,"Không có dữ liệu giao diện người sử dụng để tải nguồn này"],"URL":[null,"Địa chỉ"],"Unable to authenticate upload":[null,"Không thể tải lên giá trị"],"Unable to get data for uploaded file":[null,"Không thể lấy dữ liệu từ tệp đã tải"],"Unable to upload file":[null,"Không thể tải tệp"],"Unfollow":[null,"Không theo dõi"],"Upload":[null,"Tải lên"],"Upload a file":[null,"Tải lên một tệp"],"Upload a file on your computer":[null,"Tải lên một tệp từ máy tính của bạn"],"You are uploading a file. Are you sure you want to navigate away and stop this upload?":[null,"Bạn đang tải tệp. Bạn muốn chuyển hướng và ngừng tải tệp?"],"show less":[null,"Hiển thị ít hơn"],"show more":[null,"Hiển thị thêm"]} \ No newline at end of file diff --git a/ckanext/reclineview/theme/public/recline_view.min.js b/ckanext/reclineview/theme/public/recline_view.min.js index dd99ac716a0..58049793ce0 100644 --- a/ckanext/reclineview/theme/public/recline_view.min.js +++ b/ckanext/reclineview/theme/public/recline_view.min.js @@ -1,7 +1,7 @@ this.ckan.module('recline_view',function(jQuery,_){return{options:{i18n:{errorLoadingPreview:"Could not load view",errorDataProxy:"DataProxy returned an error",errorDataStore:"DataStore returned an error",previewNotAvailableForDataType:"View not available for data type: "},site_url:"",controlsClassName:"controls"},initialize:function(){jQuery.proxyAll(this,/_on/);this.options.resource=JSON.parse(this.options.resource);this.options.resourceView=JSON.parse(this.options.resourceView);this.el.ready(this._onReady);L.Icon.Default.imagePath=this.options.site_url+'vendor/leaflet/0.7.3/images';},_onReady:function(){var resourceData=this.options.resource,resourceView=this.options.resourceView;this.loadView(resourceData,resourceView);},loadView:function(resourceData,reclineView){var self=this;function showError(msg){msg=msg||_('error loading view');window.parent.ckan.pubsub.publish('data-viewer-error',msg);} if(resourceData.formatNormalized===''){var tmp=resourceData.url.split('/');tmp=tmp[tmp.length-1];tmp=tmp.split('?');tmp=tmp[0];var ext=tmp.split('.');if(ext.length>1){resourceData.formatNormalized=ext[ext.length-1];}} var errorMsg,dataset;if(!resourceData.datastore_active){recline.Backend.DataProxy.timeout=10000;resourceData.backend='dataproxy';}else{resourceData.backend='ckan';resourceData.endpoint=jQuery('body').data('site-root')+'api';} -dataset=new recline.Model.Dataset(resourceData);var query=new recline.Model.Query();query.set({size:reclineView.limit||100});query.set({from:reclineView.offset||0});if(window.parent.ckan.views&&window.parent.ckan.views.filters){var defaultFilters=reclineView.filters||{},urlFilters=window.parent.ckan.views.filters.get(),filters=$.extend({},defaultFilters,urlFilters);$.each(filters,function(field,values){query.addFilter({type:'term',field:field,term:values});});} +dataset=new recline.Model.Dataset(resourceData);var query=new recline.Model.Query();query.set({size:reclineView.limit||100});query.set({from:reclineView.offset||0});try{if(window.parent.ckan.views&&window.parent.ckan.views.filters){var defaultFilters=reclineView.filters||{},urlFilters=window.parent.ckan.views.filters.get(),filters=$.extend({},defaultFilters,urlFilters);$.each(filters,function(field,values){query.addFilter({type:'term',field:field,term:values});});}}catch(e){} dataset.queryState.set(query.toJSON(),{silent:true});errorMsg=this.options.i18n.errorLoadingPreview+': ' if(resourceData.backend=='ckan'){errorMsg+=this.options.i18n.errorDataStore;}else if(resourceData.backend=='dataproxy'){errorMsg+=this.options.i18n.errorDataProxy;} dataset.fetch().done(function(dataset){self.initializeView(dataset,reclineView);}).fail(function(error){if(error.message)errorMsg+=' ('+error.message+')';showError(errorMsg);});},initializeView:function(dataset,reclineView){var view,state,controls=[];if(reclineView.view_type==="recline_graph_view"){state={"graphType":reclineView.graph_type,"group":reclineView.group,"series":[reclineView.series]};view=new recline.View.Graph({model:dataset,state:state});}else if(reclineView.view_type==="recline_map_view"){state={geomField:null,latField:null,lonField:null,autoZoom:Boolean(reclineView.auto_zoom),cluster:Boolean(reclineView.cluster_markers)};if(reclineView.map_field_type==="geojson"){state.geomField=reclineView.geojson_field;}else{state.latField=reclineView.latitude_field;state.lonField=reclineView.longitude_field;}