speakup: Separate out translations for bright colors names
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 13 Jun 2021 19:59:09 +0000 (21:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 15:07:46 +0000 (17:07 +0200)
commit5b5140bf5182c24f1e37d61337a952e53f6aeb05
treeb5d63de14c94d6cde30020d02a13466f34e2c504
parent51dd19a7e9f8fbbb7cd92b8a357091911eae7f78
speakup: Separate out translations for bright colors names

The existing code was assuming that bright color names can be forged by just
prepending the "bright" word to the color name. But some langages may rather
append it, or require completely different names ("grey" is actually already an
example).

From: Trevor Astrope <astrope@tabbweb.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20210613195909.n7ssor6iqeo3pcno@begin
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/i18n.c
drivers/accessibility/speakup/i18n.h
drivers/accessibility/speakup/main.c