unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41683: 28.0.50; [PATCH] Update Ukrainian transliteration
@ 2020-06-03 11:29 Andrii Kolomoiets
  2020-06-05  8:09 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Andrii Kolomoiets @ 2020-06-03 11:29 UTC (permalink / raw)
  To: 41683

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

Hello,

According to
https://en.wikipedia.org/wiki/Romanization_of_Ukrainian#Tables_of_romanization_systems

In most cases the letter "ґ" must be "g", and the letter "г" must be
"h".

Attached patch adds missing letter "ґ" and tweaks the letter "г".

Thanks!

[-- Attachment #2: 0001-Update-Ukrainian-transliteration.patch --]
[-- Type: text/x-patch, Size: 1847 bytes --]

From bef11045a0e9a5e260948f4d58ec43c35b36e0ae Mon Sep 17 00:00:00 2001
From: Andrii Kolomoiets <andreyk.mad@gmail.com>
Date: Wed, 3 Jun 2020 14:14:57 +0300
Subject: [PATCH] Update Ukrainian transliteration
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* lisp/language/cyril-util.el (standard-display-cyrillic-translit):
Add missing letter "ґ"; tweak letter "г".
---
 lisp/language/cyril-util.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/language/cyril-util.el b/lisp/language/cyril-util.el
index e7a1267590..a3a6f3fdd9 100644
--- a/lisp/language/cyril-util.el
+++ b/lisp/language/cyril-util.el
@@ -152,6 +152,7 @@ standard-display-cyrillic-translit
     (aset standard-display-table ?љ  [?l ?j])
     (aset standard-display-table ?њ  [?n ?j])
     (aset standard-display-table ?џ  [?d ?z])
+    (aset standard-display-table ?ґ  [?g])
 
     (aset standard-display-table ?Є  [?Y ?e])
     (aset standard-display-table ?Ї  [?Y ?i])
@@ -166,6 +167,7 @@ standard-display-cyrillic-translit
     (aset standard-display-table ?Љ  [?L ?j])
     (aset standard-display-table ?Њ  [?N ?j])
     (aset standard-display-table ?Џ  [?D ?j])
+    (aset standard-display-table ?Ґ  [?G])
 
     (when (equal cyrillic-language "Bulgarian")
       (aset standard-display-table ?щ [?s ?h ?t])
@@ -182,7 +184,9 @@ standard-display-cyrillic-translit
       (aset standard-display-table ?й [?i])
       (aset standard-display-table ?Й [?Y])
       (aset standard-display-table ?ю [?i ?u])
-      (aset standard-display-table ?я [?i ?a]))))
+      (aset standard-display-table ?я [?i ?a])
+      (aset standard-display-table ?г [?h])
+      (aset standard-display-table ?Г [?H]))))
 
 ;;
 (provide 'cyril-util)
-- 
2.15.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#41683: 28.0.50; [PATCH] Update Ukrainian transliteration
  2020-06-03 11:29 bug#41683: 28.0.50; [PATCH] Update Ukrainian transliteration Andrii Kolomoiets
@ 2020-06-05  8:09 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2020-06-05  8:09 UTC (permalink / raw)
  To: Andrii Kolomoiets; +Cc: 41683-done

> From: Andrii Kolomoiets <andreyk.mad@gmail.com>
> Date: Wed, 03 Jun 2020 14:29:41 +0300
> 
> According to
> https://en.wikipedia.org/wiki/Romanization_of_Ukrainian#Tables_of_romanization_systems
> 
> In most cases the letter "ґ" must be "g", and the letter "г" must be
> "h".
> 
> Attached patch adds missing letter "ґ" and tweaks the letter "г".

Thanks, pushed to the emacs-27 branch, and closing the bug.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-05  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 11:29 bug#41683: 28.0.50; [PATCH] Update Ukrainian transliteration Andrii Kolomoiets
2020-06-05  8:09 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).