diff --git a/_data/expandendum/schemam.json b/_data/expandendum/schemam.json index 3fbfc3a..21fe5cc 100644 --- a/_data/expandendum/schemam.json +++ b/_data/expandendum/schemam.json @@ -6,7 +6,6 @@ "typum": "schemam", "gid": "XZ", "lid": "ISO-639-3", - "lid_l10n": "{% _🗣️ ISO_639-3_slug 🗣️_ %}", "namen": "{% _🗣️ ISO_639-3_nomen 🗣️_ %}", "summarius": "{% _🗣️ ISO_639-3_summarius 🗣️_ %}", "situs_interretialis": { @@ -41,6 +40,51 @@ } } }, + { + "farmulam": { + "structuram": { + "xdefallo": "/mul-Zyyy/schemam/XZ/ISO-639-3", + "xdefallo_est": 0, + "linguam": "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_slug 📝und-Zyyy📝 🗣️_ %}", + "typum": "schemam", + "gid": "XZ", + "lid": "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_slug 📝und-Zyyy📝 🗣️_ %}", + "namen": "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_nomen 📝und-Zyyy📝 🗣️_ %}", + "summarius": "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_summarius 📝und-Zyyy📝 🗣️_ %}", + "situs_interretialis": { + "referens_officinale": [ + "http://iso639-3.sil.org/" + ], + "vicipaedia": [ + "https://en.wikipedia.org/wiki/ISO_639-3" + ] + }, + "wikidatum": [ + { + "codicem": "Q845956" + } + ], + "archivum": { + "officinale": [ + "https://iso639-3.sil.org/code_tables/download_tables", + "https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab" + ], + "schemam": { + "graphql": [ + "/schema/iso/iso639-3/eng/iso639-3.graphql" + ], + "json": [ + "/schema/iso/iso639-3/eng/iso639-3.json", + "/schema/iso/iso639-3/eng/iso639-3_macrolanguages.json" + ], + "sql": [ + "/schema/iso/iso639-3/eng/iso639-3.sql" + ] + } + } + } + } + }, { "xdefallo": "/mul-Zyyy/schemam/XZ/ISO-15924", "xdefallo_est": 1, @@ -48,10 +92,10 @@ "typum": "schemam", "gid": "XZ", "lid": "ISO-15924", - "lid_l10n": "{% _🗣️ ISO_15924_slug 🗣️_ %}", - "namen": "{% _🗣️ ISO_15924_nomen 🗣️_ %}", - "namen_l10n": "{% _🗣️ ISO_15924_nomen 🗣️_ %}", - "summarius": "{% _🗣️ ISO_15924_summarius 🗣️_ %}", + "lid_l10n": "{% _🗣️ 📝und-Zyyy📝 ISO_15924_slug 📝und-Zyyy📝 🗣️_ %}", + "namen": "{% _🗣️ 📝und-Zyyy📝 ISO_15924_nomen 📝und-Zyyy📝 🗣️_ %}", + "namen_l10n": "{% _🗣️ 📝und-Zyyy📝 ISO_15924_nomen 📝und-Zyyy📝 🗣️_ %}", + "summarius": "{% _🗣️ 📝und-Zyyy📝 ISO_15924_summarius 📝und-Zyyy📝 🗣️_ %}", "summarius_l10n": "{% _🗣️ ISO_15924_summarius 🗣️_ %}", "situs_interretialis": { "referens_officinale": [ diff --git a/_data/l10n/.gitignore b/_data/l10n/.gitignore index 68c1884..db0213c 100644 --- a/_data/l10n/.gitignore +++ b/_data/l10n/.gitignore @@ -3,5 +3,6 @@ # _data/mappam-situm.yml => _data/l10n/mappam-situm.l10n.json # _data/referens.yml => _data/l10n/referens.l10n.json # _data/schema.yml => _data/l10n/schema.l10n.json +# _data/schemam.yml => _data/expandendum/schemam.json => _data/l10n/schemam.l10n.json *.l10n.json diff --git a/_data/referens.yml b/_data/referens.yml index 0f48b1d..98faace 100644 --- a/_data/referens.yml +++ b/_data/referens.yml @@ -27,12 +27,13 @@ schema_gid: - "XZ" schemam: - linguam: - - por-Latn - - eng-Latn - linguam_opus_in_progressu: - - arb-Arab - - spa-Latn + defallo: + linguam: + - por-Latn + - eng-Latn + linguam_opus_in_progressu: + - arb-Arab + - spa-Latn # @see _plugins/hapi/drops/globum_drop.rb gid: @@ -165,6 +166,7 @@ linguam: - "+i_spa+is_latn" - "+i_spa" - "+i_es" + ## Noticia: ## _[por] Em geral, vamos usar Português (genérico) e evitar usar pt_BR ## ou pt_PT. Isso faz sentido em outras línguas onde a diferença é @@ -198,6 +200,13 @@ linguam: # - "+i_por" # - "+i_pt" + # und-Zyyy undetermined linguam-> undetermined scriptum + und-Zyyy: &id_linguam_und-Zyyy + BCP47: '' + hxlattrs: [] + hxl: + attributum: [] + # _[por] Forma preconceituosa de assumir script do idioma. Note que vários # idiomas podem ser escritos em mais de um alfabeto (e isso ocorre diff --git a/_data/schemam.yml b/_data/schemam.yml index ea46299..3664500 100644 --- a/_data/schemam.yml +++ b/_data/schemam.yml @@ -1,12 +1,16 @@ # _data/schemam.yml +# GitHub seems to restrict 10GB; Biggest Git Is windows, 270GB +# @see https://www.quora.com/What-is-the-practical-maximum-size-of-a-Git-repository-full-of-text-based-data +# @see https://vfsforgit.org/ + - xdefallo: /mul-Zyyy/schemam/XZ/ISO-639-3 xdefallo_est: 1 linguam: mul-Zyyy typum: schemam gid: XZ lid: ISO-639-3 # ISO_639-3_slug - lid_l10n: "{% _🗣️ ISO_639-3_slug 🗣️_ %}" + # lid_l10n: "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_slug 📝und-Zyyy📝 🗣️_ %}" namen: "{% _🗣️ ISO_639-3_nomen 🗣️_ %}" summarius: "{% _🗣️ ISO_639-3_summarius 🗣️_ %}" situs_interretialis: @@ -33,16 +37,47 @@ # - linguam: eng-Latn # - linguam: por-Latn +- farmulam: &id_mul-Zyyy_schemam_XZ_ISO-639-3 + structuram: + xdefallo: /mul-Zyyy/schemam/XZ/ISO-639-3 + xdefallo_est: 0 + linguam: "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_slug 📝und-Zyyy📝 🗣️_ %}" # Exemplum: por-Latn + typum: schemam + gid: XZ + lid: "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_slug 📝und-Zyyy📝 🗣️_ %}" # # Exemplum: ISO-639-3 + namen: "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_nomen 📝und-Zyyy📝 🗣️_ %}" + summarius: "{% _🗣️ 📝und-Zyyy📝 ISO_639-3_summarius 📝und-Zyyy📝 🗣️_ %}" + situs_interretialis: + referens_officinale: + - http://iso639-3.sil.org/ + vicipaedia: + - https://en.wikipedia.org/wiki/ISO_639-3 + wikidatum: + - codicem: Q845956 + archivum: + officinale: + - https://iso639-3.sil.org/code_tables/download_tables + - https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab + # referens_alternativum_nomen + schemam: + graphql: + - /schema/iso/iso639-3/eng/iso639-3.graphql # TODO: localize + json: + - /schema/iso/iso639-3/eng/iso639-3.json # TODO: localize + - /schema/iso/iso639-3/eng/iso639-3_macrolanguages.json # TODO: localize + sql: + - /schema/iso/iso639-3/eng/iso639-3.sql # TODO: localize + - xdefallo: /mul-Zyyy/schemam/XZ/ISO-15924 xdefallo_est: 1 linguam: mul-Zyyy typum: schemam gid: XZ lid: ISO-15924 # ISO_15924_slug - lid_l10n: "{% _🗣️ ISO_15924_slug 🗣️_ %}" - namen: "{% _🗣️ ISO_15924_nomen 🗣️_ %}" - namen_l10n: "{% _🗣️ ISO_15924_nomen 🗣️_ %}" - summarius: "{% _🗣️ ISO_15924_summarius 🗣️_ %}" + lid_l10n: "{% _🗣️ 📝und-Zyyy📝 ISO_15924_slug 📝und-Zyyy📝 🗣️_ %}" + namen: "{% _🗣️ 📝und-Zyyy📝 ISO_15924_nomen 📝und-Zyyy📝 🗣️_ %}" + namen_l10n: "{% _🗣️ 📝und-Zyyy📝 ISO_15924_nomen 📝und-Zyyy📝 🗣️_ %}" + summarius: "{% _🗣️ 📝und-Zyyy📝 ISO_15924_summarius 📝und-Zyyy📝 🗣️_ %}" summarius_l10n: "{% _🗣️ ISO_15924_summarius 🗣️_ %}" situs_interretialis: referens_officinale: diff --git a/_plugins/jekyll_hapi_hooks.rb b/_plugins/jekyll_hapi_hooks.rb index 4fac9c3..ef8c5a9 100644 --- a/_plugins/jekyll_hapi_hooks.rb +++ b/_plugins/jekyll_hapi_hooks.rb @@ -57,6 +57,18 @@ #### /data/ __________________________________________________________________ + # if File.file?(File.join(site.dest, '/data/api.l10n.json')) && \ + # (!File.file?(File.join(site.source, '/_data/l10n/api.l10n.json')) || !FileUtils.compare_file( + # File.join(site.dest, '/data/api.l10n.json'), + # File.join(site.source, '/_data/l10n/api.l10n.json') + # )) + # puts 'jekyll_hapi_hooks: cp _site/data/api.l10n.json _data/api.l10n.json' + # FileUtils.cp( + # File.join(site.dest, '/data/api.l10n.json'), + # File.join(site.source, '/_data/l10n/api.l10n.json') + # ) + # end + if File.file?(File.join(site.dest, '/data/api.l10n.json')) && \ (!File.file?(File.join(site.source, '/_data/l10n/api.l10n.json')) || !FileUtils.compare_file( File.join(site.dest, '/data/api.l10n.json'), diff --git a/documentum/data/schemam.l10n.json b/documentum/data/schemam.l10n.json index 6f4174f..959b536 100644 --- a/documentum/data/schemam.l10n.json +++ b/documentum/data/schemam.l10n.json @@ -10,4 +10,4 @@ iso6391: pt iso6393: por iso15924: Latn --- -{{- site.data['schemam'] | bellum_json | liquify -}} +{{- site.data['expandendum']['schemam'] | bellum_json | liquify -}}