aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_postgres.php
blob: 04441e622657f4be9ca084208e1737e109f259eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/

namespace phpbb\search;

/**
* Fulltext search for PostgreSQL
*/
class fulltext_postgres extends \phpbb\search\base
{
	/**
	 * Associative array holding index stats
	 * @var array
	 */
	protected $stats = array();

	/**
	 * Holds the words entered by user, obtained by splitting the entered query on whitespace
	 * @var array
	 */
	protected $split_words = array();

	/**
	 * Stores the tsearch query
	 * @var string
	 */
	protected $tsearch_query;

	/**
	 * True if phrase search is supported.
	 * PostgreSQL fulltext currently doesn't support it
	 * @var boolean
	 */
	protected $phrase_search = false;

	/**
	 * Config object
	 * @var \phpbb\config\config
	 */
	protected $config;

	/**
	 * Database connection
	 * @var \phpbb\db\driver\driver_interface
	 */
	protected $db;

	/**
	 * phpBB event dispatcher object
	 * @var \phpbb\event\dispatcher_interface
	 */
	protected $phpbb_dispatcher;

	/**
	 * User object
	 * @var \phpbb\user
	 */
	protected $user;

	/**
	 * Contains tidied search query.
	 * Operators are prefixed in search query and common words excluded
	 * @var string
	 */
	protected $search_query;

	/**
	 * Contains common words.
	 * Common words are words with length less/more than min/max length
	 * @var array
	 */
	protected $common_words = array();

	/**
	 * Associative array stores the min and max word length to be searched
	 * @var array
	 */
	protected $word_length = array();

