Skip to content

Commit

Permalink
more languages rename
Browse files Browse the repository at this point in the history
cz => cs
no => nb
br => pt_BR
se => sv
  • Loading branch information
glensc committed Sep 16, 2016
1 parent 32be443 commit 595b45e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions class.phpmailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,11 @@ public function setLanguage($langcode = 'en', $lang_path = '')
{
// Backwards compatibility for renamed language codes
$renamed_langcodes = array(
'br' => 'pt_br',
'cz' => 'cs',
'dk' => 'da',
'no' => 'nb',
'se' => 'sv',
);

if (isset($renamed_langcodes[$langcode])) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 595b45e

Please sign in to comment.