From 85c6123eb366c6f7b5b71fe09e1b65fea9d4d50c Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sun, 3 Dec 2023 23:33:59 +0100 Subject: [PATCH] Extend concordance lists with some values in Ukrainian --- src/MDConcEventTypes.php | 3 +++ src/MDConcLengths.php | 18 ++++++++++-------- src/MDConcWeights.php | 3 ++- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/MDConcEventTypes.php b/src/MDConcEventTypes.php index 8267feb..384a08f 100644 --- a/src/MDConcEventTypes.php +++ b/src/MDConcEventTypes.php @@ -43,6 +43,7 @@ final class MDConcEventTypes implements MDImporterConcordanceListInterface { 'Finding' => 2, 'Finding (Activity)' => 2, 'Gefunden' => 2, + "Виявлення" => 2, 'Finding (Activity)' => 2, 'http://terminology.lido-schema.org/lido00002' => 2, @@ -95,6 +96,8 @@ final class MDConcEventTypes implements MDImporterConcordanceListInterface { 'Sammeltätigkeit' => 8, 'Sammelereignis' => 8, 'http://terminology.lido-schema.org/lido00010' => 8, + 'Збирання/колекціонування' => 8, // Gathering/collecting + 'Передача' => 8, // Transfer // 9: => Painted 'Painted' => 8, diff --git a/src/MDConcLengths.php b/src/MDConcLengths.php index c24e319..7d2e1ff 100644 --- a/src/MDConcLengths.php +++ b/src/MDConcLengths.php @@ -84,17 +84,19 @@ final class MDConcLengths implements MDImporterConcordanceListInterface { ",cm" => "cm", "5cm" => "cm", "Zentimeter" => "cm", + "см" => "cm", "ca" => "cm", // This is likely a typo - "Meter" => "m", - "Meters" => "m", - "meter" => "m", - "meters" => "m", + "Meter" => "m", + "Meters" => "m", + "meter" => "m", + "meters" => "m", - "Milimeter" => "mm", - "Milimeters" => "mm", - "Millimeter" => "mm", - "Millimeters" => "mm", + "Milimeter" => "mm", + "Milimeters" => "mm", + "Millimeter" => "mm", + "Millimeters" => "mm", + "мм" => "mm", "ma" => "mm", // Either a typo for mm, or miliamper? "inch" => "in", diff --git a/src/MDConcWeights.php b/src/MDConcWeights.php index 6855e2e..f3ec426 100644 --- a/src/MDConcWeights.php +++ b/src/MDConcWeights.php @@ -13,7 +13,8 @@ final class MDConcWeights implements MDImporterConcordanceListInterface { private const WEIGHTS_LIST = [ "cm" => "", // Default - "Gramm" => "g", + "Gramm" => "g", + "г" => "g", ]; /**