	/**
	 * Constructor
	 * Creates a new \phpbb\search\fulltext_postgres, which is used as a search backend
	 *
	 * @param string|bool $error Any error that occurs is passed on through this reference variable otherwise false
	 * @param string $phpbb_root_path Relative path to phpBB root
	 * @param string $phpEx PHP file extension
	 * @param \phpbb\auth\auth $auth Auth object
	 * @param \phpbb\config\config $config Config object
	 * @param \phpbb\db\driver\driver_interface Database object
	 * @param \phpbb\user $user User object
	 * @param \phpbb\event\dispatcher_interface	$phpbb_dispatcher	Event dispatcher object
	 */
	public function __construct(&$error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user, $phpbb_dispatcher)
	{
		$this->config = $config;
		$this->db = $db;
		$this->phpbb_dispatcher = $phpbb_dispatcher;
		$this->user = $user;

		$this->word_length = array('min' => $this->config['fulltext_postgres_min_word_len'], 'max' => $this->config['fulltext_postgres_max_word_len']);

		/**
		 * Load the UTF tools
		 */
		if (!function_exists('utf8_strlen'))
		{
			include($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
		}

		$error = false;
	}

	/**
	* Returns the name of this search backend to be displayed to administrators
	*
	* @return string Name
	*/
	public function get_name()
	{
		return 'PostgreSQL Fulltext';
	}

	/**
	 * Returns the search_query
	 *
	 * @return string search query
	 */
	public function get_search_query()
	{
		return $this->search_query;
	}

	/**
	 * Returns the common_words array
	 *
	 * @return array common words that are ignored by search backend
	 */
	public function get_common_words()
	{
		return $this->common_words;
	}

	/**
	 * Returns the word_length array
	 *
	 * @return array min and max word length for searching
	 */
	public function get_word_length()
	{
		return $this->word_length;
	}

	/**
	 * Returns if phrase search is supported or not
	 *
	 * @return bool
	 */
	public function supports_phrase_search()
	{
		return $this->phrase_search;
	}

	/**
	* Checks for correct PostgreSQL version and stores min/max word length in the config
	*
	* @return string|bool Language key of the error/incompatiblity occurred
	*/
	public function init()
	{
		if ($this->db->get_sql_layer() != 'postgres')
		{
			return $this->user->lang['FULLTEXT_POSTGRES_INCOMPATIBLE_DATABASE'];
		}

		return false;
	}

	/**
	* Splits keywords entered by a user into an array of words stored in $this->split_words
	* Stores the tidied search query in $this->search_query
	*
	* @param	string	&$keywords	Contains the keyword as entered by the user
	* @param	string	$terms	is either 'all' or 'any'
	* @return	bool	false	if no valid keywords were found and otherwise true
	*/
	public function split_keywords(&$keywords, $terms)
	{
		if ($terms == 'all')
		{
			$match		= array('#\sand\s#iu', '#\sor\s#iu', '#\snot\s#iu', '#(^|\s)\+#', '#(^|\s)-#', '#(^|\s)\|#');
			$replace	= array(' +', ' |', ' -', ' +', ' -', ' |');

			$keywords = preg_replace($match, $replace, $keywords);
		}

		// Filter out as above
		$split_keywords = preg_replace("#[\"\n\r\t]+#", ' ', trim(htmlspecialchars_decode($keywords)));

		// Split words
		$split_keywords = preg_replace('#([^\p{L}\p{N}\'*"()])#u', '$1$1', str_replace('\'\'', '\' \'', trim($split_keywords)));
		$matches = array();
		preg_match_all('#(?:[^\p{L}\p{N}*"()]|^)([+\-|]?(?:[\p{L}\p{N}*"()]+\'?)*[\p{L}\p{N}*"()])(?:[^\p{L}\p{N}*"()]|$)#u', $split_keywords, $matches);
		$this->split_words = $matches[1];

		foreach ($this->split_words as $i => $word)
		{
			$clean_word = preg_replace('#^[+\-|"]#', '', $word);

			// check word length
			$clean_len = utf8_strlen(str_replace('*', '', $clean_word));
			if (($clean_len < $this->config['fulltext_postgres_min_word_len']) || ($clean_len > $this->config['fulltext_postgres_max_word_len']))
			{
				$this->common_words[] = $word;
				unset($this->split_words[$i]);
			}
		}

		if ($terms == 'any')
		{
			$this->search_query = '';
			$this->tsearch_query = '';
			foreach ($this->split_words as $word)
			{
				if ((strpos($word, '+') === 0) || (strpos($word, '-') === 0) || (strpos($word, '|') === 0))
				{
					$word = substr($word, 1);
				}
				$this->search_query .= $word . ' ';
				$this->tsearch_query .= '|' . $word . ' ';
			}
		}
		else
		{
			$this->search_query = '';
			$this->tsearch_query = '';
			foreach ($this->split_words as $word)
			{
				if (strpos($word, '+') === 0)
				{
					$this->search_query .= $word . ' ';
					$this->tsearch_query .= '&' . substr($word, 1) . ' ';
				}
				else if (strpos($word, '-') === 0)
				{
					$this->search_query .= $word . ' ';
					$this->tsearch_query .= '&!' . substr($word, 1) . ' ';
				}
				else if (strpos($word, '|') === 0)
				{
					$this->search_query .= $word . ' ';
					$this->tsearch_query .= '|' . substr($word, 1) . ' ';
				}
				else
				{
					$this->search_query .= '+' . $word . ' ';
					$this->tsearch_query .= '&' . $word . ' ';
				}
			}
		}

		$this->tsearch_query = substr($this->tsearch_query, 1);
		$this->search_query = utf8_htmlspecialchars($this->search_query);

		if ($this->search_query)
		{
			$this->split_words = array_values($this->split_words);
			sort($this->split_words);
			return true;
		}
		return false;
	}

	/**
	* Turns text into an array of words
	* @param string $text contains post text/subject
	*/
	public function split_message($text)
	{
		// Split words
		$text = preg_replace('#([^\p{L}\p{N}\'*])#u', '$1$1', str_replace('\'\'', '\' \'', trim($text)));
		$matches = array();
		preg_match_all('#(?:[^\p{L}\p{N}*]|^)([+\-|]?(?:[\p{L}\p{N}*]+\'?)*[\p{L}\p{N}*])(?:[^\p{L}\p{N}*]|$)#u', $text, $matches);
		$text = $matches[1];

		// remove too short or too long words
		$text = array_values($text);
		for ($i = 0, $n = sizeof($text); $i < $n; $i++)
		{
			$text[$i] = trim($text[$i]);
			if (utf8_strlen($text[$i]) < $this->config['fulltext_postgres_min_word_len'] || utf8_strlen($text[$i]) > $this->config['fulltext_postgres_max_word_len'])
			{
				unset($text[$i]);
			}
		}

		return array_values($text);
	}

	/**
	* Performs a search on keywords depending on display specific params. You have to run split_keywords() first
	*
	* @param	string		$type				contains either posts or topics depending on what should be searched for
	* @param	string		$fields				contains either titleonly (topic titles should be searched), msgonly (only message bodies should be searched), firstpost (only subject and body of the first post should be searched) or all (all post bodies and subjects should be searched)
	* @param	string		$terms				is either 'all' (use query as entered, words without prefix should default to "have to be in field") or 'any' (ignore search query parts and just return all posts that contain any of the specified words)
	* @param	array		$sort_by_sql		contains SQL code for the ORDER BY part of a query
	* @param	string		$sort_key			is the key of $sort_by_sql for the selected sorting
	* @param	string		$sort_dir			is either a or d representing ASC and DESC
	* @param	string		$sort_days			specifies the maximum amount of days a post may be old
	* @param	array		$ex_fid_ary			specifies an array of forum ids which should not be searched
	* @param	string		$post_visibility	specifies which types of posts the user can view in which forums
	* @param	int			$topic_id			is set to 0 or a topic id, if it is not 0 then only posts in this topic should be searched
	* @param	array		$author_ary			an array of author ids if the author should be ignored during the search the array is empty
	* @param	string		$author_name		specifies the author match, when ANONYMOUS is also a search-match
	* @param	array		&$id_ary			passed by reference, to be filled with ids for the page specified by $start and $per_page, should be ordered
	* @param	int			$start				indicates the first index of the page
	* @param	int			$per_page			number of ids each page is supposed to contain
	* @return	boolean|int						total number of results
	*/
	public function keyword_search($type, $fields, $terms, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $post_visibility, $topic_id, $author_ary, $author_name, &$id_ary, &$start, $per_page)
	{
		// No keywords? No posts
		if (!$this->search_query)
		{
			return false;
		}

		// When search query contains queries like -foo
		if (strpos($this->search_query, '+') === false)
		{
			return false;
		}

		// generate a search_key from all the options to identify the results
		$search_key_array = array(
			implode(', ', $this->split_words),
			$type,
			$fields,
			$terms,
			$sort_days,
			$sort_key,
			$topic_id,
			implode(',', $ex_fid_ary),
			$post_visibility,
			implode(',', $author_ary)
		);

		/**
		* Allow changing the search_key for cached results
		*
		* @event core.search_postgres_by_keyword_modify_search_key
		* @var	array	search_key_array	Array with search parameters to generate the search_key
		* @var	string	type				Searching type ('posts', 'topics')
		* @var	string	fields				Searching fields ('titleonly', 'msgonly', 'firstpost', 'all')
		* @var	string	terms				Searching terms ('all', 'any')
		* @var	int		sort_days			Time, in days, of the oldest possible post to list
		* @var	string	sort_key			The sort type used from the possible sort types
		* @var	int		topic_id			Limit the search to this topic_id only
		* @var	array	ex_fid_ary			Which forums not to search on
		* @var	string	post_visibility		Post visibility data
		* @var	array	author_ary			Array of user_id containing the users to filter the results to
		* @since 3.1.7-RC1
		*/
		$vars = array(
			'search_key_array',
			'type',
			'fields',
			'terms',
			'sort_days',
			'sort_key',
			'topic_id',
			'ex_fid_ary',
			'post_visibility',
			'author_ary',
		);
		extract($this->phpbb_dispatcher->trigger_event('core.search_postgres_by_keyword_modify_search_key', compact($vars)));

		$search_key = md5(implode('#', $search_key_array));

		if ($start < 0)
		{
			$start = 0;
		}

		// try reading the results from cache
		$result_count = 0;
		if ($this->obtain_ids($search_key, $result_count, $id_ary, $start, $per_page, $sort_dir) == SEARCH_RESULT_IN_CACHE)
		{
			return $result_count;
		}

		$id_ary = array();

		$join_topic = ($type == 'posts') ? false : true;

		// Build sql strings for sorting
		$sql_sort = $sort_by_sql[$sort_key] . (($sort_dir == 'a') ? ' ASC' : ' DESC');
		$sql_sort_table = $sql_sort_join = '';

		switch ($sql_sort[0])
		{
			case 'u':
				$sql_sort_table	= USERS_TABLE . ' u, ';
				$sql_sort_join	= ($type == 'posts') ? ' AND u.user_id = p.poster_id ' : ' AND u.user_id = t.topic_poster ';
			break;

			case 't':
				$join_topic = true;
			break;

			case 'f':
				$sql_sort_table	= FORUMS_TABLE . ' f, ';
				$sql_sort_join	= ' AND f.forum_id = p.forum_id ';
			break;
		}

		// Build some display specific sql strings
		switch ($fields)
		{
			case 'titleonly':
				$sql_match = 'p.post_subject';
				$sql_match_where = ' AND p.post_id = t.topic_first_post_id';
				$join_topic = true;
			break;

			case 'msgonly':
				$sql_match = 'p.post_text';
				$sql_match_where = '';
			break;

			case 'firstpost':
				$sql_match = 'p.post_subject, p.post_text';
				$sql_match_where = ' AND p.post_id = t.topic_first_post_id';
				$join_topic = true;
			break;

			default:
				$sql_match = 'p.post_subject, p.post_text';
				$sql_match_where = '';
			break;
		}

		$tsearch_query = $this->tsearch_query;

		/**
		* Allow changing the query used to search for posts using fulltext_postgres
		*
		* @event core.search_postgres_keywords_main_query_before
		* @var	string	tsearch_query		The parsed keywords used for this search
		* @var	int		result_count		The previous result count for the format of the query.
		*									Set to 0 to force a re-count
		* @var	bool	join_topic			Weather or not TOPICS_TABLE should be CROSS JOIN'ED
		* @var	array	author_ary			Array of user_id containing the users to filter the results to
		* @var	string	author_name			An extra username to search on (!empty(author_ary) must be true, to be relevant)
		* @var	array	ex_fid_ary			Which forums not to search on
		* @var	int		topic_id			Limit the search to this topic_id only
		* @var	string	sql_sort_table		Extra tables to include in the SQL query.
		*									Used in conjunction with sql_sort_join
		* @var	string	sql_sort_join		SQL conditions to join all the tables used together.
		*									Used in conjunction with sql_sort_table
		* @var	int		sort_days			Time, in days, of the oldest possible post to list
		* @var	string	sql_match			Which columns to do the search on.
		* @var	string	sql_match_where		Extra conditions to use to properly filter the matching process
		* @var	string	sort_by_sql			The possible predefined sort types
		* @var	string	sort_key			The sort type used from the possible sort types
		* @var	string	sort_dir			"a" for ASC or "d" dor DESC for the sort order used
		* @var	string	sql_sort			The result SQL when processing sort_by_sql + sort_key + sort_dir
		* @var	int		start				How many posts to skip in the search results (used for pagination)
		* @since 3.1.5-RC1
		*/
		$vars = array(
			'tsearch_query',
			'result_count',
			'join_topic',
			'author_ary',
			'author_name',
			'ex_fid_ary',
			'topic_id',
			'sql_sort_table',
			'sql_sort_join',
			'sort_days',
			'sql_match',
			'sql_match_where',
			'sort_by_sql',
			'sort_key',
			'sort_dir',
			'sql_sort',
			'start',
		);
		extract($this->phpbb_dispatcher->trigger_event('core.search_postgres_keywords_main_query_before', compact($vars)));

		$sql_select			= ($type == 'posts') ? 'p.post_id' : 'DISTINCT t.topic_id';
		$sql_from			= ($join_topic) ? TOPICS_TABLE . ' t, ' : '';
		$field				= ($type == 'posts') ? 'post_id' : 'topic_id';
		$sql_author			= (sizeof($author_ary) == 1) ? ' = ' . $author_ary[0] : 'IN (' . implode(', ', $author_ary) . ')';

		if (sizeof($author_ary) && $author_name)
		{
			// first one matches post of registered users, second one guests and deleted users
			$sql_author = '(' . $this->db->sql_in_set('p.poster_id', array_diff($author_ary, array(ANONYMOUS)), false, true) . ' OR p.post_username ' . $author_name . ')';
		}
		else if (sizeof($author_ary))
		{
			$sql_author = ' AND ' . $this->db->sql_in_set('p.poster_id', $author_ary);
		}
		else
		{
			$sql_author = '';
		}

		$sql_where_options = $sql_sort_join;
		$sql_where_options .= ($topic_id) ? ' AND p.topic_id = ' . $topic_id : '';
		$sql_where_options .= ($join_topic) ? ' AND t.topic_id = p.topic_id' : '';
		$sql_where_options .= (sizeof($ex_fid_ary)) ? ' AND ' . $this->db->sql_in_set('p.forum_id', $ex_fid_ary, true) : '';
		$sql_where_options .= ' AND ' . $post_visibility;
		$sql_where_options .= $sql_author;
		$sql_where_options .= ($sort_days) ? ' AND p.post_time >= ' . (time() - ($sort_days * 86400)) : '';
		$sql_where_options .= $sql_match_where;

		$tmp_sql_match = array();
		$sql_match = str_replace(',', " || ' ' ||", $sql_match);
		$tmp_sql_match = "to_tsvector ('" . $this->db->sql_escape($this->config['fulltext_postgres_ts_name']) . "', " . $sql_match . ") @@ to_tsquery ('" . $this->db->sql_escape($this->config['fulltext_postgres_ts_name']) . "', '" . $this->db->sql_escape($this->tsearch_query) . "')";

		$this->db->sql_transaction('begin');

		$sql_from = "FROM $sql_from$sql_sort_table" . POSTS_TABLE . " p";
		$sql_where = "WHERE (" . $tmp_sql_match . ")
			$sql_where_options";
		$sql = "SELECT $sql_select
			$sql_from
			$sql_where
			ORDER BY $sql_sort";
		$result = $this->db->sql_query_limit($sql, $this->config['search_block_size'], $start);

		while ($row = $this->db->sql_fetchrow($result))
		{
			$id_ary[] = $row[$field];
		}
		$this->db->sql_freeresult($result);

		$id_ary = array_unique($id_ary);

		// if the total result count is not cached yet, retrieve it from the db
		if (!$result_count)
		{
			$sql_count = "SELECT COUNT(*) as result_count
				$sql_from
				$sql_where";
			$result = $this->db->sql_query($sql_count);
			$result_count = (int) $this->db->sql_fetchfield('result_count');
			$this->db->sql_freeresult($result);

			if (!$result_count)
			{
				return false;
			}
		}

		$this->db->sql_transaction('commit');

		if ($start >= $result_count)
		{
			$start = floor(($result_count - 1) / $per_page) * $per_page;

			$result = $this->db->sql_query_limit($sql, $this->config['search_block_size'], $start);

			while ($row = $this->db->sql_fetchrow($result))
			{
				$id_ary[] = $row[$field];
			}
			$this->db->sql_freeresult($result);

			$id_ary = array_unique($id_ary);
		}

		// store the ids, from start on then delete anything that isn't on the current page because we only need ids for one page
		$this->save_ids($search_key, implode(' ', $this->split_words), $author_ary, $result_count, $id_ary, $start, $sort_dir);
		$id_ary = array_slice($id_ary, 0, (int) $per_page);

		return $result_count;
	}

	/**
	* Performs a search on an author's posts without caring about message contents. Depends on display specific params
	*
	* @param	string		$type				contains either posts or topics depending on what should be searched for
	* @param	boolean		$firstpost_only		if true, only topic starting posts will be considered
	* @param	array		$sort_by_sql		contains SQL code for the ORDER BY part of a query
	* @param	string		$sort_key			is the key of $sort_by_sql for the selected sorting
	* @param	string		$sort_dir			is either a or d representing ASC and DESC
	* @param	string		$sort_days			specifies the maximum amount of days a post may be old
	* @param	array		$ex_fid_ary			specifies an array of forum ids which should not be searched
	* @param	string		$post_visibility	specifies which types of posts the user can view in which forums
	* @param	int			$topic_id			is set to 0 or a topic id, if it is not 0 then only posts in this topic should be searched
	* @param	array		$author_ary			an array of author ids
	* @param	string		$author_name		specifies the author match, when ANONYMOUS is also a search-match
	* @param	array		&$id_ary			passed by reference, to be filled with ids for the page specified by $start and $per_page, should be ordered
	* @param	int			$start				indicates the first index of the page
	* @param	int			$per_page			number of ids each page is supposed to contain
	* @return	boolean|int						total number of results
	*/
	public function author_search($type, $firstpost_only, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_fid_ary, $post_visibility, $topic_id, $author_ary, $author_name, &$id_ary, &$start, $per_page)
	{
		// No author? No posts
		if (!sizeof($author_ary))
		{
			return 0;
		}

		// generate a search_key from all the options to identify the results
		$search_key_array = array(
			'',
			$type,
			($firstpost_only) ? 'firstpost' : '',
			'',
			'',
			$sort_days,
			$sort_key,
			$topic_id,
			implode(',', $ex_fid_ary),
			$post_visibility,
			implode(',', $author_ary),
			$author_name,
		);

		/**
		* Allow changing the search_key for cached results
		*
		* @event core.search_postgres_by_author_modify_search_key
		* @var	array	search_key_array	Array with search parameters to generate the search_key
		* @var	string	type				Searching type ('posts', 'topics')
		* @var	boolean	firstpost_only		Flag indicating if only topic starting posts are considered
		* @var	int		sort_days			Time, in days, of the oldest possible post to list
		* @var	string	sort_key			The sort type used from the possible sort types
		* @var	int		topic_id			Limit the search to this topic_id only
		* @var	array	ex_fid_ary			Which forums not to search on
		* @var	string	post_visibility		Post visibility data
		* @var	array	author_ary			Array of user_id containing the users to filter the results to
		* @var	string	author_name			The username to search on
		* @since 3.1.7-RC1
		*/
		$vars = array(
			'search_key_array',
			'type',
			'firstpost_only',
			'sort_days',
			'sort_key',
			'topic_id',
			'ex_fid_ary',
			'post_visibility',
			'author_ary',
			'author_name',
		);
		extract($this->phpbb_dispatcher->trigger_event('core.search_postgres_by_author_modify_search_key', compact($vars)));

		$search_key = md5(implode('#', $search_key_array));

		if ($start < 0)
		{
			$start = 0;
		}

		// try reading the results from cache
		$result_count = 0;
		if ($this->obtain_ids($search_key, $result_count, $id_ary, $start, $per_page, $sort_dir) == SEARCH_RESULT_IN_CACHE)
		{
			return $result_count;
		}

		$id_ary = array();

		// Create some display specific sql strings
		if ($author_name)
		{
			// first one matches post of registered users, second one guests and deleted users
			$sql_author = '(' . $this->db->sql_in_set('p.poster_id', array_diff($author_ary, array(ANONYMOUS)), false, true) . ' OR p.post_username ' . $author_name . ')';
		}
		else
		{
			$sql_author = $this->db->sql_in_set('p.poster_id', $author_ary);
		}
		$sql_fora		= (sizeof($ex_fid_ary)) ? ' AND ' . $this->db->sql_in_set('p.forum_id', $ex_fid_ary, true) : '';
		$sql_topic_id	= ($topic_id) ? ' AND p.topic_id = ' . (int) $topic_id : '';
		$sql_time		= ($sort_days) ? ' AND p.post_time >= ' . (time() - ($sort_days * 86400)) : '';
		$sql_firstpost = ($firstpost_only) ? ' AND p.post_id = t.topic_first_post_id' : '';

		// Build sql strings for sorting
		$sql_sort = $sort_by_sql[$sort_key] . (($sort_dir == 'a') ? ' ASC' : ' DESC');
		$sql_sort_table = $sql_sort_join = '';
		switch ($sql_sort[0])
		{
			case 'u':
				$sql_sort_table	= USERS_TABLE . ' u, ';
				$sql_sort_join	= ($type == 'posts') ? ' AND u.user_id = p.poster_id ' : ' AND u.user_id = t.topic_poster ';
			break;

			case 't':
				$sql_sort_table	= ($type == 'posts' && !$firstpost_only) ? TOPICS_TABLE . ' t, ' : '';
				$sql_sort_join	= ($type == 'posts' && !$firstpost_only) ? ' AND t.topic_id = p.topic_id ' : '';
			break;

			case 'f':
				$sql_sort_table	= FORUMS_TABLE . ' f, ';
				$sql_sort_join	= ' AND f.forum_id = p.forum_id ';
			break;
		}

		$m_approve_fid_sql = ' AND ' . $post_visibility;

		/**
		* Allow changing the query used to search for posts by author in fulltext_postgres
		*
		* @event core.search_postgres_author_count_query_before
		* @var	int		result_count		The previous result count for the format of the query.
		*									Set to 0 to force a re-count
		* @var	string	sql_sort_table		CROSS JOIN'ed table to allow doing the sort chosen
		* @var	string	sql_sort_join		Condition to define how to join the CROSS JOIN'ed table specifyed in sql_sort_table
		* @var	array	author_ary			Array of user_id containing the users to filter the results to
		* @var	string	author_name			An extra username to search on
		* @var	string	sql_author			SQL WHERE condition for the post author ids
		* @var	int		topic_id			Limit the search to this topic_id only
		* @var	string	sql_topic_id		SQL of topic_id
		* @var	string	sort_by_sql			The possible predefined sort types
		* @var	string	sort_key			The sort type used from the possible sort types
		* @var	string	sort_dir			"a" for ASC or "d" dor DESC for the sort order used
		* @var	string	sql_sort			The result SQL when processing sort_by_sql + sort_key + sort_dir
		* @var	string	sort_days			Time, in days, that the oldest post showing can have
		* @var	string	sql_time			The SQL to search on the time specifyed by sort_days
		* @var	bool	firstpost_only		Wether or not to search only on the first post of the topics
		* @var	array	ex_fid_ary			Forum ids that must not be searched on
		* @var	array	sql_fora			SQL query for ex_fid_ary
		* @var	string	m_approve_fid_sql	WHERE clause condition on post_visibility restrictions
		* @var	int		start				How many posts to skip in the search results (used for pagination)
		* @since 3.1.5-RC1
		*/
		$vars = array(
			'result_count',
			'sql_sort_table',
			'sql_sort_join',
			'author_ary',
			'author_name',
			'sql_author',
			'topic_id',
			'sql_topic_id',
			'sort_by_sql',
			'sort_key',
			'sort_dir',
			'sql_sort',
			'sort_days',
			'sql_time',
			'firstpost_only',
			'ex_fid_ary',
			'sql_fora',
			'm_approve_fid_sql',
			'start',
		);
		extract($this->phpbb_dispatcher->trigger_event('core.search_postgres_author_count_query_before', compact($vars)));

		// Build the query for really selecting the post_ids
		if ($type == 'posts')
		{
			$sql = "SELECT p.post_id
				FROM " . $sql_sort_table . POSTS_TABLE . ' p' . (($firstpost_only) ? ', ' . TOPICS_TABLE . ' t ' : ' ') . "
				WHERE $sql_author
					$sql_topic_id
					$sql_firstpost
					$m_approve_fid_sql
					$sql_fora
					$sql_sort_join
					$sql_time
				ORDER BY $sql_sort";
			$field = 'post_id';
		}
		else
		{
			$sql = "SELECT t.topic_id
				FROM " . $sql_sort_table . TOPICS_TABLE . ' t, ' . POSTS_TABLE . " p
				WHERE $sql_author
					$sql_topic_id
					$sql_firstpost
					$m_approve_fid_sql
					$sql_fora
					AND t.topic_id = p.topic_id
					$sql_sort_join
					$sql_time
				GROUP BY t.topic_id, $sort_by_sql[$sort_key]
				ORDER BY $sql_sort";
			$field = 'topic_id';
		}

		$this->db->sql_transaction('begin');

		// Only read one block of posts from the db and then cache it
		$result = $this->db->sql_query_limit($sql, $this->config['search_block_size'], $start);

		while ($row = $this->db->sql_fetchrow($result))
		{
			$id_ary[] = $row[$field];
		}
		$this->db->sql_freeresult($result);

		// retrieve the total result count if needed
		if (!$result_count)
		{
			if ($type == 'posts')
			{
				$sql_count = "SELECT COUNT(*) as result_count
					FROM " . $sql_sort_table . POSTS_TABLE . ' p' . (($firstpost_only) ? ', ' . TOPICS_TABLE . ' t ' : ' ') . "
					WHERE $sql_author
						$sql_topic_id
						$sql_firstpost
						$m_approve_fid_sql
						$sql_fora
						$sql_sort_join
						$sql_time";
			}
			else
			{
				$sql_count = "SELECT COUNT(*) as result_count
					FROM " . $sql_sort_table . TOPICS_TABLE . ' t, ' . POSTS_TABLE . " p
					WHERE $sql_author
						$sql_topic_id
						$sql_firstpost
						$m_approve_fid_sql
						$sql_fora
						AND t.topic_id = p.topic_id
						$sql_sort_join
						$sql_time
					GROUP BY t.topic_id, $sort_by_sql[$sort_key]";
			}

			$result = $this->db->sql_query($sql_count);
			$result_count = (int) $this->db->sql_fetchfield('result_count');

			if (!$result_count)
			{
				return false;
			}
		}

		$this->db->sql_transaction('commit');

		if ($start >= $result_count)
		{
			$start = floor(($result_count - 1) / $per_page) * $per_page;

			$result = $this->db->sql_query_limit($sql, $this->config['search_block_size'], $start);
			while ($row = $this->db->sql_fetchrow($result))
			{
				$id_ary[] = (int) $row[$field];
			}
			$this->db->sql_freeresult($result);

			$id_ary = array_unique($id_ary);
		}

		if (sizeof($id_ary))
		{
			$this->save_ids($search_key, '', $author_ary, $result_count, $id_ary, $start, $sort_dir);
			$id_ary = array_slice($id_ary, 0, $per_page);

			return $result_count;
		}
		return false;
	}

	/**
	* Destroys cached search results, that contained one of the new words in a post so the results won't be outdated
	*
	* @param	string		$mode		contains the post mode: edit, post, reply, quote ...
	* @param	int			$post_id	contains the post id of the post to index
	* @param	string		$message	contains the post text of the post
	* @param	string		$subject	contains the subject of the post to index
	* @param	int			$poster_id	contains the user id of the poster
	* @param	int			$forum_id	contains the forum id of parent forum of the post
	*/
	public function index($mode, $post_id, &$message, &$subject, $poster_id, $forum_id)
	{
		// Split old and new post/subject to obtain array of words
		$split_text = $this->split_message($message);
		$split_title = ($subject) ? $this->split_message($subject) : array();

		$words = array_unique(array_merge($split_text, $split_title));

		unset($split_text);
		unset($split_title);

		// destroy cached search results containing any of the words removed or added
		$this->destroy_cache($words, array($poster_id));

		unset($words);
	}

	/**
	* Destroy cached results, that might be outdated after deleting a post
	*/
	public function index_remove($post_ids, $author_ids, $forum_ids)
	{
		$this->destroy_cache(array(), $author_ids);
	}

	/**
	* Destroy old cache entries
	*/
	public function tidy()
	{
		// destroy too old cached search results
		$this->destroy_cache(array());

		set_config('search_last_gc', time(), true);
	}

	/**
	* Create fulltext index
	*
	* @return string|bool error string is returned incase of errors otherwise false
	*/
	public function create_index($acp_module, $u_action)
	{
		// Make sure we can actually use PostgreSQL with fulltext indexes
		if ($error = $this->init())
		{
			return $error;
		}

		if (empty($this->stats))
		{
			$this->get_stats();
		}

		if (!isset($this->stats['post_subject']))
		{
			$this->db->sql_query("CREATE INDEX " . POSTS_TABLE . "_" . $this->config['fulltext_postgres_ts_name'] . "_post_subject ON " . POSTS_TABLE . " USING gin (to_tsvector ('" . $this->db->sql_escape($this->config['fulltext_postgres_ts_name']) . "', post_subject))");
		}

		if (!isset($this->stats['post_content']))
		{
			$this->db->sql_query("CREATE INDEX " . POSTS_TABLE . "_" . $this->config['fulltext_postgres_ts_name'] . "_post_content ON " . POSTS_TABLE . " USING gin (to_tsvector ('" . $this->db->sql_escape($this->config['fulltext_postgres_ts_name']) . "', post_text || ' ' || post_subject))");
		}

		$this->db->sql_query('TRUNCATE TABLE ' . SEARCH_RESULTS_TABLE);

		return false;
	}

	/**
	* Drop fulltext index
	*
	* @return string|bool error string is returned incase of errors otherwise false
	*/
	public function delete_index($acp_module, $u_action)
	{
		// Make sure we can actually use PostgreSQL with fulltext indexes
		if ($error = $this->init())
		{
			return $error;
		}

		if (empty($this->stats))
		{
			$this->get_stats();
		}

		if (isset($this->stats['post_subject']))
		{
			$this->db->sql_query('DROP INDEX ' . $this->stats['post_subject']['relname']);
		}

		if (isset($this->stats['post_content']))
		{
			$this->db->sql_query('DROP INDEX ' . $this->stats['post_content']['relname']);
		}

		$this->db->sql_query('TRUNCATE TABLE ' . SEARCH_RESULTS_TABLE);

		return false;
	}

	/**
	* Returns true if both FULLTEXT indexes exist
	*/
	public function index_created()
	{
		if (empty($this->stats))
		{
			$this->get_stats();
		}

		return (isset($this->stats['post_subject']) && isset($this->stats['post_content'])) ? true : false;
	}

	/**
	* Returns an associative array containing information about the indexes
	*/
	public function index_stats()
	{
		if (empty($this->stats))
		{
			$this->get_stats();
		}

		return array(
			$this->user->lang['FULLTEXT_POSTGRES_TOTAL_POSTS']			=> ($this->index_created()) ? $this->stats['total_posts'] : 0,
		);
	}

	/**
	 * Computes the stats and store them in the $this->stats associative array
	 */
	protected function get_stats()
	{
		if ($this->db->get_sql_layer() != 'postgres')
		{
			$this->stats = array();
			return;
		}

		$sql = "SELECT c2.relname, pg_catalog.pg_get_indexdef(i.indexrelid, 0, true) AS indexdef
			  FROM pg_catalog.pg_class c1, pg_catalog.pg_index i, pg_catalog.pg_class c2
			 WHERE c1.relname = '" . POSTS_TABLE . "'
			   AND pg_catalog.pg_table_is_visible(c1.oid)
			   AND c1.oid = i.indrelid
			   AND i.indexrelid = c2.oid";
		$result = $this->db->sql_query($sql);

		while ($row = $this->db->sql_fetchrow($result))
		{
			// deal with older PostgreSQL versions which didn't use Index_type
			if (strpos($row['indexdef'], 'to_tsvector') !== false)
			{
				if ($row['relname'] == POSTS_TABLE . '_' . $this->config['fulltext_postgres_ts_name'] . '_post_subject' || $row['relname'] == POSTS_TABLE . '_post_subject')
				{
					$this->stats['post_subject'] = $row;
				}
				else if ($row['relname'] == POSTS_TABLE . '_' . $this->config['fulltext_postgres_ts_name'] . '_post_content' || $row['relname'] == POSTS_TABLE . '_post_content')
				{
					$this->stats['post_content'] = $row;
				}
			}
		}
		$this->db->sql_freeresult($result);

		$this->stats['total_posts'] = $this->config['num_posts'];
	}

	/**
	* Display various options that can be configured for the backend from the acp
	*
	* @return associative array containing template and config variables
	*/
	public function acp()
	{
		$tpl = '
		<dl>
			<dt><label>' . $this->user->lang['FULLTEXT_POSTGRES_VERSION_CHECK'] . '</label><br /><span>' . $this->user->lang['FULLTEXT_POSTGRES_VERSION_CHECK_EXPLAIN'] . '</span></dt>
			<dd>' . (($this->db->get_sql_layer() == 'postgres') ? $this->user->lang['YES'] : $this->user->lang['NO']) . '</dd>
		</dl>
		<dl>
			<dt><label>' . $this->user->lang['FULLTEXT_POSTGRES_TS_NAME'] . '</label><br /><span>' . $this->user->lang['FULLTEXT_POSTGRES_TS_NAME_EXPLAIN'] . '</span></dt>
			<dd><select name="config[fulltext_postgres_ts_name]">';

		if ($this->db->get_sql_layer() == 'postgres')
		{
			$sql = 'SELECT cfgname AS ts_name
				  FROM pg_ts_config';
			$result = $this->db->sql_query($sql);

			while ($row = $this->db->sql_fetchrow($result))
			{
				$tpl .= '<option value="' . $row['ts_name'] . '"' . ($row['ts_name'] === $this->config['fulltext_postgres_ts_name'] ? ' selected="selected"' : '') . '>' . $row['ts_name'] . '</option>';
			}
			$this->db->sql_freeresult($result);
		}
		else
		{
			$tpl .= '<option value="' . $this->config['fulltext_postgres_ts_name'] . '" selected="selected">' . $this->config['fulltext_postgres_ts_name'] . '</option>';
		}

		$tpl .= '</select></dd>
		</dl>
                <dl>
                        <dt><label for="fulltext_postgres_min_word_len">' . $this->user->lang['FULLTEXT_POSTGRES_MIN_WORD_LEN'] . $this->user->lang['COLON'] . '</label><br /><span>' . $this->user->lang['FULLTEXT_POSTGRES_MIN_WORD_LEN_EXPLAIN'] . '</span></dt>
                        <dd><input id="fulltext_postgres_min_word_len" type="number" min="0" max="255" name="config[fulltext_postgres_min_word_len]" value="' . (int) $this->config['fulltext_postgres_min_word_len'] . '" /></dd>
                </dl>
                <dl>
                        <dt><label for="fulltext_postgres_max_word_len">' . $this->user->lang['FULLTEXT_POSTGRES_MAX_WORD_LEN'] . $this->user->lang['COLON'] . '</label><br /><span>' . $this->user->lang['FULLTEXT_POSTGRES_MAX_WORD_LEN_EXPLAIN'] . '</span></dt>
                        <dd><input id="fulltext_postgres_max_word_len" type="number" min="0" max="255" name="config[fulltext_postgres_max_word_len]" value="' . (int) $this->config['fulltext_postgres_max_word_len'] . '" /></dd>
                </dl>
		';

		// These are fields required in the config table
		return array(
			'tpl'		=> $tpl,
			'config'	=> array('fulltext_postgres_ts_name' => 'string', 'fulltext_postgres_min_word_len' => 'integer:0:255', 'fulltext_postgres_max_word_len' => 'integer:0:255')
		);
	}
}
" "Du vil få en liste med forkjellige parametre som kan forandres for å få et\n" "optimalt grafisk grensesnitt: \n" "\n" "Skjermkort\n" "\n" " Installasjonsrutinen kan vanligvis automatisk oppdage og sette opp\n" "skjermkortet som er installert i din maskin. Dersom dette ikke er tilfellet, " "kan\n" "du velge det kortet du faktisk har installert, fra denne listen.\n" "\n" " I tilfelle det er flere tjenere tilgjengelig for ditt kort, med eller " "uten\n" "3D-akselerasjon, vil du så kunne velge den tjeneren som best passer\n" "dine behov.\n" "\n" "\n" "\n" "Skjerm\n" "\n" " Installasjonsrutinen kan normalt automatisk oppdage og sette opp " "skjermen\n" "som er koblet til din maskin. Hvis dette ikke er korrekt, kan du velge " "skjermen du\n" "faktisk har fra listen.\n" "\n" "\n" "\n" "Oppløsning\n" "\n" " Her kan du velge hvilke oppløsninger og fargedybder du vil bruke fra de " "som\n" "er tilgjengelige for din maskinvare. Velg den kombinasjonen som best passer\n" "dine behov (Du kan forandre dette etter installasjon). En prøve av det " "valgte\n" "oppsettet vil vises i skjermen.\n" "\n" "\n" "\n" "Test\n" "\n" " Avhengig av din maskinvare vil denne oppføringen kanskje ikke vises.\n" "\n" " systemet vil forsøke å starte en grafisk skjerm med den valgte\n" "oppløsningen. Dersom du kan se meldingen som vises under testen og \n" "svarer \"%s\" vil DrakX fortsette til neste trinn. Hvis du ikke kan se " "meldingen\n" "betyr det at en del av oppsettet er gal, og testen vil avsluttes etter 12\n" "sekunder. Du vil da bli tatt tilbake til menyen. Forandre innstillingene til " "du får\n" "et oppsett som fungerer. \n" "\n" "\n" "\n" "Valg\n" "\n" " Her kan du velge om du vil at maskinen automatisk skal starte det " "grafiske\n" "grensesnittet når maskinen starter. Du vil selvsagt ønske å sjekke av for \"%" "s\"\n" "dersom maskinen skal fungere som en tjener, eller om du ikke fikk satt opp\n" "det grafiske grensesnittet riktig." #: ../help.pm:291 #, c-format msgid "" "Monitor\n" "\n" " Normally the installer will automatically detect and configure the\n" "monitor connected to your machine. If it is not correct, you can choose\n" "from this list the monitor which is connected to your computer." msgstr "" "Skjerm\n" "\n" " Installereren kan vanligvis automatisk oppdage og sette opp\n" "skjermen som er koblet til maskinen din. Dersom dette ikke fungerer, kan\n" "du velge fra denne lista hvilken skjerm du faktisk har tilkobliet din maskin." #: ../help.pm:298 #, c-format msgid "" "Resolution\n" "\n" " Here you can choose the resolutions and color depths available for your\n" "graphics hardware. Choose the one which best suits your needs (you will be\n" "able to make changes after the installation). A sample of the chosen\n" "configuration is shown in the monitor picture." msgstr "" "Oppløsning\n" "\n" " Her kan du velge oppløsning og fargedybde blant de som er tilgjengelige\n" "for din maskinvare. Velg den du synes passer best til dine behov (du kan\n" "forandre dette etter installasjon). En prøve av det valgte oppsettet\n" "er vist i skjermen." #: ../help.pm:306 #, c-format msgid "" "In the situation where different servers are available for your card, with\n" "or without 3D acceleration, you're asked to choose the server which best\n" "suits your needs." msgstr "" "I tilfelle det er flere tjenere tilgjengelig for ditt kort, med eller uten\n" "3D-akselerasjon, blir du så spurt om å velge den tjeneren som best\n" "passer dine behov." #: ../help.pm:311 #, c-format msgid "" "Options\n" "\n" " This steps allows you to choose whether you want your machine to\n" "automatically switch to a graphical interface at boot. Obviously, you may\n" "want to check \"%s\" if your machine is to act as a server, or if you were\n" "not successful in getting the display configured." msgstr "" "Valg\n" "\n" " Dette steget lar deg velge om du vil starte et grafisk grensesnitt " "automatisk\n" "under oppstart. Du vil selvsagt ønske å svare «%s» dersom maskinen skal\n" "fungere som tjener, eller hvis du ikke kunne sette opp det grafiske " "grensesnittet." #: ../help.pm:319 #, c-format msgid "" "You now need to decide where you want to install the Mandriva Linux\n" "operating system on your hard drive. If your hard drive is empty or if an\n" "existing operating system is using all the available space you will have to\n" "partition the drive. Basically, partitioning a hard drive means to\n" "logically divide it to create the space needed to install your new\n" "Mandriva Linux system.\n" "\n" "Because the process of partitioning a hard drive is usually irreversible\n" "and can lead to data losses, partitioning can be intimidating and stressful\n" "for the inexperienced user. Fortunately, DrakX includes a wizard which\n" "simplifies this process. Before continuing with this step, read through the\n" "rest of this section and above all, take your time.\n" "\n" "Depending on the configuration of your hard drive, several options are\n" "available:\n" "\n" " * \"%s\". This option will perform an automatic partitioning of your blank\n" "drive(s). If you use this option there will be no further prompts.\n" "\n" " * \"%s\". The wizard has detected one or more existing Linux partitions on\n" "your hard drive. If you want to use them, choose this option. You will then\n" "be asked to choose the mount points associated with each of the partitions.\n" "The legacy mount points are selected by default, and for the most part it's\n" "a good idea to keep them.\n" "\n" " * \"%s\". If Microsoft Windows is installed on your hard drive and takes\n" "all the space available on it, you will have to create free space for\n" "GNU/Linux. To do so, you can delete your Microsoft Windows partition and\n" "data (see ``Erase entire disk'' solution) or resize your Microsoft Windows\n" "FAT or NTFS partition. Resizing can be performed without the loss of any\n" "data, provided you've previously defragmented the Windows partition.\n" "Backing up your data is strongly recommended. Using this option is\n" "recommended if you want to use both Mandriva Linux and Microsoft Windows on\n" "the same computer.\n" "\n" " Before choosing this option, please understand that after this\n" "procedure, the size of your Microsoft Windows partition will be smaller\n" "than when you started. You'll have less free space under Microsoft Windows\n" "to store your data or to install new software.\n" "\n" " * \"%s\". If you want to delete all data and all partitions present on\n" "your hard drive and replace them with your new Mandriva Linux system, " "choose\n" "this option. Be careful, because you will not be able to undo this " "operation\n" "after you confirm.\n" "\n" " !! If you choose this option, all data on your disk will be deleted. !!\n" "\n" " * \"%s\". This option appears when the hard drive is entirely taken by\n" "Microsoft Windows. Choosing this option will simply erase everything on the\n" "drive and begin fresh, partitioning everything from scratch.\n" "\n" " !! If you choose this option, all data on your disk will be lost. !!\n" "\n" " * \"%s\". Choose this option if you want to manually partition your hard\n" "drive. Be careful -- it is a powerful but dangerous choice and you can very\n" "easily lose all your data. That's why this option is really only\n" "recommended if you have done something like this before and have some\n" "experience. For more instructions on how to use the DiskDrake utility,\n" "refer to the ``Managing Your Partitions'' section in the ``Starter Guide''." msgstr "" "Du må nå avgjøre hvor du ønsker å installere Mandriva Linux-" "operativsystemet\n" "på din harddisk. Hvis din harddisk er tom, eller et eksisterende\n" "operativsystem benytter all plassen som er tilgjengelig, vil du bli nødt til " \n" "ompartisjonere disken. Partisjonering av en harddisk vil si å dele den inn " "i\n" "logiske enheter for å skape plassen som trengs for å installere ditt nye\n" "Mandriva Linux-system.\n" "\n" "Ettersom partisjoneringsprosessen ikke kan tilbakestilles, og kan føre til " "tapte\n" "data hvis det allerede finnes et operativsystem på disken, kan " "partisjonering\n" "virke skremmendes dersom du er en uerfaren bruker. Heldigvis har DrakX en\n" "veiviser som forenkler denne prosessen. Før du fortsetter installasjonen, " "bør\n" "du lese gjennom resten av denne teksten, og ikke minst: Ta deg god tid.\n" "\n" "Avhengig av ditt harddiskoppsett, er flere valg tilgjengelige:\n" "\n" " *«%s»: dette valget utfører automatisk partisjonering av dine\n" "harddisker. Dersom du velger dette, vil det ikke ble stilt flere spørsmål.\n" "\n" " * «%s»: veiviseren har funnet en eller flere linux-partisjoner på " "harddisken\n" "din. Hvis du vil bruke disse, velg dette valget. Du vil bli spurt om å angi\n" "monteringspunkter for hver partisjon. De allerede oppsatte " "monteringspunktene\n" "er valgt som standard, og det er normalt lurt å beholde disse.\n" "\n" " * \"%s\": hvis Microsoft Windows er installert på din harddisk, og tar all " "tilgjengelig\n" "plass, må du lage ledig plass for GNU/Linux. For å oppnå dette, kan du enten " "slette\n" "hele Microsoft Windows-partisjonen med tilhørende data (Se ``Slett hele " "disken''-valget),\n" "eller forandre størrelsen på din Microsoft Windows FAT- eller NTFS-" "partisjon.\n" "Forandring av diskstørrelse kan utføres uten tap av data forutsatt at du " "har\n" "defragmentert Windows-partisjonen. Det anbefales sterkt at du tar \n" "sikkerhetskopi av dine data. Dette valget er anbefalt, dersom du ønsker \n" "å kjøre både Mandriva Linux og Microsoft Windows på samme maskin.\n" "\n" " Før du velger dette valget, må du være klar over at størrelsen på din\n" "Microsoft Windows-partisjon vil være mindre enn når du startet. Du vil \n" "dermed ha mindre ledig plass under Microsoft Windows til å lagre data \n" "og installere programvare på.\n" "\n" " * \"%s\": hvis du ønsker å slette alle partisjoner og data, og erstatte dem " "med ditt\n" "nye Mandriva Linux-system, så velg dette valget. Vær forsiktig, du vil ikke " "kunne gjøre\n" "om dette etter at du har bekreftet valget.\n" "\n" " !! Hvis du velger dette valget, vil alle data på harddisken bli " "slettet. !!\n" "\n" " * \"%s\": dette vil enkelt og greit slette alt fra harddisken og starte en " "ny partisjonering\n" "fra bunn av. Alle data på harddisken vil bli tapt.\n" "\n" " !! Hvis du velger dette valget, vil du miste alle data på harddisken. !!\n" "\n" " * \"%s\": velg dette dersom du vil partisjonere disken manuelt.\n" "Vær forsiktig -- dette er en kraftig, men farlig operasjon, og du kan lett " "miste alle\n" "dine eksisterende data. Derfor er dette valget kun anbefalt dersom du har " "gjort\n" "dette før, og har en del erfaring. For mer veiledning i bruk av DiskDrake-" "verktøyet\n" "se kapittelet ``Managing Your Partitions''-seksjonen i ``Starter Guide''." #: ../help.pm:377 #, c-format msgid "Use existing partition" msgstr "Bruk eksisterende partisjon" #: ../help.pm:370 #, c-format msgid "Use the free space on the Microsoft Windows® partition" msgstr "" #: ../help.pm:370 #, c-format msgid "Erase entire disk" msgstr "Slette hele disken" #: ../help.pm:380 #, c-format msgid "" "There you are. Installation is now complete and your GNU/Linux system is\n" "ready to be used. Just click on \"%s\" to reboot the system. Do not forget\n" "to remove the installation media (CD-ROM or floppy). The first thing you\n" "should see after your computer has finished doing its hardware tests is the\n" "boot-loader menu, giving you the choice of which operating system to start.\n" "\n" "The \"%s\" button shows two more buttons to:\n" "\n" " * \"%s\": enables you to create an installation floppy disk which will\n" "automatically perform a whole installation without the help of an operator,\n" "similar to the installation you've just configured.\n" "\n" " Note that two different options are available after clicking on that\n" "button:\n" "\n" " * \"%s\". This is a partially automated installation. The partitioning\n" "step is the only interactive procedure.\n" "\n" " * \"%s\". Fully automated installation: the hard disk is completely\n" "rewritten, all data is lost.\n" "\n" " This feature is very handy when installing on a number of similar\n" "machines. See the Auto install section on our web site for more\n" "information.\n" "\n" " * \"%s\"(*): saves a list of the packages selected in this installation.\n" "To use this selection with another installation, insert the floppy and\n" "start the installation. At the prompt, press the [F1] key, type >>linux\n" "defcfg=\"floppy\"<< and press the [Enter] key.\n" "\n" "(*) You need a FAT-formatted floppy. To create one under GNU/Linux, type\n" "\"mformat a:\", or \"fdformat /dev/fd0\" followed by \"mkfs.vfat\n" "/dev/fd0\"." msgstr "" "Sånn! Installasjonen er nå ferdig og ditt flunkende nye GNU/Linux system\n" "er nå klart til bruk. Bare klikk «%s» for å restarte systemet. Ikke glem å\n" "fjerne installasjonsmediet (CDROM eller diskett). Det første du vil\n" "se etter at maskinen er ferdig med maskinvaretestene er oppstartslasterens\n" "meny, som lar deg velge hvilket operativsystem du vil starte.\n" "\n" %s»-knappen vil vise to nye knapper:\n" "\n" " * «%s»: for å lage en installasjonsdiskett som automatisk vil utføre en\n" "hel installasjon uten operatørhjelp, helt lik den installasjonen du nettopp " "har utført.\n" "\n" " Merk at to forskjellige valg vil være tilgjengelige etter at knappen " "trykkes:\n" "\n" " * «%s»: Dette er en delvis automatisert installasjon. Partisjonering er\n" "den eneste interaktive prosedyren.\n" "\n" " * «%s»: Dette er en fullstendig automatisert installasjon: harddisken vil " "bli\n" "helt overskrevet, og alle data vil bli overskrevet.\n" "\n" " Denne funksjonen er nyttig når du skal installere et antall identiske " "maskiner.\n" "Se Auto-installasjonsavsnittet på våre websider for mer informasjon.\n" "\n" " * «%s» (*): lagrer en liste over pakkene som er blitt installert under " "denne\n" "installasjonen. For å benytte denne listen under en annen installasjon, sett " "inn\n" "disketten og start installasjonen. Når kommandopromptet kommer opp, trykk " "på\n" "[F1]-tasten og skriv: \"linux defcfg=\"floppy\" <<\n" "\n" "(*) Du trenger en FAT-formatert diskett (for å lage en under GNU/Linux, " "skriv\n" "«mformat a:», eller «fdformat /dev/fd0» etterfulgt av «mkfs.vfat\n" "/dev/fd0»." #: ../help.pm:412 #, c-format msgid "Generate auto-install floppy" msgstr "Generer autoinstallasjonsdiskett" #: ../help.pm:405 #, c-format msgid "Replay" msgstr "" #: ../help.pm:405 #, c-format msgid "Automated" msgstr "" #: ../help.pm:405 #, c-format msgid "Save packages selection" msgstr "" #: ../help.pm:408 #, c-format msgid "" "If you chose to reuse some legacy GNU/Linux partitions, you may wish to\n" "reformat some of them and erase any data they contain. To do so, please\n" "select those partitions as well.\n" "\n" "Please note that it's not necessary to reformat all pre-existing\n" "partitions. You must reformat the partitions containing the operating\n" "system (such as \"/\", \"/usr\" or \"/var\") but you do not have to " "reformat\n" "partitions containing data that you wish to keep (typically \"/home\").\n" "\n" "Please be careful when selecting partitions. After the formatting is\n" "completed, all data on the selected partitions will be deleted and you\n" "will not be able to recover it.\n" "\n" "Click on \"%s\" when you're ready to format the partitions.\n" "\n" "Click on \"%s\" if you want to choose another partition for your new\n" "Mandriva Linux operating system installation.\n" "\n" "Click on \"%s\" if you wish to select partitions which will be checked for\n" "bad blocks on the disk." msgstr "" "Hvis du valgte å bruke noen gamle GNU/Linux-partisjoner, kan det\n" " hende du ønsker å omformatere enkelte\n" "eksisterende partisjoner for å slette data på disse. Hvis du ønsker å\n" "gjøre dette, kan du velge disse partisjonene også.\n" "(å formatere betyr å opprette ett filsystem)\n" "\n" "Legg merke til at det ikke er nødvendig å formatere alle eksisterende\n" "partisjoner. Du må reformatere partisjonene som skal innholde\n" "operativsystemet (som «/», «/usr» eller «/var»), men du trenger ikke\n" "å omformatere partisjoner som inneholder data du vil beholde\n" "(typisk «/home»).\n" "\n" "Vær forsiktig når du velger partisjoner. Etter formatering vil alle data\n" "på de valgte partisjonene bli slettet uten at du kan hente dataene\n" "tilbake.\n" "\n" "Klikk «%s» når du er klar til å formatere partisjonene.\n" "\n" "Klikk «%s» om du vil velge andre partisjoner for din nye\n" "Mandriva Linux-operativsysteminstallasjon. \n" "\n" "Klikk på «%s» hvis du ønsker å velge partisjoner som skal sjekkes for\n" "ødelagte blokker på disken." #: ../help.pm:437 #, c-format msgid "" "By the time you install Mandriva Linux, it's likely that some packages will\n" "have been updated since the initial release. Bugs may have been fixed,\n" "security issues resolved. To allow you to benefit from these updates,\n" "you're now able to download them from the Internet. Check \"%s\" if you\n" "have a working Internet connection, or \"%s\" if you prefer to install\n" "updated packages later.\n" "\n" "Choosing \"%s\" will display a list of web locations from which updates can\n" "be retrieved. You should choose one near to you. A package-selection tree\n" "will appear: review the selection, and press \"%s\" to retrieve and install\n" "the selected package(s), or \"%s\" to abort." msgstr "" "Når du installerer Mandriva Linux, er det sannsynlig at enkelte pakker\n" "er blitt oppdatert siden denne versjonen ble sluppet. Noen feil kan ha\n" "blitt fikset, eller sikkerhetsproblemer løst. For at du skal få utnytte\n" "disse forbedringene kan du nå laste dem ned fra internett. Kryss av «%s»\n" "dersom du har en fungerende internettforbindelse, eller «%s» dersom\n" "du heller vil installere oppdateringene senere.\n" "\n" "Når du velger «%s» får du en liste over tjenere som oppdateringene kan\n" "lastes ned fra. Velg en som er nærmest deg. Et pakkevalgstre vil da\n" "dukke opp. Gå gjennom valgene, og klikk «%s» for å hente og installere\n" "de(n) valgte pakkene(ne), eller «%s» for å avbryte." #: ../help.pm:450 #, c-format msgid "" "At this point, DrakX will allow you to choose the security level you desire\n" "for your machine. As a rule of thumb, the security level should be set\n" "higher if the machine is to contain crucial data, or if it's to be directly\n" "exposed to the Internet. The trade-off that a higher security level is\n" "generally obtained at the expense of ease of use.\n" "\n" "If you do not know what to choose, keep the default option. You'll be able\n" "to change it later with the draksec tool, which is part of Mandriva Linux\n" "Control Center.\n" "\n" "Fill the \"%s\" field with the e-mail address of the person responsible for\n" "security. Security messages will be sent to that address." msgstr "" "På dette punktet vil DrakX la deg velge sikkerhetsnivået som er ønsket for\n" "maskinen. Som en tommelfingerregel bør sikkerhetsnivået settes høyere,\n" "hvis maskinen skal ha viktige data lagret der, eller hvis den skal være\n" "direkte tilgjengelig på internettet. Men, et høyere sikkerhetsnivå går \n" "gjerne på bekostning av brukervennligheten.\n" "\n" "Hvis du ikke vet hva du skal velge, behold standardvalget. Du vil kunne\n" "endre sikkerhetsnivået senere med verktøyet draksec fra Mandriva Linux\n" "Kontrollsenter.\n" "\n" "'%s'-feltet kan informere systemet om den bruker på systemet som\n" "vil være ansvarlig for sikkerheten. Sikkerhetsbeskjeder vil bli sendt til\n" "denne adressen." #: ../help.pm:461 #, c-format msgid "Security Administrator" msgstr "Sikkerhetsadministrator" #: ../help.pm:464 #, c-format msgid "" "At this point, you need to choose which partition(s) will be used for the\n" "installation of your Mandriva Linux system. If partitions have already been\n" "defined, either from a previous installation of GNU/Linux or by another\n" "partitioning tool, you can use existing partitions. Otherwise, hard drive\n" "partitions must be defined.\n" "\n" "To create partitions, you must first select a hard drive. You can select\n" "the disk for partitioning by clicking on ``hda'' for the first IDE drive,\n" "``hdb'' for the second, ``sda'' for the first SCSI drive and so on.\n" "\n" "To partition the selected hard drive, you can use these options:\n" "\n" " * \"%s\": this option deletes all partitions on the selected hard drive\n" "\n" " * \"%s\": this option enables you to automatically create ext3 and swap\n" "partitions in the free space of your hard drive\n" "\n" "\"%s\": gives access to additional features:\n" "\n" " * \"%s\": saves the partition table to a floppy. Useful for later\n" "partition-table recovery if necessary. It is strongly recommended that you\n" "perform this step.\n" "\n" " * \"%s\": allows you to restore a previously saved partition table from a\n" "floppy disk.\n" "\n" " * \"%s\": if your partition table is damaged, you can try to recover it\n" "using this option. Please be careful and remember that it does not always\n" "work.\n" "\n" " * \"%s\": discards all changes and reloads the partition table that was\n" "originally on the hard drive.\n" "\n" " * \"%s\": un-checking this option will force users to manually mount and\n" "unmount removable media such as floppies and CD-ROMs.\n" "\n" " * \"%s\": use this option if you wish to use a wizard to partition your\n" "hard drive. This is recommended if you do not have a good understanding of\n" "partitioning.\n" "\n" " * \"%s\": use this option to cancel your changes.\n" "\n" " * \"%s\": allows additional actions on partitions (type, options, format)\n" "and gives more information about the hard drive.\n" "\n" " * \"%s\": when you are finished partitioning your hard drive, this will\n" "save your changes back to disk.\n" "\n" "When defining the size of a partition, you can finely set the partition\n" "size by using the Arrow keys of your keyboard.\n" "\n" "Note: you can reach any option using the keyboard. Navigate through the\n" "partitions using [Tab] and the [Up/Down] arrows.\n" "\n" "When a partition is selected, you can use:\n" "\n" " * Ctrl-c to create a new partition (when an empty partition is selected)\n" "\n" " * Ctrl-d to delete a partition\n" "\n" " * Ctrl-m to set the mount point\n" "\n" "To get information about the different file system types available, please\n" "read the ext2FS chapter from the ``Reference Manual''.\n" "\n" "If you are installing on a PPC machine, you will want to create a small HFS\n" "``bootstrap'' partition of at least 1MB which will be used by the yaboot\n" "bootloader. If you opt to make the partition a bit larger, say 50MB, you\n" "may find it a useful place to store a spare kernel and ramdisk images for\n" "emergency boot situations." msgstr "" "På dette punktet må du velge hvilke partisjon(er) som skal brukes til å\n" "installere ditt nye Mandriva Linux-system på. Hvis partisjoner allerede har\n" "blitt definert enten fra en tidligere installasjon av GNU/Linux eller fra et " "annet\n" "partisjoneringsverktøy, kan du bruke eksisterende partisjoner. I andre\n" "tilfeller må harddiskpartisjoner defineres.\n" "\n" "For å opprette partisjoner må du først velge en harddisk. Du kan velge disk\n" "for partisjonering ved å klikke på ``hda'' for den første IDE-disken,\n" "``hdb'' for den andre eller ``sda'' for den første SCSI-disken osv.\n" "\n" "For å partisjonere den valgte harddisken kan du bruke disse valgene:\n" "\n" " * \"%s\": dette valget sletter alle partisjoner tilgjengelig på den valgte " "harddisken.\n" "\n" " * \"%s\": dette valget lar deg automatisk opprette ext3 og\n" "swappartisjoner på din harddisk's ledige plass.\n" "\n" "\"%s\": gir deg tilgang til ekstra finesser:\n" "\n" " * \"%s\":lagrer partisjonstabellen din på en diskett. Nyttig hvis " "partisjonen\n" "trengs å gjenopprettes senere. Det anbefales på det sterkeste at du utfører " "dette trinn.\n" "\n" " * \"%s\": gir deg muligheten til å gjenopprette en tidligere lagret " "partisjonstabell\n" "fra en diskett.\n" "\n" " * \"%s\": hvis partisjonstabellen din er skadet kan du forsøke å redde den " "ved å\n" "bruke dette valget. Vær forsiktig og husk at det kan gå galt.\n" "\n" " * \"%s\": ignorerer alle forandringer og laster inn harddiskens " "opprinnelige\n" "partisjonstabell på nytt.\n" "\n" " * \"%s\": ved å sjekke vekk dette valget, så vil brukere bli nødt til å " "manuelt montere\n" "og avmontere flyttbare medium som disketter og CDer.\n" "\n" " * \"%s\": bruk dette valget om du vil bruke en veiviser for å partisjonere\n" "harddisken din. Dette er anbefalt om du ikke har gode nok kunnskaper om\n" "partisjonering.\n" "\n" " * \"%s\": du kan bruke dette valget til å forkaste endringene dine.\n" "\n" " * \"%s\": gir deg ekstra valg under partisjoneringen (type, instillinger, " "format)\n" "og gir deg mere informasjon om harddisken.\n" "\n" " * \"%s\": når du er ferdig med å partisjonere harddisken din, så bruk dette " "valget\n" "for å lagre endringene dine på disken.\n" "\n" "Når du definerer størrelsen på en partisjon, så kan du finjustere størrelsen " "med\n" "piltastene på tastaturet ditt.\n" "\n" "Merk: du kan nå valgene ved å bruke tastaturet. . Naviger gjennom " "partisjonene ved å bruke [Tab] og [Opp/Ned]-piltastene.\n" "\n" "Når en partisjon er valgt kan du bruke:\n" "\n" " * Ctrl-c for å opprette en ny partisjon (når en tom partisjon er valgt).\n" "\n" " * Ctrl-d for å slette en partisjon.\n" "\n" " * Ctrl-m for å sette monteringspunktet.\n" "\n" "For å få informasjon om de forskjellige filsystemene som er tilgjengelige,\n" "vennlist les ext2FS-kapittelet fra ``Reference Manual''.\n" "\n" "Hvis du installerer på en PPC-maskin, så vil du nok lage en liten\n" "HFS-'bootstrap-partisjon' på minst en megabyte for bruk av\n" "yaboot-oppstartslasteren. Hvis du ønsker å lage partisjonen litt større,\n" "la oss si 50 MB, så kan du lagre en ekstra kjerne og ramdiskbilde for " "nødsituasjoner." #: ../help.pm:526 #, c-format msgid "Save partition table" msgstr "" #: ../help.pm:526 #, c-format msgid "Restore partition table" msgstr "" #: ../help.pm:526 #, c-format msgid "Rescue partition table" msgstr "" #: ../help.pm:526 #, c-format msgid "Removable media auto-mounting" msgstr "Automontering av fjernbart media" #: ../help.pm:526 #, c-format msgid "Wizard" msgstr "" #: ../help.pm:526 #, c-format msgid "Undo" msgstr "" #: ../help.pm:526 #, c-format msgid "Toggle between normal/expert mode" msgstr "Skift mellom normal-/ekspert-modus" #: ../help.pm:536 #, c-format msgid "" "More than one Microsoft partition has been detected on your hard drive.\n" "Please choose the one which you want to resize in order to install your new\n" "Mandriva Linux operating system.\n" "\n" "Each partition is listed as follows: \"Linux name\", \"Windows name\"\n" "\"Capacity\".\n" "\n" "\"Linux name\" is structured: \"hard drive type\", \"hard drive number\",\n" "\"partition number\" (for example, \"hda1\").\n" "\n" "\"Hard drive type\" is \"hd\" if your hard dive is an IDE hard drive and\n" "\"sd\" if it is a SCSI hard drive.\n" "\n" "\"Hard drive number\" is always a letter after \"hd\" or \"sd\". With IDE\n" "hard drives:\n" "\n" " * \"a\" means \"master hard drive on the primary IDE controller\";\n" "\n" " * \"b\" means \"slave hard drive on the primary IDE controller\";\n" "\n" " * \"c\" means \"master hard drive on the secondary IDE controller\";\n" "\n" " * \"d\" means \"slave hard drive on the secondary IDE controller\".\n" "\n" "With SCSI hard drives, an \"a\" means \"lowest SCSI ID\", a \"b\" means\n" "\"second lowest SCSI ID\", etc.\n" "\n" "\"Windows name\" is the letter of your hard drive under Windows (the first\n" "disk or partition is called \"C:\")." msgstr "" "Mer enn en Microsoft Windows-partisjon har blitt oppdaget på harddisken " "din.\n" "Velg den du ønsker å endre størrelsen på for å installere ditt nye\n" "Mandriva Linux-operativsystem.\n" "\n" "Hver partisjon er listet som følger: \"Linux-navn\",\n" " \"Windows-navn\", \"Kapasitet\".\n" "\n" "\"Linux-navn\" er kodet som følger: \"harddisktype\", \"harddisknummer\",\n" "\"partisjonsnummer\" (f.eks., \"hda1\").\n" "\n" "\"Harddisktype\" er \"hd\" hvis harddisken din er en IDE harddisk og\n" "\"sd\" hvis det er en SCSI harddisk.\n" "\n" "\"Harddisknummer\" er alltid en bokstav etter \"hd\" eller \"sd\". Med\n" "IDE-harddisker:\n" "\n" " * \"a\" betyr \"master-harddisk på primær IDE kontroller\",\n" "\n" " * \"b\" betyr \"slave-harddisk på primær IDE kontroller\",\n" "\n" " * \"c\" betyr \"master-harddisk på sekundær IDE kontroller\",\n" "\n" " * \"d\" betyr \"slave-harddisk på sekundær IDE kontroller\".\n" "\n" "Med SCSI-harddisker betyr en \"a\" en \"primær harddisk\", en \"b\" betyr " "\"sekundær harddisk\", osv.\n" "\n" "\"Windows-navn\" er bokstaven på harddisken din under Windows (den første\n" "disken eller partisjonen er kalt \"C:\")." #: ../help.pm:567 #, c-format msgid "" "\"%s\": check the current country selection. If you're not in this country,\n" "click on the \"%s\" button and choose another. If your country is not in " "the\n" "list shown, click on the \"%s\" button to get the complete country list." msgstr "" %s»: Sjekk ditt valg av land. Dersom du ikke befinner deg i dette landet,\n" "klikk på «%s»-knappen og velg et annet. Dersom ditt land ikke er i\n" "den første lista, klikk på «%s»\"-knappen for å få den fullstendige lista\n" " over land." #: ../help.pm:572 #, c-format msgid "" "This step is activated only if an existing GNU/Linux partition has been\n" "found on your machine.\n" "\n" "DrakX now needs to know if you want to perform a new installation or an\n" "upgrade of an existing Mandriva Linux system:\n" "\n" " * \"%s\". For the most part, this completely wipes out the old system.\n" "However, depending on your partitioning scheme, you can prevent some of\n" "your existing data (notably \"home\" directories) from being over-written.\n" "If you wish to change how your hard drives are partitioned, or to change\n" "the file system, you should use this option.\n" "\n" " * \"%s\". This installation class allows you to update the packages\n" "currently installed on your Mandriva Linux system. Your current " "partitioning\n" "scheme and user data will not be altered. Most of the other configuration\n" "steps remain available and are similar to a standard installation.\n" "\n" "Using the ``Upgrade'' option should work fine on Mandriva Linux systems\n" "running version \"8.1\" or later. Performing an upgrade on versions prior\n" "to Mandriva Linux version \"8.1\" is not recommended." msgstr "" "Dette trinnet blir bare aktivert dersom det blir funnet en eksisterende\n" "GNU/Linux-partisjon på maskinen din.\n" "\n" "DrakX trenger nå å vite om du vil utføre en ny installasjon eller en " "oppgradering\n" "av et eksisterende Mandriva Linux-system:\n" "\n" " * «%s»: Dette vil stort sett slette hele det gamle systemet. Dersom du\n" "ønsker å forandre hvordan harddiskene blir partisjonert, eller forandre på\n" "filsystemene, bør du velge dette. Men avhengig av hvordan du partisjonerer " "kan\n" "du avverge at noen av de gamle dataene blir overskrevet.\n" "\n" " * «%s»: Denne installasjonsklassen lar deg oppgradere pakkene som\n" "er installert på ditt nåværende Mandriva Linux-system. Dine nåværende\n" "partisjonsoppdelinger og brukerdata blir ikke berørt. De fleste andre " "oppsettstrinn\n" "forblir tilgjengelige, i likhet med en standard installasjon.\n" "\n" "«Oppgrader»-valget bør fungere fint på Mandriva Linux systemer som kjører\n" "versjon «8.1» eller nyere. Oppgradering av versjoner tidligere enn «8.1» er\n" " ikke anbefalt. " #: ../help.pm:594 #, c-format msgid "" "Depending on the language you chose (), DrakX will automatically select a\n" "particular type of keyboard configuration. Check that the selection suits\n" "you or choose another keyboard layout.\n" "\n" "Also, you may not have a keyboard which corresponds exactly to your\n" "language: for example, if you are an English-speaking Swiss native, you may\n" "have a Swiss keyboard. Or if you speak English and are located in Quebec,\n" "you may find yourself in the same situation where your native language and\n" "country-set keyboard do not match. In either case, this installation step\n" "will allow you to select an appropriate keyboard from a list.\n" "\n" "Click on the \"%s\" button to be shown a list of supported keyboards.\n" "\n" "If you choose a keyboard layout based on a non-Latin alphabet, the next\n" "dialog will allow you to choose the key binding which will switch the\n" "keyboard between the Latin and non-Latin layouts." msgstr "" "Avhengig av standardspråket du har valgt, vil DrakX automatisk velge\n" "et tilsvarende tastaturoppsett. Sjekk at valget passer deg, eller velg\n" "et annet tastaturoppsett.\n" "\n" "Det kan også hende at du ikke har et tastatur som passer presist \n" "til ditt språk.\n" "Hvis du for eksempel er en engelsktalende sveitsisk person, kan\n" "det være at du har et sveitsisk tastatur, eller hvis du snakker engelsk, " "men\n" "oppholder deg i Quebec så kan du finne deg i den samme situasjonen hvor\n" "ditt eget språk og tastatur ikke stemmer overens. I slike tilfeller vil " "dette\n" "installasjonstrinnet la deg velge et passende tastatur fra en liste.\n" "\n" "Klikk på «%s»-knappen for å få en komplett liste over støttede tastaturer.\n" "\n" "Hvis du velger et tastatur som ikke er basert på det latinske alfabetet,\n" "vil den neste dialogen tillate at du setter opp en tastekombinasjon\n" "som vil bytte mellom latin og ikke-latinsk tastaturoppsett." #: ../help.pm:612 #, c-format msgid "" "The first step is to choose your preferred language.\n" "\n" "Your choice of preferred language will affect the installer, the\n" "documentation, and the system in general. First select the region you're\n" "located in, then the language you speak.\n" "\n" "Clicking on the \"%s\" button will allow you to select other languages to\n" "be installed on your workstation, thereby installing the language-specific\n" "files for system documentation and applications. For example, if Spanish\n" "users are to use your machine, select English as the default language in\n" "the tree view and \"%s\" in the Advanced section.\n" "\n" "About UTF-8 (unicode) support: Unicode is a new character encoding meant to\n" "cover all existing languages. However full support for it in GNU/Linux is\n" "still under development. For that reason, Mandriva Linux's use of UTF-8 " "will\n" "depend on the user's choices:\n" "\n" " * If you choose a language with a strong legacy encoding (latin1\n" "languages, Russian, Japanese, Chinese, Korean, Thai, Greek, Turkish, most\n" "iso-8859-2 languages), the legacy encoding will be used by default;\n" "\n" " * Other languages will use unicode by default;\n" "\n" " * If two or more languages are required, and those languages are not using\n" "the same encoding, then unicode will be used for the whole system;\n" "\n" " * Finally, unicode can also be forced for use throughout the system at a\n" "user's request by selecting the \"%s\" option independently of which\n" "languages were been chosen.\n" "\n" "Note that you're not limited to choosing a single additional language. You\n" "may choose several, or even install them all by selecting the \"%s\" box.\n" "Selecting support for a language means translations, fonts, spell checkers,\n" "etc. will also be installed for that language.\n" "\n" "To switch between the various languages installed on your system, you can\n" "launch the \"localedrake\" command as \"root\" to change the language used\n" "by the entire system. Running the command as a regular user will only\n" "change the language settings for that particular user." msgstr "" "Det første trinnet er å velge ditt foretrukne språk.\n" "\n" "Ditt valg av foretrukket språk vil påvirke språket til dokumentasjonen,\n" "installasjonsrutinen og systemet generelt. Velg først regionen du befinner\n" "deg i, og deretter språket du bruker.\n" "\n" "Om du klikker på «%s»-knappen får du mulighet til å velge andre\n" "språk som du ønsker å installere på din arbeidsstasjon. Du installerer da\n" "samtidig de språkspesifikke filene for systemdokumentasjon og\n" "applikasjoner. Hvis du ønsker norsk som standardspråk, men også\n" "ønsker å tilrettelegge for spanske brukere på maskinen, kan du velge\n" "norsk som standardspråk i trevisningen, og «%s» i det avanserte avsnitt.\n" "\n" "Om UTF-8 (ISO 10646) støtte. ISO 10646 er en ny tegnsettskoding det\n" "er ment til å dekke alle eksisterende språk. Men full støtte for det i GNU/" "Linux er\n" "stadig under utvikling. Av denne grunnen vil Mandriva Linux bruke det\n" "eller ei avhengig av brukerens valg:\n" "\n" " * Hvis du velger et språk med sterk binding til gammel kodnng (latin1-\n" "språk, russisk, japansk, kinesisk, koreansk, thai, gresk, tyrkisk, de " "fleste\n" "ISO-8859-2-språk) vil den gamle kodingen bli brukt som standard;\n" "\n" "Andre språk vil bruke ISO 10646 som standard;\n" "\n" " * Hvis to eller flere språk er krevd, og ikke disse språk bruker samme " "koding,\n" "vil ISO 10646 bli brukt for hele systemet;\n" "\n" " * Endelig kan ISO 10646 også bli påtvunget systemet ved brukervalg\n" "ved å velge '%s'-valget uavhengig av hvilke språk som er valgt.\n" "\n" "Legg merke til at du ikke er begrenset til et enkelt tilleggsspråk. Du\n" "kan velge flere, eller til og med alle ved å sjekke av i «%s»-boksen.\n" "Valg av språkstøtte betyr at oversettelser, skrifttyper, stavekontroller,\n" "osv. for språket også vil bli installert.\n" "\n" "For å bytte mellom de installerte språkene på systemet, kan du starte\n" "programmet «/usr/sbin/localedrake» som «root» for å bytte språket som\n" "systemet bruker. Dersom dette programmet kjøres under en vanlig bruker,\n" "vil bare språket for denne brukeren endres." #: ../help.pm:650 #, c-format msgid "Espanol" msgstr "Spansk" #: ../help.pm:643 #, c-format msgid "Use Unicode by default" msgstr "" #: ../help.pm:646 #, c-format msgid "" "Usually, DrakX has no problems detecting the number of buttons on your\n" "mouse. If it does, it assumes you have a two-button mouse and will\n" "configure it for third-button emulation. The third-button mouse button of a\n" "two-button mouse can be obtained by simultaneously clicking the left and\n" "right mouse buttons. DrakX will automatically know whether your mouse uses\n" "a PS/2, serial or USB interface.\n" "\n" "If you have a 3-button mouse without a wheel, you can choose a \"%s\"\n" "mouse. DrakX will then configure your mouse so that you can simulate the\n" "wheel with it: to do so, press the middle button and move your mouse\n" "pointer up and down.\n" "\n" "If for some reason you wish to specify a different type of mouse, select it\n" "from the list provided.\n" "\n" "You can select the \"%s\" entry to chose a ``generic'' mouse type which\n" "will work with nearly all mice.\n" "\n" "If you choose a mouse other than the default one, a test screen will be\n" "displayed. Use the buttons and wheel to verify that the settings are\n" "correct and that the mouse is working correctly. If the mouse is not\n" "working well, press the space bar or [Return] key to cancel the test and\n" "you will be returned to the mouse list.\n" "\n" "Occasionally wheel mice are not detected automatically, so you will need to\n" "select your mouse from a list. Be sure to select the one corresponding to\n" "the port that your mouse is attached to. After selecting a mouse and\n" "pressing the \"%s\" button, a mouse image will be displayed on-screen.\n" "Scroll the mouse wheel to ensure that it is activating correctly. As you\n" "scroll your mouse wheel, you will see the on-screen scroll wheel moving.\n" "Test the buttons and check that the mouse pointer moves on-screen as you\n" "move your mouse about." msgstr "" "DrakX oppdager vanligvis antall knapper på musen din. Hvis ikke, så vil det\n" "antas at du har en to-knappers mus og det vil settes opp treknappers-" "emulering.\n" "Den tredje museknappen kan på en toknappers-mus bli brukt ved å\n" "trykke ned både høyre og venstre museknapp samtidig. DrakX vil\n" "automatisk oppdage om din mus bruker PS/2-, seriell- eller USB-grensesnitt.\n" "\n" "Hvis du har en 3-knappsmus uten hjul, kan du velge musen\n" %s». DrakX vil så konfugurere musen din så du kan simulere hjulet med den;\n" "for å gjøre dette skal du trykke på den tredje knappen og flytte musen din\n" "opp og ned.\n" "\n" "Hvis du ønsker å spepesifisere en annerledes musetype, velg den passende\n" "typen fra listen du blir vist.\n" "\n" "Du kan velge «%s» eller velge en ``generisk\" mus-type som vil fungere\n" "med alle mus.\n" "\n" "Hvis du velger en annen mus enn hva som er forhåndsvalgt, så vil en\n" "testskjerm bli vist. Bruk knappene og musehjulet for å sjekke at\n" "oppsettet er riktig, og at musa virker ordentlig. Hvis musa ikke virker " "riktig,\n" "trykk [Space] eller [Enter] for å avbryte testen og gå tilbake til listen " "over valg.\n" "\n" "Noen ganger så blir ikke musehjulet automatisk oppdaget. Du vil da måtte\n" "velge manuelt fra listen. Vær sikker på at du velger en som er på riktig " "port.\n" "Etter at du har klikket på «%s»-knappen, så vil et musebilde bli vist på " "skjermen.\n" "Du må da bevege musehjulet for å aktivere det riktig. Når du ser at " "musehjulet på\n" "skjermen beveges etter som du ruller på det, sjekk også at knappene fungerer " "og\n" "at musepekeren på skjermen beveger seg når du flytter på musa." #: ../help.pm:684 #, c-format msgid "with Wheel emulation" msgstr "med hjulemulering" #: ../help.pm:684 #, c-format msgid "Universal | Any PS/2 & USB mice" msgstr "Universal | Alle PS/2- & USB-mus" #: ../help.pm:687 #, c-format msgid "" "Please select the correct port. For example, the \"COM1\" port under\n" "Windows is named \"ttyS0\" under GNU/Linux." msgstr "" "Velg den riktige porten. F.eks., \"COM1\"-porten under\n" "Windows blir kalt \"ttyS0\" i GNU/Linux." #: ../help.pm:684 #, c-format msgid "" "A boot loader is a little program which is started by the computer at boot\n" "time. It's responsible for starting up the whole system. Normally, the boot\n" "loader installation is totally automated. DrakX will analyze the disk boot\n" "sector and act according to what it finds there:\n" "\n" " * if a Windows boot sector is found, it will replace it with a GRUB/LILO\n" "boot sector. This way you'll be able to load either GNU/Linux or any other\n" "OS installed on your machine.\n" "\n" " * if a GRUB or LILO boot sector is found, it'll replace it with a new one.\n" "\n" "If DrakX can not determine where to place the boot sector, it'll ask you\n" "where it should place it. Generally, the \"%s\" is the safest place.\n" "Choosing \"%s\" will not install any boot loader. Use this option only if " "you\n" "know what you're doing." msgstr "" "En oppstartslaster er et lite program som er startet av datamaskinen\n" "når den starter opp. Den er ansvarlig for å starte hele systemet. Vanligvis\n" "er oppstartslaster-installasjonen helt automatisk. DrakX vil analysere\n" "oppstartssektoren på harddisken og sette oppstartslasteren opp etter hva\n" "den finner der.\n" "\n" " * Hvis en oppstartssektor for Windows blir funnet, vil den erstatte denne " "med\n" "en GRUB- eller LILO-oppstartsektor. På denne måten kan du laste enten\n" "GNU/Linux eller ethvert annet operativsystem installert på din maskin.\n" "\n" " * Hvis en oppstartsektor for GRUB eller LILO blir funnet, vil den bli " "erstattet\n" "med en ny.\n" "\n" "Dersom det ikke er mulig å avgjøre dette automatisk, vil DrakX spørre deg " "hvor\n" "oppstartslasteren skal installeres. Vanligvis er «%s» det sikreste stedet.\n" "Valg av «%s» vil ikke installere noen oppstartslaster. Bruk kun dette\n" "hvis du vet hva du gjør." #: ../help.pm:745 #, c-format msgid "" "Now, it's time to select a printing system for your computer. Other\n" "operating systems may offer you one, but Mandriva Linux offers two. Each of\n" "the printing systems is best suited to particular types of configuration.\n" "\n" " * \"%s\" -- which is an acronym for ``print, do not queue'', is the choice\n" "if you have a direct connection to your printer, you want to be able to\n" "panic out of printer jams, and you do not have networked printers. (\"%s\"\n" "will handle only very simple network cases and is somewhat slow when used\n" "within networks.) It's recommended that you use \"pdq\" if this is your\n" "first experience with GNU/Linux.\n" "\n" " * \"%s\" stands for `` Common Unix Printing System'' and is an excellent\n" "choice for printing to your local printer or to one halfway around the\n" "planet. It's simple to configure and can act as a server or a client for\n" "the ancient \"lpd\" printing system, so it's compatible with older\n" "operating systems which may still need print services. While quite\n" "powerful, the basic setup is almost as easy as \"pdq\". If you need to\n" "emulate a \"lpd\" server, make sure you turn on the \"cups-lpd\" daemon.\n" "\"%s\" includes graphical front-ends for printing or choosing printer\n" "options and for managing the printer.\n" "\n" "If you make a choice now, and later find that you do not like your printing\n" "system you may change it by running PrinterDrake from the Mandriva Linux\n" "Control Center and clicking on the \"%s\" button." msgstr "" "Nå er det på tide å velge utskriftsystemet for din maskin. Andre\n" "operativsystemer tilbyr kanskje en, men Mandriva Linux tilbyr to.\n" "Hvert av systemene er best for et spesiell type oppsett.\n" "\n" " * «%s» -- som står for ``print, do not queue'', er valget hvis du har en\n" "direkte tilkobling til din printer og du vil ha muligheten til å flykte fra\n" "printerkræsj, og du ikke har nettverksskrivere. («%s» vil bare håndtere\n" "veldig enkle nettverkstilfeller og er nogenlunde treg for nettverk.) Det er\n" "anbefalt at du bruker «pdq» hvis dette er din første erfaring med GNU/Linux.\n" "\n" " * «%s» står for ``Common Unix Printing System'', er perfekt til å skrive " "til\n" "din egen lokale skriver, og også til skrivere på andre siden av kloden.\n" "Den er simpel og kan opptrå som både skriver og klient for det " "forhistoriske\n" "«lpd»-utskriftssystemet, så den er kompatibel med de eldre operativsystemer\n" "som fortsatt trenger utskriftstjenester. Selv om den er ganske kraftig, så " "er\n" "basisoppsettet nesten like enkelt som «pdq». Hvis du trenger å emulere en\n" "«lpd»-tjener, må du slå på «cups-lpd»-tjenesten. «%s» inkluderer et grafisk " "grensesnitt for utskrift eller oppsett av skriver og styring av skriver.\n" "\n" "Hvis du gjør et valg nå, og så senere finner ut at du ikke liker ditt " "utskriftssystem,\n" "så kan du endre det ved å kjøre PrinterDrake fra Mandriva Linux " "Kontrollsenter og\n" "klikke på «%s»-knappen. " #: ../help.pm:768 #, c-format msgid "pdq" msgstr "pdq" #: ../help.pm:724 #, c-format msgid "CUPS" msgstr "" #: ../help.pm:724 #, c-format msgid "Expert" msgstr "Ekspert" #: ../help.pm:771 #, c-format msgid "" "DrakX will first detect any IDE devices present in your computer. It will\n" "also scan for one or more PCI SCSI cards on your system. If a SCSI card is\n" "found, DrakX will automatically install the appropriate driver.\n" "\n" "Because hardware detection is not foolproof, DrakX may fail in detecting\n" "your hard drives. If so, you'll have to specify your hardware by hand.\n" "\n" "If you had to manually specify your PCI SCSI adapter, DrakX will ask if you\n" "want to configure options for it. You should allow DrakX to probe the\n" "hardware for the card-specific options which are needed to initialize the\n" "adapter. Most of the time, DrakX will get through this step without any\n" "issues.\n" "\n" "If DrakX is not able to probe for the options to automatically determine\n" "which parameters need to be passed to the hardware, you'll need to manually\n" "configure the driver." msgstr "" "DrakX vil nå oppdage alle IDE-enheter som er tilstede på ditt system. Det\n" "vil også scanne etter en eller flere PCI SCSI-kort på systemet ditt. Hvis " "et\n" "SCSI-kort er tilstede, så vil DrakX automatisk installere den passende " "driveren.\n" "\n" "På grunn av at maskinvareoppdagelse ikke er feilfritt, så kan det være at\n" "DrakX ikke klarer å oppdage dine harddisker. Hvis dette skjer, så må du\n" "spesifisere din maskinvare for hånd.\n" "\n" "Hvis du må spesifisere PCI SCSI-kontrolleren din manuelt, så vil DrakX\n" "spørre deg om å gjøre noen valg for det. Du burde tillate DrakX å teste\n" "maskinvaren for kort-spesifikke valg som trengs for å initialisere\n" "maskinvaren. Som regel så vil DrakX klare å gå igjennom dette steget uten\n" "problemer.\n" "\n" "Hvis DrakX ikke er i stand til å oppdage de riktige parametrene som trengs\n" "for din maskinvare, så må du manuelt sette opp driveren." #: ../help.pm:789 #, c-format msgid "" "\"%s\": if a sound card is detected on your system, it'll be displayed\n" "here. If you notice the sound card is not the one actually present on your\n" "system, you can click on the button and choose a different driver." msgstr "" %s»: hvis et lydkort blir oppdaget på systemet ditt, blir det vist her.\n" "Hvis du oppdager at lydkortet som blir vist her ikke er det som\n" "faktisk er til stede på ditt system, så kan du klikke på denne knappen for\n" "å velge en annen driver." #: ../help.pm:794 #, fuzzy, c-format msgid "" "As a review, DrakX will present a summary of information it has gathered\n" "about your system. Depending on the hardware installed on your machine, you\n" "may have some or all of the following entries. Each entry is made up of the\n" "hardware item to be configured, followed by a quick summary of the current\n" "configuration. Click on the corresponding \"%s\" button to make the change.\n" "\n" " * \"%s\": check the current keyboard map configuration and change it if\n" "necessary.\n" "\n" " * \"%s\": check the current country selection. If you're not in this\n" "country, click on the \"%s\" button and choose another. If your country\n" "is not in the list shown, click on the \"%s\" button to get the complete\n" "country list.\n" "\n" " * \"%s\": by default, DrakX deduces your time zone based on the country\n" "you have chosen. You can click on the \"%s\" button here if this is not\n" "correct.\n" "\n" " * \"%s\": verify the current mouse configuration and click on the button\n" "to change it if necessary.\n" "\n" " * \"%s\": if a sound card is detected on your system, it'll be displayed\n" "here. If you notice the sound card is not the one actually present on your\n" "system, you can click on the button and choose a different driver.\n" "\n" " * \"%s\": if you have a TV card, this is where information about its\n" "configuration will be displayed. If you have a TV card and it is not\n" "detected, click on \"%s\" to try to configure it manually.\n" "\n" " * \"%s\": you can click on \"%s\" to change the parameters associated with\n" "the card if you feel the configuration is wrong.\n" "\n" " * \"%s\": by default, DrakX configures your graphical interface in\n" "\"800x600\" or \"1024x768\" resolution. If that does not suit you, click on\n" "\"%s\" to reconfigure your graphical interface.\n" "\n" " * \"%s\": if you wish to configure your Internet or local network access,\n" "you can do so now. Refer to the printed documentation or use the\n" "Mandriva Linux Control Center after the installation has finished to " "benefit\n" "from full in-line help.\n" "\n" " * \"%s\": allows to configure HTTP and FTP proxy addresses if the machine\n" "you're installing on is to be located behind a proxy server.\n" "\n" " * \"%s\": this entry allows you to redefine the security level as set in a\n" "previous step ().\n" "\n" " * \"%s\": if you plan to connect your machine to the Internet, it's a good\n" "idea to protect yourself from intrusions by setting up a firewall. Consult\n" "the corresponding section of the ``Starter Guide'' for details about\n" "firewall settings.\n" "\n" " * \"%s\": if you wish to change your bootloader configuration, click this\n" "button. This should be reserved to advanced users. Refer to the printed\n" "documentation or the in-line help about bootloader configuration in the\n" "Mandriva Linux Control Center.\n" "\n" " * \"%s\": through this entry you can fine tune which services will be run\n" "on your machine. If you plan to use this machine as a server it's a good\n" "idea to review this setup." msgstr "" "Som en oppsummering vil DrakX gi deg en oversikt over informasjon som\n" "den har om systemet ditt. Avhengig av installert maskinvare, kan du ha et\n" "eller flere av de følgende punktene. Hvert punkt består av en overskrift " "fulgt\n" "av en kort oppsummering av det nåværende oppsettet. Klikk på\n" "den korresponderende «%s»-knappen for å endre på det.\n" "\n" " * «%s»: sjekk ditt gjeldende tastaturoppsett og endre om nødvendig.\n" "\n" " * «%s»: sjekk ditt gjeldende valg av land. Hvis du ikke er i dette landet,\n" "klikk på «%s»-knappen og velg et annet land. Hvis landet ditt ikke er i\n" "den først viste listen, klikk «%s»-knappen for å få en fullstendig liste over " "land.\n" "\n" " ' «%s»\": som standard bestemmer DrakX din tidssone ut i fra hvilket land " "du\n" "har valgt. Du kan klikke på «%s»-knappen her om dette ikke er korrekt.\n" "\n" " * «%s» :sjekk det gjeldende museoppsettet og klikk på knappen for å endre\n" "om nødvendig.\n" "\n" " * «%s»: ved å klikke på «%s»-knappen åpnes skriveroppsett-veiviseren.\n" "Konsulter det tilhørende kapittelet i oppstartsguiden for mer\n" "informasjon om hvordan en skriver kan settes opp. Grensesnittet som er vist\n" "der er likt det som benyttes under installasjonen.\n" "\n" " * \"%s\": hvis det er funnet et lydkort i ditt system, er det vist her. " "Hvis du\n" "finner ut at lydkortet som er vist ikke stemmer overens med det som faktisk " "er\n" "installert i din maskin, kan du klikke på knappen og velge en annen driver.\n" "\n" " * «%s»: hvis du har ett TV-kort, dette er der informasjonen om oppsettet til " "det\n" "vil blir vist. Hvis du har et TV-kort og det ikke er oppdaget, klikk på «%s»\n" "for å forsøke å sette det opp manuelt\n" "\n" " * «%s»: Du kan klikke på «%s» for å forandre parameterene til kortet hvis du\n" "syntes at oppsettet er feil.\n" "\n" " * «%s»: Vanligvis setter DrakX opp ditt grafiske grensesnitt i\n" "«800x600» eller «1024x768» oppløsning. Hvis det ikke er det du vil ha\n" "klikk på «%s« for å sette opp ditt grafiske grensesnitt.\n" "\n" " * «%s»: hvis du vil sette opp din internett- eller lokale " "nettverkstilkobling\n" "kan du gjøre det nå. Sjekk den utskrevne dokumentasjonen eller bruk\n" "Mandriva Linux Kontrollsenter etter at installasjonen er ferdig for å\n" "få full hjelp med oppsettet.\n" "\n" " * «%s»: lar deg sette opp HTTP og FTP mellomtjener-adresser hvis maskinen\n" "du installerer på er bak en mellomtjener.\n" "\n" " * «%s»: dette valget lar deg omdefinere sikkerhetsnivået som ble satt i et " "tidligere\n" "steg ().\n" "\n" " * «%s»: hvis du planlegger å koble din maskin til internett er det en god " "idé\n" "å beskytte deg selv fra inntrengere ved å sette opp en brannmur. Se den\n" "korresponderende seksjonen i ``Starter Guiden\" for detaljer om brannmur\n" "innstillinger.\n" "\n" " * «%s»: dersom du ønsker å endre ditt oppstartslaster-oppsett, klikk på " "denne\n" "knappen. Dette er kun for avanserte brukere. Sjekk den utskrevne " "dokumentasjonen\n" "eller innebygd hjelp om oppstartslaster-oppsettet i Mandriva Linux " "Kontrollsenter.\n" "\n" " * «%s»: igjennom dette valget kan du finjustere hvilke tjenester som skal " "kjøre på din\n" "maskin. Hvis du planlegger å bruke maskinen som en tjener er det en god ide " "å se\n" "igjennom dette." #: ../help.pm:809 #, fuzzy, c-format msgid "TV card" msgstr "ISDN-kort" #: ../help.pm:809 #, c-format msgid "ISDN card" msgstr "ISDN-kort" #: ../help.pm:858 #, c-format msgid "Graphical Interface" msgstr "Grafisk grensesnitt" #: ../help.pm:861 #, c-format msgid "" "Choose the hard drive you want to erase in order to install your new\n" "Mandriva Linux partition. Be careful, all data on this drive will be lost\n" "and will not be recoverable!" msgstr "" "Velg den harddisken du ønsker å slette for å installere din nye\n" "Mandriva Linux-partisjon. Vær forsiktig, alle data på denne partisjonen vil " "gå tapt\n" "og vil ikke kunne gjenopprettes!" #: ../help.pm:866 #, c-format msgid "" "Click on \"%s\" if you want to delete all data and partitions present on\n" "this hard drive. Be careful, after clicking on \"%s\", you will not be able\n" "to recover any data and partitions present on this hard drive, including\n" "any Windows data.\n" "\n" "Click on \"%s\" to quit this operation without losing data and partitions\n" "present on this hard drive." msgstr "" "Klikk på \"%s\" hvis du ønsker å slette alle data og partisjoner på denne\n" "harddisken. Vær forsiktig, etter at du har klikket på \"%s\" vil du ikke\n" "kunne gjenopprette data og partisjoner på denne harddisken inkludert Windows-" "data.\n" "\n" "Klikk på \"%s\" for å avslutte denne operasjonen uten å miste data og\n" "partisjoner på denne harddisken." #: ../help.pm:872 #, c-format msgid "Next ->" msgstr "Neste ->" #: ../help.pm:872 #, c-format msgid "<- Previous" msgstr "<- Forrige" #~ msgid "" #~ "\"%s\": clicking on the \"%s\" button will open the printer " #~ "configuration\n" #~ "wizard. Consult the corresponding chapter of the ``Starter Guide'' for " #~ "more\n" #~ "information on how to set up a new printer. The interface presented in " #~ "our\n" #~ "manual is similar to the one used during installation." #~ msgstr "" #~ "«%s»: Klikk på «%s»-knappen for å åpne skriverveiviseren.\n" #~ "Konsulter det korresponderende kapitlet i oppstartsguiden for mer\n" #~ "informasjon om hvordan du setter opp en skriver. Grensesnittet som\n" #~ "brukes her er tilsvarende det som benyttes under installasjon." #~ msgid "" #~ "This is the most crucial decision point for the security of your GNU/" #~ "Linux\n" #~ "system: you must enter the \"root\" password. \"Root\" is the system\n" #~ "administrator and is the only user authorized to make updates, add " #~ "users,\n" #~ "change the overall system configuration, and so on. In short, \"root\" " #~ "can\n" #~ "do everything! That's why you must choose a password which is difficult " #~ "to\n" #~ "guess: DrakX will tell you if the password you chose is too simple. As " #~ "you\n" #~ "can see, you're not forced to enter a password, but we strongly advise\n" #~ "against this. GNU/Linux is just as prone to operator error as any other\n" #~ "operating system. Since \"root\" can overcome all limitations and\n" #~ "unintentionally erase all data on partitions by carelessly accessing the\n" #~ "partitions themselves, it is important that it be difficult to become\n" #~ "\"root\".\n" #~ "\n" #~ "The password should be a mixture of alphanumeric characters and at least " #~ "8\n" #~ "characters long. Never write down the \"root\" password -- it makes it " #~ "far\n" #~ "too easy to compromise your system.\n" #~ "\n" #~ "One caveat: do not make the password too long or too complicated because " #~ "you\n" #~ "must be able to remember it!\n" #~ "\n" #~ "The password will not be displayed on screen as you type it. To reduce " #~ "the\n" #~ "chance of a blind typing error you'll need to enter the password twice. " #~ "If\n" #~ "you do happen to make the same typing error twice, you'll have to use " #~ "this\n" #~ "``incorrect'' password the first time you'll try to connect as \"root\".\n" #~ "\n" #~ "If you want an authentication server to control access to your computer,\n" #~ "click on the \"%s\" button.\n" #~ "\n" #~ "If your network uses either LDAP, NIS, or PDC Windows Domain " #~ "authentication\n" #~ "services, select the appropriate one for \"%s\". If you do not know " #~ "which\n" #~ "one to use, you should ask your network administrator.\n" #~ "\n" #~ "If you happen to have problems with remembering passwords, or if your\n" #~ "computer will never be connected to the Internet and you absolutely " #~ "trust\n" #~ "everybody who uses your computer, you can choose to have \"%s\"." #~ msgstr "" #~ "Dette er det mest kritisike valget med hensyn til sikkerheten på ditt\n" #~ "GNU/Linux-system: du må skrive inn «root»-passordet. «Root» er\n" #~ "systemadministratoren og er den eneste som er autorisert til å gjøre\n" #~ "oppdateringer, legge til brukere, endre på generellt oppsett, etc.\n" #~ "Kort sagt, «root» kan gjøre alt! Derfor er det viktig at du velger et\n" #~ "root-passord som er vanskelig å gjette -- DrakX vil si i fra hvis det er\n" #~ "for enkelt. Som du ser, så kan du velge å ikke skrive inn noe passord,\n" #~ "men det er noe vi anbefaler på det sterkeste å ikke gjøre. Man kan lage\n" #~ "feil på GNU/Linux så lett som på ethvert annet operativsystem.\n" #~ "Siden «root» kan omgå alle begrensninger og ved uhell kan slette\n" #~ "alle data på en partisjon ved ubetenksomt bare å røre partisjonene selv,\n" #~ "så er det viktig å gjøre det vanskelig å bli «root».\n" #~ "\n" #~ "Passordet bør være en blanding av alfanummeriske tegn og være på minst 8\n" #~ "tegn. Aldri skriv ned «roo»\"-passordet -- det gjør det for enkelt å bryte " #~ "seg\n" #~ "inn på systemet ditt. \n" #~ "\n" #~ "Uansett -- du bør ikke lage passordet for langt og komplisert siden du " #~ "må \n" #~ "være i stand til å huske det uten altfor mye trøbbel.\n" #~ "\n" #~ "Passordet vil ikke bli vist på skjermen når du skriver det. Dermed må du\n" #~ "skrive inn passordet to ganger for å minske sjansen for å skrive feil. " #~ "Hvis\n" #~ "du klarer å skrive passordet feil to ganger, så må dette ``feilaktige'' " #~ "passordet\n" #~ "bli brukt første gang du logger inn.\n" #~ "\n" #~ "Hvis du ønsker å autentisere deg via en autentiserings-tjener, klikk på\n" #~ "«%s»-knappen.\n" #~ "\n" #~ "Hvis nettverket ditt bruker enten LDAP-, NIS- eller PDC Windows-\n" #~ "domenepåloggingstjeneste, så velg det tilsvarende til\n" #~ "«%s». Har du ingen anelse, så spørr nettverksadministratoren din.\n" #~ "\n" #~ "Hvis du skulle ha problemer med å huske passord, hvis maskinen din aldri " #~ "vil\n" #~ "brukes for å koble til internett, eller at du stoler på absolutt alle som " #~ "bruker din\n" #~ "maskin, så kan du velge «%s»." #~ msgid "authentication" #~ msgstr "autentisering"