🇩🇪 add German translation

This commit is contained in:
Marc Michalsky forumZFD 2021-04-13 00:19:15 +02:00
parent 34e2e77d83
commit 7b30a75014
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
6 changed files with 1475 additions and 43 deletions

View file

@ -144,10 +144,9 @@ class CRM_TwingleCampaign_BAO_OptionValue {
if (!$name) {
$result = [];
// Get json file with all custom fields for this extension
$json_file = file_get_contents(E::path() .
'/CRM/TwingleCampaign/resources/option_values.json');
$option_values = json_decode($json_file, TRUE);
// Get all custom fields for this extension from option_values.php
$option_values =
include(E::path() . '/CRM/TwingleCampaign/resources/option_values.php');
// Log an error and throw an exception if the file cannot get read
if (!$option_values) {