mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Add Persian language
Synchronize localizations from Transifex
This commit is contained in:
parent
17bdc999f6
commit
2f841524cb
17 changed files with 1139 additions and 27 deletions
|
|
@ -1324,7 +1324,7 @@ class ServiceActions
|
|||
private function convertLanguageNameToMomentLanguageName($sLanguage)
|
||||
{
|
||||
$aHelper = array('en_gb' => 'en-gb', 'fr_ca' => 'fr-ca', 'pt_br' => 'pt-br',
|
||||
'uk_ua' => 'ua', 'zh_cn' => 'zh-cn', 'zh_tw' => 'zh-tw');
|
||||
'uk_ua' => 'ua', 'zh_cn' => 'zh-cn', 'zh_tw' => 'zh-tw', 'fa_ir' => 'fa');
|
||||
|
||||
return isset($aHelper[$sLanguage]) ? $aHelper[$sLanguage] : \substr($sLanguage, 0, 2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue