locali(s|z)ation → l10n
This commit is contained in:
parent
a5e7176daf
commit
95f63da423
9 changed files with 13 additions and 13 deletions
|
|
@ -20,9 +20,9 @@
|
|||
- role: windowmanager
|
||||
tags:
|
||||
- windowmanager
|
||||
- role: localisation
|
||||
- role: l10n
|
||||
tags:
|
||||
- localisation
|
||||
- l10n
|
||||
- role: inkscape
|
||||
tags:
|
||||
- inkscape
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
sudo:
|
||||
group: fablab
|
||||
|
||||
localisation:
|
||||
l10n:
|
||||
keyboard:
|
||||
layout: de
|
||||
variant:
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@
|
|||
lineinfile:
|
||||
path: /etc/default/locale
|
||||
regexp: "^LANG="
|
||||
line: "LANG={{ localisation.locale.default }}"
|
||||
line: "LANG={{ l10n.locale.default }}"
|
||||
6
packer/ansible/roles/l10n/templates/keyboard.j2
Normal file
6
packer/ansible/roles/l10n/templates/keyboard.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
XKBMODEL="{{ l10n.keyboard.model }}"
|
||||
XKBLAYOUT="{{ l10n.keyboard.layout }}"
|
||||
XKBVARIANT="{{ l10n.keyboard.variant }}"
|
||||
XKBOPTIONS="{{ l10n.keyboard.options }}"
|
||||
|
||||
BACKSPACE="guess"
|
||||
3
packer/ansible/roles/l10n/templates/locale.gen.j2
Normal file
3
packer/ansible/roles/l10n/templates/locale.gen.j2
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{% for locale in l10n.locale.generate %}
|
||||
{{ locale }}
|
||||
{% endfor %}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
XKBMODEL="{{ localisation.keyboard.model }}"
|
||||
XKBLAYOUT="{{ localisation.keyboard.layout }}"
|
||||
XKBVARIANT="{{ localisation.keyboard.variant }}"
|
||||
XKBOPTIONS="{{ localisation.keyboard.options }}"
|
||||
|
||||
BACKSPACE="guess"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{% for locale in localisation.locale.generate %}
|
||||
{{ locale }}
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue