-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathguf_locale.js
251 lines (213 loc) · 14.1 KB
/
guf_locale.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
/*
This file is part of NiMMbus system. NiMMbus is a solution for
storing geospatial resources on the MiraMon private cloud.
MiraMon is a family of GIS&RS products developed since 1994
and includes a desktop GIS, a desktop Metadata Manager, a
Web Map Browser and the NiMMbus system.
The NiMMbus JavaScript client is free software: you can redistribute
it and/or modify it under the terms of the GNU Affero General
Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.
The NiMMbus JavaScript client is distributed in the hope that
it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General
Public License along with the NiMMbus JavaScript Client.
If not, see https://www.gnu.org/licenses/licenses.html#AGPL.
The NiMMbus JavaScript Client can be updated from
https://github.com/grumets/NiMMbus.
Copyright 2014, 2024 Xavier Pons
Aquest codi JavaScript ha estat idea de Joan Masó Pau (joan maso at uab cat)
amb l'ajut de l'Alaitz Zabala (alaitz zabala at uab cat)
dins del grup del MiraMon. MiraMon és un projecte del
CREAF que elabora programari de Sistema d'Informació Geogràfica
i de Teledetecció per a la visualització, consulta, edició i anàlisi
de mapes ràsters i vectorials. Aquest programari inclou
aplicacions d'escriptori i també servidors i clients per Internet.
No tots aquests productes són gratuïts o de codi obert.
En particular, el client JavaScript del NiMMbus es distribueix sota
els termes de la llicència GNU Affero General Public License,
mireu https://www.gnu.org/licenses/licenses.html#AGPL.
El client JavaScript del NiMMbus es pot actualitzar des de
https://github.com/grumets/NiMMbus.
*/
"use strict"
var Msg_Indefinit={cat: "Indefinit", spa: "Indefinido", eng: "Undefined", fre: "Indéfini"};
// *****************************
// * GUF standard code lists *
// *****************************
// GUF Table 1 - Contents of data dictionary tables
// GUF Table 2 - QCM_Publication extension elements
// GUF Table 3 - QCM_CitationMotivationCode type
/*var QCM_CitationMotivationCode=
"compare
"derive
"describe
"evaluate
"comment
"use
"highlight
"moderate
"question
"reply
"link*/
// GUF Table 4 - QCM_PublicationCategoryCode type
var QCM_PublicationCategoryCode={"undefined": Msg_Indefinit,
"bookChapter": {cat: "Capítol de llibre", spa: "Capítulo de libro", eng: "Book chapter", fre: "Chapitre du livre"},
"book": {cat: "Llibre", spa: "Libro", eng: "Book", fre: "Livre"},
"report": {cat: "Informe", spa: "Informe", eng: "Report", fre: "Rapport"},
"journalArticle": {cat: "Article de revista", spa: "Artículo de revista", eng: "Journal article", fre: "Article de journal"},
"magazineNewspaper": {cat: "Revista o diari", spa: "Revista o periódico", eng: "Magazine or Newspaper", fre: "Magazine ou journal"},
"atlasMap": {cat: "Atles o mapa (imprès o digital)", spa: "Atlas o mapa (impreso o digital)", eng: "Atlas or map (printed or digital)", fre: "Atlas ou carte (imprimé ou numérique)"},
"applicationProgram": {cat: "Programa", spa: "Programa", eng: "Application program", fre: "Programme d'application"},
"conferenceProceedings": {cat: "Actes de congressos", spa: "Actas de congresos", eng: "Conference proceedings", fre: "Actes de la conférence"},
"cdDvdBlueRay": {cat: "Paquet de dades multimèdia (suport físic o a Internet)", spa: "Paquete de datos multimedia (soporte físico o en Internet)", eng: "Multimedia package (physical support or Internet)", fre: "Paquet multimédia (support physique ou Internet)"},
"socialMediaComment": {cat: "Comentari xarxes socials (p.ex. tuit)", spa: "Comentario redes sociales (p.ej. tuit)", eng: "Social media comment (e.g. tweet)", fre: "Commentaire sur les médias sociaux (par exemple, tweet)"},
"blogWiki": {cat: "Entrada a un bloc o una wiki", spa: "Entrada en un bloc o una wiki", eng: "Blog or wiki entry", fre: "Blog ou entrée wiki"},
"webSite": {cat: "Pàgina web completa", spa: "Página web completa", eng: "Complete web site", fre: "Site web complet"},
"webPage": {cat: "Pàgina web", spa: "Página web", eng: "Web page", fre: "page Web"},
"videoAudio": {cat: "Vídeo o àudio", spa: "Vídeo o audio", eng: "Video or audio", fre: "Vidéo ou audio"},
"tutorialManual": {cat: "Tutorial o Manual", spa: "Tutorial o Manual", eng: "Tutorial or Manual", fre: "Tutoriel ou manuel"}};
// GUF Table 5 - QCM_ DiscoveredIssue data type
// GUF Table 6 - GUF_FeedbackItem data type
// GUF Table 7 - GUF_UserInformation data type
// GUF Table 8 - GUF_UserRoleCode code list
var GUF_UserRoleCode={"commercialDataProd": {cat: "Productor comercial de dades", spa: "Productor comercial de datos", eng: "Commercial data producer", fre: "Producteur de données commerciales"},
"commercialAddedValue": {cat: "Afegir valor a les dades comercials", spa: "Añadir valor a los datos comerciales", eng: "Commercial added value", fre: "Valeur ajoutée commerciale"},
"researchDataProd": {cat: "Productor de dades científiques", spa: "Productor de datos científicos", eng: "Scientific data producer", fre: "Producteur de données scientifiques"},
"researchEndUser": {cat: "Usuari científic final", spa: "Usuario científico final", eng: "Research end user", fre: "Recherche utilisateur final"},
"decisionMaker": {cat: "Responsables de presa de decisions", spa: "Responsables de toma de decisiones", eng: "Decision maker", fre: "Décideur"},
"generalPublic": {cat: "Públic general", spa: "Público general", eng: "General public", fre: "Grand public"}};
// GUF Table 9 - GUF_FeedbackTarget data type
// GUF Table 10 - GUF_TargetRoleCode code list
var GUF_TargetRoleCode={"undefined": Msg_Indefinit,
"primary": {cat: "Primari", spa: "Primario", eng: "Primary", fre: "Principale"},
"secondary": {cat: "Secundari", spa: "Secundario", eng: "Secondary", fre: "Secondaire"},
"supplementary": {cat: "Suplementari", spa: "Suplementario", eng: "Supplementary", fre: "Supplémentaire"}};
// GUF Table 11 - GUF_UserComment data type
// GUF Table 12 - GUF_MotivationCode code list
var GUF_MotivationCode={"undefined": Msg_Indefinit,
"comment": {cat: "Comentari", spa: "Comentario", eng: "Comment", fre: "Commentaire"},
"question": {cat: "Pregunta", spa: "Pregunta", eng: "Question", fre: "Question"},
"answer": {cat: "Solució", spa: "Solución", eng: "Answer", fre: "Solution"},
"acceptedAnswer": {cat: "Solució acceptada", spa: "Solución acceptada", eng: "Accepted answer", fre: "Solution acceptée"},
"response": {cat: "Resposta", spa: "Respuesta", eng: "Response", fre: "Réponse"},
"justification": {cat: "Justificació", spa: "Justificación", eng: "Justification", fre: "Justification"},
"resolution": {cat: "Resolució", spa: "Resolución", eng: "Resolution", fre: "Résolution"},
"moderation": {cat: "Moderació", spa: "Moderación", eng: "Moderation", fre: "Modération"}};
// GUF Table 13 - GUF_UsageReport data type
// GUF Table 14 - GUF_ReportAspectCode code list
var GUF_ReportAspectCode={
"usage": {cat: "Ús", spa: "Uso", eng: "Usage", fre: "Usage"},
"fitnessForPurpose": {cat: "Adequació a un propòsit", spa: "Adecuación a un propósito", eng: "Fitness for purpose", fre: "Aptitude à l'emploi"},
"limitation": {cat: "Limitació", spa: "Limitación", eng: "Limitation", fre: "Limitation"},
"alternative": {cat: "Alternativa", spa: "Alternativa", eng: "Alternative", fre: "Alternative"},
"problem": {cat: "Problema", spa: "Problema", eng: "Problem", fre: "Problème"}};
// GUF Table 15 - GUF_Rating data type
// GUF Table 16 - GUF_SignificantEvent data type
// GUF Table 17 - GUF_SignificantEventTypeCode code list
/*var GUF_SignificantEventTypeCode={"undefined": Msg_Indefinit,
"hurricaneNatural":
"volcanicEruptionNatural":
"elNinoNatural":
"droughtNatural":
"stormNatural":
"wildfireNatural":
"floodNatural":
"earthquakeNatural":
"tsunamiNatural":
"ifsEvent":
"systemEvent":
"satelliteAnomaly":
"dropsondeAnomaly":
"aircraftAnomaly":
"buoyAnomaly":
"shipAnomaly":
"landStationAnomaly":
"mobileSensorAnomaly":
"sensorAlarm": };*/
// GUF Table 18 - GUF_RatingCode numeric code type
/*var GUF_RatingCode=
1 oneStar Very bad
2 twoStars Bad
3 threeStars Regular
4 fourStars Good
5 fiveStars Excellent */
// GUF Table 19 - GUF_ThumbsCode numeric code type
/*var GUF_ThumbsCode=
-1 thumbsDown Thumbs down
1 thumbsUp Thumbs up */
// GUF Table 20 - GUF_SignCode numeric code type
/* var GUF_SignCode=
-1 negative Negative
0 neutral Neutral
1 positive Positive*/
// GUF Table 21 - UFS_FeedbackSummary data type
// GUF Table 22 - UFS_ExpertiseLevelCount data type
// GUF Table 23 - UFS_UserRoleCount data type
// GUF Table 24 - UFS_TagCount data type
// GUF Table 25 - UFS_KeywordCount data type
// GUF Table 26 - UFS_RatingCount data type
// GUF Table 27 - UFS_RatingExpertiseLevelCount data type
// GUF Table 28 - UFC_FeedbackResponse data type
// GUF Table 29 - UFC_FeedbackCollection data type
// GUF Table 30 - UFC_ResponsePagination data type
// ******************************
// * Other standards code lists *
// ******************************
//Some Fre from https://www.fgdc.gov/nap/metadata/register/registerItemClasses.html#IC_85
var CI_OnLineFunctionCode={"undefined": Msg_Indefinit,
"download": {cat: "Descàrrega", spa: "Descarga", eng: "Download", fre: "Téléchargement"},
"information": {cat: "Informació", spa: "Información", eng: "Information", fre: "Information"},
"offlineAccess": {cat: "Accés fora de línia", spa: "Acceso fuera de línea", eng: "Offline access", fre: "Accès hors ligne"},
"order": {cat: "Comandes", spa: "Encargos", eng: "Order", fre: "Commande"},
"search": {cat: "Cerca", spa: "Búsqueda", eng: "Search", fre: "Recherche"},
"completeMetadata": {cat: "Metadades completes", spa: "Metadatos completos", eng: "Complete Metadata", fre: "Métadonnées complètes"},
"browseGraphic": {cat: "Exploració", spa: "Exploración", eng: "View", fre: "Vue"},
"upload": {cat: "Càrrega", spa: "Carga", eng: "Upload", fre: "Téléversement"},
"emailService": {cat: "Servei de correu electrònic", spa: "Servicio de correo electrónico", eng: "Email service", fre: "Service courriel"},
"browsing": {cat: "Navegació", spa: "Navegación", eng: "Browsing", fre: "Ffuretage"},
"fileAccess":{cat: "Accés a fitxer", spa: "Acceso a fichero", eng: "File access", fre: "Accès au fichier"}};
//CI_PresentationFormCode ...
//CI_DateTypeCode
var CI_DateTypeCode={"undefined": Msg_Indefinit,
"creation": {cat: "creació", spa: "creación", eng: "creation", fre: "création"},
"publication": {cat: "publicació", spa: "publicación", eng: "publication", fre: "publication"},
"revision": {cat: "revisió", spa: "revisión", eng: "revision", fre: "révision"},
"expiry": {cat: "expiració", spa: "expiración", eng: "expiry", fre: "expiration"},
"lastUpdate": {cat: "darrera actualització", spa: "última actualitzación", eng: "last update", fre: "dernière mise à jour"},
"lastRevision": {cat: "darrera revisió", spa: "última revisión", eng: "last revision", fre: "dernière révision"},
"nextUpdate": {cat: "propera actualització", spa: "próxima actualización", eng: "", fre: "prochaine mise à jour"},
"unavailable": {cat: "no disponible", spa: "no disponible", eng: "unavailable", fre: "non disponible"},
"inForce": {cat: "en vigor", spa: "en vigor", eng: "in force", fre: "en vigueur"},
"adopted": {cat: "adoptada", spa: "adoptada", eng: "adopted", fre: "adoptée"},
"deprecated": {cat: "obsoleta", spa: "obsoleta", eng: "deprecated", fre: "réprouvée"},
"superseded": {cat: "sustituïda", spa: "sustituida", eng: "superseded", fre: "remplacée"},
"validityBegins": {cat: "inici validesa", spa: "inicio validez", eng: "validity begin", fre: "début de validité"},
"validityExpires": {cat: "fi validesa", spa: "fin validez", eng: "validity end", fre: "validité finale"},
"released": {cat: "divulgación", spa: "divulgación", eng: "release", fre: "sortie"},
"distribution": {cat: "distribució", spa: "distribución", eng: "distribution", fre: "diffusion"}};
//MD_ScopeCode ...
//CI_RoleCode
var CI_RoleCode={"undefined": Msg_Indefinit,
"resourceProvider": {cat: "Proveïdor de recursos", spa: "Proveedor de recursos", eng: "Resource provider", fre: "Fournisseur ressource"},
"custodian": {cat: "Custodi", spa: "Custodio", eng: "Custodian", fre: "Conservateur"},
"owner": {cat: "Propietari", spa: "Propietario", eng: "Owner", fre: "Propriétaire"},
"user": {cat: "Usuari", spa: "Usuario", eng: "User", fre: "Utilisateur"},
"distributor": {cat: "Distribuïdor", spa: "Distribuidor", eng: "Distributor", fre: "Distributeur"},
"originator": {cat: "Originador", spa: "Originador", eng: "Originator", fre: "Créateur"},
"pointOfContact": {cat: "Punt de contacte", spa: "Punto de contacto", eng: "Point of contact", fre: "Contact"},
"principalInvestigator": {cat: "Investigador principal", spa: "Investigador principal", eng: "Principal investigator", fre: "Chercheur Principal"},
"processor": {cat: "Processador", spa: "Procesador", eng: "Processor", fre: "Traiteur"},
"publisher": {cat: "Editor", spa: "Editor", eng: "Publisher", fre: "Éditeur"},
"author": {cat: "Autor", spa: "Autor", eng: "Author", fre: "Auteur"},
"sponsor": {cat: "Patrocinador", spa: "Patrocinador", eng: "Sponsor", fre: "Parrainer"},
"coAuthor": {cat: "Coautor", spa: "Coautor", eng: "Co-author", fre: "Coauteur"},
"collaborator": {cat: "Col·laborador", spa: "Colaborador", eng: "Collaborator", fre: "Collaborateur"},
"editor": {cat: "Editor", spa: "Editor", eng: "Editor", fre: "Réviseur"},
"mediator": {cat: "Mediador", spa: "Mediador", eng: "Mediator", fre: "Médiateur"},
"rightsHolder": {cat: "Titular dels drets", spa: "Titular de derechos", eng: "Rights holder", fre: "Détenteur droits"},
"contributor": {cat: "Col·laborador", spa: "Contribuyente", eng: "Contributor", fre: "Donateur"},
"funder": {cat: "Finançador", spa: "Financiador", eng: "Funder", fre: "Bailleur de fonds"},
"stakeholder": {cat: "Interessat", spa: "Interesado", eng: "Stakeholder", fre: "Intervenant"}};