From 3f54968d8ced4317f4de0d02624fef65532aeb56 Mon Sep 17 00:00:00 2001 From: PesBandi <127593627+PesBandi@users.noreply.github.com> Date: Mon, 11 Dec 2023 22:03:34 +0100 Subject: [PATCH] Move Greek letters with tonos from Get...AllLanguagesOnly to Get...EL (Greek) (#30307) --- .../poweraccent/PowerAccent.Core/Languages.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/modules/poweraccent/PowerAccent.Core/Languages.cs b/src/modules/poweraccent/PowerAccent.Core/Languages.cs index 87cb2c25b2..f7ceba0ce5 100644 --- a/src/modules/poweraccent/PowerAccent.Core/Languages.cs +++ b/src/modules/poweraccent/PowerAccent.Core/Languages.cs @@ -147,27 +147,26 @@ namespace PowerAccent.Core LetterKey.VK_4 => new[] { "⅘" }, LetterKey.VK_5 => new[] { "⅚", "⅝" }, LetterKey.VK_7 => new[] { "⅞" }, - LetterKey.VK_A => new[] { "ά", "ȧ" }, + LetterKey.VK_A => new[] { "ȧ" }, LetterKey.VK_B => new[] { "ḃ" }, LetterKey.VK_C => new[] { "ċ", "°C", "©", "ℂ" }, LetterKey.VK_D => new[] { "ḍ", "ḋ" }, - LetterKey.VK_E => new[] { "έ", "ή", "∈" }, + LetterKey.VK_E => new[] { "∈" }, LetterKey.VK_F => new[] { "ḟ", "°F" }, LetterKey.VK_G => new[] { "ģ", "ǧ", "ġ", "ĝ", "ǥ" }, LetterKey.VK_H => new[] { "ḣ", "ĥ", "ħ" }, - LetterKey.VK_I => new[] { "ί" }, LetterKey.VK_J => new[] { "ĵ" }, LetterKey.VK_K => new[] { "ķ", "ǩ" }, LetterKey.VK_L => new[] { "ļ", "₺" }, // ₺ is in VK_T for other languages, but not VK_L, so we add it here. LetterKey.VK_M => new[] { "ṁ" }, LetterKey.VK_N => new[] { "ņ", "ṅ", "ⁿ", "ℕ" }, - LetterKey.VK_O => new[] { "ȯ", "ώ", "ό" }, + LetterKey.VK_O => new[] { "ȯ" }, LetterKey.VK_P => new[] { "ṗ", "℗" }, LetterKey.VK_Q => new[] { "ℚ" }, LetterKey.VK_R => new[] { "ṙ", "®", "ℝ" }, LetterKey.VK_S => new[] { "ṡ", "\u00A7" }, LetterKey.VK_T => new[] { "ţ", "ṫ", "ŧ", "™" }, - LetterKey.VK_U => new[] { "ŭ", "ύ" }, + LetterKey.VK_U => new[] { "ŭ" }, LetterKey.VK_V => new[] { "V̇" }, LetterKey.VK_W => new[] { "ẇ" }, LetterKey.VK_X => new[] { "ẋ", "×" }, @@ -531,24 +530,24 @@ namespace PowerAccent.Core { return letter switch { - LetterKey.VK_A => new string[] { "α" }, + LetterKey.VK_A => new string[] { "α", "ά" }, LetterKey.VK_B => new string[] { "β" }, LetterKey.VK_C => new string[] { "χ" }, LetterKey.VK_D => new string[] { "δ" }, - LetterKey.VK_E => new string[] { "ε", "η" }, + LetterKey.VK_E => new string[] { "ε", "έ", "η", "ή" }, LetterKey.VK_F => new string[] { "φ" }, LetterKey.VK_G => new string[] { "γ" }, - LetterKey.VK_I => new string[] { "ι" }, + LetterKey.VK_I => new string[] { "ι", "ί" }, LetterKey.VK_K => new string[] { "κ" }, LetterKey.VK_L => new string[] { "λ" }, LetterKey.VK_M => new string[] { "μ" }, LetterKey.VK_N => new string[] { "ν" }, - LetterKey.VK_O => new string[] { "ο", "ω" }, + LetterKey.VK_O => new string[] { "ο", "ό", "ω", "ώ" }, LetterKey.VK_P => new string[] { "π", "φ", "ψ" }, LetterKey.VK_R => new string[] { "ρ" }, LetterKey.VK_S => new string[] { "σ" }, LetterKey.VK_T => new string[] { "τ", "θ" }, - LetterKey.VK_U => new string[] { "υ" }, + LetterKey.VK_U => new string[] { "υ", "ύ" }, LetterKey.VK_X => new string[] { "ξ" }, LetterKey.VK_Y => new string[] { "υ" }, LetterKey.VK_Z => new string[] { "ζ" },