Compare commits

...

2 commits

Author SHA1 Message Date
Pierre-Lin Bonnemaison
61bec81c44
Merge pull request #191 from deajan/gammu-fixes
Make sure Gammu speaks english
2022-10-18 19:26:52 +02:00
Orsiris de Jong
f790adc6a1
Make sure Gammu speaks english
Gammu returns localized messages whereas GammuAdapter searches for string "nothing".
Force Gammu to return english messages so word searches will work properly.
This fixes #172
2022-10-17 19:15:32 +02:00

View file

@ -188,6 +188,7 @@ namespace adapters;
} }
$command_parts = [ $command_parts = [
'LC_ALL=C',
'gammu', 'gammu',
'--config', '--config',
escapeshellarg($this->data['config_file']), escapeshellarg($this->data['config_file']),
@ -339,6 +340,7 @@ namespace adapters;
} }
$command_parts = [ $command_parts = [
'LC_ALL=C',
'gammu', 'gammu',
'--config', '--config',
escapeshellarg($this->data['config_file']), escapeshellarg($this->data['config_file']),
@ -351,6 +353,7 @@ namespace adapters;
//Check security status //Check security status
$command_parts = [ $command_parts = [
'LC_ALL=C',
'gammu', 'gammu',
'--config', '--config',
escapeshellarg($this->data['config_file']), escapeshellarg($this->data['config_file']),