Plugin Directory

Changeset 2776982


Ignore:
Timestamp:
08/29/2022 07:44:18 AM (3 years ago)
Author:
crisp.im
Message:

Fix language settings for chinese

File:
1 edited

Legend:

Unmodified
Added
Removed
  • crisp/trunk/crisp.php

    r2774717 r2776982  
    55 * Description: Crisp is a Livechat plugin
    66 * Author: Crisp
    7  * Version: 0.37
     7 * Version: 0.38
    88 * Author URI: https://crisp.chat
    99 * Text Domain: crisp
     
    223223  $locale = str_replace("_", "-", strtolower(get_locale()));
    224224
    225   if (!in_array($locale, array("pt-br", "pt-pr"))) {
    226     $locale = substr($locale, 0, 2);
    227   }
    228 
    229225  if (!isset($website_id) || empty($website_id)) {
    230226    return;
Note: See TracChangeset for help on using the changeset viewer.