Merge branch 'feature/aes_lingo_patches' into 'main'
AES: patch code and l10n to add train drivers license See merge request ccchh/thinkcccentre-ansible!3
This commit is contained in:
commit
8fa4e5af3e
|
@ -18,3 +18,11 @@
|
|||
version: main
|
||||
force: true
|
||||
update: false
|
||||
- name: apply patch to code to add train drivers license
|
||||
ansible.posix.patch:
|
||||
src: patches/engelsystem/code_en.patch
|
||||
dest: "{{ ansible_user_dir }}/engelsystem/includes/view/UserDriverLicenses_view.php"
|
||||
- name: apply patch to german locale add train drivers license
|
||||
ansible.posix.patch:
|
||||
src: patches/engelsystem/lang_de.patch
|
||||
dest: "{{ ansible_user_dir }}/engelsystem/resources/lang/de_DE/default.po"
|
8
playbooks/files/patches/engelsystem/code_en.patch
Normal file
8
playbooks/files/patches/engelsystem/code_en.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
22c22
|
||||
< form_checkbox('wants_to_drive', __('I am willing to drive a car for the event'), $user_driver_license->wantsToDrive()),
|
||||
---
|
||||
> form_checkbox('wants_to_drive', __('I am willing to drive a vehicle for the event'), $user_driver_license->wantsToDrive()),
|
||||
48c48
|
||||
< __('Forklift'),
|
||||
---
|
||||
> __('Train'),
|
12
playbooks/files/patches/engelsystem/lang_de.patch
Normal file
12
playbooks/files/patches/engelsystem/lang_de.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
1390,1391c1390,1391
|
||||
< msgid "Forklift"
|
||||
< msgstr "Gabelstapler"
|
||||
---
|
||||
> msgid "Train"
|
||||
> msgstr "Lok"
|
||||
1643,1644c1643,1644
|
||||
< msgid "I am willing to drive a car for the event"
|
||||
< msgstr "Ich möchte für das Event Auto fahren"
|
||||
---
|
||||
> msgid "I am willing to drive a vehicle for the event"
|
||||
> msgstr "Ich möchte für das Event Fahrzeuge fahren"
|
Loading…
Reference in a new issue