From 744c53cfcdb2f05d9f5e93fa24e4e36eeab723e0 Mon Sep 17 00:00:00 2001 From: octastylos-pseudodipteros <128853928+octastylos-pseudodipteros@users.noreply.github.com> Date: Thu, 22 Aug 2024 11:47:07 +0200 Subject: [PATCH] [Quick Accent] Move number super and subscripts from Portuguese to All Languages (#34384) --- .../poweraccent/PowerAccent.Core/Languages.cs | 28 +++++++------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/src/modules/poweraccent/PowerAccent.Core/Languages.cs b/src/modules/poweraccent/PowerAccent.Core/Languages.cs index a28feeb3fe..1b44afdb5d 100644 --- a/src/modules/poweraccent/PowerAccent.Core/Languages.cs +++ b/src/modules/poweraccent/PowerAccent.Core/Languages.cs @@ -157,14 +157,16 @@ namespace PowerAccent.Core { return letter switch { - LetterKey.VK_0 => new[] { "↉" }, - LetterKey.VK_1 => new[] { "½", "⅓", "¼", "⅕", "⅙", "⅐", "⅛", "⅑", "⅒" }, - LetterKey.VK_2 => new[] { "⅔", "⅖" }, - LetterKey.VK_3 => new[] { "¾", "⅗", "⅜" }, - LetterKey.VK_4 => new[] { "⅘" }, - LetterKey.VK_5 => new[] { "⅚", "⅝" }, - LetterKey.VK_7 => new[] { "⅞" }, - LetterKey.VK_8 => new[] { "∞" }, + LetterKey.VK_0 => new[] { "₀", "⁰", "↉" }, + LetterKey.VK_1 => new[] { "₁", "¹", "½", "⅓", "¼", "⅕", "⅙", "⅐", "⅛", "⅑", "⅒" }, + LetterKey.VK_2 => new[] { "₂", "²", "⅔", "⅖" }, + LetterKey.VK_3 => new[] { "₃", "³", "¾", "⅗", "⅜" }, + LetterKey.VK_4 => new[] { "₄", "⁴", "⅘" }, + LetterKey.VK_5 => new[] { "₅", "⁵", "⅚", "⅝" }, + LetterKey.VK_6 => new[] { "₆", "⁶" }, + LetterKey.VK_7 => new[] { "₇", "⁷", "⅞" }, + LetterKey.VK_8 => new[] { "₈", "⁸", "∞" }, + LetterKey.VK_9 => new[] { "₉", "⁹" }, LetterKey.VK_A => new[] { "ȧ", "ǽ", "∀" }, LetterKey.VK_B => new[] { "ḃ" }, LetterKey.VK_C => new[] { "ċ", "°C", "©", "ℂ", "∁" }, @@ -478,16 +480,6 @@ namespace PowerAccent.Core { return letter switch { - LetterKey.VK_0 => new[] { "₀", "⁰" }, - LetterKey.VK_1 => new[] { "₁", "¹" }, - LetterKey.VK_2 => new[] { "₂", "²" }, - LetterKey.VK_3 => new[] { "₃", "³" }, - LetterKey.VK_4 => new[] { "₄", "⁴" }, - LetterKey.VK_5 => new[] { "₅", "⁵" }, - LetterKey.VK_6 => new[] { "₆", "⁶" }, - LetterKey.VK_7 => new[] { "₇", "⁷" }, - LetterKey.VK_8 => new[] { "₈", "⁸" }, - LetterKey.VK_9 => new[] { "₉", "⁹" }, LetterKey.VK_A => new[] { "á", "à", "â", "ã", "ª" }, LetterKey.VK_C => new[] { "ç" }, LetterKey.VK_E => new[] { "é", "ê", "€" },