-
Notifications
You must be signed in to change notification settings - Fork 24
Description
revise
2541:
if(Armory::GetLocale() == 'ru_ru') {
$periods = array('сек.', 'мин.', 'ч.');
$ago_str = 'назад';
}
elseif(Armory::GetLocale() == 'zh_cn') {
$periods = array('秒', '分钟', '小时');
$ago_str = '前';
}
else {
$periods = array('seconds', 'minutes', 'hours');
$ago_str = 'ago';
}
2600:
else {
if(Armory::GetLocale() == 'zh_cn') {
$points_string = sprintf($_strings[18], $achievement_info['points']);
$feed_data[$i]['title'] = sprintf('%s [%s].', $_strings[13], $achievement_info['title']);
$feed_data[$i]['desc'] = sprintf('%s [%s].', sprintf($_strings[13], $achievement_info['points']), urlencode($this->GetRealmName()), urlencode($this->name), $tooltip, $achievement_info['title']);
}
else {
$points_string = sprintf($_strings[18], $achievement_info['points']);
$feed_data[$i]['title'] = sprintf('%s [%s].', $_strings[13], $achievement_info['title']);
$feed_data[$i]['desc'] = sprintf('%s [%s] %s.', $_strings[13], urlencode($this->GetRealmName()), urlencode($this->name), $tooltip, $achievement_info['title'], $points_string);
}
}