Skip to content

Commit

Permalink
mvp-tema-i18n (#9): hin-Deva adicionado
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Jun 18, 2021
1 parent a881089 commit 119f500
Show file tree
Hide file tree
Showing 7 changed files with 340 additions and 173 deletions.
132 changes: 132 additions & 0 deletions _data/expandendum/schemam.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,80 @@
],
"experimentum_est": true
},
{
"uid": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/",
"xdefallo": "/mul-Zyyy/schemam/XZ/ISO-639-3/",
"xdefallo_est": false,
"linguam": "{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}",
"typum": "schemam",
"gid": "XZ",
"lid": "{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}",
"nomen": "{% _🗣️ 📝hin-Deva📝 ISO_639-3_nomen 📝hin-Deva📝 🗣️_ %}",
"titulum": "{% _🗣️ 📝hin-Deva📝 schemam_datum_nomen 📝hin-Deva📝 🗣️_ %}: {% _🗣️ 📝hin-Deva📝 ISO_639-3_nomen 📝hin-Deva📝 🗣️_ %}",
"summarius": "{% _🗣️ 📝hin-Deva📝 ISO_639-3_summarius 📝hin-Deva📝 🗣️_ %}",
"situs_interretialis": {
"referens_officinale": [
{
"iri": "http://iso639-3.sil.org/"
}
],
"vicipaedia": [
{
"iri": "https://en.wikipedia.org/wiki/ISO_639-3"
}
]
},
"wikidatum": [
{
"codicem": "Q845956"
}
],
"archivum": {
"referens_officinale": [
{
"iri": "https://iso639-3.sil.org/code_tables/download_tables"
},
{
"iri": "https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab"
}
],
"schemam": {
"graphql": [
{
"iri": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}.sql"
}
],
"json": [
{
"iri": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}.json"
},
{
"iri": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}_macrolanguages.json"
}
],
"sql": [
{
"iri": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}.sql"
}
]
}
},
"__translationem": [
{
"fontem": "/schemam/XZ/ISO-639-3/ISO-639-3.🗣️.json",
"objectivum": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}.json"
},
{
"fontem": "/schemam/XZ/ISO-639-3/ISO-639-3_macrolanguages.🗣️.json",
"objectivum": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}_macrolanguages.json"
},
{
"fontem": "/schemam/XZ/ISO-639-3/ISO-639-3.🗣️.sql",
"objectivum": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_639-3_slug 📝hin-Deva📝 🗣️_ %}.sql"
}
],
"experimentum_est": true
},
{
"uid": "/mul-Zyyy/schemam/XZ/ISO-15924/",
"xdefallo": "/mul-Zyyy/schemam/XZ/ISO-15924/",
Expand Down Expand Up @@ -502,5 +576,63 @@
}
],
"experimentum_est": true
},
{
"uid": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_15924_slug 📝hin-Deva📝 🗣️_ %}/",
"xdefallo": "/mul-Zyyy/schemam/XZ/ISO-15924/",
"linguam": "{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}",
"typum": "schemam",
"gid": "XZ",
"lid": "{% _🗣️ 📝hin-Deva📝 ISO_15924_slug 📝hin-Deva📝 🗣️_ %}",
"nomen": "{% _🗣️ 📝hin-Deva📝 ISO_15924_nomen 📝hin-Deva📝 🗣️_ %}",
"titulum": "{% _🗣️ 📝hin-Deva📝 schemam_datum_nomen 📝hin-Deva📝 🗣️_ %}: {% _🗣️ 📝hin-Deva📝 ISO_15924_nomen 📝hin-Deva📝 🗣️_ %}",
"summarius": "{% _🗣️ 📝hin-Deva📝 ISO_15924_summarius 📝hin-Deva📝 🗣️_ %}",
"situs_interretialis": {
"referens_officinale": [
{
"iri": "https://www.unicode.org/iso15924/"
},
{
"iri": "https://www.iso.org/obp/ui/#iso:std:iso:15924:ed-1:v1:en",
"paywall": true
}
],
"vicipaedia": [
{
"iri": "https://pt.wikipedia.org/wiki/ISO_15924",
"linguam": "por-Latn"
},
{
"iri": "https://en.wikipedia.org/wiki/ISO_15924",
"linguam": "eng-Latn"
}
]
},
"wikidatum": [
{
"codicem": "Q16866"
}
],
"archivum": {
"referens_officinale": [
{
"iri": "https://www.unicode.org/iso15924/iso15924.txt"
}
],
"schemam": {
"json": [
{
"iri": "/schema/iso/iso15924/eng/iso15924.json"
}
]
}
},
"__translationem": [
{
"fontem": "/schemam/XZ/ISO-15924/ISO-15924.🗣️.json",
"objectivum": "/{% _🗣️ 📝hin-Deva📝 L10N_ego_codicem 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 Hapi_schemam_slug 📝hin-Deva📝 🗣️_ %}/XZ/{% _🗣️ 📝hin-Deva📝 ISO_15924_slug 📝hin-Deva📝 🗣️_ %}/{% _🗣️ 📝hin-Deva📝 ISO_15924_slug 📝hin-Deva📝 🗣️_ %}.json"
}
],
"experimentum_est": true
}
]
7 changes: 3 additions & 4 deletions _data/navigationem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

