Commit 1816cfbe authored by changi67's avatar changi67

Typo

parent cd3fdb44
......@@ -608,10 +608,10 @@ foreach ($languages as $ksel => $sel) {
// For example, if word == 'Login:', we don't keep it if we also have a string 'Login'
// (except if we already have an explicit translation for 'Login:')
//
$word_lenght = strlen($word);
$word_last_char = $word[$word_lenght - 1];
$word_length = strlen($word);
$word_last_char = $word[$word_length - 1];
if ( in_array($word_last_char, $punctuations) ) {
$word = substr($word, 0, $word_lenght - 1);
$word = substr($word, 0, $word_length - 1);
if ( isset($lang[$word]) ) continue;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment