File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/util/text Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 7
7
import org .eclipse .swt .events .KeyEvent ;
8
8
import org .eclipse .swt .widgets .Text ;
9
9
10
+ import name .abuchen .portfolio .util .AdditionalLocales ;
10
11
import name .abuchen .portfolio .util .TextUtil ;
11
12
12
13
public class FrenchKeypadSupport
13
14
{
14
15
private static final boolean IS_FRENCH = Locale .getDefault ().getLanguage ().equals (Locale .FRENCH .getLanguage ());
16
+ private static final boolean IS_SPANISH = Locale .getDefault ().getLanguage ()
17
+ .equals (AdditionalLocales .SPAIN .getLanguage ());
15
18
16
19
private FrenchKeypadSupport ()
17
20
{
18
21
}
19
22
20
23
public static void configure (Text text )
21
24
{
22
- if (IS_FRENCH )
25
+ if (IS_FRENCH || IS_SPANISH )
23
26
{
24
27
text .addKeyListener (new KeyAdapter ()
25
28
{
You can’t perform that action at this time.
0 commit comments