summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-14 21:12:52 +0200
committerGitHub <noreply@github.com>2022-09-14 21:12:52 +0200
commit3ed4341db4b30df7b06b8ef393c3afa2e5422aff (patch)
treec85b527a892847ea31619db46b3b3e67cdbd6978
parentf379df09d8392bda6b081dc8668b435d2d806478 (diff)
parent5e159042dc05825b473b41ed513641a59b13b647 (diff)
downloadvyos-1x-3ed4341db4b30df7b06b8ef393c3afa2e5422aff.tar.gz
vyos-1x-3ed4341db4b30df7b06b8ef393c3afa2e5422aff.zip
Merge pull request #1540 from sever-sever/T4695
keymap: T4695: Add Spain 'es' and Japan 'jp106' keymaps
-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>