aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php1606
1 files changed, 0 insertions, 1606 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
deleted file mode 100644
index e66e1a7021..0000000000
--- a/phpBB/viewtopic.php
+++ /dev/null
@@ -1,1606 +0,0 @@
-<?php
-/**
-*
-* @package phpBB3
-* @version $Id$
-* @copyright (c) 2005 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
-*
-*/
-
-/**
-* @ignore
-*/
-define('IN_PHPBB', true);
-if (!defined('PHPBB_ROOT_PATH')) define('PHPBB_ROOT_PATH', './');
-if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
-include(PHPBB_ROOT_PATH . 'common.' . PHP_EXT);
-include(PHPBB_ROOT_PATH . 'includes/functions_display.' . PHP_EXT);
-include(PHPBB_ROOT_PATH . 'includes/bbcode.' . PHP_EXT);
-
-// Start session management
-phpbb::$user->session_begin();
-phpbb::$acl->init(phpbb::$user->data);
-
-// Initial var setup
-$forum_id = request_var('f', 0);
-$topic_id = request_var('t', 0);
-$post_id = request_var('p', 0);
-$voted_id = request_var('vote_id', array('' => 0));
-
-$start = request_var('start', 0);
-$view = request_var('view', '');
-
-$default_sort_days = (!empty(phpbb::$user->data['user_post_show_days'])) ? phpbb::$user->data['user_post_show_days'] : 0;
-$default_sort_key = (!empty(phpbb::$user->data['user_post_sortby_type'])) ? phpbb::$user->data['user_post_sortby_type'] : 't';
-$default_sort_dir = (!empty(phpbb::$user->data['user_post_sortby_dir'])) ? phpbb::$user->data['user_post_sortby_dir'] : 'a';
-
-$sort_days = request_var('st', $default_sort_days);
-$sort_key = request_var('sk', $default_sort_key);
-$sort_dir = request_var('sd', $default_sort_dir);
-
-$update = request_var('update', false);
-
-/**
-* @todo normalize?
-*/
-$hilit_words = request_var('hilit', '', true);
-
-// Do we have a topic or post id?
-if (!$topic_id && !$post_id)
-{
- trigger_error('NO_TOPIC');
-}
-
-// Find topic id if user requested a newer or older topic
-if ($view && !$post_id)
-{
- if (!$forum_id)
- {
- $sql = 'SELECT forum_id
- FROM ' . TOPICS_TABLE . "
- WHERE topic_id = $topic_id";
- $result = phpbb::$db->sql_query($sql);
- $forum_id = (int) phpbb::$db->sql_fetchfield('forum_id');
- phpbb::$db->sql_freeresult($result);
-
- if (!$forum_id)
- {
- trigger_error('NO_TOPIC');
- }
- }
-
- if ($view == 'unread')
- {
- // Get topic tracking info
- $topic_tracking_info = get_complete_topic_tracking($forum_id, $topic_id);
-
- $topic_last_read = (isset($topic_tracking_info[$topic_id])) ? $topic_tracking_info[$topic_id] : 0;
-
- $sql = 'SELECT post_id, topic_id, forum_id
- FROM ' . POSTS_TABLE . "
- WHERE topic_id = $topic_id
- " . ((phpbb::$acl->acl_get('m_approve', $forum_id)) ? '' : 'AND post_approved = 1') . "
- AND post_time > $topic_last_read
- ORDER BY post_time ASC";
- $result = phpbb::$db->sql_query_limit($sql, 1);
- $row = phpbb::$db->sql_fetchrow($result);
- phpbb::$db->sql_freeresult($result);
-
- if (!$row)
- {
- $sql = 'SELECT topic_last_post_id as post_id, topic_id, forum_id
- FROM ' . TOPICS_TABLE . '
- WHERE topic_id = ' . $topic_id;
- $result = phpbb::$db->sql_query($sql);
- $row = phpbb::$db->sql_fetchrow($result);
- phpbb::$db->sql_freeresult($result);
- }
-
- if (!$row)
- {
- // Setup user environment so we can process lang string
- phpbb::$user->setup('viewtopic');
-
- trigger_error('NO_TOPIC');
- }
-
- $post_id = $row['post_id'];
- $topic_id = $row['topic_id'];
- }
- else if ($view == 'next' || $view == 'previous')
- {
- $sql_condition = ($view == 'next') ? '>' : '<';
- $sql_ordering = ($view == 'next') ? 'ASC' : 'DESC';
-
- $sql = 'SELECT forum_id, topic_last_post_time
- FROM ' . TOPICS_TABLE . '
- WHERE topic_id = ' . $topic_id;
- $result = phpbb::$db->sql_query($sql);
- $row = phpbb::$db->sql_fetchrow($result);
- phpbb::$db->sql_freeresult($result);
-
- if (!$row)
- {
- phpbb::$user->setup('viewtopic');
- // OK, the topic doesn't exist. This error message is not helpful, but technically correct.
- trigger_error(($view == 'next') ? 'NO_NEWER_TOPICS' : 'NO_OLDER_TOPICS');
- }
- else
- {
- $sql = 'SELECT topic_id, forum_id
- FROM ' . TOPICS_TABLE . '
- WHERE forum_id = ' . $row['forum_id'] . "
- AND topic_moved_id = 0
- AND topic_last_post_time $sql_condition {$row['topic_last_post_time']}
- " . ((phpbb::$acl->acl_get('m_approve', $row['forum_id'])) ? '' : 'AND topic_approved = 1') . "
- ORDER BY topic_last_post_time $sql_ordering";
- $result = phpbb::$db->sql_query_limit($sql, 1);
- $row = phpbb::$db->sql_fetchrow($result);
- phpbb::$db->sql_freeresult($result);
-
- if (!$row)
- {
- phpbb::$user->setup('viewtopic');
- trigger_error(($view == 'next') ? 'NO_NEWER_TOPICS' : 'NO_OLDER_TOPICS');
- }
- else
- {
- $topic_id = $row['topic_id'];
-
- // Check for global announcement correctness?
- if (!$row['forum_id'] && !$forum_id)
- {
- trigger_error('NO_TOPIC');
- }
- else if ($row['forum_id'])
- {
- $forum_id = $row['forum_id'];
- }
- }
- }
- }
-
- // Check for global announcement correctness?
- if ((!isset($row) || !$row['forum_id']) && !$forum_id)
- {
- trigger_error('NO_TOPIC');
- }
- else if (isset($row) && $row['forum_id'])
- {
- $forum_id = $row['forum_id'];
- }
-}
-
-// This rather complex gaggle of code handles querying for topics but
-// also allows for direct linking to a post (and the calculation of which
-// page the post is on and the correct display of viewtopic)
-$sql_array = array(
- 'SELECT' => 't.*, f.*',
-
- 'FROM' => array(FORUMS_TABLE => 'f'),
-);
-
-// The FROM-Order is quite important here, else t.* columns can not be correctly bound.
-if ($post_id)
-{
- $sql_array['FROM'][POSTS_TABLE] = 'p';
-}
-
-// Topics table need to be the last in the chain
-$sql_array['FROM'][TOPICS_TABLE] = 't';
-
-if (phpbb::$user->is_registered)
-{
- $sql_array['SELECT'] .= ', tw.notify_status';
- $sql_array['LEFT_JOIN'] = array();
-
- $sql_array['LEFT_JOIN'][] = array(
- 'FROM' => array(TOPICS_WATCH_TABLE => 'tw'),
- 'ON' => 'tw.user_id = ' . phpbb::$user->data['user_id'] . ' AND t.topic_id = tw.topic_id'
- );
-
- if (phpbb::$config['allow_bookmarks'])
- {
- $sql_array['SELECT'] .= ', bm.topic_id as bookmarked';
- $sql_array['LEFT_JOIN'][] = array(
- 'FROM' => array(BOOKMARKS_TABLE => 'bm'),
- 'ON' => 'bm.user_id = ' . phpbb::$user->data['user_id'] . ' AND t.topic_id = bm.topic_id'
- );
- }
-
- if (phpbb::$config['load_db_lastread'])
- {
- $sql_array['SELECT'] .= ', tt.mark_time, ft.mark_time as forum_mark_time';
-
- $sql_array['LEFT_JOIN'][] = array(
- 'FROM' => array(TOPICS_TRACK_TABLE => 'tt'),
- 'ON' => 'tt.user_id = ' . phpbb::$user->data['user_id'] . ' AND t.topic_id = tt.topic_id'
- );
-
- $sql_array['LEFT_JOIN'][] = array(
- 'FROM' => array(FORUMS_TRACK_TABLE => 'ft'),
- 'ON' => 'ft.user_id = ' . phpbb::$user->data['user_id'] . ' AND t.forum_id = ft.forum_id'
- );
- }
-}
-
-if (!$post_id)
-{
- $sql_array['WHERE'] = "t.topic_id = $topic_id";
-}
-else
-{
- $sql_array['WHERE'] = "p.post_id = $post_id AND t.topic_id = p.topic_id" . ((!phpbb::$acl->acl_get('m_approve', $forum_id)) ? ' AND p.post_approved = 1' : '');
-}
-
-$sql_array['WHERE'] .= ' AND (f.forum_id = t.forum_id';
-
-if (!$forum_id)
-{
- // If it is a global announcement make sure to set the forum id to a postable forum
- $sql_array['WHERE'] .= ' OR (t.topic_type = ' . POST_GLOBAL . '
- AND f.forum_type = ' . FORUM_POST . ')';
-}
-else
-{
- $sql_array['WHERE'] .= ' OR (t.topic_type = ' . POST_GLOBAL . "
- AND f.forum_id = $forum_id)";
-}
-
-$sql_array['WHERE'] .= ')';
-
-// Join to forum table on topic forum_id unless topic forum_id is zero
-// whereupon we join on the forum_id passed as a parameter ... this
-// is done so navigation, forum name, etc. remain consistent with where
-// user clicked to view a global topic
-$sql = phpbb::$db->sql_build_query('SELECT', $sql_array);
-$result = phpbb::$db->sql_query($sql);
-$topic_data = phpbb::$db->sql_fetchrow($result);
-phpbb::$db->sql_freeresult($result);
-
-if (!$topic_data)
-{
- // If post_id was submitted, we try at least to display the topic as a last resort...
- if ($post_id && $topic_id)
- {
- redirect(append_sid('viewtopic', "t=$topic_id" . (($forum_id) ? "&amp;f=$forum_id" : '')));
- }
-
- trigger_error('NO_TOPIC');
-}
-
-// This is for determining where we are (page)
-if ($post_id)
-{
- if ($post_id == $topic_data['topic_first_post_id'] || $post_id == $topic_data['topic_last_post_id'])
- {
- $check_sort = ($post_id == $topic_data['topic_first_post_id']) ? 'd' : 'a';
-
- if ($sort_dir == $check_sort)
- {
- $topic_data['prev_posts'] = (phpbb::$acl->acl_get('m_approve', $forum_id)) ? $topic_data['topic_replies_real'] : $topic_data['topic_replies'];
- }
- else
- {
- $topic_data['prev_posts'] = 0;
- }
- }
- else
- {
- $sql = 'SELECT COUNT(p1.post_id) AS prev_posts
- FROM ' . POSTS_TABLE . ' p1, ' . POSTS_TABLE . " p2
- WHERE p1.topic_id = {$topic_data['topic_id']}
- AND p2.post_id = {$post_id}
- " . ((!phpbb::$acl->acl_get('m_approve', $forum_id)) ? 'AND p1.post_approved = 1' : '') . '
- AND ' . (($sort_dir == 'd') ? 'p1.post_time >= p2.post_time' : 'p1.post_time <= p2.post_time');
-
- $result = phpbb::$db->sql_query($sql);
- $row = phpbb::$db->sql_fetchrow($result);
- phpbb::$db->sql_freeresult($result);
-
- $topic_data['prev_posts'] = $row['prev_posts'] - 1;
- }
-}
-
-$forum_id = (int) $topic_data['forum_id'];
-$topic_id = (int) $topic_data['topic_id'];
-
-//
-$topic_replies = (phpbb::$acl->acl_get('m_approve', $forum_id)) ? $topic_data['topic_replies_real'] : $topic_data['topic_replies'];
-
-// Check sticky/announcement time limit
-if (($topic_data['topic_type'] == POST_STICKY || $topic_data['topic_type'] == POST_ANNOUNCE) && $topic_data['topic_time_limit'] && ($topic_data['topic_time'] + $topic_data['topic_time_limit']) < time())
-{
- $sql = 'UPDATE ' . TOPICS_TABLE . '
- SET topic_type = ' . POST_NORMAL . ', topic_time_limit = 0
- WHERE topic_id = ' . $topic_id;
- phpbb::$db->sql_query($sql);
-
- $topic_data['topic_type'] = POST_NORMAL;
- $topic_data['topic_time_limit'] = 0;
-}
-
-// Setup look and feel
-phpbb::$user->setup('viewtopic', $topic_data['forum_style']);
-
-if (!$topic_data['topic_approved'] && !phpbb::$acl->acl_get('m_approve', $forum_id))
-{
- trigger_error('NO_TOPIC');
-}
-
-// Start auth check
-if (!phpbb::$acl->acl_get('f_read', $forum_id))
-{
- if (!phpbb::$user->is_guest)
- {
- trigger_error('SORRY_AUTH_READ');
- }
-
- login_box('', phpbb::$user->lang['LOGIN_VIEWFORUM']);
-}
-
-// Forum is passworded ... check whether access has been granted to this
-// user this session, if not show login box
-if ($topic_data['forum_password'])
-{
- login_forum_box($topic_data);
-}
-
-// Redirect to login or to the correct post upon emailed notification links
-if (phpbb_request::is_set('e', phpbb_request::GET))
-{
- $jump_to = request_var('e', 0);
-
- $redirect_url = append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id");
-
- if (phpbb::$user->is_guest)
- {
- login_box($redirect_url . "&amp;p=$post_id&amp;e=$jump_to", phpbb::$user->lang['LOGIN_NOTIFY_TOPIC']);
- }
-
- if ($jump_to > 0)
- {
- // We direct the already logged in user to the correct post...
- redirect($redirect_url . ((!$post_id) ? "&amp;p=$jump_to" : "&amp;p=$post_id") . "#p$jump_to");
- }
-}
-
-// What is start equal to?
-if ($post_id)
-{
- $start = floor(($topic_data['prev_posts']) / phpbb::$config['posts_per_page']) * phpbb::$config['posts_per_page'];
-}
-
-// Get topic tracking info
-if (!isset($topic_tracking_info))
-{
- $topic_tracking_info = array();
-
- // Get topic tracking info
- if (phpbb::$config['load_db_lastread'] && phpbb::$user->is_registered)
- {
- $tmp_topic_data = array($topic_id => $topic_data);
- $topic_tracking_info = get_topic_tracking($forum_id, $topic_id, $tmp_topic_data, array($forum_id => $topic_data['forum_mark_time']));
- unset($tmp_topic_data);
- }
- else if (phpbb::$config['load_anon_lastread'] || phpbb::$user->is_registered)
- {
- $topic_tracking_info = get_complete_topic_tracking($forum_id, $topic_id);
- }
-}
-
-// Post ordering options
-$limit_days = array(0 => phpbb::$user->lang['ALL_POSTS'], 1 => phpbb::$user->lang['1_DAY'], 7 => phpbb::$user->lang['7_DAYS'], 14 => phpbb::$user->lang['2_WEEKS'], 30 => phpbb::$user->lang['1_MONTH'], 90 => phpbb::$user->lang['3_MONTHS'], 180 => phpbb::$user->lang['6_MONTHS'], 365 => phpbb::$user->lang['1_YEAR']);
-
-$sort_by_text = array('a' => phpbb::$user->lang['AUTHOR'], 't' => phpbb::$user->lang['POST_TIME'], 's' => phpbb::$user->lang['SUBJECT']);
-$sort_by_sql = array('a' => 'u.username_clean', 't' => 'p.post_time', 's' => 'p.post_subject');
-
-$s_limit_days = $s_sort_key = $s_sort_dir = $u_sort_param = '';
-
-gen_sort_selects($limit_days, $sort_by_text, $sort_days, $sort_key, $sort_dir, $s_limit_days, $s_sort_key, $s_sort_dir, $u_sort_param, $default_sort_days, $default_sort_key, $default_sort_dir);
-
-// Obtain correct post count and ordering SQL if user has
-// requested anything different
-if ($sort_days)
-{
- $min_post_time = time() - ($sort_days * 86400);
-
- $sql = 'SELECT COUNT(post_id) AS num_posts
- FROM ' . POSTS_TABLE . "
- WHERE topic_id = $topic_id
- AND post_time >= $min_post_time
- " . ((phpbb::$acl->acl_get('m_approve', $forum_id)) ? '' : 'AND post_approved = 1');
- $result = phpbb::$db->sql_query($sql);
- $total_posts = (int) phpbb::$db->sql_fetchfield('num_posts');
- phpbb::$db->sql_freeresult($result);
-
- $limit_posts_time = "AND p.post_time >= $min_post_time ";
-
- if (phpbb_request::is_set_post('sort'))
- {
- $start = 0;
- }
-}
-else
-{
- $total_posts = $topic_replies + 1;
- $limit_posts_time = '';
-}
-
-// Was a highlight request part of the URI?
-$highlight_match = $highlight = '';
-if ($hilit_words)
-{
- foreach (explode(' ', trim($hilit_words)) as $word)
- {
- if (trim($word))
- {
- $word = str_replace('\*', '\w+?', preg_quote($word, '#'));
- $word = preg_replace('#(^|\s)\\\\w\*\?(\s|$)#', '$1\w+?$2', $word);
- $highlight_match .= (($highlight_match != '') ? '|' : '') . $word;
- }
- }
-
- $highlight = urlencode($hilit_words);
-}
-
-// Make sure $start is set to the last page if it exceeds the amount
-if ($start < 0 || $start >= $total_posts)
-{
- $start = ($start < 0) ? 0 : floor(($total_posts - 1) / phpbb::$config['posts_per_page']) * phpbb::$config['posts_per_page'];
-}
-
-// General Viewtopic URL for return links
-$viewtopic_url = append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;start=$start" . ((strlen($u_sort_param)) ? "&amp;$u_sort_param" : '') . (($highlight_match) ? "&amp;hilit=$highlight" : ''));
-
-// Are we watching this topic?
-$s_watching_topic = array(
- 'link' => '',
- 'title' => '',
- 'is_watching' => false,
-);
-
-if ((phpbb::$config['email_enable'] || phpbb::$config['jab_enable']) && phpbb::$config['allow_topic_notify'] && phpbb::$user->is_registered)
-{
- watch_topic_forum('topic', $s_watching_topic, phpbb::$user->data['user_id'], $forum_id, $topic_id, $topic_data['notify_status'], $start);
-
- // Reset forum notification if forum notify is set
- if (phpbb::$config['allow_forum_notify'] && phpbb::$acl->acl_get('f_subscribe', $forum_id))
- {
- $s_watching_forum = $s_watching_topic;
- watch_topic_forum('forum', $s_watching_forum, phpbb::$user->data['user_id'], $forum_id, 0);
- }
-}
-
-// Bookmarks
-if (phpbb::$config['allow_bookmarks'] && phpbb::$user->is_registered && request_var('bookmark', 0))
-{
- if (check_link_hash(request_var('hash', ''), "topic_$topic_id"))
- {
- if (!$topic_data['bookmarked'])
- {
- $sql = 'INSERT INTO ' . BOOKMARKS_TABLE . ' ' . phpbb::$db->sql_build_array('INSERT', array(
- 'user_id' => phpbb::$user->data['user_id'],
- 'topic_id' => $topic_id,
- ));
- phpbb::$db->sql_query($sql);
- }
- else
- {
- $sql = 'DELETE FROM ' . BOOKMARKS_TABLE . '
- WHERE user_id = ' . phpbb::$user->data['user_id'] . '
- AND topic_id = ' . $topic_id;
- phpbb::$db->sql_query($sql);
- }
- $message = (($topic_data['bookmarked']) ? phpbb::$user->lang['BOOKMARK_REMOVED'] : phpbb::$user->lang['BOOKMARK_ADDED']) . '<br /><br />' . sprintf(phpbb::$user->lang['RETURN_TOPIC'], '<a href="' . $viewtopic_url . '">', '</a>');
- }
- else
- {
- $message = phpbb::$user->lang['BOOKMARK_ERR'] . '<br /><br />' . sprintf(phpbb::$user->lang['RETURN_TOPIC'], '<a href="' . $viewtopic_url . '">', '</a>');
- }
- meta_refresh(3, $viewtopic_url);
-
- trigger_error($message);
-}
-
-// Grab ranks
-$ranks = phpbb_cache::obtain_ranks();
-
-// Grab icons
-$icons = phpbb_cache::obtain_icons();
-
-// Grab extensions
-$extensions = array();
-if ($topic_data['topic_attachment'])
-{
- $extensions = phpbb_cache::obtain_extensions_forum($forum_id);
-}
-
-// Forum rules listing
-$s_forum_rules = '';
-gen_forum_auth_level('topic', $forum_id, $topic_data['forum_status']);
-
-// Quick mod tools
-$allow_change_type = (phpbb::$acl->acl_get('m_', $forum_id) || (phpbb::$user->is_registered && phpbb::$user->data['user_id'] == $topic_data['topic_poster'])) ? true : false;
-
-$topic_mod = '';
-$topic_mod .= (phpbb::$acl->acl_get('m_lock', $forum_id) || (phpbb::$acl->acl_get('f_user_lock', $forum_id) && phpbb::$user->is_registered && phpbb::$user->data['user_id'] == $topic_data['topic_poster'] && $topic_data['topic_status'] == ITEM_UNLOCKED)) ? (($topic_data['topic_status'] == ITEM_UNLOCKED) ? '<option value="lock">' . phpbb::$user->lang['LOCK_TOPIC'] . '</option>' : '<option value="unlock">' . phpbb::$user->lang['UNLOCK_TOPIC'] . '</option>') : '';
-$topic_mod .= (phpbb::$acl->acl_get('m_delete', $forum_id)) ? '<option value="delete_topic">' . phpbb::$user->lang['DELETE_TOPIC'] . '</option>' : '';
-$topic_mod .= (phpbb::$acl->acl_get('m_move', $forum_id) && $topic_data['topic_status'] != ITEM_MOVED) ? '<option value="move">' . phpbb::$user->lang['MOVE_TOPIC'] . '</option>' : '';
-$topic_mod .= (phpbb::$acl->acl_get('m_split', $forum_id)) ? '<option value="split">' . phpbb::$user->lang['SPLIT_TOPIC'] . '</option>' : '';
-$topic_mod .= (phpbb::$acl->acl_get('m_merge', $forum_id)) ? '<option value="merge">' . phpbb::$user->lang['MERGE_POSTS'] . '</option>' : '';
-$topic_mod .= (phpbb::$acl->acl_get('m_merge', $forum_id)) ? '<option value="merge_topic">' . phpbb::$user->lang['MERGE_TOPIC'] . '</option>' : '';
-$topic_mod .= (phpbb::$acl->acl_get('m_move', $forum_id)) ? '<option value="fork">' . phpbb::$user->lang['FORK_TOPIC'] . '</option>' : '';
-$topic_mod .= ($allow_change_type && phpbb::$acl->acl_gets('f_sticky', 'f_announce', $forum_id) && $topic_data['topic_type'] != POST_NORMAL) ? '<option value="make_normal">' . phpbb::$user->lang['MAKE_NORMAL'] . '</option>' : '';
-$topic_mod .= ($allow_change_type && phpbb::$acl->acl_get('f_sticky', $forum_id) && $topic_data['topic_type'] != POST_STICKY) ? '<option value="make_sticky">' . phpbb::$user->lang['MAKE_STICKY'] . '</option>' : '';
-$topic_mod .= ($allow_change_type && phpbb::$acl->acl_get('f_announce', $forum_id) && $topic_data['topic_type'] != POST_ANNOUNCE) ? '<option value="make_announce">' . phpbb::$user->lang['MAKE_ANNOUNCE'] . '</option>' : '';
-$topic_mod .= ($allow_change_type && phpbb::$acl->acl_get('f_announce', $forum_id) && $topic_data['topic_type'] != POST_GLOBAL) ? '<option value="make_global">' . phpbb::$user->lang['MAKE_GLOBAL'] . '</option>' : '';
-$topic_mod .= (phpbb::$acl->acl_get('m_', $forum_id)) ? '<option value="topic_logs">' . phpbb::$user->lang['VIEW_TOPIC_LOGS'] . '</option>' : '';
-
-// If we've got a hightlight set pass it on to pagination.
-$pagination = generate_pagination(append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id" . ((strlen($u_sort_param)) ? "&amp;$u_sort_param" : '') . (($highlight_match) ? "&amp;hilit=$highlight" : '')), $total_posts, phpbb::$config['posts_per_page'], $start);
-
-// Navigation links
-generate_forum_nav($topic_data);
-
-// Forum Rules
-generate_forum_rules($topic_data);
-
-// Moderators
-$forum_moderators = array();
-get_moderators($forum_moderators, $forum_id);
-
-// This is only used for print view so ...
-$server_path = (!$view) ? PHPBB_ROOT_PATH : generate_board_url() . '/';
-
-// Replace naughty words in title
-$topic_data['topic_title'] = censor_text($topic_data['topic_title']);
-
-// Send vars to template
-phpbb::$template->assign_vars(array(
- 'FORUM_ID' => $forum_id,
- 'FORUM_NAME' => $topic_data['forum_name'],
- 'FORUM_DESC' => generate_text_for_display($topic_data['forum_desc'], $topic_data['forum_desc_uid'], $topic_data['forum_desc_bitfield'], $topic_data['forum_desc_options']),
- 'TOPIC_ID' => $topic_id,
- 'TOPIC_TITLE' => $topic_data['topic_title'],
- 'TOPIC_POSTER' => $topic_data['topic_poster'],
-
- 'TOPIC_AUTHOR_FULL' => get_username_string('full', $topic_data['topic_poster'], $topic_data['topic_first_poster_name'], $topic_data['topic_first_poster_colour']),
- 'TOPIC_AUTHOR_COLOUR' => get_username_string('colour', $topic_data['topic_poster'], $topic_data['topic_first_poster_name'], $topic_data['topic_first_poster_colour']),
- 'TOPIC_AUTHOR' => get_username_string('username', $topic_data['topic_poster'], $topic_data['topic_first_poster_name'], $topic_data['topic_first_poster_colour']),
-
- 'PAGINATION' => $pagination,
- 'PAGE_NUMBER' => on_page($total_posts, phpbb::$config['posts_per_page'], $start),
- 'TOTAL_POSTS' => ($total_posts == 1) ? phpbb::$user->lang['VIEW_TOPIC_POST'] : sprintf(phpbb::$user->lang['VIEW_TOPIC_POSTS'], $total_posts),
- 'U_MCP' => (phpbb::$acl->acl_get('m_', $forum_id)) ? append_sid('mcp', "i=main&amp;mode=topic_view&amp;f=$forum_id&amp;t=$topic_id&amp;start=$start" . ((strlen($u_sort_param)) ? "&amp;$u_sort_param" : ''), true, phpbb::$user->session_id) : '',
-
- 'MODERATORS' => (isset($forum_moderators[$forum_id]) && sizeof($forum_moderators[$forum_id])) ? implode(', ', $forum_moderators[$forum_id]) : '',
-
- 'POST_IMG' => ($topic_data['forum_status'] == ITEM_LOCKED) ? phpbb::$user->img('button_topic_locked', 'FORUM_LOCKED') : phpbb::$user->img('button_topic_new', 'POST_NEW_TOPIC'),
- 'QUOTE_IMG' => phpbb::$user->img('icon_post_quote', 'REPLY_WITH_QUOTE'),
- 'REPLY_IMG' => ($topic_data['forum_status'] == ITEM_LOCKED || $topic_data['topic_status'] == ITEM_LOCKED) ? phpbb::$user->img('button_topic_locked', 'TOPIC_LOCKED') : phpbb::$user->img('button_topic_reply', 'REPLY_TO_TOPIC'),
- 'EDIT_IMG' => phpbb::$user->img('icon_post_edit', 'EDIT_POST'),
- 'DELETE_IMG' => phpbb::$user->img('icon_post_delete', 'DELETE_POST'),
- 'INFO_IMG' => phpbb::$user->img('icon_post_info', 'VIEW_INFO'),
- 'PROFILE_IMG' => phpbb::$user->img('icon_user_profile', 'READ_PROFILE'),
- 'SEARCH_IMG' => phpbb::$user->img('icon_user_search', 'SEARCH_USER_POSTS'),
- 'PM_IMG' => phpbb::$user->img('icon_contact_pm', 'SEND_PRIVATE_MESSAGE'),
- 'EMAIL_IMG' => phpbb::$user->img('icon_contact_email', 'SEND_EMAIL'),
- 'WWW_IMG' => phpbb::$user->img('icon_contact_www', 'VISIT_WEBSITE'),
- 'ICQ_IMG' => phpbb::$user->img('icon_contact_icq', 'ICQ'),
- 'AIM_IMG' => phpbb::$user->img('icon_contact_aim', 'AIM'),
- 'MSN_IMG' => phpbb::$user->img('icon_contact_msnm', 'MSNM'),
- 'YIM_IMG' => phpbb::$user->img('icon_contact_yahoo', 'YIM'),
- 'JABBER_IMG' => phpbb::$user->img('icon_contact_jabber', 'JABBER') ,
- 'REPORT_IMG' => phpbb::$user->img('icon_post_report', 'REPORT_POST'),
- 'REPORTED_IMG' => phpbb::$user->img('icon_topic_reported', 'POST_REPORTED'),
- 'UNAPPROVED_IMG' => phpbb::$user->img('icon_topic_unapproved', 'POST_UNAPPROVED'),
- 'WARN_IMG' => phpbb::$user->img('icon_user_warn', 'WARN_USER'),
-
- 'S_IS_LOCKED' =>($topic_data['topic_status'] == ITEM_UNLOCKED) ? false : true,
- 'S_SELECT_SORT_DIR' => $s_sort_dir,
- 'S_SELECT_SORT_KEY' => $s_sort_key,
- 'S_SELECT_SORT_DAYS' => $s_limit_days,
- 'S_SINGLE_MODERATOR' => (!empty($forum_moderators[$forum_id]) && sizeof($forum_moderators[$forum_id]) > 1) ? false : true,
- 'S_TOPIC_ACTION' => append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;start=$start"),
- 'S_TOPIC_MOD' => ($topic_mod != '') ? '<select name="action" id="quick-mod-select">' . $topic_mod . '</select>' : '',
- 'S_MOD_ACTION' => append_sid('mcp', "f=$forum_id&amp;t=$topic_id&amp;start=$start&amp;quickmod=1&amp;redirect=" . urlencode(str_replace('&amp;', '&', $viewtopic_url)), true, $user->session_id),
-
- 'S_VIEWTOPIC' => true,
- 'S_DISPLAY_SEARCHBOX' => (phpbb::$acl->acl_get('u_search') && phpbb::$acl->acl_get('f_search', $forum_id) && phpbb::$config['load_search']) ? true : false,
- 'S_SEARCHBOX_ACTION' => append_sid('search', 't=' . $topic_id),
-
- 'S_DISPLAY_POST_INFO' => ($topic_data['forum_type'] == FORUM_POST && (phpbb::$acl->acl_get('f_post', $forum_id) || phpbb::$user->is_guest)) ? true : false,
- 'S_DISPLAY_REPLY_INFO' => ($topic_data['forum_type'] == FORUM_POST && (phpbb::$acl->acl_get('f_reply', $forum_id) || phpbb::$user->is_guest)) ? true : false,
-
- 'U_TOPIC' => "{$server_path}viewtopic." . PHP_EXT . "?f=$forum_id&amp;t=$topic_id",
- 'U_FORUM' => $server_path,
- 'U_VIEW_TOPIC' => $viewtopic_url,
- 'U_VIEW_FORUM' => append_sid('viewforum', 'f=' . $forum_id),
- 'U_VIEW_OLDER_TOPIC' => append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;view=previous"),
- 'U_VIEW_NEWER_TOPIC' => append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;view=next"),
- 'U_PRINT_TOPIC' => (phpbb::$acl->acl_get('f_print', $forum_id)) ? $viewtopic_url . '&amp;view=print' : '',
- 'U_EMAIL_TOPIC' => (phpbb::$acl->acl_get('f_email', $forum_id) && phpbb::$config['email_enable']) ? append_sid('memberlist', "mode=email&amp;t=$topic_id") : '',
-
- 'U_WATCH_TOPIC' => $s_watching_topic['link'],
- 'L_WATCH_TOPIC' => $s_watching_topic['title'],
- 'S_WATCHING_TOPIC' => $s_watching_topic['is_watching'],
-
- 'U_BOOKMARK_TOPIC' => (phpbb::$user->is_registered && phpbb::$config['allow_bookmarks']) ? $viewtopic_url . '&amp;bookmark=1&amp;hash=' . generate_link_hash("topic_$topic_id") : '',
- 'L_BOOKMARK_TOPIC' => (phpbb::$user->is_registered && phpbb::$config['allow_bookmarks'] && $topic_data['bookmarked']) ? phpbb::$user->lang['BOOKMARK_TOPIC_REMOVE'] : phpbb::$user->lang['BOOKMARK_TOPIC'],
-
- 'U_POST_NEW_TOPIC' => (phpbb::$acl->acl_get('f_post', $forum_id) || phpbb::$user->is_guest) ? append_sid('posting', "mode=post&amp;f=$forum_id") : '',
- 'U_POST_REPLY_TOPIC' => (phpbb::$acl->acl_get('f_reply', $forum_id) || phpbb::$user->is_guest) ? append_sid('posting', "mode=reply&amp;f=$forum_id&amp;t=$topic_id") : '',
- 'U_BUMP_TOPIC' => (bump_topic_allowed($forum_id, $topic_data['topic_bumped'], $topic_data['topic_last_post_time'], $topic_data['topic_poster'], $topic_data['topic_last_poster_id'])) ? append_sid('posting', "mode=bump&amp;f=$forum_id&amp;t=$topic_id&amp;hash=" . generate_link_hash("topic_$topic_id")) : '',
-));
-
-// Does this topic contain a poll?
-if (!empty($topic_data['poll_start']))
-{
- $sql = 'SELECT o.*, p.bbcode_bitfield, p.bbcode_uid
- FROM ' . POLL_OPTIONS_TABLE . ' o, ' . POSTS_TABLE . " p
- WHERE o.topic_id = $topic_id
- AND p.post_id = {$topic_data['topic_first_post_id']}
- AND p.topic_id = o.topic_id
- ORDER BY o.poll_option_id";
- $result = phpbb::$db->sql_query($sql);
-
- $poll_info = array();
- while ($row = phpbb::$db->sql_fetchrow($result))
- {
- $poll_info[] = $row;
- }
- phpbb::$db->sql_freeresult($result);
-
- $cur_voted_id = array();
- if (phpbb::$user->is_registered)
- {
- $sql = 'SELECT poll_option_id
- FROM ' . POLL_VOTES_TABLE . '
- WHERE topic_id = ' . $topic_id . '
- AND vote_user_id = ' . phpbb::$user->data['user_id'];
- $result = phpbb::$db->sql_query($sql);
-
- while ($row = phpbb::$db->sql_fetchrow($result))
- {
- $cur_voted_id[] = $row['poll_option_id'];
- }
- phpbb::$db->sql_freeresult($result);
- }
- else
- {
- // Cookie based guest tracking ... I don't like this but hum ho
- // it's oft requested. This relies on "nice" users who don't feel
- // the need to delete cookies to mess with results.
- $cur_voted_list = phpbb_request::variable(phpbb::$config['cookie_name'] . '_poll_' . $topic_id, '', false, phpbb_request::COOKIE);
- if (!empty($cur_voted_list))
- {
- $cur_voted_id = array_map('intval', explode(',', $cur_voted_list));
- }
- }
-
- $s_can_vote = (((!sizeof($cur_voted_id) && phpbb::$acl->acl_get('f_vote', $forum_id)) ||
- (phpbb::$acl->acl_get('f_votechg', $forum_id) && $topic_data['poll_vote_change'])) &&
- (($topic_data['poll_length'] != 0 && $topic_data['poll_start'] + $topic_data['poll_length'] > time()) || $topic_data['poll_length'] == 0) &&
- $topic_data['topic_status'] != ITEM_LOCKED &&
- $topic_data['forum_status'] != ITEM_LOCKED) ? true : false;
- $s_display_results = (!$s_can_vote || ($s_can_vote && sizeof($cur_voted_id)) || $view == 'viewpoll') ? true : false;
-
- if ($update && $s_can_vote)
- {
-
- if (!sizeof($voted_id) || sizeof($voted_id) > $topic_data['poll_max_options'] || in_array(VOTE_CONVERTED, $cur_voted_id))
- {
- $redirect_url = append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;start=$start");
-
- meta_refresh(5, $redirect_url);
- if (!sizeof($voted_id))
- {
- $message = 'NO_VOTE_OPTION';
- }
- else if (sizeof($voted_id) > $topic_data['poll_max_options'])
- {
- $message = 'TOO_MANY_VOTE_OPTIONS';
- }
- else
- {
- $message = 'VOTE_CONVERTED';
- }
-
- $message = phpbb::$user->lang[$message] . '<br /><br />' . sprintf(phpbb::$user->lang['RETURN_TOPIC'], '<a href="' . $redirect_url . '">', '</a>');
- trigger_error($message);
- }
-
- foreach ($voted_id as $option)
- {
- if (in_array($option, $cur_voted_id))
- {
- continue;
- }
-
- $sql = 'UPDATE ' . POLL_OPTIONS_TABLE . '
- SET poll_option_total = poll_option_total + 1
- WHERE poll_option_id = ' . (int) $option . '
- AND topic_id = ' . (int) $topic_id;
- phpbb::$db->sql_query($sql);
-
- if (phpbb::$user->is_registered)
- {
- $sql_ary = array(
- 'topic_id' => (int) $topic_id,
- 'poll_option_id' => (int) $option,
- 'vote_user_id' => (int) phpbb::$user->data['user_id'],
- 'vote_user_ip' => (string) phpbb::$user->ip,
- );
-
- $sql = 'INSERT INTO ' . POLL_VOTES_TABLE . ' ' . phpbb::$db->sql_build_array('INSERT', $sql_ary);
- phpbb::$db->sql_query($sql);
- }
- }
-
- foreach ($cur_voted_id as $option)
- {
- if (!in_array($option, $voted_id))
- {
- $sql = 'UPDATE ' . POLL_OPTIONS_TABLE . '
- SET poll_option_total = poll_option_total - 1
- WHERE poll_option_id = ' . (int) $option . '
- AND topic_id = ' . (int) $topic_id;
- phpbb::$db->sql_query($sql);
-
- if (phpbb::$user->is_registered)
- {
- $sql = 'DELETE FROM ' . POLL_VOTES_TABLE . '
- WHERE topic_id = ' . (int) $topic_id . '
- AND poll_option_id = ' . (int) $option . '
- AND vote_user_id = ' . (int) phpbb::$user->data['user_id'];
- phpbb::$db->sql_query($sql);
- }
- }
- }
-
- if (phpbb::$user->is_guest)
- {
- phpbb::$user->set_cookie('poll_' . $topic_id, implode(',', $voted_id), time() + 31536000);
- }
-
- $sql = 'UPDATE ' . TOPICS_TABLE . '
- SET poll_last_vote = ' . time() . "
- WHERE topic_id = $topic_id";
- //, topic_last_post_time = ' . time() . " -- for bumping topics with new votes, ignore for now
- phpbb::$db->sql_query($sql);
-
- $redirect_url = append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;start=$start");
-
- meta_refresh(5, $redirect_url);
- trigger_error(phpbb::$user->lang['VOTE_SUBMITTED'] . '<br /><br />' . sprintf(phpbb::$user->lang['RETURN_TOPIC'], '<a href="' . $redirect_url . '">', '</a>'));
- }
-
- $poll_total = 0;
- foreach ($poll_info as $poll_option)
- {
- $poll_total += $poll_option['poll_option_total'];
- }
-
- if ($poll_info[0]['bbcode_bitfield'])
- {
- $poll_bbcode = new bbcode();
- }
- else
- {
- $poll_bbcode = false;
- }
-
- for ($i = 0, $size = sizeof($poll_info); $i < $size; $i++)
- {
- $poll_info[$i]['poll_option_text'] = censor_text($poll_info[$i]['poll_option_text']);
-
- if ($poll_bbcode !== false)
- {
- $poll_bbcode->bbcode_second_pass($poll_info[$i]['poll_option_text'], $poll_info[$i]['bbcode_uid'], $poll_option['bbcode_bitfield']);
- }
-
- $poll_info[$i]['poll_option_text'] = bbcode_nl2br($poll_info[$i]['poll_option_text']);
- $poll_info[$i]['poll_option_text'] = smiley_text($poll_info[$i]['poll_option_text']);
- }
-
- $topic_data['poll_title'] = censor_text($topic_data['poll_title']);
-
- if ($poll_bbcode !== false)
- {
- $poll_bbcode->bbcode_second_pass($topic_data['poll_title'], $poll_info[0]['bbcode_uid'], $poll_info[0]['bbcode_bitfield']);
- }
-
- $topic_data['poll_title'] = bbcode_nl2br($topic_data['poll_title']);
- $topic_data['poll_title'] = smiley_text($topic_data['poll_title']);
-
- unset($poll_bbcode);
-
- foreach ($poll_info as $poll_option)
- {
- $option_pct = ($poll_total > 0) ? $poll_option['poll_option_total'] / $poll_total : 0;
- $option_pct_txt = sprintf("%.1d%%", round($option_pct * 100));
-
- phpbb::$template->assign_block_vars('poll_option', array(
- 'POLL_OPTION_ID' => $poll_option['poll_option_id'],
- 'POLL_OPTION_CAPTION' => $poll_option['poll_option_text'],
- 'POLL_OPTION_RESULT' => $poll_option['poll_option_total'],
- 'POLL_OPTION_PERCENT' => $option_pct_txt,
- 'POLL_OPTION_PCT' => round($option_pct * 100),
- 'POLL_OPTION_IMG' => phpbb::$user->img('poll_center', $option_pct_txt, '', round($option_pct * 250)),
- 'POLL_OPTION_VOTED' => (in_array($poll_option['poll_option_id'], $cur_voted_id)) ? true : false,
- ));
- }
-
- $poll_end = $topic_data['poll_length'] + $topic_data['poll_start'];
-
- phpbb::$template->assign_vars(array(
- 'POLL_QUESTION' => $topic_data['poll_title'],
- 'TOTAL_VOTES' => $poll_total,
- 'POLL_LEFT_CAP_IMG' => phpbb::$user->img('poll_left'),
- 'POLL_RIGHT_CAP_IMG'=> phpbb::$user->img('poll_right'),
-
- 'L_MAX_VOTES' => ($topic_data['poll_max_options'] == 1) ? phpbb::$user->lang['MAX_OPTION_SELECT'] : sprintf(phpbb::$user->lang['MAX_OPTIONS_SELECT'], $topic_data['poll_max_options']),
- 'L_POLL_LENGTH' => ($topic_data['poll_length']) ? sprintf(phpbb::$user->lang[($poll_end > time()) ? 'POLL_RUN_TILL' : 'POLL_ENDED_AT'], phpbb::$user->format_date($poll_end)) : '',
-
- 'S_HAS_POLL' => true,
- 'S_CAN_VOTE' => $s_can_vote,
- 'S_DISPLAY_RESULTS' => $s_display_results,
- 'S_IS_MULTI_CHOICE' => ($topic_data['poll_max_options'] > 1) ? true : false,
- 'S_POLL_ACTION' => $viewtopic_url,
-
- 'U_VIEW_RESULTS' => $viewtopic_url . '&amp;view=viewpoll',
- ));
-
- unset($poll_end, $poll_info, $voted_id);
-}
-
-// If the user is trying to reach the second half of the topic, fetch it starting from the end
-$store_reverse = false;
-$sql_limit = phpbb::$config['posts_per_page'];
-
-if ($start > $total_posts / 2)
-{
- $store_reverse = true;
-
- if ($start + phpbb::$config['posts_per_page'] > $total_posts)
- {
- $sql_limit = min(phpbb::$config['posts_per_page'], max(1, $total_posts - $start));
- }
-
- // Select the sort order
- $sql_sort_order = $sort_by_sql[$sort_key] . ' ' . (($sort_dir == 'd') ? 'ASC' : 'DESC');
- $sql_start = max(0, $total_posts - $sql_limit - $start);
-}
-else
-{
- // Select the sort order
- $sql_sort_order = $sort_by_sql[$sort_key] . ' ' . (($sort_dir == 'd') ? 'DESC' : 'ASC');
- $sql_start = $start;
-}
-
-// Container for user details, only process once
-$post_list = $user_cache = $id_cache = $attachments = $attach_list = $rowset = $update_count = $post_edit_list = array();
-$has_attachments = $display_notice = false;
-$bbcode_bitfield = '';
-$i = $i_total = 0;
-
-// Go ahead and pull all data for this topic
-$sql = 'SELECT p.post_id
- FROM ' . POSTS_TABLE . ' p' . (($sort_by_sql[$sort_key][0] == 'u') ? ', ' . USERS_TABLE . ' u': '') . "
- WHERE p.topic_id = $topic_id
- " . ((!phpbb::$acl->acl_get('m_approve', $forum_id)) ? 'AND p.post_approved = 1' : '') . "
- " . (($sort_by_sql[$sort_key][0] == 'u') ? 'AND u.user_id = p.poster_id': '') . "
- $limit_posts_time
- ORDER BY $sql_sort_order";
-$result = phpbb::$db->sql_query_limit($sql, $sql_limit, $sql_start);
-
-$i = ($store_reverse) ? $sql_limit - 1 : 0;
-while ($row = phpbb::$db->sql_fetchrow($result))
-{
- $post_list[$i] = (int) $row['post_id'];
- ($store_reverse) ? $i-- : $i++;
-}
-phpbb::$db->sql_freeresult($result);
-
-if (!sizeof($post_list))
-{
- if ($sort_days)
- {
- trigger_error('NO_POSTS_TIME_FRAME');
- }
- else
- {
- trigger_error('NO_TOPIC');
- }
-}
-
-// Holding maximum post time for marking topic read
-// We need to grab it because we do reverse ordering sometimes
-$max_post_time = 0;
-
-$sql = phpbb::$db->sql_build_query('SELECT', array(
- 'SELECT' => 'u.*, z.friend, z.foe, p.*',
-
- 'FROM' => array(
- USERS_TABLE => 'u',
- POSTS_TABLE => 'p',
- ),
-
- 'LEFT_JOIN' => array(
- array(
- 'FROM' => array(ZEBRA_TABLE => 'z'),
- 'ON' => 'z.user_id = ' . phpbb::$user->data['user_id'] . ' AND z.zebra_id = p.poster_id'
- )
- ),
-
- 'WHERE' => phpbb::$db->sql_in_set('p.post_id', $post_list) . '
- AND u.user_id = p.poster_id'
-));
-
-$result = phpbb::$db->sql_query($sql);
-
-$now = getdate(time() + phpbb::$user->timezone + phpbb::$user->dst - date('Z'));
-
-// Posts are stored in the $rowset array while $attach_list, $user_cache
-// and the global bbcode_bitfield are built
-while ($row = phpbb::$db->sql_fetchrow($result))
-{
- // Set max_post_time
- if ($row['post_time'] > $max_post_time)
- {
- $max_post_time = $row['post_time'];
- }
-
- $poster_id = (int) $row['poster_id'];
-
- // Does post have an attachment? If so, add it to the list
- if ($row['post_attachment'] && phpbb::$config['allow_attachments'])
- {
- $attach_list[] = (int) $row['post_id'];
-
- if ($row['post_approved'])
- {
- $has_attachments = true;
- }
- }
-
- $rowset[$row['post_id']] = array(
- 'hide_post' => ($row['foe'] && ($view != 'show' || $post_id != $row['post_id'])) ? true : false,
-
- 'post_id' => $row['post_id'],
- 'post_time' => $row['post_time'],
- 'user_id' => $row['user_id'],
- 'username' => $row['username'],
- 'user_colour' => $row['user_colour'],
- 'topic_id' => $row['topic_id'],
- 'forum_id' => $row['forum_id'],
- 'post_subject' => $row['post_subject'],
- 'post_edit_count' => $row['post_edit_count'],
- 'post_edit_time' => $row['post_edit_time'],
- 'post_edit_reason' => $row['post_edit_reason'],
- 'post_edit_user' => $row['post_edit_user'],
- 'post_edit_locked' => $row['post_edit_locked'],
-
- // Make sure the icon actually exists
- 'icon_id' => (isset($icons[$row['icon_id']]['img'], $icons[$row['icon_id']]['height'], $icons[$row['icon_id']]['width'])) ? $row['icon_id'] : 0,
- 'post_attachment' => $row['post_attachment'],
- 'post_approved' => $row['post_approved'],
- 'post_reported' => $row['post_reported'],
- 'post_username' => $row['post_username'],
- 'post_text' => $row['post_text'],
- 'bbcode_uid' => $row['bbcode_uid'],
- 'bbcode_bitfield' => $row['bbcode_bitfield'],
- 'enable_smilies' => $row['enable_smilies'],
- 'enable_sig' => $row['enable_sig'],
- 'friend' => $row['friend'],
- 'foe' => $row['foe'],
- );
-
- // Define the global bbcode bitfield, will be used to load bbcodes
- $bbcode_bitfield = $bbcode_bitfield | base64_decode($row['bbcode_bitfield']);
-
- // Is a signature attached? Are we going to display it?
- if ($row['enable_sig'] && phpbb::$config['allow_sig'] && phpbb::$user->optionget('viewsigs'))
- {
- $bbcode_bitfield = $bbcode_bitfield | base64_decode($row['user_sig_bbcode_bitfield']);
- }
-
- // Cache various user specific data ... so we don't have to recompute
- // this each time the same user appears on this page
- if (!isset($user_cache[$poster_id]))
- {
- if ($poster_id == ANONYMOUS)
- {
- $user_cache[$poster_id] = array(
- 'joined' => '',
- 'posts' => '',
- 'from' => '',
-
- 'sig' => '',
- 'sig_bbcode_uid' => '',
- 'sig_bbcode_bitfield' => '',
-
- 'online' => false,
- 'avatar' => (phpbb::$user->optionget('viewavatars')) ? get_user_avatar($row['user_avatar'], $row['user_avatar_type'], $row['user_avatar_width'], $row['user_avatar_height']) : '',
- 'rank_title' => '',
- 'rank_image' => '',
- 'rank_image_src' => '',
- 'sig' => '',
- 'profile' => '',
- 'pm' => '',
- 'email' => '',
- 'www' => '',
- 'icq_status_img' => '',
- 'icq' => '',
- 'aim' => '',
- 'msn' => '',
- 'yim' => '',
- 'jabber' => '',
- 'search' => '',
- 'age' => '',
-
- 'username' => $row['username'],
- 'user_colour' => $row['user_colour'],
-
- 'warnings' => 0,
- 'allow_pm' => 0,
- );
-
- get_user_rank($poster_id, $row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['rank_title'], $user_cache[$poster_id]['rank_image'], $user_cache[$poster_id]['rank_image_src']);
- }
- else
- {
- $user_sig = '';
-
- // We add the signature to every posters entry because enable_sig is post dependant
- if ($row['user_sig'] && phpbb::$config['allow_sig'] && phpbb::$user->optionget('viewsigs'))
- {
- $user_sig = $row['user_sig'];
- }
-
- $id_cache[] = $poster_id;
-
- $user_cache[$poster_id] = array(
- 'joined' => phpbb::$user->format_date($row['user_regdate']),
- 'posts' => $row['user_posts'],
- 'warnings' => (isset($row['user_warnings'])) ? $row['user_warnings'] : 0,
- 'from' => (!empty($row['user_from'])) ? $row['user_from'] : '',
-
- 'sig' => $user_sig,
- 'sig_bbcode_uid' => (!empty($row['user_sig_bbcode_uid'])) ? $row['user_sig_bbcode_uid'] : '',
- 'sig_bbcode_bitfield' => (!empty($row['user_sig_bbcode_bitfield'])) ? $row['user_sig_bbcode_bitfield'] : '',
-
- 'viewonline' => $row['user_allow_viewonline'],
- 'allow_pm' => $row['user_allow_pm'],
-
- 'avatar' => (phpbb::$user->optionget('viewavatars')) ? get_user_avatar($row['user_avatar'], $row['user_avatar_type'], $row['user_avatar_width'], $row['user_avatar_height']) : '',
- 'age' => '',
-
- 'rank_title' => '',
- 'rank_image' => '',
- 'rank_image_src' => '',
-
- 'username' => $row['username'],
- 'user_colour' => $row['user_colour'],
-
- 'online' => false,
- 'profile' => append_sid('memberlist', "mode=viewprofile&amp;u=$poster_id"),
- 'www' => $row['user_website'],
- 'aim' => ($row['user_aim'] && phpbb::$acl->acl_get('u_sendim')) ? append_sid('memberlist', "mode=contact&amp;action=aim&amp;u=$poster_id") : '',
- 'msn' => ($row['user_msnm'] && phpbb::$acl->acl_get('u_sendim')) ? append_sid('memberlist', "mode=contact&amp;action=msnm&amp;u=$poster_id") : '',
- 'yim' => ($row['user_yim']) ? 'http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($row['user_yim']) . '&amp;.src=pg' : '',
- 'jabber' => ($row['user_jabber'] && phpbb::$acl->acl_get('u_sendim')) ? append_sid('memberlist', "mode=contact&amp;action=jabber&amp;u=$poster_id") : '',
- 'search' => (phpbb::$acl->acl_get('u_search')) ? append_sid('search', "author_id=$poster_id&amp;sr=posts") : '',
- );
-
- get_user_rank($poster_id, $row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['rank_title'], $user_cache[$poster_id]['rank_image'], $user_cache[$poster_id]['rank_image_src']);
-
- if (!empty($row['user_allow_viewemail']) || phpbb::$acl->acl_get('a_email'))
- {
- $user_cache[$poster_id]['email'] = (phpbb::$config['board_email_form'] && phpbb::$config['email_enable']) ? append_sid('memberlist', "mode=email&amp;u=$poster_id") : ((phpbb::$config['board_hide_emails'] && !phpbb::$acl->acl_get('a_email')) ? '' : 'mailto:' . $row['user_email']);
- }
- else
- {
- $user_cache[$poster_id]['email'] = '';
- }
-
- if (!empty($row['user_icq']))
- {
- $user_cache[$poster_id]['icq'] = 'http://www.icq.com/people/webmsg.php?to=' . $row['user_icq'];
- $user_cache[$poster_id]['icq_status_img'] = '<img src="http://web.icq.com/whitepages/online?icq=' . $row['user_icq'] . '&amp;img=5" width="18" height="18" alt="" />';
- }
- else
- {
- $user_cache[$poster_id]['icq_status_img'] = '';
- $user_cache[$poster_id]['icq'] = '';
- }
-
- if (phpbb::$config['allow_birthdays'] && !empty($row['user_birthday']))
- {
- list($bday_day, $bday_month, $bday_year) = array_map('intval', explode('-', $row['user_birthday']));
-
- if ($bday_year)
- {
- $diff = $now['mon'] - $bday_month;
- if ($diff == 0)
- {
- $diff = ($now['mday'] - $bday_day < 0) ? 1 : 0;
- }
- else
- {
- $diff = ($diff < 0) ? 1 : 0;
- }
-
- $user_cache[$poster_id]['age'] = (int) ($now['year'] - $bday_year - $diff);
- }
- }
- }
- }
-}
-phpbb::$db->sql_freeresult($result);
-
-// Load custom profile fields
-if (phpbb::$config['load_cpf_viewtopic'])
-{
- if (!class_exists('custom_profile'))
- {
- include(PHPBB_ROOT_PATH . 'includes/functions_profile_fields.' . PHP_EXT);
- }
- $cp = new custom_profile();
-
- // Grab all profile fields from users in id cache for later use - similar to the poster cache
- $profile_fields_cache = $cp->generate_profile_fields_template('grab', $id_cache);
-}
-
-// Generate online information for user
-if (phpbb::$config['load_onlinetrack'] && sizeof($id_cache))
-{
- $sql = 'SELECT session_user_id, MAX(session_time) as online_time, MIN(session_viewonline) AS viewonline
- FROM ' . SESSIONS_TABLE . '
- WHERE ' . phpbb::$db->sql_in_set('session_user_id', $id_cache) . '
- GROUP BY session_user_id';
- $result = phpbb::$db->sql_query($sql);
-
- $update_time = phpbb::$config['load_online_time'] * 60;
- while ($row = phpbb::$db->sql_fetchrow($result))
- {
- $user_cache[$row['session_user_id']]['online'] = (time() - $update_time < $row['online_time'] && (($row['viewonline']) || phpbb::$acl->acl_get('u_viewonline'))) ? true : false;
- }
- phpbb::$db->sql_freeresult($result);
-}
-unset($id_cache);
-
-// Pull attachment data
-if (sizeof($attach_list))
-{
- if (phpbb::$acl->acl_get('u_download') && phpbb::$acl->acl_get('f_download', $forum_id))
- {
- $sql = 'SELECT *
- FROM ' . ATTACHMENTS_TABLE . '
- WHERE ' . phpbb::$db->sql_in_set('post_msg_id', $attach_list) . '
- AND in_message = 0
- ORDER BY filetime DESC, post_msg_id ASC';
- $result = phpbb::$db->sql_query($sql);
-
- while ($row = phpbb::$db->sql_fetchrow($result))
- {
- $attachments[$row['post_msg_id']][] = $row;
- }
- phpbb::$db->sql_freeresult($result);
-
- // No attachments exist, but post table thinks they do so go ahead and reset post_attach flags
- if (!sizeof($attachments))
- {
- $sql = 'UPDATE ' . POSTS_TABLE . '
- SET post_attachment = 0
- WHERE ' . phpbb::$db->sql_in_set('post_id', $attach_list);
- phpbb::$db->sql_query($sql);
-
- // We need to update the topic indicator too if the complete topic is now without an attachment
- if (sizeof($rowset) != $total_posts)
- {
- // Not all posts are displayed so we query the db to find if there's any attachment for this topic
- $sql = 'SELECT a.post_msg_id as post_id
- FROM ' . ATTACHMENTS_TABLE . ' a, ' . POSTS_TABLE . " p
- WHERE p.topic_id = $topic_id
- AND p.post_approved = 1
- AND p.topic_id = a.topic_id";
- $result = phpbb::$db->sql_query_limit($sql, 1);
- $row = phpbb::$db->sql_fetchrow($result);
- phpbb::$db->sql_freeresult($result);
-
- if (!$row)
- {
- $sql = 'UPDATE ' . TOPICS_TABLE . "
- SET topic_attachment = 0
- WHERE topic_id = $topic_id";
- phpbb::$db->sql_query($sql);
- }
- }
- else
- {
- $sql = 'UPDATE ' . TOPICS_TABLE . "
- SET topic_attachment = 0
- WHERE topic_id = $topic_id";
- phpbb::$db->sql_query($sql);
- }
- }
- else if ($has_attachments && !$topic_data['topic_attachment'])
- {
- // Topic has approved attachments but its flag is wrong
- $sql = 'UPDATE ' . TOPICS_TABLE . "
- SET topic_attachment = 1
- WHERE topic_id = $topic_id";
- phpbb::$db->sql_query($sql);
-
- $topic_data['topic_attachment'] = 1;
- }
- }
- else
- {
- $display_notice = true;
- }
-}
-
-// Instantiate BBCode if need be
-if ($bbcode_bitfield !== '')
-{
- $bbcode = new bbcode(base64_encode($bbcode_bitfield));
-}
-
-$i_total = sizeof($rowset) - 1;
-$prev_post_id = '';
-
-phpbb::$template->assign_vars(array(
- 'S_NUM_POSTS' => sizeof($post_list),
-));
-
-// Output the posts
-$first_unread = $post_unread = false;
-for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
-{
- // A non-existing rowset only happens if there was no user present for the entered poster_id
- // This could be a broken posts table.
- if (!isset($rowset[$post_list[$i]]))
- {
- continue;
- }
-
- $row =& $rowset[$post_list[$i]];
- $poster_id = $row['user_id'];
-
- // End signature parsing, only if needed
- if ($user_cache[$poster_id]['sig'] && $row['enable_sig'] && empty($user_cache[$poster_id]['sig_parsed']))
- {
- $user_cache[$poster_id]['sig'] = censor_text($user_cache[$poster_id]['sig']);
-
- if ($user_cache[$poster_id]['sig_bbcode_bitfield'])
- {
- $bbcode->bbcode_second_pass($user_cache[$poster_id]['sig'], $user_cache[$poster_id]['sig_bbcode_uid'], $user_cache[$poster_id]['sig_bbcode_bitfield']);
- }
-
- $user_cache[$poster_id]['sig'] = bbcode_nl2br($user_cache[$poster_id]['sig']);
- $user_cache[$poster_id]['sig'] = smiley_text($user_cache[$poster_id]['sig']);
- $user_cache[$poster_id]['sig_parsed'] = true;
- }
-
- // Parse the message and subject
- $message = censor_text($row['post_text']);
-
- // Second parse bbcode here
- if ($row['bbcode_bitfield'])
- {
- $bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
- }
-
- $message = bbcode_nl2br($message);
- $message = smiley_text($message);
-
- if (!empty($attachments[$row['post_id']]))
- {
- parse_attachments($forum_id, $message, $attachments[$row['post_id']], $update_count);
- }
-
- // Replace naughty words such as farty pants
- $row['post_subject'] = censor_text($row['post_subject']);
-
- // Highlight active words (primarily for search)
- if ($highlight_match)
- {
- $message = preg_replace('#(?!<.*)(?<!\w)(' . $highlight_match . ')(?!\w|[^<>]*(?:</s(?:cript|tyle))?>)#is', '<span class="posthilit">\1</span>', $message);
- $row['post_subject'] = preg_replace('#(?!<.*)(?<!\w)(' . $highlight_match . ')(?!\w|[^<>]*(?:</s(?:cript|tyle))?>)#is', '<span class="posthilit">\1</span>', $row['post_subject']);
- }
-
- // Editing information
- if (($row['post_edit_count'] && phpbb::$config['display_last_edited']) || $row['post_edit_reason'])
- {
- // Get usernames for all following posts if not already stored
- if (!sizeof($post_edit_list) && ($row['post_edit_reason'] || ($row['post_edit_user'] && !isset($user_cache[$row['post_edit_user']]))))
- {
- // Remove all post_ids already parsed (we do not have to check them)
- $post_storage_list = (!$store_reverse) ? array_slice($post_list, $i) : array_slice(array_reverse($post_list), $i);
-
- $sql = 'SELECT DISTINCT u.user_id, u.username, u.user_colour
- FROM ' . POSTS_TABLE . ' p, ' . USERS_TABLE . ' u
- WHERE ' . phpbb::$db->sql_in_set('p.post_id', $post_storage_list) . '
- AND p.post_edit_count <> 0
- AND p.post_edit_user <> 0
- AND p.post_edit_user = u.user_id';
- $result2 = phpbb::$db->sql_query($sql);
- while ($user_edit_row = phpbb::$db->sql_fetchrow($result2))
- {
- $post_edit_list[$user_edit_row['user_id']] = $user_edit_row;
- }
- phpbb::$db->sql_freeresult($result2);
-
- unset($post_storage_list);
- }
-
- $l_edit_time_total = ($row['post_edit_count'] == 1) ? phpbb::$user->lang['EDITED_TIME_TOTAL'] : phpbb::$user->lang['EDITED_TIMES_TOTAL'];
-
- if ($row['post_edit_reason'])
- {
- // User having edited the post also being the post author?
- if (!$row['post_edit_user'] || $row['post_edit_user'] == $poster_id)
- {
- $display_username = get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']);
- }
- else
- {
- $display_username = get_username_string('full', $row['post_edit_user'], $post_edit_list[$row['post_edit_user']]['username'], $post_edit_list[$row['post_edit_user']]['user_colour']);
- }
-
- $l_edited_by = sprintf($l_edit_time_total, $display_username, phpbb::$user->format_date($row['post_edit_time'], false, true), $row['post_edit_count']);
- }
- else
- {
- if ($row['post_edit_user'] && !isset($user_cache[$row['post_edit_user']]))
- {
- $user_cache[$row['post_edit_user']] = $post_edit_list[$row['post_edit_user']];
- }
-
- // User having edited the post also being the post author?
- if (!$row['post_edit_user'] || $row['post_edit_user'] == $poster_id)
- {
- $display_username = get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']);
- }
- else
- {
- $display_username = get_username_string('full', $row['post_edit_user'], $user_cache[$row['post_edit_user']]['username'], $user_cache[$row['post_edit_user']]['user_colour']);
- }
-
- $l_edited_by = sprintf($l_edit_time_total, $display_username, phpbb::$user->format_date($row['post_edit_time'], false, true), $row['post_edit_count']);
- }
- }
- else
- {
- $l_edited_by = '';
- }
-
- // Bump information
- if ($topic_data['topic_bumped'] && $row['post_id'] == $topic_data['topic_last_post_id'] && isset($user_cache[$topic_data['topic_bumper']]) )
- {
- // It is safe to grab the username from the user cache array, we are at the last
- // post and only the topic poster and last poster are allowed to bump.
- // Admins and mods are bound to the above rules too...
- $l_bumped_by = '<br /><br />' . sprintf(phpbb::$user->lang['BUMPED_BY'], $user_cache[$topic_data['topic_bumper']]['username'], phpbb::$user->format_date($topic_data['topic_last_post_time'], false, false));
- }
- else
- {
- $l_bumped_by = '';
- }
-
- $cp_row = array();
-
- //
- if (phpbb::$config['load_cpf_viewtopic'])
- {
- $cp_row = (isset($profile_fields_cache[$poster_id])) ? $cp->generate_profile_fields_template('show', false, $profile_fields_cache[$poster_id]) : array();
- }
-
- $post_unread = (isset($topic_tracking_info[$topic_id]) && $row['post_time'] > $topic_tracking_info[$topic_id]) ? true : false;
-
- $s_first_unread = false;
- if (!$first_unread && $post_unread)
- {
- $s_first_unread = $first_unread = true;
- }
-
- //
- $postrow = array(
- 'POST_AUTHOR_FULL' => get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']),
- 'POST_AUTHOR_COLOUR' => get_username_string('colour', $poster_id, $row['username'], $row['user_colour'], $row['post_username']),
- 'POST_AUTHOR' => get_username_string('username', $poster_id, $row['username'], $row['user_colour'], $row['post_username']),
- 'U_POST_AUTHOR' => get_username_string('profile', $poster_id, $row['username'], $row['user_colour'], $row['post_username']),
-
- 'RANK_TITLE' => $user_cache[$poster_id]['rank_title'],
- 'RANK_IMG' => $user_cache[$poster_id]['rank_image'],
- 'RANK_IMG_SRC' => $user_cache[$poster_id]['rank_image_src'],
- 'POSTER_JOINED' => $user_cache[$poster_id]['joined'],
- 'POSTER_POSTS' => $user_cache[$poster_id]['posts'],
- 'POSTER_FROM' => $user_cache[$poster_id]['from'],
- 'POSTER_AVATAR' => $user_cache[$poster_id]['avatar'],
- 'POSTER_WARNINGS' => $user_cache[$poster_id]['warnings'],
- 'POSTER_AGE' => $user_cache[$poster_id]['age'],
-
- 'POST_DATE' => phpbb::$user->format_date($row['post_time'], false, ($view == 'print') ? true : false),
- 'POST_SUBJECT' => $row['post_subject'],
- 'MESSAGE' => $message,
- 'SIGNATURE' => ($row['enable_sig']) ? $user_cache[$poster_id]['sig'] : '',
- 'EDITED_MESSAGE' => $l_edited_by,
- 'EDIT_REASON' => $row['post_edit_reason'],
- 'BUMPED_MESSAGE' => $l_bumped_by,
-
- 'MINI_POST_IMG' => ($post_unread) ? phpbb::$user->img('icon_post_target_unread', 'NEW_POST') : phpbb::$user->img('icon_post_target', 'POST'),
- 'POST_ICON_IMG' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['img'] : '',
- 'POST_ICON_IMG_WIDTH' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['width'] : '',
- 'POST_ICON_IMG_HEIGHT' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['height'] : '',
- 'ICQ_STATUS_IMG' => $user_cache[$poster_id]['icq_status_img'],
- 'ONLINE_IMG' => ($poster_id == ANONYMOUS || !phpbb::$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? phpbb::$user->img('icon_user_online', 'ONLINE') : phpbb::$user->img('icon_user_offline', 'OFFLINE')),
- 'S_ONLINE' => ($poster_id == ANONYMOUS || !phpbb::$config['load_onlinetrack']) ? false : (($user_cache[$poster_id]['online']) ? true : false),
-
- 'U_EDIT' => (!phpbb::$user->is_registered) ? '' : (((phpbb::$user->data['user_id'] == $poster_id && phpbb::$acl->acl_get('f_edit', $forum_id) && ($row['post_time'] > time() - (phpbb::$config['edit_time'] * 60) || !phpbb::$config['edit_time'])) || phpbb::$acl->acl_get('m_edit', $forum_id)) ? append_sid('posting', "mode=edit&amp;f=$forum_id&amp;p={$row['post_id']}") : ''),
- 'U_QUOTE' => (phpbb::$acl->acl_get('f_reply', $forum_id)) ? append_sid('posting', "mode=quote&amp;f=$forum_id&amp;p={$row['post_id']}") : '',
- 'U_INFO' => (phpbb::$acl->acl_get('m_info', $forum_id)) ? append_sid('mcp', "i=main&amp;mode=post_details&amp;f=$forum_id&amp;p=" . $row['post_id'], true, phpbb::$user->session_id) : '',
- 'U_DELETE' => (!phpbb::$user->is_registered) ? '' : (((phpbb::$user->data['user_id'] == $poster_id && phpbb::$acl->acl_get('f_delete', $forum_id) && $topic_data['topic_last_post_id'] == $row['post_id'] && !$row['post_edit_locked'] && ($row['post_time'] > time() - (phpbb::$config['edit_time'] * 60) || !phpbb::$config['edit_time'])) || phpbb::$acl->acl_get('m_delete', $forum_id)) ? append_sid('posting', "mode=delete&amp;f=$forum_id&amp;p={$row['post_id']}") : ''),
-
- 'U_PROFILE' => $user_cache[$poster_id]['profile'],
- 'U_SEARCH' => $user_cache[$poster_id]['search'],
- 'U_PM' => ($poster_id != ANONYMOUS && phpbb::$config['allow_privmsg'] && phpbb::$acl->acl_get('u_sendpm') && ($user_cache[$poster_id]['allow_pm'] || phpbb::$acl->acl_gets('a_', 'm_') || phpbb::$acl->acl_getf_global('m_'))) ? append_sid('ucp', 'i=pm&amp;mode=compose&amp;action=quotepost&amp;p=' . $row['post_id']) : '',
- 'U_EMAIL' => $user_cache[$poster_id]['email'],
- 'U_WWW' => $user_cache[$poster_id]['www'],
- 'U_ICQ' => $user_cache[$poster_id]['icq'],
- 'U_AIM' => $user_cache[$poster_id]['aim'],
- 'U_MSN' => $user_cache[$poster_id]['msn'],
- 'U_YIM' => $user_cache[$poster_id]['yim'],
- 'U_JABBER' => $user_cache[$poster_id]['jabber'],
-
- 'U_REPORT' => (phpbb::$acl->acl_get('f_report', $forum_id)) ? append_sid('report', 'f=' . $forum_id . '&amp;p=' . $row['post_id']) : '',
- 'U_MCP_REPORT' => (phpbb::$acl->acl_get('m_report', $forum_id)) ? append_sid('mcp', 'i=reports&amp;mode=report_details&amp;f=' . $forum_id . '&amp;p=' . $row['post_id'], true, phpbb::$user->session_id) : '',
- 'U_MCP_APPROVE' => (phpbb::$acl->acl_get('m_approve', $forum_id)) ? append_sid('mcp', 'i=queue&amp;mode=approve_details&amp;f=' . $forum_id . '&amp;p=' . $row['post_id'], true, phpbb::$user->session_id) : '',
- 'U_MINI_POST' => append_sid('viewtopic', 'p=' . $row['post_id']) . (($topic_data['topic_type'] == POST_GLOBAL) ? '&amp;f=' . $forum_id : '') . '#p' . $row['post_id'],
- 'U_NEXT_POST_ID' => ($i < $i_total && isset($rowset[$post_list[$i + 1]])) ? $rowset[$post_list[$i + 1]]['post_id'] : '',
- 'U_PREV_POST_ID' => $prev_post_id,
- 'U_NOTES' => (phpbb::$acl->acl_getf_global('m_')) ? append_sid('mcp', 'i=notes&amp;mode=user_notes&amp;u=' . $poster_id, true, phpbb::$user->session_id) : '',
- 'U_WARN' => (phpbb::$acl->acl_get('m_warn') && $poster_id != phpbb::$user->data['user_id'] && $poster_id != ANONYMOUS) ? append_sid('mcp', 'i=warn&amp;mode=warn_post&amp;f=' . $forum_id . '&amp;p=' . $row['post_id'], true, phpbb::$user->session_id) : '',
-
- 'POST_ID' => $row['post_id'],
- 'POSTER_ID' => $poster_id,
-
- 'S_HAS_ATTACHMENTS' => (!empty($attachments[$row['post_id']])) ? true : false,
- 'S_POST_UNAPPROVED' => ($row['post_approved']) ? false : true,
- 'S_POST_REPORTED' => ($row['post_reported'] && phpbb::$acl->acl_get('m_report', $forum_id)) ? true : false,
- 'S_DISPLAY_NOTICE' => $display_notice && $row['post_attachment'],
- 'S_FRIEND' => ($row['friend']) ? true : false,
- 'S_UNREAD_POST' => $post_unread,
- 'S_FIRST_UNREAD' => $s_first_unread,
- 'S_CUSTOM_FIELDS' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false,
- 'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false,
-
- 'S_IGNORE_POST' => ($row['hide_post']) ? true : false,
- 'L_IGNORE_POST' => ($row['hide_post']) ? sprintf(phpbb::$user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&amp;p={$row['post_id']}&amp;view=show#p{$row['post_id']}" . '">', '</a>') : '',
- );
-
- if (isset($cp_row['row']) && sizeof($cp_row['row']))
- {
- $postrow = array_merge($postrow, $cp_row['row']);
- }
-
- // Dump vars into template
- phpbb::$template->assign_block_vars('postrow', $postrow);
-
- if (!empty($cp_row['blockrow']))
- {
- foreach ($cp_row['blockrow'] as $field_data)
- {
- phpbb::$template->assign_block_vars('postrow.custom_fields', $field_data);
- }
- }
-
- // Display not already displayed Attachments for this post, we already parsed them. ;)
- if (!empty($attachments[$row['post_id']]))
- {
- foreach ($attachments[$row['post_id']] as $attachment)
- {
- phpbb::$template->assign_block_vars('postrow.attachment', array(
- 'DISPLAY_ATTACHMENT' => $attachment,
- ));
- }
- }
-
- $prev_post_id = $row['post_id'];
-
- unset($rowset[$post_list[$i]]);
- unset($attachments[$row['post_id']]);
-}
-unset($rowset, $user_cache);
-
-// Update topic view and if necessary attachment view counters ... but only for humans and if this is the first 'page view'
-if (isset(phpbb::$user->data['session_page']) && !phpbb::$user->is_bot && (strpos(phpbb::$user->data['session_page'], '&t=' . $topic_id) === false || isset(phpbb::$user->data['session_created'])))
-{
- $sql = 'UPDATE ' . TOPICS_TABLE . '
- SET topic_views = topic_views + 1, topic_last_view_time = ' . time() . "
- WHERE topic_id = $topic_id";
- phpbb::$db->sql_query($sql);
-
- // Update the attachment download counts
- if (sizeof($update_count))
- {
- $sql = 'UPDATE ' . ATTACHMENTS_TABLE . '
- SET download_count = download_count + 1
- WHERE ' . phpbb::$db->sql_in_set('attach_id', array_unique($update_count));
- phpbb::$db->sql_query($sql);
- }
-}
-
-// Only mark topic if it's currently unread. Also make sure we do not set topic tracking back if earlier pages are viewed.
-if (isset($topic_tracking_info[$topic_id]) && $topic_data['topic_last_post_time'] > $topic_tracking_info[$topic_id] && $max_post_time > $topic_tracking_info[$topic_id])
-{
- markread('topic', $forum_id, $topic_id, $max_post_time);
-
- // Update forum info
- $all_marked_read = update_forum_tracking_info($forum_id, $topic_data['forum_last_post_time'], (isset($topic_data['forum_mark_time'])) ? $topic_data['forum_mark_time'] : false, false);
-}
-else
-{
- $all_marked_read = true;
-}
-
-// If there are absolutely no more unread posts in this forum and unread posts shown, we can savely show the #unread link
-if ($all_marked_read)
-{
- if ($post_unread)
- {
- phpbb::$template->assign_vars(array(
- 'U_VIEW_UNREAD_POST' => '#unread',
- ));
- }
- else if (isset($topic_tracking_info[$topic_id]) && $topic_data['topic_last_post_time'] > $topic_tracking_info[$topic_id])
- {
- phpbb::$template->assign_vars(array(
- 'U_VIEW_UNREAD_POST' => append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;view=unread") . '#unread',
- ));
- }
-}
-else if (!$all_marked_read)
-{
- $last_page = ((floor($start / phpbb::$config['posts_per_page']) + 1) == max(ceil($total_posts / phpbb::$config['posts_per_page']), 1)) ? true : false;
-
- // What can happen is that we are at the last displayed page. If so, we also display the #unread link based in $post_unread
- if ($last_page && $post_unread)
- {
- phpbb::$template->assign_vars(array(
- 'U_VIEW_UNREAD_POST' => '#unread',
- ));
- }
- else if (!$last_page)
- {
- phpbb::$template->assign_vars(array(
- 'U_VIEW_UNREAD_POST' => append_sid('viewtopic', "f=$forum_id&amp;t=$topic_id&amp;view=unread") . '#unread',
- ));
- }
-}
-
-/**
-* @todo Do NOT overwrite a request variable.
-*/
-// We overwrite the 'f' request variable if there is no forum specified to be able to display the correct online list.
-// One downside is that the user currently viewing this topic/post is not taken into account.
-if (!phpbb_request::variable('f', 0))
-{
- phpbb_request::overwrite('f', $forum_id);
-}
-
-// Output the page
-page_header(phpbb::$user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title']);
-
-phpbb::$template->set_filenames(array(
- 'body' => ($view == 'print') ? 'viewtopic_print.html' : 'viewtopic_body.html',
-));
-make_jumpbox(append_sid('viewforum'), $forum_id);
-
-page_footer();
-
-?> \ No newline at end of file
929' href='#n2929'>2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648
# translation of rpmdrake-ca.po to
# translation of rpmdrake.po to Catalan
# Copyright (C) 2000-2004, 2005 Free Software Foundation, Inc.
# Traducció per Softcatalà <traddrake@softcatala.org>
# Excepte la part d'Albert Astals Cid
# Softcatalà <info@softcatala.org>, 2000-2003.
# Juan José Marí Morate <juanjosemari@telefonica.net>, 2003.
# Albert Astals Cid <astals11@terra.es>, 2004, 2005.
# Ticià Sala <tsala@pie.xtec.es>, 2005.
msgid ""
msgstr ""
"Project-Id-Version: rpmdrake-ca\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-10-11 12:57+0200\n"
"PO-Revision-Date: 2005-11-09 00:32+0000\n"
"Last-Translator: Ticià Sala <tsala@pie.xtec.es>\n"
"Language-Team:  <ca@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.10.2\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"

#: ../MandrivaUpdate:103 ../Rpmdrake/gui.pm:855
#, c-format
msgid ""
"The list of updates is empty. This means that either there is\n"
"no available update for the packages installed on your computer,\n"
"or you already installed all of them."
msgstr ""
"La llista d'actualitzacions és buida. Això significa que no hi ha\n"
"actualitzacions disponibles per als paquets instal·lats en el vostre "
"ordinador,\n"
"o que ja els heu instal·lat tots."

#: ../MandrivaUpdate:126 ../rpmdrake:90 ../rpmdrake:725 ../rpmdrake.pm:210
#, fuzzy, c-format
msgid "Software Management"
msgstr "Gestor de Fonts de Programari"

#: ../MandrivaUpdate:151
#, fuzzy, c-format
msgid "Here is the list of software package updates"
msgstr "Actualització de Paquets de Programari"

#: ../MandrivaUpdate:158
#, c-format
msgid "Name"
msgstr "Nom"

#: ../MandrivaUpdate:159 ../rpmdrake:275
#, fuzzy, c-format
msgid "Version"
msgstr "Versió"

#: ../MandrivaUpdate:160 ../rpmdrake:279
#, c-format
msgid "Release"
msgstr ""

#: ../MandrivaUpdate:161
#, fuzzy, c-format
msgid "Arch"
msgstr "Arxivant"

#: ../MandrivaUpdate:175 ../Rpmdrake/edit_urpm_sources.pm:1140
#, c-format
msgid "Help"
msgstr "Ajuda"

#: ../MandrivaUpdate:179 ../rpmdrake:652 ../rpmdrake.pm:817
#, c-format
msgid "Select all"
msgstr "Selecciona-ho tot"

#: ../MandrivaUpdate:192 ../rpmdrake.pm:821
#, c-format
msgid "Update"
msgstr "Actualitza"

#: ../MandrivaUpdate:200 ../rpmdrake:663
#, c-format
msgid "Quit"
msgstr "Surt"

#: ../Rpmdrake/edit_urpm_sources.pm:62
#, c-format
msgid "CD-ROM"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:63
#, fuzzy, c-format
msgid "FTP"
msgstr "Web/FTP"

#: ../Rpmdrake/edit_urpm_sources.pm:64 ../Rpmdrake/edit_urpm_sources.pm:74
#, fuzzy, c-format
msgid "Local"
msgstr "Fitxers locals"

#: ../Rpmdrake/edit_urpm_sources.pm:65
#, c-format
msgid "HTTP"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:66
#, c-format
msgid "HTTPS"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:67 ../Rpmdrake/edit_urpm_sources.pm:70
#, c-format
msgid "NFS"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:68
#, fuzzy, c-format
msgid "Removable"
msgstr "Suprimeix"

#: ../Rpmdrake/edit_urpm_sources.pm:69
#, c-format
msgid "rsync"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:73
#, fuzzy, c-format
msgid "Mirror list"
msgstr "Seleccions de %s"

#: ../Rpmdrake/edit_urpm_sources.pm:114
#, c-format
msgid "Choose media type"
msgstr "Escolliu el tipus de font"

#: ../Rpmdrake/edit_urpm_sources.pm:115
#, c-format
msgid ""
"In order to keep your system secure and stable, you must at a minimum set "
"up\n"
"sources for official security and stability updates. You can also choose to "
"set\n"
"up a fuller set of sources which includes the complete official Mandriva\n"
"repositories, giving you access to more software than can fit on the "
"Mandriva\n"
"discs. Please choose whether to configure update sources only, or the full "
"set\n"
"of sources."
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:122
#, c-format
msgid "Full set of sources"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:122
#, c-format
msgid "Update sources only"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:134
#, c-format
msgid ""
"This will attempt to install all official sources corresponding to your\n"
"distribution (%s).\n"
"\n"
"I need to contact the Mandriva website to get the mirror list.\n"
"Please check that your network is currently running.\n"
"\n"
"Is it ok to continue?"
msgstr ""
"Això intentarà instal·lar totes les fonts oficials que corresponen a la "
"vostra distribució (%s)\n"
"\n"
"Necessito contactar amb la pàgina web de Mandriva per a baixar la llista de "
"rèpliques.\n"
"Comproveu per favor que la vostra xarxa funcioni.\n"
"\n"
"Esteu d'acord en continuar?"

#: ../Rpmdrake/edit_urpm_sources.pm:144 ../Rpmdrake/edit_urpm_sources.pm:158
#, c-format
msgid "Please wait, adding media..."
msgstr "Si us plau espereu, s'estan afegint fonts..."

#: ../Rpmdrake/edit_urpm_sources.pm:166
#, c-format
msgid "Add a medium"
msgstr "Afegeix una font"

#: ../Rpmdrake/edit_urpm_sources.pm:170
#, c-format
msgid "Local files"
msgstr "Fitxers locals"

#: ../Rpmdrake/edit_urpm_sources.pm:170
#, fuzzy, c-format
msgid "Medium path:"
msgstr "Font:"

#: ../Rpmdrake/edit_urpm_sources.pm:171
#, c-format
msgid "FTP server"
msgstr "Servidor FTP"

#: ../Rpmdrake/edit_urpm_sources.pm:171 ../Rpmdrake/edit_urpm_sources.pm:172
#: ../Rpmdrake/edit_urpm_sources.pm:173 ../Rpmdrake/edit_urpm_sources.pm:476
#, c-format
msgid "URL:"
msgstr "URL:"

#: ../Rpmdrake/edit_urpm_sources.pm:172
#, fuzzy, c-format
msgid "RSYNC server"
msgstr "Servidor FTP"

#: ../Rpmdrake/edit_urpm_sources.pm:173
#, c-format
msgid "HTTP server"
msgstr "Servidor HTTP"

#: ../Rpmdrake/edit_urpm_sources.pm:174
#, c-format
msgid "Removable device"
msgstr "Dispositiu extraïble"

#: ../Rpmdrake/edit_urpm_sources.pm:174
#, c-format
msgid "Path or mount point:"
msgstr "Camí o punt de muntatge:"

#: ../Rpmdrake/edit_urpm_sources.pm:192
#, c-format
msgid "Browse..."
msgstr "Navega..."

#: ../Rpmdrake/edit_urpm_sources.pm:219
#, c-format
msgid "Login:"
msgstr "Entrada:"

#: ../Rpmdrake/edit_urpm_sources.pm:219 ../Rpmdrake/edit_urpm_sources.pm:576
#: ../rpmdrake.pm:143
#, c-format
msgid "Password:"
msgstr "Contrasenya:"

#: ../Rpmdrake/edit_urpm_sources.pm:225
#, fuzzy, c-format
msgid "Medium name:"
msgstr "Font:"

#: ../Rpmdrake/edit_urpm_sources.pm:231
#, c-format
msgid "Create media for a whole distribution"
msgstr "Crea suport per a una distribució completa"

#: ../Rpmdrake/edit_urpm_sources.pm:235
#, fuzzy, c-format
msgid "Tag this medium as an update medium"
msgstr "Cerca actualitzacions en aquesta font"

#: ../Rpmdrake/edit_urpm_sources.pm:245
#, c-format
msgid "You need to fill up at least the two first entries."
msgstr "Es necessita que ompliu les dues primeres entrades."

#: ../Rpmdrake/edit_urpm_sources.pm:249
#, c-format
msgid ""
"There is already a medium by that name, do you\n"
"really want to replace it?"
msgstr ""
"Ja hi ha una font amb aquest nom, realment\n"
"voleu reemplaçar-la?"

#: ../Rpmdrake/edit_urpm_sources.pm:261
#, c-format
msgid "Adding a medium:"
msgstr "Afegint una font:"

#: ../Rpmdrake/edit_urpm_sources.pm:263
#, c-format
msgid "Type of medium:"
msgstr "Tipus de font:"

#: ../Rpmdrake/edit_urpm_sources.pm:273 ../Rpmdrake/edit_urpm_sources.pm:387
#: ../Rpmdrake/edit_urpm_sources.pm:485 ../Rpmdrake/edit_urpm_sources.pm:512
#: ../Rpmdrake/edit_urpm_sources.pm:593 ../Rpmdrake/edit_urpm_sources.pm:657
#: ../Rpmdrake/edit_urpm_sources.pm:759 ../Rpmdrake/gui.pm:600
#: ../Rpmdrake/init.pm:159 ../Rpmdrake/pkg.pm:179 ../Rpmdrake/pkg.pm:774
#: ../rpmdrake.pm:324 ../rpmdrake.pm:665 ../rpmdrake.pm:737 ../rpmdrake.pm:813
#, c-format
msgid "Cancel"
msgstr "Cancel·la"

#: ../Rpmdrake/edit_urpm_sources.pm:275 ../Rpmdrake/edit_urpm_sources.pm:389
#: ../Rpmdrake/edit_urpm_sources.pm:512 ../Rpmdrake/edit_urpm_sources.pm:583
#: ../Rpmdrake/edit_urpm_sources.pm:656 ../Rpmdrake/edit_urpm_sources.pm:752
#: ../Rpmdrake/edit_urpm_sources.pm:825 ../Rpmdrake/edit_urpm_sources.pm:939
#: ../Rpmdrake/edit_urpm_sources.pm:1141 ../Rpmdrake/gui.pm:600
#: ../Rpmdrake/gui.pm:616 ../Rpmdrake/gui.pm:621 ../Rpmdrake/init.pm:159
#: ../Rpmdrake/pkg.pm:574 ../Rpmdrake/pkg.pm:774 ../Rpmdrake/rpmnew.pm:180
#: ../rpmdrake.pm:134 ../rpmdrake.pm:260 ../rpmdrake.pm:327 ../rpmdrake.pm:665
#, c-format
msgid "Ok"
msgstr "D'acord"

#: ../Rpmdrake/edit_urpm_sources.pm:330
#, c-format
msgid "Global options for package installation"
msgstr "Opcions globals per a la instal·lació de paquets"

#: ../Rpmdrake/edit_urpm_sources.pm:332
#, c-format
msgid "never"
msgstr "mai"

#: ../Rpmdrake/edit_urpm_sources.pm:332
#, c-format
msgid "always"
msgstr "sempre"

#: ../Rpmdrake/edit_urpm_sources.pm:337 ../Rpmdrake/edit_urpm_sources.pm:369
#, fuzzy, c-format
msgid "Never"
msgstr "mai"

#: ../Rpmdrake/edit_urpm_sources.pm:338 ../Rpmdrake/edit_urpm_sources.pm:372
#, c-format
msgid "On-demand"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:339 ../Rpmdrake/edit_urpm_sources.pm:376
#, fuzzy, c-format
msgid "Update-only"
msgstr "Actualitza"

#: ../Rpmdrake/edit_urpm_sources.pm:340 ../Rpmdrake/edit_urpm_sources.pm:379
#, fuzzy, c-format
msgid "Always"
msgstr "sempre"

#: ../Rpmdrake/edit_urpm_sources.pm:348
#, c-format
msgid "Verify RPMs to be installed:"
msgstr "Verifica els RPMs a instal·lar:"

#: ../Rpmdrake/edit_urpm_sources.pm:353
#, c-format
msgid "Download program to use:"
msgstr "Programa de descàrrega a usar:"

#: ../Rpmdrake/edit_urpm_sources.pm:360
#, c-format
msgid "XML meta-data download policy:"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:367
#, c-format
msgid ""
"For remote media, specify when XML meta-data (file lists, changelogs & "
"informations) are downloaded."
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:370
#, c-format
msgid "For remote media, XML meta-data are never downloaded."
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:373
#, c-format
msgid "(This is the default)"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:374
#, c-format
msgid "The specific XML info file is downloaded when clicking on package."
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:377
#, c-format
msgid ""
"Updating media implies updating XML info files already required at least "
"once."
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:380
#, c-format
msgid "All XML info files are downloaded when adding or updating media."
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:409
#, c-format
msgid "Source Removal"
msgstr "Eliminació de fonts"

#: ../Rpmdrake/edit_urpm_sources.pm:411
#, c-format
msgid "Are you sure you want to remove source \"%s\"?"
msgstr "Esteu segur de voler eliminar la font \"%s\"?"

#: ../Rpmdrake/edit_urpm_sources.pm:412
#, fuzzy, c-format
msgid "Are you sure you want to remove the following sources ?"
msgstr "Esteu segur de voler eliminar la font \"%s\"?"

#: ../Rpmdrake/edit_urpm_sources.pm:418
#, c-format
msgid "Please wait, removing medium..."
msgstr "Si us plau espereu, s'està eliminant la font..."

#: ../Rpmdrake/edit_urpm_sources.pm:466
#, c-format
msgid "Edit a medium"
msgstr "Edita una font"

#: ../Rpmdrake/edit_urpm_sources.pm:473
#, c-format
msgid "Editing medium \"%s\":"
msgstr "Editant la font \"%s\":"

#: ../Rpmdrake/edit_urpm_sources.pm:477
#, c-format
msgid "Downloader:"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:489
#, c-format
msgid "Save changes"
msgstr "Desa canvis"

#: ../Rpmdrake/edit_urpm_sources.pm:498
#, c-format
msgid "Proxy..."
msgstr "Intermediari..."

#: ../Rpmdrake/edit_urpm_sources.pm:510
#, c-format
msgid "You need to insert the medium to continue"
msgstr "Heu d'inserir la font per a continuar"

#: ../Rpmdrake/edit_urpm_sources.pm:511
#, c-format
msgid ""
"In order to save the changes, you need to insert the medium in the drive."
msgstr "Per tal de desar els canvis, heu d'inserir la font en la unitat."

#: ../Rpmdrake/edit_urpm_sources.pm:546
#, c-format
msgid "Configure proxies"
msgstr "Configureu els servidors intermediaris"

#: ../Rpmdrake/edit_urpm_sources.pm:559
#, c-format
msgid "Proxy settings for media \"%s\""
msgstr "Configuració de l'intermediari per a la font \"%s\""

#: ../Rpmdrake/edit_urpm_sources.pm:560
#, c-format
msgid "Global proxy settings"
msgstr "Opcions globals de l'intermediari"

#: ../Rpmdrake/edit_urpm_sources.pm:562
#, c-format
msgid ""
"If you need a proxy, enter the hostname and an optional port (syntax: "
"<proxyhost[:port]>):"
msgstr ""
"Si necessiteu un servidor intermediari, entreu el nom de l'ordinador "
"servidor i un port opcional (sintaxi: <proxyhost[:port]>):"

#: ../Rpmdrake/edit_urpm_sources.pm:565
#, c-format
msgid "Proxy hostname:"
msgstr "Nom del servidor intermediari:"

#: ../Rpmdrake/edit_urpm_sources.pm:568
#, c-format
msgid "You may specify a user/password for the proxy authentication:"
msgstr ""
"Podeu especificar un usuari/contrasenya en la autenticació del servidor "
"intermediari:"

#: ../Rpmdrake/edit_urpm_sources.pm:571
#, c-format
msgid "User:"
msgstr "Usuari:"

#: ../Rpmdrake/edit_urpm_sources.pm:667
#, c-format
msgid "Add a parallel group"
msgstr "Afegeix un grup paral·lel"

#: ../Rpmdrake/edit_urpm_sources.pm:667
#, c-format
msgid "Edit a parallel group"
msgstr "Edita un grup paral·lel "

#: ../Rpmdrake/edit_urpm_sources.pm:691
#, c-format
msgid "Add a medium limit"
msgstr "Afegeix un límit de font"

#: ../Rpmdrake/edit_urpm_sources.pm:691
#, c-format
msgid "Choose a medium for adding in the media limit:"
msgstr "Escolliu una font per afegir-la al límit de fonts:"

#: ../Rpmdrake/edit_urpm_sources.pm:708
#, c-format
msgid "Add a host"
msgstr "Afegeix un ordinador"

#: ../Rpmdrake/edit_urpm_sources.pm:708
#, c-format
msgid "Type in the hostname or IP address of the host to add:"
msgstr ""
"Escriviu el nom de l'ordinador o la direcció IP de l'ordinador a afegir:"

#: ../Rpmdrake/edit_urpm_sources.pm:722
#, c-format
msgid "Editing parallel group \"%s\":"
msgstr "Editant el grup paral·lel \"%s\":"

#: ../Rpmdrake/edit_urpm_sources.pm:726
#, c-format
msgid "Group name:"
msgstr "Nom del grup:"

#: ../Rpmdrake/edit_urpm_sources.pm:727
#, c-format
msgid "Protocol:"
msgstr "Protocol:"

#: ../Rpmdrake/edit_urpm_sources.pm:729
#, c-format
msgid "Media limit:"
msgstr "Límit de font:"

#: ../Rpmdrake/edit_urpm_sources.pm:734 ../Rpmdrake/edit_urpm_sources.pm:743
#: ../Rpmdrake/edit_urpm_sources.pm:927 ../Rpmdrake/edit_urpm_sources.pm:1128
#, c-format
msgid "Add"
msgstr "Afegeix"

#: ../Rpmdrake/edit_urpm_sources.pm:735 ../Rpmdrake/edit_urpm_sources.pm:744
#: ../Rpmdrake/edit_urpm_sources.pm:805 ../Rpmdrake/edit_urpm_sources.pm:931
#: ../Rpmdrake/edit_urpm_sources.pm:1118
#, c-format
msgid "Remove"
msgstr "Suprimeix"

#: ../Rpmdrake/edit_urpm_sources.pm:738
#, c-format
msgid "Hosts:"
msgstr "Ordinadors Centrals:"

#: ../Rpmdrake/edit_urpm_sources.pm:774
#, c-format
msgid "Configure parallel urpmi (distributed execution of urpmi)"
msgstr "Configura l'urpmi paral·lel (execució distribuïda de urpmi)"

#: ../Rpmdrake/edit_urpm_sources.pm:778
#, c-format
msgid "Group"
msgstr "Grup"

#: ../Rpmdrake/edit_urpm_sources.pm:778
#, c-format
msgid "Protocol"
msgstr "Protocol"

#: ../Rpmdrake/edit_urpm_sources.pm:778
#, c-format
msgid "Media limit"
msgstr "Límit de fonts"

#: ../Rpmdrake/edit_urpm_sources.pm:779
#, c-format
msgid "Command"
msgstr "Ordre"

#: ../Rpmdrake/edit_urpm_sources.pm:789 ../Rpmdrake/formatting.pm:129
#: ../Rpmdrake/gui.pm:852 ../Rpmdrake/pkg.pm:93 ../Rpmdrake/pkg.pm:138
#: ../Rpmdrake/pkg.pm:149 ../Rpmdrake/pkg.pm:170 ../Rpmdrake/rpmnew.pm:76
#, c-format
msgid "(none)"
msgstr "(cap)"

#: ../Rpmdrake/edit_urpm_sources.pm:809
#, c-format
msgid "Edit..."
msgstr "Edita..."

#: ../Rpmdrake/edit_urpm_sources.pm:817
#, c-format
msgid "Add..."
msgstr "Afegeix..."

#: ../Rpmdrake/edit_urpm_sources.pm:833
#, c-format
msgid "Manage keys for digital signatures of packages"
msgstr "Administra les claus per a les signatures digitals dels paquets"

#: ../Rpmdrake/edit_urpm_sources.pm:839 ../Rpmdrake/edit_urpm_sources.pm:1041
#, c-format
msgid "Medium"
msgstr "Font"

#: ../Rpmdrake/edit_urpm_sources.pm:846
#, c-format
msgid ""
"_:cryptographic keys\n"
"Keys"
msgstr "Claus"

#: ../Rpmdrake/edit_urpm_sources.pm:869
#, c-format
msgid "no name found, key doesn't exist in rpm keyring!"
msgstr "No s'ha trobat cap nom, la clau no existeix a l'anell de claus de rpm!"

#: ../Rpmdrake/edit_urpm_sources.pm:889
#, c-format
msgid "Add a key"
msgstr "Afegeix una clau"

#: ../Rpmdrake/edit_urpm_sources.pm:889
#, c-format
msgid "Choose a key for adding to the medium %s"
msgstr "Seleccioni una clau per afegir a la font %s "

#: ../Rpmdrake/edit_urpm_sources.pm:908
#, c-format
msgid "Remove a key"
msgstr "Elimina una clau"

#: ../Rpmdrake/edit_urpm_sources.pm:909
#, c-format
msgid ""
"Are you sure you want to remove the key %s from medium %s?\n"
"(name of the key: %s)"
msgstr ""
"Esteu segur de voler eliminar la clau %s de la font %s?\n"
"(nom de la clau: %s)"

#: ../Rpmdrake/edit_urpm_sources.pm:948 ../Rpmdrake/edit_urpm_sources.pm:1111
#, c-format
msgid "Configure media"
msgstr "Configura les fonts "

#: ../Rpmdrake/edit_urpm_sources.pm:955 ../Rpmdrake/edit_urpm_sources.pm:956
#: ../Rpmdrake/edit_urpm_sources.pm:957 ../Rpmdrake/edit_urpm_sources.pm:958
#: ../Rpmdrake/edit_urpm_sources.pm:959 ../rpmdrake:521 ../rpmdrake:524
#: ../rpmdrake:529 ../rpmdrake:544 ../rpmdrake:545
#, c-format
msgid "/_File"
msgstr "/_Fitxer"

#: ../Rpmdrake/edit_urpm_sources.pm:956
#, fuzzy, c-format
msgid "/_Update"
msgstr "Actualitza"

#: ../Rpmdrake/edit_urpm_sources.pm:956
#, fuzzy, c-format
msgid "<control>U"
msgstr "<control>Q"

#: ../Rpmdrake/edit_urpm_sources.pm:957
#, fuzzy, c-format
msgid "/Add _media"
msgstr "/_Actualitza les fonts"

#: ../Rpmdrake/edit_urpm_sources.pm:957 ../Rpmdrake/edit_urpm_sources.pm:958
#, fuzzy, c-format
msgid "<control>A"
msgstr "<control>Q"

#: ../Rpmdrake/edit_urpm_sources.pm:958
#, fuzzy, c-format
msgid "/_Add a custom medium"
msgstr "/_Actualitza les fonts"

#: ../Rpmdrake/edit_urpm_sources.pm:959
#, fuzzy, c-format
msgid "/Close"
msgstr "Tanca"

#: ../Rpmdrake/edit_urpm_sources.pm:959
#, fuzzy, c-format
msgid "<control>W"
msgstr "<control>Q"

#: ../Rpmdrake/edit_urpm_sources.pm:960 ../Rpmdrake/edit_urpm_sources.pm:961
#: ../Rpmdrake/edit_urpm_sources.pm:962 ../Rpmdrake/edit_urpm_sources.pm:963
#: ../Rpmdrake/edit_urpm_sources.pm:964 ../rpmdrake:517 ../rpmdrake:518
#: ../rpmdrake:548 ../rpmdrake:555 ../rpmdrake:559 ../rpmdrake:615
#, c-format
msgid "/_Options"
msgstr "/_Opcions"

#: ../Rpmdrake/edit_urpm_sources.pm:961
#, fuzzy, c-format
msgid "/_Global options"
msgstr "Opcions globals..."

#: ../Rpmdrake/edit_urpm_sources.pm:961
#, fuzzy, c-format
msgid "<control>G"
msgstr "<control>Q"

#: ../Rpmdrake/edit_urpm_sources.pm:962
#, fuzzy, c-format
msgid "/Manage _keys"
msgstr "Administra les claus..."

#: ../Rpmdrake/edit_urpm_sources.pm:962
#, fuzzy, c-format
msgid "<control>K"
msgstr "<control>Q"

#: ../Rpmdrake/edit_urpm_sources.pm:963
#, fuzzy, c-format
msgid "/_Parallel"
msgstr "Paral·lel..."

#: ../Rpmdrake/edit_urpm_sources.pm:963
#, fuzzy, c-format
msgid "<control>P"
msgstr "<control>Q"

#: ../Rpmdrake/edit_urpm_sources.pm:964
#, fuzzy, c-format
msgid "/P_roxy"
msgstr "Intermediari..."

#: ../Rpmdrake/edit_urpm_sources.pm:964
#, fuzzy, c-format
msgid "<control>R"
msgstr "<control>Q"

#: ../Rpmdrake/edit_urpm_sources.pm:966 ../Rpmdrake/edit_urpm_sources.pm:967
#: ../Rpmdrake/edit_urpm_sources.pm:968 ../Rpmdrake/edit_urpm_sources.pm:969
#: ../rpmdrake:573 ../rpmdrake:574 ../rpmdrake:575 ../rpmdrake:576
#, c-format
msgid "/_Help"
msgstr "/_Ajuda"

#: ../Rpmdrake/edit_urpm_sources.pm:967 ../rpmdrake:574
#, c-format
msgid "/_Report Bug"
msgstr "/_Informeu d'un error"

#: ../Rpmdrake/edit_urpm_sources.pm:969 ../rpmdrake:576
#, c-format
msgid "/_About..."
msgstr "/_Quant a..."

#: ../Rpmdrake/edit_urpm_sources.pm:972 ../rpmdrake:579
#, c-format
msgid "Rpmdrake"
msgstr "Rpmdrake"

#: ../Rpmdrake/edit_urpm_sources.pm:974 ../rpmdrake:581
#, c-format
msgid "Copyright (C) %s by Mandriva"
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:976 ../rpmdrake:583
#, c-format
msgid "Rpmdrake is Mandriva Linux package management tool."
msgstr ""

#: ../Rpmdrake/edit_urpm_sources.pm:978 ../rpmdrake:585
#, c-format
msgid "Mandriva Linux"
msgstr "Mandriva Linux"

#. -PO: put here name(s) and email(s) of translator(s) (eg: "John Smith <jsmith@nowhere.com>")
#. -PO: put here name(s) and email(s) of translator(s) (eg: "John Smith <jsmith@nowhere.com>")
#: ../Rpmdrake/edit_urpm_sources.pm:983 ../rpmdrake:590
#, c-format
msgid "_: Translator(s) name(s) & email(s)\n"
msgstr ""
"Albert Astals Cid <astals11@terra.es>\n"
"Ticià Sala <tsala@pie.xtec.es>\n"

#: ../Rpmdrake/edit_urpm_sources.pm:1038 ../Rpmdrake/pkg.pm:249
#, c-format
msgid "Enabled"
msgstr "Habilitat"

#: ../Rpmdrake/edit_urpm_sources.pm:1039
#, c-format
msgid "Updates"
msgstr "Actualitzacions"

#: ../Rpmdrake/edit_urpm_sources.pm:1040
#, c-format
msgid "Type"
msgstr "Tipus"

#: ../Rpmdrake/edit_urpm_sources.pm:1055
#, c-format
msgid "This medium needs to be updated to be usable. Update it now ?"
msgstr ""
"Aquesta font necessita ser actualitzada per ser utilitzable. L'actualitzo "
"ara?"

#: ../Rpmdrake/edit_urpm_sources.pm:1086
#, c-format
msgid ""
"Unable to update medium, errors reported:\n"
"\n"
"%s"
msgstr ""
"No es pot afegir la font, errors trobats:\n"
"\n"
"%s"

#: ../Rpmdrake/edit_urpm_sources.pm:1122
#, c-format
msgid "Edit"
msgstr "Edita"

#: ../Rpmdrake/edit_urpm_sources.pm:1161
#, c-format
msgid ""
"Packages database is locked. Please close other applications\n"
"working with packages database (do you have another media\n"
"manager on another desktop, or are you currently installing\n"
"packages as well?)."
msgstr ""
"La base de dades de paquets està bloquejada- Si us plau tanqueu\n"
"les altres aplicacions que estiguin treballant amb la base de dades\n"
"de paquets (teniu un altre gestor de paquets o esteu instal·lant\n"
"algun paquet?)."

#: ../Rpmdrake/formatting.pm:102
#, fuzzy, c-format
msgid "None (installed)"
msgstr "Instal·la"

#: ../Rpmdrake/formatting.pm:166
#, c-format
msgid "%s of additional disk space will be used."
msgstr ""

#: ../Rpmdrake/formatting.pm:167
#, c-format
msgid "%s of disk space will be freed."
msgstr ""

#: ../Rpmdrake/gui.pm:119 ../Rpmdrake/gui.pm:216 ../Rpmdrake/gui.pm:218
#: ../Rpmdrake/pkg.pm:162
#, c-format
msgid "(Not available)"
msgstr "(No disponible)"

#: ../Rpmdrake/gui.pm:148 ../Rpmdrake/gui.pm:234
#, c-format
msgid "Importance: "
msgstr "Importància: "

#: ../Rpmdrake/gui.pm:149 ../Rpmdrake/gui.pm:242
#, c-format
msgid "Reason for update: "
msgstr "Raó d'actualització: "

#: ../Rpmdrake/gui.pm:153
#, fuzzy, c-format
msgid "Security advisory"
msgstr "Actualitzacions de seguretat"

#: ../Rpmdrake/gui.pm:158 ../Rpmdrake/gui.pm:244
#, c-format
msgid "No description"
msgstr "Cap descripció"

#: ../Rpmdrake/gui.pm:165 ../Rpmdrake/gui.pm:229
#, c-format
msgid "Version: "
msgstr "Versió: "

#: ../Rpmdrake/gui.pm:168 ../Rpmdrake/gui.pm:224
#, c-format
msgid "Currently installed version: "
msgstr "Versió actualment instal·lada: "

#: ../Rpmdrake/gui.pm:171
#, fuzzy, c-format
msgid "Group: "
msgstr "Grup"

#: ../Rpmdrake/gui.pm:172 ../Rpmdrake/gui.pm:230
#, c-format
msgid "Architecture: "
msgstr "Arquitectura: "

#: ../Rpmdrake/gui.pm:173 ../Rpmdrake/gui.pm:231
#, c-format
msgid "Size: "
msgstr "Mida: "

#: ../Rpmdrake/gui.pm:173 ../Rpmdrake/gui.pm:231
#, c-format
msgid "%s KB"
msgstr "%s KB"

#: ../Rpmdrake/gui.pm:174 ../Rpmdrake/gui.pm:223 ../rpmdrake.pm:872
#, c-format
msgid "Medium: "
msgstr "Font:"

#: ../Rpmdrake/gui.pm:185
#, fuzzy, c-format
msgid "URL: "
msgstr "URL:"

#: ../Rpmdrake/gui.pm:190
#, c-format
msgid "Details:"
msgstr ""

#: ../Rpmdrake/gui.pm:194
#, c-format
msgid "Files:"
msgstr "Fitxers:"

#: ../Rpmdrake/gui.pm:202
#, c-format
msgid "Changelog:"
msgstr "Canvis:"

#: ../Rpmdrake/gui.pm:213
#, c-format
msgid "Files:\n"
msgstr "Fitxers:\n"

#: ../Rpmdrake/gui.pm:218
#, c-format
msgid "Changelog:\n"
msgstr "Canvis:\n"

#: ../Rpmdrake/gui.pm:228
#, c-format
msgid "Name: "
msgstr "Nom: "

#: ../Rpmdrake/gui.pm:238
#, c-format
msgid "Summary: "
msgstr "Resum: "

#: ../Rpmdrake/gui.pm:244
#, c-format
msgid "Description: "
msgstr "Descripció: "

#: ../Rpmdrake/gui.pm:259 ../Rpmdrake/gui.pm:453 ../Rpmdrake/gui.pm:459
#: ../Rpmdrake/gui.pm:465 ../Rpmdrake/pkg.pm:784 ../Rpmdrake/pkg.pm:794
#: ../rpmdrake.pm:793 ../rpmdrake.pm:911
#, c-format
msgid "Warning"
msgstr "Advertència"

#: ../Rpmdrake/gui.pm:261
#, c-format
msgid "The package \"%s\" was found."
msgstr ""

#: ../Rpmdrake/gui.pm:262
#, c-format
msgid "However this package is not in the package list."
msgstr ""

#: ../Rpmdrake/gui.pm:263
#, c-format
msgid "You may want to update your urpmi database."
msgstr ""

#: ../Rpmdrake/gui.pm:265
#, fuzzy, c-format
msgid "Matching packages:"
msgstr "Empaquetat"

#. -PO: this is list fomatting: "- <package_name> (medium: <medium_name>)"
#. -PO: eg: "- rpmdrake (medium: "Main Release"
#: ../Rpmdrake/gui.pm:270
#, fuzzy, c-format
msgid "- %s (medium: %s)"
msgstr "%s de la font %s"

#: ../Rpmdrake/gui.pm:454
#, fuzzy, c-format
msgid "Removing package %s would break your system"
msgstr ""
"Suprimir aquests paquets faria mal bé el sistema, disculpau:\n"
"\n"

#: ../Rpmdrake/gui.pm:459
#, c-format
msgid ""
"The \"%s\" package is in urpmi skip list.\n"
"Do you want to select it anyway?"
msgstr ""

#: ../Rpmdrake/gui.pm:465 ../Rpmdrake/pkg.pm:668
#, c-format
msgid ""
"Rpmdrake or one of its priority dependencies needs to be updated first. "
"Rpmdrake will then restart."
msgstr ""

#: ../Rpmdrake/gui.pm:582 ../Rpmdrake/gui.pm:612 ../Rpmdrake/gui.pm:614
#, c-format
msgid "More information on package..."
msgstr "Més informació del paquet..."

#: ../Rpmdrake/gui.pm:584
#, c-format
msgid "Please choose"
msgstr "Si us plau escolliu"

#: ../Rpmdrake/gui.pm:585
#, fuzzy, c-format
msgid "The following package is needed:"
msgstr "Es necessita un dels següents paquets:"

#: ../Rpmdrake/gui.pm:585
#, c-format
msgid "One of the following packages is needed:"
msgstr "Cal un dels paquets següents:"

#. -PO: Keep it short, this is gonna be on a button
#: ../Rpmdrake/gui.pm:600 ../Rpmdrake/gui.pm:605
#, c-format
msgid "More info"
msgstr "Més informació"

#: ../Rpmdrake/gui.pm:607
#, c-format
msgid "Information on packages"
msgstr "Informació dels paquets"

#: ../Rpmdrake/gui.pm:635
#, c-format
msgid "Checking dependencies of package..."
msgstr ""

#: ../Rpmdrake/gui.pm:642
#, c-format
msgid "Some additional packages need to be removed"
msgstr "Cal esborrar alguns paquets addicionals"

#: ../Rpmdrake/gui.pm:643
#, c-format
msgid ""
"Because of their dependencies, the following package(s) also need to be\n"
"removed:"
msgstr ""
"Degut a les seves dependències, els següents paquets també necessiten ser "
"esborrats:"

#: ../Rpmdrake/gui.pm:649 ../Rpmdrake/gui.pm:659
#, c-format
msgid "Some packages can't be removed"
msgstr "Alguns paquets no poden ser esborrats"

#: ../Rpmdrake/gui.pm:650
#, c-format
msgid ""
"Removing these packages would break your system, sorry:\n"
"\n"
msgstr ""
"Suprimir aquests paquets faria mal bé el sistema, disculpau:\n"
"\n"

#: ../Rpmdrake/gui.pm:660 ../Rpmdrake/gui.pm:737
#, c-format
msgid ""
"Because of their dependencies, the following package(s) must be\n"
"unselected now:\n"
"\n"
msgstr ""
"Degut a les seves dependències, els següents paquets s'han de\n"
"deseleccionar:\n"
"\n"

#: ../Rpmdrake/gui.pm:690
#, c-format
msgid "Additional packages needed"
msgstr "Es necessiten paquets addicionals"

#: ../Rpmdrake/gui.pm:691
#, c-format
msgid ""
"To satisfy dependencies, the following package(s) also need\n"
"to be installed:\n"
"\n"
msgstr ""
"Per a satisfer les dependències, també s'han d'instal·lar els següent(s)\n"
"paquet(s):\n"
"\n"

#: ../Rpmdrake/gui.pm:713
#, c-format
msgid "%s (belongs to the skip list)"
msgstr "%s (pertany a la llista d'omesos)"

#: ../Rpmdrake/gui.pm:717
#, fuzzy, c-format
msgid "One package cannot be installed"
msgstr "Alguns paquets no poder ser instal·lats"

#: ../Rpmdrake/gui.pm:717
#, c-format
msgid "Some packages can't be installed"
msgstr "Alguns paquets no poder ser instal·lats"

#: ../Rpmdrake/gui.pm:719
#, fuzzy, c-format
msgid ""
"Sorry, the following package cannot be selected:\n"
"\n"
"%s"
msgstr ""
"Ho sento, no es poden seleccionar els següents paquets:\n"
"\n"
"%s "

#: ../Rpmdrake/gui.pm:720
#, fuzzy, c-format
msgid ""
"Sorry, the following packages can't be selected:\n"
"\n"
"%s"
msgstr ""
"Ho sento, no es poden seleccionar els següents paquets:\n"
"\n"
"%s "

#: ../Rpmdrake/gui.pm:736 ../Rpmdrake/pkg.pm:672
#, c-format
msgid "Some packages need to be removed"
msgstr "S'han d'eliminar alguns paquets"

#: ../Rpmdrake/gui.pm:769
#, c-format
msgid "Error: %s appears to be mounted read-only."
msgstr ""

#: ../Rpmdrake/gui.pm:773
#, c-format
msgid "You need to select some packages first."
msgstr "Primer necessiteu escollir alguns paquets."

#: ../Rpmdrake/gui.pm:778
#, c-format
msgid "Too many packages are selected"
msgstr "S'han seleccionat massa paquets"

#: ../Rpmdrake/gui.pm:779
#, c-format
msgid ""
"Warning: it seems that you are attempting to add so much\n"
"packages that your filesystem may run out of free diskspace,\n"
"during or after package installation ; this is particularly\n"
"dangerous and should be considered with care.\n"
"\n"
"Do you really want to install all the selected packages?"
msgstr ""
"Avís: sembla ser que voleu afegir massa paquets; la qual cosa farà\n"
"que el vostre sistema de fitxers pugui quedar-se sense espai lliure,\n"
"durant o després de la instal·lació; això és particularment\n"
"perillós i ho hauríeu de considerar seriosament.\n"
"\n"
"Realment voleu instal·lar els paquets seleccionats?"

#: ../Rpmdrake/gui.pm:805 ../Rpmdrake/open_db.pm:89
#, c-format
msgid "Fatal error"
msgstr "Error fatal"

#: ../Rpmdrake/gui.pm:806 ../Rpmdrake/open_db.pm:90 ../Rpmdrake/pkg.pm:391
#, c-format
msgid "A fatal error occurred: %s."
msgstr "Hi ha hagut un error fatal %s. "

#: ../Rpmdrake/gui.pm:841
#, c-format
msgid "Please wait, listing packages..."
msgstr "Si us plau espereu, llistant els paquets..."

#: ../Rpmdrake/gui.pm:854
#, c-format
msgid "No update"
msgstr "No hi ha actualitzacions"

#: ../Rpmdrake/gui.pm:881 ../Rpmdrake/icon.pm:35 ../rpmdrake:354
#: ../rpmdrake:381
#, c-format
msgid "All"
msgstr "Tot"

#: ../Rpmdrake/gui.pm:891 ../rpmdrake:193
#, c-format
msgid "Upgradable"
msgstr "Actualitzable"

#: ../Rpmdrake/gui.pm:891 ../rpmdrake:355
#, fuzzy, c-format
msgid "Installed"
msgstr "Instal·la"

#: ../Rpmdrake/gui.pm:892 ../rpmdrake:193
#, c-format
msgid "Addable"
msgstr "Afegible"

#: ../Rpmdrake/gui.pm:904
#, c-format
msgid "Description not available for this package\n"
msgstr "La descripció d'aquest paquet no està disponible\n"

#: ../Rpmdrake/icon.pm:36
#, c-format
msgid "Accessibility"
msgstr "Accessibilitat"

#: ../Rpmdrake/icon.pm:37 ../Rpmdrake/icon.pm:38 ../Rpmdrake/icon.pm:39
#: ../Rpmdrake/icon.pm:40 ../Rpmdrake/icon.pm:41
#, c-format
msgid "Archiving"
msgstr "Arxivant"

#: ../Rpmdrake/icon.pm:38
#, c-format
msgid "Backup"
msgstr "Resguard"

#: ../Rpmdrake/icon.pm:39
#, c-format
msgid "Cd burning"
msgstr "Creació de Cds"

#: ../Rpmdrake/icon.pm:40
#, c-format
msgid "Compression"
msgstr "Compressió"

#: ../Rpmdrake/icon.pm:41 ../Rpmdrake/icon.pm:47 ../Rpmdrake/icon.pm:58
#: ../Rpmdrake/icon.pm:72 ../Rpmdrake/icon.pm:90 ../Rpmdrake/icon.pm:111
#: ../Rpmdrake/icon.pm:124 ../Rpmdrake/icon.pm:135
#, c-format
msgid "Other"
msgstr "Altres"

#: ../Rpmdrake/icon.pm:42 ../Rpmdrake/icon.pm:43 ../Rpmdrake/icon.pm:44
#: ../Rpmdrake/icon.pm:45 ../Rpmdrake/icon.pm:46 ../Rpmdrake/icon.pm:47
#, c-format
msgid "Books"
msgstr "Llibres"

#: ../Rpmdrake/icon.pm:43
#, c-format
msgid "Computer books"
msgstr "Llibres d'informàtica "

#: ../Rpmdrake/icon.pm:44
#, c-format
msgid "Faqs"
msgstr "Preguntes més freqüents"

#: ../Rpmdrake/icon.pm:45
#, c-format
msgid "Howtos"
msgstr "Com es fa...?"

#: ../Rpmdrake/icon.pm:46
#, c-format
msgid "Literature"
msgstr "Literatura"

#: ../Rpmdrake/icon.pm:48
#, c-format
msgid "Communications"
msgstr "Comunicacions"

#: ../Rpmdrake/icon.pm:49 ../Rpmdrake/icon.pm:53
#, c-format
msgid "Databases"
msgstr "Bases de dades"

#: ../Rpmdrake/icon.pm:50 ../Rpmdrake/icon.pm:51 ../Rpmdrake/icon.pm:52
#: ../Rpmdrake/icon.pm:53 ../Rpmdrake/icon.pm:54 ../Rpmdrake/icon.pm:55
#: ../Rpmdrake/icon.pm:56 ../Rpmdrake/icon.pm:57 ../Rpmdrake/icon.pm:58
#: ../Rpmdrake/icon.pm:59 ../Rpmdrake/icon.pm:60 ../Rpmdrake/icon.pm:61
#: ../Rpmdrake/icon.pm:62 ../Rpmdrake/icon.pm:173 ../Rpmdrake/icon.pm:174
#: ../Rpmdrake/icon.pm:175
#, c-format
msgid "Development"
msgstr "Desenvolupament"

#: ../Rpmdrake/icon.pm:51
#, c-format
msgid "C"
msgstr "C"

#: ../Rpmdrake/icon.pm:52
#, c-format
msgid "C++"
msgstr "C++"

#: ../Rpmdrake/icon.pm:54
#, c-format
msgid "GNOME and GTK+"
msgstr "Gnome i GTK+"

#: ../Rpmdrake/icon.pm:55
#, c-format
msgid "Java"
msgstr "Java"

#: ../Rpmdrake/icon.pm:56
#, c-format
msgid "KDE and Qt"
msgstr "KDE i QT"

#: ../Rpmdrake/icon.pm:57
#, c-format
msgid "Kernel"
msgstr "Nucli"

#: ../Rpmdrake/icon.pm:59
#, c-format
msgid "Perl"
msgstr "Perl"

#: ../Rpmdrake/icon.pm:60
#, c-format
msgid "PHP"
msgstr ""

#: ../Rpmdrake/icon.pm:61
#, c-format
msgid "Python"
msgstr "Python"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:62 ../Rpmdrake/icon.pm:150
#, c-format
msgid "X11"
msgstr ""

#: ../Rpmdrake/icon.pm:63
#, c-format
msgid "Editors"
msgstr "Editors"

#: ../Rpmdrake/icon.pm:64
#, c-format
msgid "Education"
msgstr "Educació"

#: ../Rpmdrake/icon.pm:65
#, c-format
msgid "Emulators"
msgstr "Emuladors"

#: ../Rpmdrake/icon.pm:66
#, c-format
msgid "File tools"
msgstr "Eines de fitxer"

#: ../Rpmdrake/icon.pm:67 ../Rpmdrake/icon.pm:68 ../Rpmdrake/icon.pm:69
#: ../Rpmdrake/icon.pm:70 ../Rpmdrake/icon.pm:71 ../Rpmdrake/icon.pm:72
#: ../Rpmdrake/icon.pm:73 ../Rpmdrake/icon.pm:74 ../Rpmdrake/icon.pm:75
#, c-format
msgid "Games"
msgstr "Jocs"

#: ../Rpmdrake/icon.pm:68
#, c-format
msgid "Adventure"
msgstr "Aventura"

#: ../Rpmdrake/icon.pm:69
#, c-format
msgid "Arcade"
msgstr "Arcade"

#: ../Rpmdrake/icon.pm:70
#, c-format
msgid "Boards"
msgstr "Taulers"

#: ../Rpmdrake/icon.pm:71
#, c-format
msgid "Cards"
msgstr "Cartes"

#: ../Rpmdrake/icon.pm:73
#, c-format
msgid "Puzzles"
msgstr "Trencaclosques"

#: ../Rpmdrake/icon.pm:74
#, c-format
msgid "Sports"
msgstr "Esports"

#: ../Rpmdrake/icon.pm:75
#, c-format
msgid "Strategy"
msgstr "Estratègia"

#: ../Rpmdrake/icon.pm:76 ../Rpmdrake/icon.pm:77 ../Rpmdrake/icon.pm:80
#: ../Rpmdrake/icon.pm:81 ../Rpmdrake/icon.pm:84 ../Rpmdrake/icon.pm:87
#: ../Rpmdrake/icon.pm:90 ../Rpmdrake/icon.pm:91 ../Rpmdrake/icon.pm:94
#: ../Rpmdrake/icon.pm:97
#, c-format
msgid "Graphical desktop"
msgstr "Escriptori gràfic"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:79
#, c-format
msgid "Enlightenment"
msgstr "Enlightenment"

#: ../Rpmdrake/icon.pm:80
#, c-format
msgid "FVWM based"
msgstr "Basat en FVWM"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:83
#, c-format
msgid "GNOME"
msgstr "GNOME"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:86
#, c-format
msgid "Icewm"
msgstr "Icewm"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:89
#, c-format
msgid "KDE"
msgstr "KDE"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:93
#, c-format
msgid "Sawfish"
msgstr "Sawfish"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:96
#, c-format
msgid "WindowMaker"
msgstr "WindowMaker"

#. -PO: This is a package/product name. Only translate it if needed:
#: ../Rpmdrake/icon.pm:99
#, c-format
msgid "Xfce"
msgstr ""

#: ../Rpmdrake/icon.pm:100
#, c-format
msgid "Graphics"
msgstr "Gràfics"

#: ../Rpmdrake/icon.pm:101
#, c-format
msgid "Monitoring"
msgstr "Monitorització"

#: ../Rpmdrake/icon.pm:102 ../Rpmdrake/icon.pm:103
#, c-format
msgid "Multimedia"
msgstr "Multimèdia"

#: ../Rpmdrake/icon.pm:103 ../Rpmdrake/icon.pm:154
#, c-format
msgid "Video"
msgstr "Vídeo"

#: ../Rpmdrake/icon.pm:104 ../Rpmdrake/icon.pm:105 ../Rpmdrake/icon.pm:106
#: ../Rpmdrake/icon.pm:107 ../Rpmdrake/icon.pm:108 ../Rpmdrake/icon.pm:109
#: ../Rpmdrake/icon.pm:110 ../Rpmdrake/icon.pm:111 ../Rpmdrake/icon.pm:112
#: ../Rpmdrake/icon.pm:113 ../Rpmdrake/icon.pm:134
#, c-format
msgid "Networking"
msgstr "Xarxa"

#: ../Rpmdrake/icon.pm:105
#, c-format
msgid "Chat"
msgstr "Xat"

#: ../Rpmdrake/icon.pm:106
#, c-format
msgid "File transfer"
msgstr "Transferència de fitxers "

#: ../Rpmdrake/icon.pm:107
#, c-format
msgid "IRC"
msgstr "IRC"

#: ../Rpmdrake/icon.pm:108
#, c-format
msgid "Instant messaging"
msgstr "Missatgeria instantània"

#: ../Rpmdrake/icon.pm:109 ../Rpmdrake/icon.pm:180
#, c-format
msgid "Mail"
msgstr "Correu electrònic "

#: ../Rpmdrake/icon.pm:110
#, c-format
msgid "News"
msgstr "Notícies"

#: ../Rpmdrake/icon.pm:112
#, c-format
msgid "Remote access"
msgstr "Accés remot"

#: ../Rpmdrake/icon.pm:113
#, c-format
msgid "WWW"
msgstr "WWW"

#: ../Rpmdrake/icon.pm:114
#, c-format
msgid "Office"
msgstr "Ofimàtica"

#: ../Rpmdrake/icon.pm:115
#, c-format
msgid "Public Keys"
msgstr "Claus públiques"

#: ../Rpmdrake/icon.pm:116
#, c-format
msgid "Publishing"
msgstr "Publicació"

#: ../Rpmdrake/icon.pm:117 ../Rpmdrake/icon.pm:118 ../Rpmdrake/icon.pm:119
#: ../Rpmdrake/icon.pm:120 ../Rpmdrake/icon.pm:121 ../Rpmdrake/icon.pm:122
#: ../Rpmdrake/icon.pm:123 ../Rpmdrake/icon.pm:124 ../Rpmdrake/icon.pm:125
#, c-format
msgid "Sciences"
msgstr "Ciències"

#: ../Rpmdrake/icon.pm:118
#, c-format
msgid "Astronomy"
msgstr "Astronomia"

#: ../Rpmdrake/icon.pm:119
#, c-format
msgid "Biology"
msgstr "Biologia"

#: ../Rpmdrake/icon.pm:120
#, c-format
msgid "Chemistry"
msgstr "Química"

#: ../Rpmdrake/icon.pm:121
#, c-format
msgid "Computer science"
msgstr "Ciències de la computació"

#: ../Rpmdrake/icon.pm:122
#, c-format
msgid "Geosciences"
msgstr "Geociències"

#: ../Rpmdrake/icon.pm:123
#, c-format
msgid "Mathematics"
msgstr "Matemàtiques"

#: ../Rpmdrake/icon.pm:125
#, c-format
msgid "Physics"
msgstr "Física"

#: ../Rpmdrake/icon.pm:126
#, c-format
msgid "Shells"
msgstr "Intèrprets d'ordres"

#: ../Rpmdrake/icon.pm:127
#, c-format
msgid "Sound"
msgstr "So"

#: ../Rpmdrake/icon.pm:128 ../Rpmdrake/icon.pm:129 ../Rpmdrake/icon.pm:130
#: ../Rpmdrake/icon.pm:131 ../Rpmdrake/icon.pm:132 ../Rpmdrake/icon.pm:133
#: ../Rpmdrake/icon.pm:134 ../Rpmdrake/icon.pm:135 ../Rpmdrake/icon.pm:136
#: ../Rpmdrake/icon.pm:137 ../Rpmdrake/icon.pm:138 ../Rpmdrake/icon.pm:139
#: ../Rpmdrake/icon.pm:140 ../Rpmdrake/icon.pm:141 ../Rpmdrake/icon.pm:142
#: ../Rpmdrake/icon.pm:143 ../Rpmdrake/icon.pm:144 ../Rpmdrake/icon.pm:145
#: ../Rpmdrake/icon.pm:146 ../Rpmdrake/icon.pm:147 ../Rpmdrake/icon.pm:148
#, c-format
msgid "System"
msgstr "Sistema"

#: ../Rpmdrake/icon.pm:129
#, c-format
msgid "Base"
msgstr "Base"

#: ../Rpmdrake/icon.pm:130
#, c-format
msgid "Cluster"
msgstr "Cluster"

#: ../Rpmdrake/icon.pm:131 ../Rpmdrake/icon.pm:132 ../Rpmdrake/icon.pm:133
#: ../Rpmdrake/icon.pm:134 ../Rpmdrake/icon.pm:135 ../Rpmdrake/icon.pm:136
#: ../Rpmdrake/icon.pm:137 ../Rpmdrake/icon.pm:158
#, c-format
msgid "Configuration"
msgstr "Configuració"

#: ../Rpmdrake/icon.pm:132
#, c-format
msgid "Boot and Init"
msgstr "Arrencada i Inici"

#: ../Rpmdrake/icon.pm:133
#, c-format
msgid "Hardware"
msgstr "Maquinari "

#: ../Rpmdrake/icon.pm:136
#, c-format
msgid "Packaging"
msgstr "Empaquetat"

#: ../Rpmdrake/icon.pm:137 ../Rpmdrake/icon.pm:146
#, c-format
msgid "Printing"
msgstr "Imprimint"

#: ../Rpmdrake/icon.pm:138 ../Rpmdrake/icon.pm:139 ../Rpmdrake/icon.pm:140
#: ../Rpmdrake/icon.pm:141 ../Rpmdrake/icon.pm:142
#, c-format
msgid "Fonts"
msgstr "Fonts"

#: ../Rpmdrake/icon.pm:139
#, c-format
msgid "Console"
msgstr "Consola"

#: ../Rpmdrake/icon.pm:140
#, c-format
msgid "True type"
msgstr "True type"

#: ../Rpmdrake/icon.pm:141
#, c-format
msgid "Type1"
msgstr "Type1"

#: ../Rpmdrake/icon.pm:142
#, c-format
msgid "X11 bitmap"
msgstr "Mapa de bits X11"

#: ../Rpmdrake/icon.pm:143
#, c-format
msgid "Internationalization"
msgstr "Internacionalització"

#: ../Rpmdrake/icon.pm:144
#, c-format
msgid "Kernel and hardware"
msgstr "Nucli i maquinari"

#: ../Rpmdrake/icon.pm:145
#, c-format
msgid "Libraries"
msgstr "Biblioteques"

#: ../Rpmdrake/icon.pm:147
#, c-format
msgid "Servers"
msgstr "Servidors"

#: ../Rpmdrake/icon.pm:151
#, c-format
msgid "Terminals"
msgstr "Terminals"

#: ../Rpmdrake/icon.pm:152
#, c-format
msgid "Text tools"
msgstr "Eines de text"

#: ../Rpmdrake/icon.pm:153
#, c-format
msgid "Toys"
msgstr "Joguines"

#: ../Rpmdrake/icon.pm:157 ../Rpmdrake/icon.pm:158 ../Rpmdrake/icon.pm:159
#: ../Rpmdrake/icon.pm:160 ../Rpmdrake/icon.pm:161 ../Rpmdrake/icon.pm:162
#: ../Rpmdrake/icon.pm:163 ../Rpmdrake/icon.pm:164 ../Rpmdrake/icon.pm:165
#: ../Rpmdrake/icon.pm:166
#, c-format
msgid "Workstation"
msgstr "Estació de treball"

#: ../Rpmdrake/icon.pm:159
#, c-format
msgid "Console Tools"
msgstr "Eines de consola"

#: ../Rpmdrake/icon.pm:160 ../Rpmdrake/icon.pm:175
#, c-format
msgid "Documentation"
msgstr "Documentació"

#: ../Rpmdrake/icon.pm:161
#, c-format
msgid "Game station"
msgstr "Estació de jocs"

#: ../Rpmdrake/icon.pm:162
#, c-format
msgid "Internet station"
msgstr "Estació d'Internet"

#: ../Rpmdrake/icon.pm:163
#, c-format
msgid "Multimedia station"
msgstr "Estació multimèdia"

#: ../Rpmdrake/icon.pm:164
#, c-format
msgid "Network Computer (client)"
msgstr "Ordinador de xarxa (client)"

#: ../Rpmdrake/icon.pm:165
#, c-format
msgid "Office Workstation"
msgstr "Estació de treball d'oficina"

#: ../Rpmdrake/icon.pm:166
#, c-format
msgid "Scientific Workstation"
msgstr "Estació de treball científica"

#: ../Rpmdrake/icon.pm:167 ../Rpmdrake/icon.pm:169 ../Rpmdrake/icon.pm:170
#: ../Rpmdrake/icon.pm:171 ../Rpmdrake/icon.pm:172
#, c-format
msgid "Graphical Environment"
msgstr "Entorn gràfic"

#: ../Rpmdrake/icon.pm:169
#, c-format
msgid "GNOME Workstation"
msgstr "Estació de treball GNOME"

#: ../Rpmdrake/icon.pm:170
#, c-format
msgid "IceWm Desktop"
msgstr "Escriptori IceWm"

#: ../Rpmdrake/icon.pm:171
#, c-format
msgid "KDE Workstation"
msgstr "Estació de treball KDE"

#: ../Rpmdrake/icon.pm:172
#, c-format
msgid "Other Graphical Desktops"
msgstr "Altres escriptoris gràfics"

#: ../Rpmdrake/icon.pm:176 ../Rpmdrake/icon.pm:177 ../Rpmdrake/icon.pm:178
#: ../Rpmdrake/icon.pm:179 ../Rpmdrake/icon.pm:180 ../Rpmdrake/icon.pm:181
#: ../Rpmdrake/icon.pm:182 ../Rpmdrake/icon.pm:183
#, c-format
msgid "Server"
msgstr "Servidor"

#: ../Rpmdrake/icon.pm:177
#, c-format
msgid "DNS/NIS"
msgstr "DNS/NIS"

#: ../Rpmdrake/icon.pm:178
#, c-format
msgid "Database"
msgstr "Base de dades"

#: ../Rpmdrake/icon.pm:179
#, c-format
msgid "Firewall/Router"
msgstr "Tallafoc/Encaminador"

#: ../Rpmdrake/icon.pm:181
#, c-format
msgid "Mail/Groupware/News"
msgstr ""

#: ../Rpmdrake/icon.pm:182
#, c-format
msgid "Network Computer server"
msgstr "Servidor d'ordinador de xarxa"

#: ../Rpmdrake/icon.pm:183
#, c-format
msgid "Web/FTP"
msgstr "Web/FTP"

#: ../Rpmdrake/init.pm:49
#, c-format
msgid "Usage: %s [OPTION]..."
msgstr "Sintaxi: %s [OPCIÓ]..."

#: ../Rpmdrake/init.pm:50
#, c-format
msgid "  --auto                 assume default answers to questions"
msgstr ""

#: ../Rpmdrake/init.pm:51
#, c-format
msgid ""
"  --changelog-first      display changelog before filelist in the "
"description window"
msgstr ""
"  --changelog-first      mostra el registre de canvis abans de la llista "
"d'arxius en la finestra de descripció"

#: ../Rpmdrake/init.pm:52
#, c-format
msgid "  --media=medium1,..     limit to given media"
msgstr "  --media=medium1,..     es limita a la font triada"

#: ../Rpmdrake/init.pm:53
#, c-format
msgid ""
"  --merge-all-rpmnew     propose to merge all .rpmnew/.rpmsave files found"
msgstr ""
"  --merge-all-rpmnew     proposa combinar tots els .rpmnew/.rpmsave trobats"

#: ../Rpmdrake/init.pm:54
#, c-format
msgid "  --mode=MODE            set mode (install (default), remove, update)"
msgstr ""
"  --mode=MODE            estableix el mode (install (instal·lar (per "
"defecte)), remove (eliminar), update (actualitzar))"

#: ../Rpmdrake/init.pm:55
#, c-format
msgid ""
"  --justdb               update the database, but do not modify the "
"filesystem"
msgstr ""

#: ../Rpmdrake/init.pm:56
#, c-format
msgid ""
"  --no-confirmation      don't ask first confirmation question in update mode"
msgstr "  --no-confirmation      no demanis confirmació en mode actualització"

#: ../Rpmdrake/init.pm:57
#, c-format
msgid "  --no-media-update      don't update media at startup"
msgstr "  --no-media-update      no actualitzis les fonts al principi"

#: ../Rpmdrake/init.pm:58
#, fuzzy, c-format
msgid ""
"  --no-splash            don't ask first confirmation question in update mode"
msgstr "  --no-confirmation      no demanis confirmació en mode actualització"

#: ../Rpmdrake/init.pm:59
#, c-format
msgid "  --no-verify-rpm        don't verify packages signatures"
msgstr "  --no-verify-rpm        no verifiquis les signatures dels paquets"

#: ../Rpmdrake/init.pm:60
#, c-format
msgid ""
"  --parallel=alias,host  be in parallel mode, use \"alias\" group, use \"host"
"\" machine to show needed deps"
msgstr ""
"  --parallel=alias,host  estar en mode paral·lel, usa \"alias\" grup, usa la "
"màquina \"host\" per mostrar les dependències"

#: ../Rpmdrake/init.pm:61
#, c-format
msgid "  --rpm-root=path        use another root for rpm installation"
msgstr ""

#: ../Rpmdrake/init.pm:62
#, fuzzy, c-format
msgid ""
"  --urpmi-root           use another root for urpmi db & rpm installation"
msgstr ""
"  --run-as-root          usa una altre arrel per la instal·lació de rpm"

#: ../Rpmdrake/init.pm:63
#, c-format
msgid "  --root                 force to run as root"
msgstr "  --root                 força l'execució com a root"

#: ../Rpmdrake/init.pm:63
#, fuzzy, c-format
msgid "(Deprecated)"
msgstr "Seleccionat"

#: ../Rpmdrake/init.pm:64
#, c-format
msgid "  --run-as-root          force to run as root"
msgstr "  --run-as-root          força l'execució com a root"

#: ../Rpmdrake/init.pm:65
#, c-format
msgid "  --search=pkg           run search for \"pkg\""
msgstr "  --search=pkg           inicia recerca de \"pkg\""

#: ../Rpmdrake/init.pm:66
#, c-format
msgid ""
"  --test                 only verify if the installation can be achieved "
"correctly"
msgstr ""

#: ../Rpmdrake/init.pm:67
#, c-format
msgid "  --version              print this tool's version number\n"
msgstr "  --help         - mostra la informació de la versió.\n"

#: ../Rpmdrake/init.pm:156
#, c-format
msgid "Running in user mode"
msgstr "Funcionant en mode usuari"

#: ../Rpmdrake/init.pm:157
#, c-format
msgid ""
"You are launching this program as a normal user.\n"
"You will not be able to perform modifications on the system,\n"
"but you may still browse the existing database."
msgstr ""
"Esteu engegant aquest programa com a usuari normal \n"
"No serà permès fer modificacions al sistema,\n"
"però podrà examinar la base de dades existent."

#: ../Rpmdrake/pkg.pm:104
#, c-format
msgid "Getting information from XML meta-data from %s..."
msgstr ""

#: ../Rpmdrake/pkg.pm:108
#, c-format
msgid "Getting '%s' from XML meta-data..."
msgstr ""

#: ../Rpmdrake/pkg.pm:111 ../Rpmdrake/pkg.pm:359 ../Rpmdrake/pkg.pm:692
#: ../Rpmdrake/pkg.pm:882 ../rpmdrake:127 ../rpmdrake.pm:352
#: ../rpmdrake.pm:561
#, c-format
msgid "Please wait"
msgstr "Espereu si us plau"

#: ../Rpmdrake/pkg.pm:123
#, c-format
msgid "No xml info for medium \"%s\", only partial result for package %s"
msgstr ""

#: ../Rpmdrake/pkg.pm:125
#, c-format
msgid ""
"No xml info for medium \"%s\", unable to return any result for package %s"
msgstr ""

#: ../Rpmdrake/pkg.pm:178 ../Rpmdrake/pkg.pm:183
#, c-format
msgid "Downloading package `%s'..."
msgstr "S'està descarregant el paquet `%s'..."

#: ../Rpmdrake/pkg.pm:185
#, c-format
msgid "        %s%% of %s completed, ETA = %s, speed = %s"
msgstr ""

#: ../Rpmdrake/pkg.pm:186
#, c-format
msgid "        %s%% completed, speed = %s"
msgstr ""

#
#: ../Rpmdrake/pkg.pm:229 ../Rpmdrake/pkg.pm:672
#, fuzzy, c-format
msgid "Confirmation"
msgstr "Configuració"

#: ../Rpmdrake/pkg.pm:230
#, c-format
msgid ""
"I need to contact the mirror to get latest update packages.\n"
"Please check that your network is currently running.\n"
"\n"
"Is it ok to continue?"
msgstr ""
"Necessito contactar amb la rèplica per a obtenir les últimes\n"
"actualitzacions de paquets. Comproveu que la xarxa funcioni ara.\n"
"\n"
"Esteu d'acord en continuar?"

#: ../Rpmdrake/pkg.pm:234
#, c-format
msgid "Do not ask me next time"
msgstr ""

#: ../Rpmdrake/pkg.pm:243
#, c-format
msgid "Already existing update media"
msgstr "Ja existeix la font d'actualització"

#: ../Rpmdrake/pkg.pm:244
#, fuzzy, c-format
msgid ""
"You already have at least one update medium configured, but\n"
"all of them are currently disabled. You should run the Software\n"
"Media Manager to enable at least one (check it in the \"%s\"\n"
"column).\n"
"\n"
"Then, restart \"%s\"."
msgstr ""
"Teniu configurada una font d'actualitzacions com a mínim, però\n"
"totes estan actualment desactivades. Haurieu d'executar el Gestor\n"
"de Fonts per a activar-ne al menys una. (Comproveu-ho en la \n"
"columna Activat?)\n"
"\n"
"Després reinicieu la %s."

#: ../Rpmdrake/pkg.pm:254
#, c-format
msgid ""
"You have no configured update media. MandrivaUpdate cannot operate without "
"any update media."
msgstr ""

#: ../Rpmdrake/pkg.pm:255 ../rpmdrake.pm:594
#, c-format
msgid ""
"I need to contact the Mandriva website to get the mirror list.\n"
"Please check that your network is currently running.\n"
"\n"
"Is it ok to continue?"
msgstr ""
"Necessito contactar amb la pàgina web de Mandriva per a baixar la llista de "
"rèpliques.\n"
"Comproveu que la vostra xarxa funcioni correctament.\n"
"\n"
"Esteu d'acord en continuar?"

#: ../Rpmdrake/pkg.pm:262
#, c-format
msgid "How to choose manually your mirror"
msgstr "Com escollir manualment la rèplica"

#: ../Rpmdrake/pkg.pm:263
#, c-format
msgid ""
"You may also choose your desired mirror manually: to do so,\n"
"launch the Software Media Manager, and then add a `Security\n"
"updates' medium.\n"
"\n"
"Then, restart %s."
msgstr ""
"Podeu escollir la rèplica desitjada manualment: per a fer-ho,\n"
"executeu el Gestor de Fonts de Programari, i afegiu una font de\n"
"`Actualitzacions de Seguretat'.\n"
"\n"
"Aleshores, reinicieu %s. "

#: ../Rpmdrake/pkg.pm:359 ../Rpmdrake/pkg.pm:692
#, c-format
msgid "Package installation..."
msgstr "Instal·lació dels paquets..."

#: ../Rpmdrake/pkg.pm:359 ../Rpmdrake/pkg.pm:692 ../Rpmdrake/pkg.pm:882
#, c-format
msgid "Initializing..."
msgstr "S'està inicialitzant..."

#: ../Rpmdrake/pkg.pm:374
#, fuzzy, c-format
msgid "Reading updates description"
msgstr "en descripcions "

#: ../Rpmdrake/pkg.pm:380 ../Rpmdrake/pkg.pm:416
#, c-format
msgid "Please wait, finding available packages..."
msgstr "Espereu mentre es cerquen els paquets disponibles... "

#: ../Rpmdrake/pkg.pm:386
#, fuzzy, c-format
msgid "Please wait, listing base packages..."
msgstr "Si us plau espereu, llistant els paquets..."

#: ../Rpmdrake/pkg.pm:391 ../Rpmdrake/pkg.pm:808 ../Rpmdrake/pkg.pm:831
#: ../rpmdrake.pm:780 ../rpmdrake.pm:870 ../rpmdrake.pm:894
#, c-format
msgid "Error"
msgstr "Error"

#: ../Rpmdrake/pkg.pm:399
#, fuzzy, c-format
msgid "Please wait, finding installed packages..."
msgstr "Espereu mentre es cerquen els paquets disponibles... "

#: ../Rpmdrake/pkg.pm:554
#, fuzzy, c-format
msgid "Upgrade information"
msgstr "Informació normal"

#: ../Rpmdrake/pkg.pm:556
#, c-format
msgid "These packages come with upgrade information"
msgstr "Aquests paquets venen amb informació d'actualització"

#: ../Rpmdrake/pkg.pm:564
#, fuzzy, c-format
msgid "Upgrade information about this package"
msgstr "Més informació del paquet..."

#: ../Rpmdrake/pkg.pm:567
#, fuzzy, c-format
msgid "Upgrade information about package %s"
msgstr "Més informació del paquet... [%s]"

#: ../Rpmdrake/pkg.pm:589 ../Rpmdrake/pkg.pm:825
#, c-format
msgid "All requested packages were installed successfully."
msgstr "Tots els paquets demanats s'han instal·lat correctament."

#: ../Rpmdrake/pkg.pm:593 ../Rpmdrake/pkg.pm:799
#, c-format
msgid "Problem during installation"
msgstr "Hi ha hagut problemes durant la instal·lació "

#: ../Rpmdrake/pkg.pm:594 ../Rpmdrake/pkg.pm:614 ../Rpmdrake/pkg.pm:801
#, c-format
msgid ""
"There was a problem during the installation:\n"
"\n"
"%s"
msgstr ""
"Hi ha hagut un problema durant la instal·lació:\n"
"\n"
"%s "

#: ../Rpmdrake/pkg.pm:613
#, c-format
msgid "Installation failed"
msgstr "Instal·lació fallida"

#: ../Rpmdrake/pkg.pm:633
#, c-format
msgid "Checking validity of requested packages..."
msgstr ""

#: ../Rpmdrake/pkg.pm:649
#, c-format
msgid "Unable to get source packages."
msgstr "No és possible aconseguir els paquets de fonts."

#: ../Rpmdrake/pkg.pm:650
#, c-format
msgid "Unable to get source packages, sorry. %s"
msgstr "No és possible aconseguir els paquets de fonts, ho sento. %s"

#: ../Rpmdrake/pkg.pm:651
#, c-format
msgid ""
"\n"
"\n"
"Error(s) reported:\n"
"%s"
msgstr ""
"\n"
"\n"
"Error(s) reportats:\n"
"%s"

#: ../Rpmdrake/pkg.pm:669
#, fuzzy, c-format
msgid "The following package is going to be installed:"
msgid_plural "The following %d packages are going to be installed:"
msgstr[0] "Per complir les dependències, s'instal·lara el següent paquet:"
msgstr[1] ""
"Per complir les dependències, s'instal·lara els següents %d paquets:"

#: ../Rpmdrake/pkg.pm:675
#, c-format
msgid "Remove one package?"
msgid_plural "Remove %d packages?"
msgstr[0] "Elimina una clau"
msgstr[1] "Elimina una clau"

#: ../Rpmdrake/pkg.pm:677
#, c-format
msgid "The following package has to be removed for others to be upgraded:"
msgstr "S'ha d'eliminar el següent paquet per poder actualitzar uns altres:"

#: ../Rpmdrake/pkg.pm:678
#, c-format
msgid "The following packages have to be removed for others to be upgraded:"
msgstr ""
"Els paquets següents s'han d'eliminar per poder actualitzar uns altres:"

#: ../Rpmdrake/pkg.pm:681
#, fuzzy, c-format
msgid "%s of packages will be retrieved."
msgstr "Alguns paquets no poden ser esborrats"

#: ../Rpmdrake/pkg.pm:683
#, c-format
msgid "Is it ok to continue?"
msgstr "Esteu d'acord en continuar?"

#: ../Rpmdrake/pkg.pm:699 ../Rpmdrake/pkg.pm:866
#, fuzzy, c-format
msgid "Orphan packages"
msgstr "Empaquetat"

#: ../Rpmdrake/pkg.pm:699
#, fuzzy, c-format
msgid "The following orphan package will be removed."
msgid_plural "The following orphan packages will be removed."
msgstr[0] "Es necessita un dels següents paquets:"
msgstr[1] "Es necessita un dels següents paquets:"

#: ../Rpmdrake/pkg.pm:713
#, c-format
msgid "Preparing packages installation..."
msgstr "S'estan preparant els paquets per a la instal·lació... "

#: ../Rpmdrake/pkg.pm:713
#, fuzzy, c-format
msgid "Preparing package installation transaction..."
msgstr "S'estan preparant els paquets per a la instal·lació... "

#: ../Rpmdrake/pkg.pm:716
#, c-format
msgid "Installing package `%s' (%s/%s)..."
msgstr "S'està instal·lant el paquet '%s' (%s/%s)..."

#: ../Rpmdrake/pkg.pm:717
#, c-format
msgid "Total: %s/%s"
msgstr ""

#: ../Rpmdrake/pkg.pm:772
#, c-format
msgid "Change medium"
msgstr "Canvieu la font"

#: ../Rpmdrake/pkg.pm:773
#, fuzzy, c-format
msgid "Please insert the medium named \"%s\""
msgstr "Per favor, inseriu la font anomenada \"%s\" en el dispositiu [%s]"

#: ../Rpmdrake/pkg.pm:777
#, c-format
msgid "Verifying package signatures..."
msgstr "Verificant les firmes dels paquets"

#: ../Rpmdrake/pkg.pm:800
#, fuzzy, c-format
msgid "%d installation transactions failed"
msgstr "Instal·lació fallida"

#: ../Rpmdrake/pkg.pm:809
#, c-format
msgid "Unrecoverable error: no package found for installation, sorry."
msgstr ""
"Error irrecuperable. No s'han trobat els paquets necessaris per a la "
"instalació. "

#: ../Rpmdrake/pkg.pm:812
#, c-format
msgid "Inspecting configuration files..."
msgstr ""

#: ../Rpmdrake/pkg.pm:820
#, c-format
msgid ""
"The installation is finished; everything was installed correctly.\n"
"\n"
"Some configuration files were created as `.rpmnew' or `.rpmsave',\n"
"you may now inspect some in order to take actions:"
msgstr ""
"La instal·lació ha finalitzat; tot s'ha instal·lat correctament.\n"
"\n"
"Alguns fitxers de configuració han estat creats com a `.rpmnew' o `."
"rpmsave',\n"
"ara podeu inspeccionar-los per a emprendre accions:"

#: ../Rpmdrake/pkg.pm:826
#, c-format
msgid "Looking for \"README\" files..."
msgstr ""

#: ../Rpmdrake/pkg.pm:857
#, c-format
msgid "RPM transaction %d/%d"
msgstr ""

#: ../Rpmdrake/pkg.pm:858
#, fuzzy, c-format
msgid "Unselect all"
msgstr "Selecciona-ho tot"

#: ../Rpmdrake/pkg.pm:859
#, c-format
msgid "Details"
msgstr ""

#: ../Rpmdrake/pkg.pm:882 ../Rpmdrake/pkg.pm:898
#, c-format
msgid "Please wait, removing packages..."
msgstr "Si us plau, espereu, s'estan esborrant els paquets..."

#: ../Rpmdrake/pkg.pm:911
#, c-format
msgid "Problem during removal"
msgstr "Hi ha hagut un problema durant la desinstal·lació"

#: ../Rpmdrake/pkg.pm:912
#, c-format
msgid ""
"There was a problem during the removal of packages:\n"
"\n"
"%s"
msgstr ""
"Hi ha hagut un error durant la desinstal·lació de paquets:\n"
"\n"
"%s"

#: ../Rpmdrake/rpmnew.pm:77
#, c-format
msgid "Inspecting %s"
msgstr "Inspeccionant %s"

#: ../Rpmdrake/rpmnew.pm:102
#, c-format
msgid "Changes:"
msgstr "Canvis:"

#: ../Rpmdrake/rpmnew.pm:111
#, c-format
msgid ""
"You can either remove the .%s file, use it as main file or do nothing. If "
"unsure, keep the current file (\"%s\")."
msgstr ""

#: ../Rpmdrake/rpmnew.pm:112 ../Rpmdrake/rpmnew.pm:117
#, c-format
msgid "Remove .%s"
msgstr "Elimina .%s"

#: ../Rpmdrake/rpmnew.pm:121
#, c-format
msgid "Use .%s as main file"
msgstr "Utilitzar .%s com a fitxer principal"

#: ../Rpmdrake/rpmnew.pm:125
#, c-format
msgid "Do nothing"
msgstr "No facis res"

#: ../Rpmdrake/rpmnew.pm:157
#, c-format
msgid "Installation finished"
msgstr "Instal·lació finalitzada"

#: ../Rpmdrake/rpmnew.pm:172
#, c-format
msgid "Inspect..."
msgstr "S'està inspeccionant..."

#: ../Rpmdrake/rpmnew.pm:190 ../rpmdrake:95
#, c-format
msgid "Please wait, searching..."
msgstr "Si us plau espereu, s'està buscant..."

#: ../gurpmi.addmedia:103
#, c-format
msgid "bad <url> (for local directory, the path must be absolute)"
msgstr ""

#: ../gurpmi.addmedia:117
#, c-format
msgid ""
"%s\n"
"\n"
"Is it ok to continue?"
msgstr ""
"%s\n"
"\n"
"Esteu d'acord en continuar?"

#: ../gurpmi.addmedia:121
#, fuzzy, c-format
msgid ""
"You are about to add new packages media, %s.\n"
"That means you will be able to add new software packages\n"
"to your system from these new media."
msgstr ""
"Esteu a punt d'afegir una nova font de paquets, `%s'.\n"
"Això vol dir que podreu afegir paquets de programari\n"
"al vostre sistema des d'aquesta font."

#: ../gurpmi.addmedia:124
#, c-format
msgid ""
"You are about to add a new packages medium, `%s'.\n"
"That means you will be able to add new software packages\n"
"to your system from that new medium."
msgstr ""
"Esteu a punt d'afegir una nova font de paquets, `%s'.\n"
"Això vol dir que podreu afegir paquets de programari\n"
"al vostre sistema des d'aquesta font."

#: ../gurpmi.addmedia:150
#, fuzzy, c-format
msgid "Successfully added media %s."
msgstr "S'ha afegit la font `%s' amb èxit."

#: ../gurpmi.addmedia:151
#, c-format
msgid "Successfully added medium `%s'."
msgstr "S'ha afegit la font `%s' amb èxit."

#: ../rpmdrake:67
#, c-format
msgid "Search results"
msgstr "Resultats de la cerca"

#: ../rpmdrake:67
#, c-format
msgid "Search results (none)"
msgstr "Resultats de la cerca (cap)"

#: ../rpmdrake:100
#, c-format
msgid "Stop"
msgstr "Para"

#: ../rpmdrake:134
#, fuzzy, c-format
msgid "no xml-info available for medium \"%s\""
msgstr "Copiant fitxer per a la font `%s'..."

#: ../rpmdrake:150 ../rpmdrake:178
#, fuzzy, c-format
msgid "Search aborted"
msgstr "Resultats de la cerca"

#: ../rpmdrake:195
#, c-format
msgid "Selected"
msgstr "Seleccionat"

#: ../rpmdrake:195
#, c-format
msgid "Not selected"
msgstr "No seleccionat"

#: ../rpmdrake:231
#, c-format
msgid "Selected: %s / Free disk space: %s"
msgstr "Seleccionats: %s / Espai lliure en el disc: %s"

#: ../rpmdrake:271
#, fuzzy, c-format
msgid "Package"
msgstr "Empaquetat"

#. -PO: "Architecture" but to be kept *small* !!!
#: ../rpmdrake:285
#, fuzzy, c-format
msgid "Arch."
msgstr "Arxivant"

#. -PO: "Status" should be kept *small* !!!
#: ../rpmdrake:313
#, c-format
msgid "Status"
msgstr ""

#: ../rpmdrake:356
#, fuzzy, c-format
msgid "Not installed"
msgstr "Instal·la"

#: ../rpmdrake:371
#, c-format
msgid "All packages, alphabetical"
msgstr "Tots els paquets, alfabèticament"

#: ../rpmdrake:372
#, c-format
msgid "All packages, by group"
msgstr "Tots els paquets, per grup"

#: ../rpmdrake:373
#, c-format
msgid "Leaves only, sorted by install date"
msgstr "Ordenat per data de instal·lació."

#: ../rpmdrake:374
#, c-format
msgid "All packages, by update availability"
msgstr "Tots els paquets, amb actualització."

#: ../rpmdrake:375
#, c-format
msgid "All packages, by selection state"
msgstr "Tots els paquets, per estat de selecció"

#: ../rpmdrake:376
#, c-format
msgid "All packages, by size"
msgstr "Tots els paquets, per tamany"

#: ../rpmdrake:377
#, c-format
msgid "All packages, by medium repository"
msgstr "Tots els paquets, per dipòsit de fonts"

#. -PO: Backports media are newer but less-tested versions of some packages in main
#. -PO: See http://wiki.mandriva.com/en/Policies/SoftwareMedia#.2Fmain.2Fbackports
#: ../rpmdrake:385
#, fuzzy, c-format
msgid "Backports"
msgstr "Resguard"

#: ../rpmdrake:386
#, fuzzy, c-format
msgid "Meta packages"
msgstr "Empaquetat"

#: ../rpmdrake:387
#, c-format
msgid "Packages with GUI"
msgstr ""

#: ../rpmdrake:388
#, fuzzy, c-format
msgid "All updates"
msgstr "Actualitzacions normals"

#: ../rpmdrake:389
#, c-format
msgid "Security updates"
msgstr "Actualitzacions de seguretat"

#: ../rpmdrake:390
#, c-format
msgid "Bugfixes updates"
msgstr "Actualitzacions que reparen errors"

#: ../rpmdrake:391
#, fuzzy, c-format
msgid "General updates"
msgstr "Actualitzacions normals"

#: ../rpmdrake:414
#, c-format
msgid "View"
msgstr "Vídeo"

#: ../rpmdrake:442
#, fuzzy, c-format
msgid "Filter"
msgstr "/_Fitxer"

#: ../rpmdrake:478
#, c-format
msgid "in names"
msgstr "en noms"

#: ../rpmdrake:478
#, c-format
msgid "in descriptions"
msgstr "en descripcions "

#: ../rpmdrake:478
#, fuzzy, c-format
msgid "in summaries"
msgstr "en noms"

#: ../rpmdrake:478
#, c-format
msgid "in file names"
msgstr "en noms de fitxers"

#: ../rpmdrake:517
#, c-format
msgid "/_Select dependencies without asking"
msgstr ""

#: ../rpmdrake:518
#, c-format
msgid "Clear download cache after successfull install"
msgstr ""

#: ../rpmdrake:524
#, c-format
msgid "/_Update media"
msgstr "/_Actualitza les fonts"

#: ../rpmdrake:529
#, c-format
msgid "/_Reset the selection"
msgstr "/_Esborra la selecció"

#: ../rpmdrake:544
#, c-format
msgid "/Reload the _packages list"
msgstr "/_Recarrega la llista de paquets"

#: ../rpmdrake:545
#, c-format
msgid "/_Quit"
msgstr "/_Surt"

#: ../rpmdrake:545
#, c-format
msgid "<control>Q"
msgstr "<control>Q"

#: ../rpmdrake:555
#, fuzzy, c-format
msgid "/_Media Manager"
msgstr "Gestor de Fonts de Programari"

#: ../rpmdrake:559 ../rpmdrake:615
#, c-format
msgid "/_Show automatically selected packages"
msgstr "/_Mostra automàticament els paquets seleccionats"

#: ../rpmdrake:563 ../rpmdrake:566 ../rpmdrake:571 ../rpmdrake:603
#, c-format
msgid "/_View"
msgstr "/Vídeo"

#: ../rpmdrake:631
#, c-format
msgid "Find:"
msgstr "Troba:"

#: ../rpmdrake:634
#, c-format
msgid "Find"
msgstr "Troba"

#: ../rpmdrake:659
#, c-format
msgid "Apply"
msgstr "Aplica"

#: ../rpmdrake:678
#, c-format
msgid "Quick Introduction"
msgstr ""

#: ../rpmdrake:679
#, c-format
msgid "You can browse the packages through the categories tree on the left."
msgstr ""

#: ../rpmdrake:680
#, c-format
msgid ""
"You can view information about a package by clicking on it on the right list."
msgstr ""

#: ../rpmdrake:681
#, c-format
msgid "To install, update or remove a package, just click on its \"checkbox\"."
msgstr ""

#: ../rpmdrake.pm:115
#, c-format
msgid "Software Update"
msgstr "Actualització de Programari"

#: ../rpmdrake.pm:115
#, c-format
msgid "Mandriva Linux Update"
msgstr "Actualització de Mandriva Linux"

#: ../rpmdrake.pm:142
#, c-format
msgid "Please enter your credentials for accessing proxy\n"
msgstr ""
"Si us plau, entreu les vostres dades per accedir al servidor intermediari\n"

#: ../rpmdrake.pm:143
#, c-format
msgid "User name:"
msgstr "Nom d'usuari:"

#: ../rpmdrake.pm:205
#, c-format
msgid "Software Packages Removal"
msgstr "Eliminació de Paquets de Programari"

#: ../rpmdrake.pm:206 ../rpmdrake.pm:210
#, c-format
msgid "Software Packages Update"
msgstr "Actualització de Paquets de Programari"

#: ../rpmdrake.pm:207
#, c-format
msgid "Software Packages Installation"
msgstr "Instal·lació de Paquets de Programari"

#: ../rpmdrake.pm:251
#, c-format
msgid "No"
msgstr "No"

#: ../rpmdrake.pm:255
#, c-format
msgid "Yes"
msgstr "Sí"

#: ../rpmdrake.pm:307
#, c-format
msgid "Info..."
msgstr "Informació..."

#: ../rpmdrake.pm:432
#, c-format
msgid "Austria"
msgstr "Àustria"

#: ../rpmdrake.pm:433
#, c-format
msgid "Australia"
msgstr "Austràlia"

#: ../rpmdrake.pm:434
#, c-format
msgid "Belgium"
msgstr "Bèlgica"

#: ../rpmdrake.pm:435
#, c-format
msgid "Brazil"
msgstr "Brasil"

#: ../rpmdrake.pm:436
#, c-format
msgid "Canada"
msgstr "Canadà"

#: ../rpmdrake.pm:437
#, c-format
msgid "Switzerland"
msgstr "Suïssa"

#: ../rpmdrake.pm:438
#, c-format
msgid "Costa Rica"
msgstr "Costa Rica"

#: ../rpmdrake.pm:439
#, c-format
msgid "Czech Republic"
msgstr "República Txeca"

#: ../rpmdrake.pm:440
#, c-format
msgid "Germany"
msgstr "Alemanya"

#: ../rpmdrake.pm:441
#, c-format
msgid "Danmark"
msgstr "Dinamarca"

#: ../rpmdrake.pm:442 ../rpmdrake.pm:446
#, c-format
msgid "Greece"
msgstr "Grècia"

#: ../rpmdrake.pm:443
#, c-format
msgid "Spain"
msgstr "Espanya"

#: ../rpmdrake.pm:444
#, c-format
msgid "Finland"
msgstr "Finlàndia"

#: ../rpmdrake.pm:445
#, c-format
msgid "France"
msgstr "França"

#: ../rpmdrake.pm:447
#, c-format
msgid "Hungary"
msgstr "Hongria"

#: ../rpmdrake.pm:448
#, c-format
msgid "Israel"
msgstr "Israel "

#: ../rpmdrake.pm:449
#, c-format
msgid "Italy"
msgstr "Itàlia"

#: ../rpmdrake.pm:450
#, c-format
msgid "Japan"
msgstr "Japó"

#: ../rpmdrake.pm:451
#, c-format
msgid "Korea"
msgstr "Corea"

#: ../rpmdrake.pm:452
#, c-format
msgid "Netherlands"
msgstr "Països Baixos"

#: ../rpmdrake.pm:453
#, c-format
msgid "Norway"
msgstr "Noruega"

#: ../rpmdrake.pm:454
#, c-format
msgid "Poland"
msgstr "Polònia"

#: ../rpmdrake.pm:455
#, c-format
msgid "Portugal"
msgstr "Portugal"

#: ../rpmdrake.pm:456
#, c-format
msgid "Russia"
msgstr "Rússia"

#: ../rpmdrake.pm:457
#, c-format
msgid "Sweden"
msgstr "Suècia"

#: ../rpmdrake.pm:458
#, c-format
msgid "Singapore"
msgstr "Singapur"

#: ../rpmdrake.pm:459
#, c-format
msgid "Slovakia"
msgstr "Eslovàquia"

#: ../rpmdrake.pm:460
#, c-format
msgid "Taiwan"
msgstr "Taiwan"

#: ../rpmdrake.pm:461
#, c-format
msgid "United Kingdom"
msgstr "Regne Unit"

#: ../rpmdrake.pm:462
#, c-format
msgid "China"
msgstr "Xina"

#: ../rpmdrake.pm:463 ../rpmdrake.pm:464 ../rpmdrake.pm:465 ../rpmdrake.pm:466
#, c-format
msgid "United States"
msgstr "Estats Units"

#: ../rpmdrake.pm:546
#, c-format
msgid "Please wait, downloading mirror addresses."
msgstr "Si us plau, espereu, s'estan baixant les adreces de les rèpliques."

#: ../rpmdrake.pm:547
#, c-format
msgid "Please wait, downloading mirror addresses from the Mandriva website."
msgstr ""
"Si us plau, espereu, baixant les adreces de les rèpliques des de la web de "
"Mandriva."

#: ../rpmdrake.pm:568
#, c-format
msgid "retrieval of [%s] failed"
msgstr ""

#: ../rpmdrake.pm:590
#, c-format
msgid ""
"I need to access internet to get the mirror list.\n"
"Please check that your network is currently running.\n"
"\n"
"Is it ok to continue?"
msgstr ""
"Cal accedir a internet per a baixar la llista de rèpliques.\n"
"Comproveu que la vostra xarxa funcioni correctament.\n"
"\n"
"Esteu d'acord en continuar?"

#: ../rpmdrake.pm:598 ../rpmdrake.pm:637
#, fuzzy, c-format
msgid "Mirror choice"
msgstr "Seleccions de %s"

#: ../rpmdrake.pm:610
#, c-format
msgid "Error during download"
msgstr "S'ha produït un error durant la descàrrega"

#: ../rpmdrake.pm:612
#, c-format
msgid ""
"There was an error downloading the mirror list:\n"
"\n"
"%s\n"
"The network, or the website, may be unavailable.\n"
"Please try again later."
msgstr ""
"Hi ha hagut un error baixant la llista de rèpliques:\n"
"\n"
"%s\n"
"La xarxa, o la web, deuen ser inaccessibles.\n"
"Si us plau, proveu-ho més tard."

#: ../rpmdrake.pm:617
#, c-format
msgid ""
"There was an error downloading the mirror list:\n"
"\n"
"%s\n"
"The network, or the Mandriva website, may be unavailable.\n"
"Please try again later."
msgstr ""
"Hi ha hagut un error baixant la llista de rèpliques:\n"
"\n"
"%s\n"
"La xarxa, o la web de Mandriva, deuen ser inaccessibles.\n"
"Si us plau, proveu-ho més tard."

#: ../rpmdrake.pm:627
#, c-format
msgid "No mirror"
msgstr "Sense rèplica"

#: ../rpmdrake.pm:629
#, c-format
msgid "I can't find any suitable mirror."
msgstr "No s'ha pogut trobar cap rèplica adequada."

#: ../rpmdrake.pm:630
#, c-format
msgid ""
"I can't find any suitable mirror.\n"
"\n"
"There can be many reasons for this problem; the most frequent is\n"
"the case when the architecture of your processor is not supported\n"
"by Mandriva Linux Official Updates."
msgstr ""
"No he pogut trobar cap rèplica adequada.\n"
"\n"
"Hi poden haver diverses raons per aquest problema; el cas més freqüent es\n"
"quan l'arquitectura del seu processador no és suportada \n"
"per Mandriva Linux Official Updates."

#: ../rpmdrake.pm:649
#, c-format
msgid "Please choose the desired mirror."
msgstr "Si us plau, seleccioneu la rèplica desitjada."

#: ../rpmdrake.pm:690
#, c-format
msgid "Copying file for medium `%s'..."
msgstr "Copiant fitxer per a la font `%s'..."

#: ../rpmdrake.pm:693
#, c-format
msgid "Examining file of medium `%s'..."
msgstr "Examinant el fitxer de fonts `%s'..."

#: ../rpmdrake.pm:696
#, c-format
msgid "Examining remote file of medium `%s'..."
msgstr "Examinant el fitxer remot de fonts `%s'..."

#: ../rpmdrake.pm:700
#, c-format
msgid " done."
msgstr " fet."

#: ../rpmdrake.pm:704
#, c-format
msgid " failed!"
msgstr " error!"

#. -PO: We're downloading the said file from the said medium
#: ../rpmdrake.pm:708
#, c-format
msgid "%s from medium %s"
msgstr "%s de la font %s"

#: ../rpmdrake.pm:712
#, c-format
msgid "Starting download of `%s'..."
msgstr "Començant la baixada de `%s'..."

#: ../rpmdrake.pm:716
#, c-format
msgid "Download of `%s'\ntime to go:%s, speed:%s"
msgstr "Descàrrega de `%s'\ntemps per a finalitzar:%s, velocitat:%s"

#: ../rpmdrake.pm:719
#, c-format
msgid "Download of `%s'\nspeed:%s"
msgstr "Baixada de `%s'\nvelocitat: %s"

#: ../rpmdrake.pm:730
#, c-format