principale:

- nomen: "🇺🇳UN🇺🇳"
- nomen: '{% _🗣️ Hapi_locum_UN_nomen_emoji 🗣️_ %}'
iri: "#"
descendens:
- xdefallo: /mul-Zyyy/api/UN/HDX/
Expand Down Expand Up @@ -48,7 +48,7 @@ principale:
- nomen: <span lang="en" dir="ltr">UN HTCDS</span>
debile: true

- nomen: "🌐001🌐"
- nomen: '{% _🗣️ Hapi_locum_001_nomen_emoji 🗣️_ %}'
iri: "#"
descendens:
- xdefallo: /mul-Zyyy/api/XZ/HXL-Proxy/
Expand All @@ -73,8 +73,7 @@ principale:
# iri: '/{% _🗣️ 🔎🔕🔍 L10N_ego_codicem 🔎🔕🔍 🗣️_ %}/#{% _🗣️ 🔎🔕🔍 ISO_15924_slug 🔎🔕🔍 🗣️_ %}'
iri: '/{% _🗣️ 🔎🔕🔍 L10N_ego_codicem 🔎🔕🔍 🗣️_ %}/{% _🗣️ 🔎🔕🔍 Hapi_schemam_slug 🔎🔕🔍 🗣️_ %}/XZ/{% _🗣️ 🔎🔕🔍 ISO_15924_slug 🔎🔕🔍 🗣️_ %}/'


- nomen: "🇧🇷076🇧🇷"
- nomen: '{% _🗣️ Hapi_locum_076_nomen_emoji 🗣️_ %}'
iri: '#'
descendens:
- xdefallo: /mul-Zyyy/api/BR/portais-ckan-brasil/
Expand Down
27 changes: 27 additions & 0 deletions _data/referens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
# - 'ignōrandum'
# - https://en.wiktionary.org/wiki/ignoro#Latin

# TODO: _[eng-Latn] add more writting systems,
# @see https://www.worldatlas.com/articles/the-world-s-most-popular-writing-scripts.html
# [eng-Latn]_

# Tool: https://www.convert-me.com/en/convert/hex_octal_binary_roman/numdec/numdec-to-numeastarabic.html

api_gid:
- "UN"
- "XZ"
Expand All @@ -36,6 +42,8 @@ schemam:
paginam_linguam_experimentum:
# - arb-Arab # Se nem mesmo slugs estiverem traduzidos, gera URLs repetidas
- spa-Latn
# - arb-Arab
- hin-Deva

# @see _plugins/hapi/drops/globum_drop.rb
gid:
Expand Down Expand Up @@ -101,6 +109,20 @@ linguam:
- "+i_ara+is_arab"
- "+i_ara"
- "+i_ar"
hin-Deva: &id_linguam_hin-Deva
BCP47: hi
hxlattrs: # deprecated
- "+i_hi+i_hin+is_deva"
- "+i_hin+is_deva"
- "+i_hin"
- "+i_hi"
hxl:
attributum:
- "+i_hi+i_hin+is_deva"
- "+i_hin+is_deva"
- "+i_hin"
- "+i_hi"

eng-Latn: &id_linguam_eng-Latn
BCP47: en
hxlattrs: # deprecated
Expand Down Expand Up @@ -235,6 +257,10 @@ praeiudico:
iso15924: Arab
iso6391: ar
htmldir: rtl
hin: &id_praeiudico_iso3693_hin
iso15924: Deva
iso6391: hi
htmldir: ltr
spa: &id_praeiudico_iso3693_spa
iso15924: Latn
iso6391: es
Expand All @@ -256,6 +282,7 @@ praeiudico:
ar: *id_praeiudico_iso3693_ara
en: *id_praeiudico_iso3693_eng
es: *id_praeiudico_iso3693_spa
hi: *id_praeiudico_iso3693_hin

alternandum:
Arab: [] # TODO Arab
Expand Down
Loading

0 comments on commit 119f500

Please sign in to comment.