022_disable-viqr-im-for-vi-locale.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From: Ming Hua <minghua@ubuntu.com>
  2. Date: Thu, 13 Mar 2008 18:09:25 -0500
  3. Subject: Do not use VIQR input method for vi locale by default
  4. MIME-Version: 1.0
  5. Content-Type: text/plain; charset="utf-8"
  6. Content-Transfer-Encoding: 8bit
  7. In the Vietnamese Quoted-Readable input method, punctuation following a
  8. base letter is converted into diacritical marks, for example a( → ă.
  9. (See <https://en.wikipedia.org/wiki/Vietnamese_Quoted-Readable>.)
  10. A 2008 bug report in Ubuntu argued that this is a problematic default,
  11. particularly when typing passwords, where the effect of the punctuation
  12. is non-obvious.
  13. According to the bug reporter, VIQR is popular with Vietnamese users
  14. living elsewhere in the world, where Vietnamese keyboards are unlikely
  15. to be readily available, but is not a popular choice within Vietnam,
  16. where the Telex or VNI input modes are preferred.
  17. [smcv: Add a summary of the Ubuntu bug]
  18. Bug-Debian: https://bugs.debian.org/895043
  19. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/191451
  20. Forwarded: no
  21. ---
  22. modules/input/imviqr.c | 2 +-
  23. 1 file changed, 1 insertion(+), 1 deletion(-)
  24. diff --git a/modules/input/imviqr.c b/modules/input/imviqr.c
  25. index 5994894..5b30233 100644
  26. --- a/modules/input/imviqr.c
  27. +++ b/modules/input/imviqr.c
  28. @@ -244,7 +244,7 @@ static const GtkIMContextInfo viqr_info = {
  29. N_("Vietnamese (VIQR)"), /* Human readable name */
  30. GETTEXT_PACKAGE, /* Translation domain */
  31. GTK_LOCALEDIR, /* Dir for bindtextdomain (not strictly needed for "gtk+") */
  32. - "vi" /* Languages for which this module is the default */
  33. + "" /* Languages for which this module is the default */
  34. };
  35. static const GtkIMContextInfo *info_list[] = {