summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-09-14 17:43:53 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-09-14 18:42:24 +0000
commit5e159042dc05825b473b41ed513641a59b13b647 (patch)
treec85b527a892847ea31619db46b3b3e67cdbd6978
parentf379df09d8392bda6b081dc8668b435d2d806478 (diff)
downloadvyos-1x-5e159042dc05825b473b41ed513641a59b13b647.tar.gz
vyos-1x-5e159042dc05825b473b41ed513641a59b13b647.zip
keymap: T4695: Add Spain 'es' and Japan 'jp106' keymaps
Add Spain (es) and Japan (jp106) keymaps set system option keyboard-layout es|jp106
-rw-r--r--interface-definitions/system-option.xml.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/interface-definitions/system-option.xml.in b/interface-definitions/system-option.xml.in
index 8cd25799b..a9fed81fe 100644
--- a/interface-definitions/system-option.xml.in
+++ b/interface-definitions/system-option.xml.in
@@ -36,7 +36,7 @@
<properties>
<help>System keyboard layout, type ISO2</help>
<completionHelp>
- <list>us fr de fi no dk dvorak</list>
+ <list>us fr de es fi jp106 no dk dvorak</list>
</completionHelp>
<valueHelp>
<format>us</format>
@@ -51,10 +51,18 @@
<description>Germany</description>
</valueHelp>
<valueHelp>
+ <format>es</format>
+ <description>Spain</description>
+ </valueHelp>
+ <valueHelp>
<format>fi</format>
<description>Finland</description>
</valueHelp>
<valueHelp>
+ <format>jp106</format>
+ <description>Japan</description>
+ </valueHelp>
+ <valueHelp>
<format>no</format>
<description>Norway</description>
</valueHelp>
@@ -66,6 +74,10 @@
<format>dvorak</format>
<description>Dvorak</description>
</valueHelp>
+ <constraint>
+ <regex>(us|fr|de|es|fi|jp106|no|dk|dvorak)</regex>
+ </constraint>
+ <constraintErrorMessage>Invalid keyboard layout</constraintErrorMessage>
</properties>
<defaultValue>us</defaultValue>
</leafNode>