Commit 340cb542 authored by changi67's avatar changi67

[FIX] Don't put translation string used by punctuation string in unused part of language.php

parent 3d313538
......@@ -612,7 +612,11 @@ foreach ($languages as $ksel => $sel) {
$word_last_char = $word[$word_length - 1];
if ( in_array($word_last_char, $punctuations) ) {
$word = substr($word, 0, $word_length - 1);
if ( isset($lang[$word]) ) continue;
if ( isset($lang[$word]) ) {
$translated[$word] = $lang[$word];
unset ($unused[$word]);
continue;
}
}
if (!isset ($to_translate[$word])) {
......
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