-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[PowerAccent] adding greek polytonic #47021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,7 @@ | |
| GD, | ||
| DE, | ||
| EL, | ||
| GRC, | ||
Check failureCode scanning / check-spelling Unrecognized Spelling Error
GRC is not a recognized word
|
||
| EST, | ||
| EPO, | ||
| FI, | ||
|
|
@@ -86,6 +87,7 @@ | |
| Language.GD => GetDefaultLetterKeyGD(letter), // Gàidhlig (Scottish Gaelic) | ||
| Language.DE => GetDefaultLetterKeyDE(letter), // German | ||
| Language.EL => GetDefaultLetterKeyEL(letter), // Greek | ||
| Language.GRC => GetDefaultLetterKeyGRC(letter), // Greek Polytonic | ||
Check failureCode scanning / check-spelling Unrecognized Spelling Error
GRC is not a recognized word
Check failureCode scanning / check-spelling Unrecognized Spelling Error
GRC is not a recognized word
|
||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ISO 639-3 defines GRC as the name for greek polytonic among others
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ISO 639-3 defines GRC as the name for greek polytonic among others |
||
| Language.EST => GetDefaultLetterKeyEST(letter), // Estonian | ||
| Language.EPO => GetDefaultLetterKeyEPO(letter), // Esperanto | ||
| Language.FI => GetDefaultLetterKeyFI(letter), // Finnish | ||
|
|
@@ -143,6 +145,7 @@ | |
| .Union(GetDefaultLetterKeyGD(letter)) | ||
| .Union(GetDefaultLetterKeyDE(letter)) | ||
| .Union(GetDefaultLetterKeyEL(letter)) | ||
| .Union(GetDefaultLetterKeyGRC(letter)) | ||
Check failureCode scanning / check-spelling Unrecognized Spelling Error
GRC is not a recognized word
|
||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ISO 639-3 defines GRC as the name for greek polytonic among others |
||
| .Union(GetDefaultLetterKeyEST(letter)) | ||
| .Union(GetDefaultLetterKeyEPO(letter)) | ||
| .Union(GetDefaultLetterKeyFI(letter)) | ||
|
|
@@ -710,6 +713,41 @@ | |
| }; | ||
| } | ||
|
|
||
| // Greek Polytonic | ||
| private static string[] GetDefaultLetterKeyGRC(LetterKey letter) | ||
Check failureCode scanning / check-spelling Unrecognized Spelling Error
GRC is not a recognized word
|
||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ISO 639-3 defines GRC as the name for greek polytonic among others |
||
| { | ||
| return letter switch | ||
| { | ||
| 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_F => new string[] { "φ", "ϝ" }, | ||
| LetterKey.VK_G => new string[] { "γ" }, | ||
| LetterKey.VK_H => 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_P => new string[] { "π", "φ", "ψ" }, | ||
| LetterKey.VK_Q => new string[] { "ϟ" }, | ||
| LetterKey.VK_R => new string[] { "ρ", "ῤ", "ῥ" }, | ||
| LetterKey.VK_S => new string[] { "σ", "ς", "ϛ", "ϲ", "ϡ" }, | ||
| LetterKey.VK_T => new string[] { "τ", "θ", "ϑ" }, | ||
| LetterKey.VK_U => new string[] { "υ", "ὐ", "ὑ", "ὺ", "ύ", "ῦ", "ῡ", "ῠ", "ὒ", "ὓ", "ὔ", "ὕ", "ὖ", "ὗ", "ϋ", "ΰ", "ῢ", "ῧ" }, | ||
| LetterKey.VK_W => new string[] { "ω", "ὠ", "ὡ", "ὼ", "ώ", "ῶ", "ὢ", "ὣ", "ὤ", "ὥ", "ὦ", "ὧ", "ῳ", "ᾠ", "ᾡ", "ῴ", "ῲ", "ῷ", "ᾤ", "ᾥ", "ᾢ", "ᾣ", "ᾦ", "ᾧ" }, | ||
| LetterKey.VK_X => new string[] { "ξ" }, | ||
| LetterKey.VK_Y => new string[] { "υ", "ὐ", "ὑ", "ὺ", "ύ", "ῦ", "ῡ", "ῠ", "ὒ", "ὓ", "ὔ", "ὕ", "ὖ", "ὗ", "ϋ", "ΰ", "ῢ", "ῧ" }, | ||
| LetterKey.VK_Z => new string[] { "ζ" }, | ||
| LetterKey.VK_COMMA => new[] { "“", "”", "‘", "’", ";", "`", "´" }, | ||
| LetterKey.VK_PERIOD => new string[] { "·" }, | ||
| _ => Array.Empty<string>(), | ||
| }; | ||
| } | ||
|
|
||
| // Hebrew | ||
| private static string[] GetDefaultLetterKeyHE(LetterKey letter) | ||
| { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ISO 639-3 defines GRC as the name for greek polytonic among others