Browse Source

Drush automated update of contrib

DEV-updatecore
Bèr Kessels 12 years ago
parent
commit
b81dba60c1
52 changed files with 8293 additions and 8640 deletions
  1. 15
    5
      sites/all/modules/pathauto/pathauto.admin.inc
  2. 100
    73
      sites/all/modules/pathauto/pathauto.inc
  3. 3
    3
      sites/all/modules/pathauto/pathauto.info
  4. 18
    1
      sites/all/modules/pathauto/pathauto.js
  5. 58
    63
      sites/all/modules/pathauto/pathauto.module
  6. 131
    49
      sites/all/modules/pathauto/tests/pathauto.test
  7. 711
    0
      sites/all/modules/pathauto/translations/ar.po
  8. 369
    690
      sites/all/modules/pathauto/translations/hu.po
  9. 297
    340
      sites/all/modules/pathauto/translations/ru.po
  10. 278
    249
      sites/all/modules/pathauto/translations/sv.po
  11. 38
    0
      sites/all/modules/views/CHANGELOG.txt
  12. 4
    1
      sites/all/modules/views/css/views-admin.css
  13. 1
    5
      sites/all/modules/views/css/views-list.css
  14. 9
    1
      sites/all/modules/views/docs/docs.php
  15. 3
    3
      sites/all/modules/views/handlers/views_handler_argument.inc
  16. 4
    4
      sites/all/modules/views/handlers/views_handler_argument_date.inc
  17. 2
    2
      sites/all/modules/views/handlers/views_handler_field.inc
  18. 1
    2
      sites/all/modules/views/handlers/views_handler_field_counter.inc
  19. 4
    2
      sites/all/modules/views/handlers/views_handler_field_markup.inc
  20. 6
    2
      sites/all/modules/views/handlers/views_handler_filter.inc
  21. 3
    3
      sites/all/modules/views/handlers/views_handler_relationship.inc
  22. 7
    7
      sites/all/modules/views/help/views.help.ini
  23. 3
    3
      sites/all/modules/views/includes/admin.inc
  24. 6
    2
      sites/all/modules/views/includes/handlers.inc
  25. 4
    1
      sites/all/modules/views/includes/plugins.inc
  26. 8
    14
      sites/all/modules/views/includes/query.inc
  27. 9
    2
      sites/all/modules/views/includes/view.inc
  28. 22
    22
      sites/all/modules/views/js/ajax.js
  29. 7
    6
      sites/all/modules/views/js/ajax_view.js
  30. 14
    9
      sites/all/modules/views/js/dependent.js
  31. 4
    4
      sites/all/modules/views/modules/book.views.inc
  32. 14
    14
      sites/all/modules/views/modules/comment.views.inc
  33. 10
    13
      sites/all/modules/views/modules/comment/views_handler_field_comment_node_link.inc
  34. 2
    2
      sites/all/modules/views/modules/node.views.inc
  35. 2
    2
      sites/all/modules/views/modules/statistics.views.inc
  36. 28
    9
      sites/all/modules/views/modules/taxonomy/views_plugin_argument_validate_taxonomy_term.inc
  37. 2
    2
      sites/all/modules/views/modules/upload.views.inc
  38. 5
    1
      sites/all/modules/views/modules/user/views_handler_field_user_picture.inc
  39. 50
    3
      sites/all/modules/views/plugins/views_plugin_display.inc
  40. 48
    1
      sites/all/modules/views/plugins/views_plugin_display_attachment.inc
  41. 3
    4
      sites/all/modules/views/plugins/views_plugin_style.inc
  42. 2
    2
      sites/all/modules/views/plugins/views_plugin_style_table.inc
  43. 3
    2
      sites/all/modules/views/theme/theme.inc
  44. 2
    2
      sites/all/modules/views/theme/views-exposed-form.tpl.php
  45. 3
    3
      sites/all/modules/views/translations/eo.po
  46. 2962
    3498
      sites/all/modules/views/translations/uk-ua.po
  47. 2962
    3498
      sites/all/modules/views/translations/uk.po
  48. 1
    5
      sites/all/modules/views/translations/views.pot
  49. 3
    3
      sites/all/modules/views/views.info
  50. 46
    2
      sites/all/modules/views/views.module
  51. 3
    3
      sites/all/modules/views/views_export/views_export.info
  52. 3
    3
      sites/all/modules/views/views_ui.info

+ 15
- 5
sites/all/modules/pathauto/pathauto.admin.inc View File

@@ -1,5 +1,5 @@
<?php
// $Id: pathauto.admin.inc,v 1.10.2.1 2008/06/24 16:07:51 greggles Exp $
// $Id: pathauto.admin.inc,v 1.10.2.3 2010/02/20 18:27:45 davereid Exp $

/**
* @file
@@ -140,8 +140,10 @@ function pathauto_admin_settings() {

$form['general']['pathauto_ignore_words'] = array(
'#type' => 'textarea',
'#title' => t('Strings to Remove'), '#default_value' => variable_get('pathauto_ignore_words', implode(',', $ignore_words)),
'#title' => t('Strings to Remove'),
'#default_value' => variable_get('pathauto_ignore_words', implode(',', $ignore_words)),
'#description' => t('Words to strip out of the URL alias, separated by commas. Do not place punctuation in here and do not use WYSIWYG editors on this field.'),
'#wysiwyg' => FALSE,
);

$form['punctuation'] = array(
@@ -154,11 +156,19 @@ function pathauto_admin_settings() {

$punctuation = pathauto_punctuation_chars();
foreach ($punctuation as $name => $details) {
$form['punctuation']['pathauto_punctuation_'. $name ] = array(
$details['default'] = 0;
if ($details['value'] == variable_get('pathauto_separator', '-')) {
$details['default'] = 1;
}
$form['punctuation']['pathauto_punctuation_'. $name] = array(
'#type' => 'select',
'#title' => $details['name'],
'#default_value' => variable_get('pathauto_punctuation_'. $name, 0),
'#options' => array('0' => t('Remove'), '1' => t('Replace by separator'), '2' => t('No action (do not replace)')),
'#default_value' => variable_get('pathauto_punctuation_'. $name, $details['default']),
'#options' => array(
'0' => t('Remove'),
'1' => t('Replace by separator'),
'2' => t('No action (do not replace)'),
),
);
}


+ 100
- 73
sites/all/modules/pathauto/pathauto.inc View File

@@ -1,5 +1,5 @@
<?php
// $Id: pathauto.inc,v 1.45.2.3 2009/10/20 17:52:12 greggles Exp $
// $Id: pathauto.inc,v 1.45.2.10 2010/02/20 03:05:19 davereid Exp $

/**
* @file
@@ -8,50 +8,6 @@
* @ingroup pathauto
*/

/**
* Matches Unicode character classes.
*
* See: http://www.unicode.org/Public/UNIDATA/UCD.html#General_Category_Values
*
* The index only contains the following character classes:
* Lu Letter, Uppercase
* Ll Letter, Lowercase
* Lt Letter, Titlecase
* Lo Letter, Other
* Nd Number, Decimal Digit
* No Number, Other
*
* Copied from search.module's PREG_CLASS_SEARCH_EXCLUDE.
*/
define('PREG_CLASS_ALNUM',
'\x{0}-\x{2f}\x{3a}-\x{40}\x{5b}-\x{60}\x{7b}-\x{bf}\x{d7}\x{f7}\x{2b0}-'.
'\x{385}\x{387}\x{3f6}\x{482}-\x{489}\x{559}-\x{55f}\x{589}-\x{5c7}\x{5f3}-'.
'\x{61f}\x{640}\x{64b}-\x{65e}\x{66a}-\x{66d}\x{670}\x{6d4}\x{6d6}-\x{6ed}'.
'\x{6fd}\x{6fe}\x{700}-\x{70f}\x{711}\x{730}-\x{74a}\x{7a6}-\x{7b0}\x{901}-'.
'\x{903}\x{93c}\x{93e}-\x{94d}\x{951}-\x{954}\x{962}-\x{965}\x{970}\x{981}-'.
'\x{983}\x{9bc}\x{9be}-\x{9cd}\x{9d7}\x{9e2}\x{9e3}\x{9f2}-\x{a03}\x{a3c}-'.
'\x{a4d}\x{a70}\x{a71}\x{a81}-\x{a83}\x{abc}\x{abe}-\x{acd}\x{ae2}\x{ae3}'.
'\x{af1}-\x{b03}\x{b3c}\x{b3e}-\x{b57}\x{b70}\x{b82}\x{bbe}-\x{bd7}\x{bf0}-'.
'\x{c03}\x{c3e}-\x{c56}\x{c82}\x{c83}\x{cbc}\x{cbe}-\x{cd6}\x{d02}\x{d03}'.
'\x{d3e}-\x{d57}\x{d82}\x{d83}\x{dca}-\x{df4}\x{e31}\x{e34}-\x{e3f}\x{e46}-'.
'\x{e4f}\x{e5a}\x{e5b}\x{eb1}\x{eb4}-\x{ebc}\x{ec6}-\x{ecd}\x{f01}-\x{f1f}'.
'\x{f2a}-\x{f3f}\x{f71}-\x{f87}\x{f90}-\x{fd1}\x{102c}-\x{1039}\x{104a}-'.
'\x{104f}\x{1056}-\x{1059}\x{10fb}\x{10fc}\x{135f}-\x{137c}\x{1390}-\x{1399}'.
'\x{166d}\x{166e}\x{1680}\x{169b}\x{169c}\x{16eb}-\x{16f0}\x{1712}-\x{1714}'.
'\x{1732}-\x{1736}\x{1752}\x{1753}\x{1772}\x{1773}\x{17b4}-\x{17db}\x{17dd}'.
'\x{17f0}-\x{180e}\x{1843}\x{18a9}\x{1920}-\x{1945}\x{19b0}-\x{19c0}\x{19c8}'.
'\x{19c9}\x{19de}-\x{19ff}\x{1a17}-\x{1a1f}\x{1d2c}-\x{1d61}\x{1d78}\x{1d9b}-'.
'\x{1dc3}\x{1fbd}\x{1fbf}-\x{1fc1}\x{1fcd}-\x{1fcf}\x{1fdd}-\x{1fdf}\x{1fed}-'.
'\x{1fef}\x{1ffd}-\x{2070}\x{2074}-\x{207e}\x{2080}-\x{2101}\x{2103}-\x{2106}'.
'\x{2108}\x{2109}\x{2114}\x{2116}-\x{2118}\x{211e}-\x{2123}\x{2125}\x{2127}'.
'\x{2129}\x{212e}\x{2132}\x{213a}\x{213b}\x{2140}-\x{2144}\x{214a}-\x{2b13}'.
'\x{2ce5}-\x{2cff}\x{2d6f}\x{2e00}-\x{3005}\x{3007}-\x{303b}\x{303d}-\x{303f}'.
'\x{3099}-\x{309e}\x{30a0}\x{30fb}-\x{30fe}\x{3190}-\x{319f}\x{31c0}-\x{31cf}'.
'\x{3200}-\x{33ff}\x{4dc0}-\x{4dff}\x{a015}\x{a490}-\x{a716}\x{a802}\x{a806}'.
'\x{a80b}\x{a823}-\x{a82b}\x{d800}-\x{f8ff}\x{fb1e}\x{fb29}\x{fd3e}\x{fd3f}'.
'\x{fdfc}-\x{fe6b}\x{feff}-\x{ff0f}\x{ff1a}-\x{ff20}\x{ff3b}-\x{ff40}\x{ff5b}-'.
'\x{ff65}\x{ff70}\x{ff9e}\x{ff9f}\x{ffe0}-\x{fffd}');

/**
* Check to see if there is already an alias pointing to a different item.
*
@@ -66,14 +22,14 @@ define('PREG_CLASS_ALNUM',
*/
function _pathauto_alias_exists($alias, $src, $language = '') {
$alias_pid = db_result(db_query_range("SELECT pid FROM {url_alias} WHERE dst = '%s' AND src <> '%s' AND language = '%s'", array($alias, $src, $language), 0, 1));
if (function_exists('path_redirect_delete')) {
if (function_exists('path_redirect_delete_multiple')) {
// Delete from path_redirect the exact same alias to the same node.
path_redirect_delete(array('path' => $alias, 'redirect' => $src));
path_redirect_delete_multiple(NULL, array('source' => $alias, 'redirect' => $src));

// If there still is this alias used in path_redirect, then create a different alias
$redirect_rid = db_result(db_query_range("SELECT rid FROM {path_redirect} WHERE path = '%s'", $alias, 0, 1));
$redirects = path_redirect_load_multiple(NULL, array('source' => $alias));
}
if ($alias_pid || !empty($redirect_rid)) {
if ($alias_pid || !empty($redirects)) {
return TRUE;
}
else {
@@ -190,28 +146,79 @@ function pathauto_cleanstring($string, $clean_slash = TRUE) {
// Always replace whitespace with the separator.
$output = preg_replace('/\s+/', $separator, $output);

// In preparation for pattern matching,
// escape the separator if and only if it is not alphanumeric.
if (isset($separator)) {
if (preg_match('/^[^'. PREG_CLASS_ALNUM .']+$/uD', $separator)) {
$seppattern = $separator;
}
else {
$seppattern = '\\'. $separator;
}
// Trim any leading or trailing separators (note the need to
// Trim duplicates and remove trailing and leading separators.
$output = _pathauto_clean_separators($output, $separator);

// Enforce the maximum component length
$maxlength = min(variable_get('pathauto_max_component_length', 100), 128);
$output = drupal_substr($output, 0, $maxlength);

return $output;
}

/**
* Clean path separators from a given string.
*
* Trims duplicates and strips leading and trailing separators.
*
* @param $string
* The string to clean path separators from.
* @param $separator
* The path separator to use when cleaning.
* @return
* The cleaned version of the string.
*
* @see pathauto_cleanstring()
* @see pathauto_clean_alias()
*/
function _pathauto_clean_separators($string, $separator = NULL) {
$output = $string;

// Clean duplicate or trailing separators.
if (isset($separator) && strlen($separator)) {
// Escape the separator.
$seppattern = preg_quote($separator, '/');

// Trim any leading or trailing separators.
$output = preg_replace("/^$seppattern+|$seppattern+$/", '', $output);

// Replace trailing separators around slashes.
$output = preg_replace("/$seppattern\/|\/$seppattern/", "/", $output);
$output = preg_replace("/$seppattern+\/|\/$seppattern+/", "/", $output);

// Replace multiple separators with a single one
$output = preg_replace("/$seppattern+/", "$separator", $output);
// Replace multiple separators with a single one.
$output = preg_replace("/$seppattern+/", $separator, $output);
}

// Enforce the maximum component length
$maxlength = min(variable_get('pathauto_max_component_length', 100), 128);
$output = drupal_substr($output, 0, $maxlength);
// Optionally convert to lower case.
if (variable_get('pathauto_case', 1)) {
$output = drupal_strtolower($output);
}

return $output;
}

/**
* Clean up an alias.
*
* This strips leading and trailing separators from the alias, and invokes
* hook_pathauto_clean_alias() for other modules to have their chance.
*
* @param $alias
* A path alias to clean.
* @param $clean_slash
* Whether to clean slashes from the alias..
* @return
* The cleaned alias.
*/
function pathauto_clean_alias($alias) {
$output = $alias;
$separator = variable_get('pathauto_separator', '-');

// Trim duplicates and remove trailing and leading separators.
$output = _pathauto_clean_separators($output, $separator);

// Give other modules a chance to clean this alias.
module_invoke_all('pathauto_clean_alias', $output);

return $output;
}
@@ -230,6 +237,8 @@ function pathauto_cleanstring($string, $clean_slash = TRUE) {
* actual values to be substituted into the pattern (e.g., $node->title).
* @param $src
* The "real" URI of the content to be aliased (e.g., "node/$node->nid").
* @param $entity_id
* The entity ID (node ID, user ID, etc.).
* @param $type
* For modules which provided pattern items in hook_pathauto(),
* the relevant identifier for the specific item to be aliased
@@ -287,21 +296,20 @@ function pathauto_create_alias($module, $op, $placeholders, $src, $entity_id, $t
$old_alias = $update_data['old_alias'];
}

// Replace the placeholders with the values provided by the module,
// and optionally lower-case the result
// Replace the placeholders with the values provided by the module.
$alias = str_replace($placeholders['tokens'], $placeholders['values'], $pattern);

if (variable_get('pathauto_case', 1)) {
$alias = drupal_strtolower($alias);
}

// Two or more slashes should be collapsed into one
$alias = preg_replace('/\/+/', '/', $alias);

// Trim any leading or trailing slashes
$alias = preg_replace('/^\/|\/+$/', '', $alias);

$maxlength = min(variable_get('pathauto_max_length', 100), 128);
// Clean the alias.
$alias = pathauto_clean_alias($alias);

// Enforce the maximum length.
$maxlength = min(variable_get('pathauto_max_length', 100), _pathauto_get_schema_alias_maxlength());
$alias = drupal_substr($alias, 0, $maxlength);

// If the alias already exists, generate a new, hopefully unique, variant
@@ -373,6 +381,10 @@ function _pathauto_path_is_callback($path) {
* The internal path.
* @param $dst
* The visible externally used path.
* @param $entity_type
* The entity type (node, user, etc.).
* @param $entity_id
* The entity ID (node ID, user ID, etc.).
* @param $pid
* If the item is currently aliased, the pid for that item.
* @param $verbose
@@ -405,7 +417,7 @@ function _pathauto_set_alias($src, $dst, $entity_type, $entity_id, $pid = NULL,
if (variable_get('pathauto_update_action', 2) == 3 && function_exists('path_redirect_save')) {
if (!empty($old_alias)) {
$redirect = array(
'path' => $old_alias,
'source' => $old_alias,
'redirect' => $src,
);
path_redirect_save($redirect);
@@ -516,3 +528,18 @@ function pathauto_punctuation_chars() {

return $punctuation;
}

/**
* Fetch the maximum length of the {url_alias}.dst field from the schema.
*
* @return
* An integer of the maximum url alias length allowed by the database.
*/
function _pathauto_get_schema_alias_maxlength() {
static $maxlength;
if (!isset($maxlength)) {
$schema = drupal_get_schema('url_alias');
$maxlength = $schema['fields']['dst']['length'];
}
return $maxlength;
}

+ 3
- 3
sites/all/modules/pathauto/pathauto.info View File

@@ -6,9 +6,9 @@ dependencies[] = token
suggests[] = path_redirect
core = 6.x

; Information added by drupal.org packaging script on 2009-10-21
version = "6.x-1.2"
; Information added by drupal.org packaging script on 2010-02-27
version = "6.x-1.3"
core = "6.x"
project = "pathauto"
datestamp = "1256137878"
datestamp = "1267299906"


+ 18
- 1
sites/all/modules/pathauto/pathauto.js View File

@@ -1,4 +1,4 @@
// $Id: pathauto.js,v 1.4.2.1 2009/04/18 17:10:10 freso Exp $
// $Id: pathauto.js,v 1.4.2.2 2010/02/10 21:50:30 greggles Exp $
if (Drupal.jsEnabled) {
$(document).ready(function() {
if ($("#edit-pathauto-perform-alias").size() && $("#edit-pathauto-perform-alias").attr("checked")) {
@@ -20,4 +20,21 @@ if (Drupal.jsEnabled) {
}
});
});

Drupal.verticalTabs = Drupal.verticalTabs || {};

Drupal.verticalTabs.path = function() {
var path = $('#edit-path').val();
var automatic = $('#edit-pathauto-perform-alias').attr('checked');

if (automatic) {
return Drupal.t('Automatic alias');
}
if (path) {
return Drupal.t('Alias: @alias', { '@alias': path });
}
else {
return Drupal.t('No alias');
}
}
}

+ 58
- 63
sites/all/modules/pathauto/pathauto.module View File

@@ -1,5 +1,5 @@
<?php
// $Id: pathauto.module,v 1.118.2.6 2009/10/17 17:45:53 greggles Exp $
// $Id: pathauto.module,v 1.118.2.19 2010/02/19 23:11:29 davereid Exp $

/**
* @defgroup pathauto Pathauto: Automatically generates aliases for content
@@ -98,20 +98,13 @@ function pathauto_token_values($type, $object = NULL) {
// Get the bookpathalias token
$values['bookpathalias'] = '';
// We're on a node and it's a book and it has a parent? Get the book path alias.
if (module_exists('book') && !empty($object->book['menu_name'])) {
for ($i = 1; $i < 10; $i++) {
$second_child = $i + 2;
if ($object->book["p$second_child"] === 0) {
$parent_node = db_result(db_query('SELECT link_path FROM {menu_links} WHERE mlid = %d', $object->book["p$i"]));
break;
}
}
$values['bookpathalias'] = drupal_get_path_alias($parent_node);
if (module_exists('book') && !empty($object->book['plid']) && $parent = book_link_load($object->book['plid'])) {
$values['bookpathalias'] = drupal_get_path_alias($parent['href']);
}

// Get taxonomy related data.
$vid = db_result(db_query_range("SELECT t.vid FROM {term_node} r INNER JOIN {term_data} t ON r.tid = t.tid INNER JOIN {vocabulary} v ON t.vid = v.vid WHERE r.vid = %d ORDER BY v.weight, t.weight, t.name", $object->vid, 0, 1));
$category = db_fetch_object(db_query_range("SELECT t.tid, t.name FROM {term_data} t INNER JOIN {term_node} r ON r.tid = t.tid WHERE t.vid = %d AND r.nid = %d ORDER BY weight", $vid, $object->nid, 0, 1));
$category = db_fetch_object(db_query_range("SELECT t.tid, t.name FROM {term_data} t INNER JOIN {term_node} r ON r.tid = t.tid WHERE t.vid = %d AND r.nid = %d ORDER BY t.weight", $vid, $object->nid, 0, 1));
$category->vid = $vid;
// In the realm of nodes these are terms, in the realm of Taxonomy, cats
$label = 'term';
@@ -131,13 +124,14 @@ function pathauto_token_values($type, $object = NULL) {
$catpath = '';
$catpath_raw = '';
foreach ($parents as $parent) {
// Replace any / characters in individual terms which might create confusing URLs
$catpath = pathauto_cleanstring(check_plain(preg_replace('/\//', '', $parent->name))) .'/'. $catpath;
$catpath_raw = pathauto_cleanstring(preg_replace('/\//', '', $parent->name)) .'/'. $catpath_raw;
$catpath = pathauto_cleanstring(check_plain($parent->name)) .'/'. $catpath;
$catpath_raw = pathauto_cleanstring($parent->name) .'/'. $catpath_raw;
}
$values[$label .'path'] = $catpath .'/'. check_plain($category->name);
$values[$label .'path-raw'] = $catpath_raw .'/'. $category->name;
$values[$label .'alias'] = drupal_get_path_alias('taxonomy/term/'. $category->tid);
$values[$label .'path'] = $catpath . pathauto_cleanstring(check_plain($category->name));
$values[$label .'path-raw'] = $catpath_raw . pathauto_cleanstring($category->name);

$term = taxonomy_get_term($category->tid);
$values[$label .'alias'] = drupal_get_path_alias(taxonomy_term_path($term));
if (!strncasecmp($values[$label .'alias'], 'taxonomy', 8)) {
$values[$label .'alias'] = check_plain($category->name);
}
@@ -191,7 +185,7 @@ function pathauto_path_alias_types() {
if (module_exists('taxonomy')) {
$objects['taxonomy/'] = t('vocabularies and terms');
}
if (module_exists('taxonomy')) {
if (module_exists('tracker')) {
$objects['user/%/track'] = t('user trackers');
}
if (module_exists('forum')) {
@@ -207,51 +201,49 @@ function pathauto_path_alias_types() {
* Implementation of hook_nodeapi().
*/
function pathauto_nodeapi(&$node, $op, $teaser, $page) {
if (module_exists('path')) {
switch ($op) {
case 'presave':
// About to be saved (before insert/update)
if (!empty($node->pathauto_perform_alias) && isset($node->old_alias)
&& $node->path == '' && $node->old_alias != '') {
/**
* There was an old alias, but when pathauto_perform_alias was checked
* the javascript disabled the textbox which led to an empty value being
* submitted. Restoring the old path-value here prevents the Path module
* from deleting any old alias before Pathauto gets control.
*/
$node->path = $node->old_alias;
}
break;
case 'insert':
case 'update':
_pathauto_include();
// Get the specific pattern or the default
if (variable_get('language_content_type_'. $node->type, 0)) {
$pattern = trim(variable_get('pathauto_node_'. $node->type .'_'. $node->language .'_pattern', FALSE));
}
switch ($op) {
case 'presave':
// About to be saved (before insert/update)
if (!empty($node->pathauto_perform_alias) && isset($node->old_alias)
&& $node->path == '' && $node->old_alias != '') {
/**
* There was an old alias, but when pathauto_perform_alias was checked
* the javascript disabled the textbox which led to an empty value being
* submitted. Restoring the old path-value here prevents the Path module
* from deleting any old alias before Pathauto gets control.
*/
$node->path = $node->old_alias;
}
break;
case 'insert':
case 'update':
_pathauto_include();
// Get the specific pattern or the default
if (variable_get('language_content_type_'. $node->type, 0)) {
$pattern = trim(variable_get('pathauto_node_'. $node->type .'_'. $node->language .'_pattern', FALSE));
}
if (empty($pattern)) {
$pattern = trim(variable_get('pathauto_node_'. $node->type .'_pattern', FALSE));
if (empty($pattern)) {
$pattern = trim(variable_get('pathauto_node_'. $node->type .'_pattern', FALSE));
if (empty($pattern)) {
$pattern = trim(variable_get('pathauto_node_pattern', FALSE));
}
$pattern = trim(variable_get('pathauto_node_pattern', FALSE));
}
// Only do work if there's a pattern
if ($pattern) {
// Only create an alias if the checkbox was not provided or if the checkbox was provided and is checked
if (!isset($node->pathauto_perform_alias) || $node->pathauto_perform_alias) {
$placeholders = pathauto_get_placeholders('node', $node);
$src = "node/$node->nid";
$alias = pathauto_create_alias('node', $op, $placeholders, $src, $node->nid, $node->type, $node->language);
}
}
// Only do work if there's a pattern
if ($pattern) {
// Only create an alias if the checkbox was not provided or if the checkbox was provided and is checked
if (!isset($node->pathauto_perform_alias) || $node->pathauto_perform_alias) {
$placeholders = pathauto_get_placeholders('node', $node);
$src = "node/$node->nid";
$alias = pathauto_create_alias('node', $op, $placeholders, $src, $node->nid, $node->type, $node->language);
}
break;
case 'delete':
path_set_alias('node/'. $node->nid);
path_set_alias('node/'. $node->nid .'/feed');
break;
default:
break;
}
}
break;
case 'delete':
path_set_alias('node/'. $node->nid);
path_set_alias('node/'. $node->nid .'/feed');
break;
default:
break;
}
}

@@ -283,7 +275,7 @@ function pathauto_form_alter(&$form, $form_state, $form_id) {
// If there is a pattern, show the automatic alias checkbox.
if ($pattern) {
if (!isset($node->pathauto_perform_alias)) {
if (isset($node->nid)) {
if (!empty($node->nid)) {
// If this is not a new node, compare it's current alias to the
// alias that would be genereted by pathauto. If they are the same,
// then keep the automatic alias enabled.
@@ -302,6 +294,9 @@ function pathauto_form_alter(&$form, $form_state, $form_id) {
// alias checkbox is checked.
drupal_add_js(drupal_get_path('module', 'pathauto') .'/pathauto.js');

// Override path.module's vertical tabs summary.
$form['path']['#attached']['js']['vertical-tabs'] = drupal_get_path('module', 'pathauto') . '/pathauto.js';

$form['path']['pathauto_perform_alias'] = array(
'#type' => 'checkbox',
'#title' => t('Automatic alias'),
@@ -354,7 +349,7 @@ function pathauto_node_operations_update($nodes) {
foreach ($nodes as $nid) {
$node = node_load($nid);
$placeholders = pathauto_get_placeholders('node', $node);
pathauto_create_alias('node', 'bulkupdate', $placeholders, "node/$node->nid", $node->nid, $node->type);
pathauto_create_alias('node', 'bulkupdate', $placeholders, "node/$node->nid", $node->nid, $node->type, $node->language);
}
}

@@ -424,7 +419,7 @@ function pathauto_user($op, &$edit, &$user, $category = FALSE) {
$new_user->roles = isset($edit['roles']) ? $edit['roles'] : array();
$new_user->roles[DRUPAL_AUTHENTICATED_RID] = 'authenticated user'; // Add this back
}
if (user_access('create blog entries', $new_user)) {
if (node_access('create', 'blog', $new_user)) {
$src = 'blog/'. $user->uid;
$alias = pathauto_create_alias('blog', $op, $placeholders, $src, $user->uid);
}

+ 131
- 49
sites/all/modules/pathauto/tests/pathauto.test View File

@@ -1,5 +1,5 @@
<?php
// $Id: pathauto.test,v 1.2.2.2 2009/05/02 20:12:03 freso Exp $
// $Id: pathauto.test,v 1.2.2.6 2010/02/20 03:05:17 davereid Exp $

/**
* @file
@@ -9,81 +9,163 @@
*/

/**
* @todo
* Implements hook_simpletest_alter().
*/
class PathautoTestCase extends DrupalWebTestCase {
private $web_user;
private $content_type;

/**
* Implementation of getInfo().
*/
function getInfo() {
function pathauto_simpletest_alter(&$groups) {
// Enforce dependency on token for all pathauto tests.
if (!drupal_get_filename('module', 'token')) {
unset($groups['Pathauto']);
}
}
/**
* Unit tests for Pathauto functions.
*/
class PathautoUnitTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Pathauto basic tests'),
'description' => t('Test basic pathauto functionality.'),
'name' => 'Pathauto unit tests',
'description' => 'Unit tests for Pathauto functions.',
'group' => 'Pathauto',
);
}

function setUp() {
parent::setUp('path', 'token', 'pathauto');
module_load_include('inc', 'pathauto');
}

/**
* Implementation of setUp().
* Test _pathauto_get_schema_alias_maxlength().
*/
function testGetSchemaAliasMaxLength() {
$this->assertIdentical(_pathauto_get_schema_alias_maxlength(), 128);
}
}

/**
* Helper test class with some added functions for testing.
*/
class PathautoTestHelper extends DrupalWebTestCase {
protected $admin_user;

function setUp() {
parent::setUp('path', 'token', 'pathauto');
// Call parent::setUp() allowing test cases to pass further modules.
$modules = func_get_args();
$modules = array_merge(array('path', 'token', 'pathauto'), $modules);
call_user_func_array(array('parent', 'setUp'), $modules);

$this->content_type = $this->drupalCreateContentType();
$this->web_user = $this->drupalCreateUser(array(
// Set pathauto settings we assume to be as-is in this test.
variable_set('pathauto_node_page_pattern', 'content/[title-raw]');

$this->admin_user = $this->drupalCreateUser(array(
'administer pathauto',
'create '. $this->content_type->type .' content',
'edit own '. $this->content_type->type .' content',
'create page content',
'edit own page content',
'administer url aliases',
'create url aliases',
));

// Set pathauto settings we assume to be as-is in this test.
variable_set('pathauto_node_'. $this->content_type->type .'_pattern', 'content/[title-raw]');
variable_set('pathauto_separator', '-');
variable_set('pathauto_case', '1'); // lowercase
variable_set('pathauto_max_length', '100');
variable_set('pathauto_max_component_length', '100');
variable_set('pathauto_punctuation_underscore', '2'); // no action

$this->assertTrue(module_exists('pathauto'), t('Pathauto module is loaded.'));
$this->assertTrue(module_exists('path'), t('Path module is loaded.'));
$this->assertTrue(module_exists('token'), t('Token module is loaded.'));
$this->drupalLogin($this->admin_user);
}

function assertNodeAlias(stdClass $node, $expected_alias) {
$alias = drupal_get_path_alias('node/' . $node->nid);
$this->assertEqual($alias, $expected_alias);
}
}

/**
* Test basic pathauto functionality.
*/
class PathautoFunctionalTestCase extends PathautoTestHelper {
public static function getInfo() {
return array(
'name' => 'Pathauto basic tests',
'description' => 'Test basic pathauto functionality.',
'group' => 'Pathauto',
);
}

/**
* Basic functional testing of Pathauto.
*/
function testPathautoFunctionalTest() {
$this->drupalLogin($this->web_user);
function testNodeEditing() {
// Create node for testing.
$random_title = $this->randomName(10);
$title = ' Simpletest title ' . $random_title . ' [';
$automatic_alias = 'content/simpletest-title-' . strtolower($random_title);
$node = $this->drupalCreateNode(array('title' => $title, 'type' => 'page'));

$this->drupalGet('admin/build/path/pathauto');
$this->assertRaw(t('General settings'), 'Settings page displayed.', 'Functionality test');
// Look for alias generated in the form.
$this->drupalGet('node/' . $node->nid . '/edit');
$this->assertFieldChecked('edit-pathauto-perform-alias');
$this->assertFieldByName('path', $automatic_alias, 'Proper automated alias generated.');

// Create node for testing.
$random_title = $this->randomName(10); // this contains _
$expected_alias = 'content/simpletest-title-'. strtolower($random_title);
// Check whether the alias actually works.
$this->drupalGet($automatic_alias);
$this->assertText($title, 'Node accessible through automatic alias.');

// Manually set the node's alias.
$manual_alias = 'content/' . $node->nid;
$edit = array(
'title' => 'Simpletest title '. $random_title,
'body' => 'Simpletest body '. $this->randomName(10),
'pathauto_perform_alias' => FALSE,
'path' => $manual_alias,
);
$this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save'));
$this->assertText(t('@type @title has been updated', array('@type' => 'Page', '@title' => $title)));

$this->drupalPost('node/add/'. str_replace('_', '-', $this->content_type->type), $edit, 'Save');
$this->assertRaw(t('@type %title has been created.', array('@type' => $this->content_type->name, '%title' => $edit['title'])), 'Test node submitted.', 'Functionality test');
// Check that the automatic alias checkbox is now unchecked by default.
$this->drupalGet('node/' . $node->nid . '/edit');
$this->assertNoFieldChecked('edit-pathauto-perform-alias');
$this->assertFieldByName('path', $manual_alias);

// Look for alias generated in the form.
$node = node_load(array('title' => $edit['title']));
$this->drupalGet('node/'. $node->nid .'/edit');
// Submit the node form with the default values.
$this->drupalPost(NULL, array(), t('Save'));
$this->assertText(t('@type @title has been updated', array('@type' => 'Page', '@title' => $title)));

$this->assertPattern('!<input[^>]+name="path"[^>]+value="'. $expected_alias .'"!', 'Proper automated alias generated.', 'Functionality test');
// Look for checkbox.
$this->assertPattern('!<input[^>]+name="pathauto_perform_alias"[^>]+checked="checked"!', 'Automated alias turned on.', 'Functionality test');
// Test that the old (automatic) alias has been deleted and only accessible
// through the new (manual) alias.
$this->drupalGet($automatic_alias);
$this->assertResponse(404, 'Node not accessible through automatic alias.');
$this->drupalGet($manual_alias);
$this->assertText($title, 'Node accessible through manual alias.');
}
}

// Check whether the alias actually works.
$this->drupalGet($expected_alias);
$this->assertRaw($edit['title'], 'Node accessible through alias.', 'Functionality test');
/*
* Unit tests for the book tokens provided by Pathauto.
*/
class PathautoBookTokenTestCase extends PathautoTestHelper {
public static function getInfo() {
return array(
'name' => 'Pathauto book tokens',
'description' => 'Unit tests for the book tokens provided by Pathauto.',
'group' => 'Pathauto',
);
}

function setUp() {
parent::setUp('book');
variable_set('book_allowed_types', array('book', 'page'));
}

function testBookPathAlias() {
variable_set('pathauto_node_book_pattern', '[bookpathalias]/[title-raw]');

// Add a root book page.
$parent_node = $this->drupalCreateNode(array('type' => 'book', 'title' => 'Root', 'book' => array('bid' => 'new')));
$this->assertNodeAlias($parent_node, 'root');

// Add a first child page.
$child_node1 = $this->drupalCreateNode(array('type' => 'book', 'title' => 'Sub page1', 'book' => array('bid' => $parent_node->book['bid'], 'plid' => $parent_node->book['mlid'])));
$this->assertNodeAlias($child_node1, 'root/sub-page1');

// Add a second child page.
$child_node2 = $this->drupalCreateNode(array('type' => 'book', 'title' => 'Sub page2', 'book' => array('bid' => $parent_node->book['bid'], 'plid' => $parent_node->book['mlid'])));
$this->assertNodeAlias($child_node2, 'root/sub-page2');

// Add a child page on an existing child page.
$sub_child_node1 = $this->drupalCreateNode(array('type' => 'book', 'title' => 'Sub-sub Page1', 'book' => array('bid' => $parent_node->book['bid'], 'plid' => $child_node1->book['mlid'])));
$this->assertNodeAlias($sub_child_node1, 'root/sub-page1/sub-sub-page1');
}
}

+ 711
- 0
sites/all/modules/pathauto/translations/ar.po View File

@@ -0,0 +1,711 @@
msgid ""
msgstr ""
"Project-Id-Version: ifadah.net\n"
"POT-Creation-Date: 2008-06-24 18:52+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: Abdo <ifadah@hotmail.com>\n"
"Language-Team: Ifadah-Team <ifadah@hotmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=((n==1)?(0):((n==0)?(1):((n==2)?(2):((((n%100)>=3)&&((n%100)<=10))?(3):((((n%100)>=11)&&((n%100)<=99))?(4):5)))));\n"
"X-Poedit-Language: Arabic\n"
"X-Poedit-Country: SYRIAN ARAB REPUBLIC\n"

#: pathauto.admin.inc:22
msgid "It appears that the <a href=\"@token_link\">Token module</a> is not installed. Please ensure that you have it installed so that Pathauto can work properly. You may need to disable Pathauto and re-enable it to get Token enabled."
msgstr "يبدو أن <a href=\"@token_link\">وحدة Token </a> غير منصبة. رجاءاص تأكد من تنصيبها حتى يمكن تشغيل Pathauto بشكل مناسب. ربما عليك تعطيل وحدة Pathauto مؤقتاً ثم تفعلها حتى تقبل تفعيل وحدة Token"

#: pathauto.admin.inc:38
msgid "General settings"
msgstr "إعدادات عامة"

#: pathauto.admin.inc:46
msgid "Verbose"
msgstr "التفصيل"

#: pathauto.admin.inc:48
msgid "Display alias changes (except during bulk updates)."
msgstr "تعرض تغييرات البدائل (إلا في خلال التحديثات التراكمية)"

#: pathauto.admin.inc:53
msgid "Separator"
msgstr "الفاصل"

#: pathauto.admin.inc:57
msgid "Character used to separate words in titles. This will replace any spaces and punctuation characters. Using a space or + character can cause unexpected results."
msgstr "رمز يستعمل لفصل الكلمات في العناوين. سيحل محل أي فراغ أو علامات ترقيمية. إستخدام الفراغ أو الرمز + يمكن أن يسبب نتائج غير متوقعة."

#: pathauto.admin.inc:62
msgid "Character case"
msgstr "حالة الحرف"

#: pathauto.admin.inc:64
msgid "Leave case the same as source token values."
msgstr "أترك الحالة كما هي في القيم المصدر."

#: pathauto.admin.inc:64
msgid "Change to lower case"
msgstr "تغيير إلى أحرف صغيرة"

#: pathauto.admin.inc:69
msgid "Maximum alias length"
msgstr "الطول الأقصى للبديل"

#: pathauto.admin.inc:73
msgid "Maximum length of aliases to generate. 100 is recommended. See <a href=\"@pathauto-help\">Pathauto help</a> for details."
msgstr "الطول الأقصى للبدائل التي ستولد. 100 مستحسن. للتفاصيل طالع <a href=\"@pathauto-help\">Pathauto مساعدة لـ</a>."

#: pathauto.admin.inc:78
msgid "Maximum component length"
msgstr "الطول الأقصى للمكون"

#: pathauto.admin.inc:82
msgid "Maximum text length of any component in the alias (e.g., [title]). 100 is recommended. See <a href=\"@pathauto-help\">Pathauto help</a> for details."
msgstr "طول النص الأقصى لأي مكون في البدائل(أي[title]) .100 مستحسن. للتفاصيل طالع <a href=\"@pathauto-help\">Pathauto مساعدة لـ</a>."

#: pathauto.admin.inc:87
msgid "Maximum number of objects to alias in a bulk update"
msgstr "العدد الأقصى للعناصر التي ستبدل في التحديث التراكمي"

#: pathauto.admin.inc:91
msgid "Maximum number of objects of a given type which should be aliased during a bulk update. The default is 50 and the recommended number depends on the speed of your server. If bulk updates \"time out\" or result in a \"white screen\" then reduce the number."
msgstr "العدد الأقصى لعناصر النوع المعطى والتي يجب أن تكون مستبدلة خلال التحديث التراكمي. الضبط الإفتراضي هو 50 والرقم المستحسن يعتمد على سرعة السيرفر عندك. إذا واجهت التحديثات التراكمية \"time out\" أو نتيجة في \"white screen\" عندها قم بتقليص العدد"

#: pathauto.admin.inc:95
msgid "Do nothing. Leave the old alias intact."
msgstr "لاشيء. أترك البديل القديم على حاله."

#: pathauto.admin.inc:96
msgid "Create a new alias. Leave the existing alias functioning."
msgstr "إنشاء بديل جديد. أترك تشغيل البديل الحالي."

#: pathauto.admin.inc:97
msgid "Create a new alias. Delete the old alias."
msgstr "إنشاء بديل جديد. حذف البديل القديم."

#: pathauto.admin.inc:100
msgid "Create a new alias. Redirect from old alias."
msgstr "إنشاء بديل جديد. إعادة توجيه من البديل القديم."

#: pathauto.admin.inc:110
msgid "Update action"
msgstr "إجراء التحديث"

#: pathauto.admin.inc:113
msgid "What should pathauto do when updating an existing content item which already has an alias?"
msgstr "ماذا يجب أن تفعل pathauto عند تحديث محتوى موجود والذي له بديل؟"

#: pathauto.admin.inc:118
msgid "When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is determined by the i18n-ascii.txt file in the Pathauto directory. <strong>This option is disabled on your site because you do not have an i18n-ascii.txt file in the Pathauto directory.</strong>"
msgstr "عندما يتضمن النموذج رموز معينة (كما في العلامات النطقية) هل يجب على Pathauto إستبدالهم كحروف ASCII-96 ؟ هذا الإستبدال محدد في الملف i18n-ascii.txt في دليل Pathauto .<strong>هذا الخيار معطل بسبب عدم وجود الملف i18n-ascii.txt في دليل Pathauto.</strong>"

#: pathauto.admin.inc:121
msgid "When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is determined by the i18n-ascii.txt file in the Pathauto directory."
msgstr "عندما يتضمن النموذج رموز معينة (كما في العلامات النطقية) هل يجب على Pathauto إستبدالهم كحروف ASCII-96 ؟ هذا الإستبدال محدد في الملف i18n-ascii.txt في دليل Pathauto."

#: pathauto.admin.inc:129
msgid "Transliterate prior to creating alias"
msgstr "إستبدال قبل إنشاء البديل"

#: pathauto.admin.inc:136
msgid "Reduce strings to letters and numbers from ASCII-96"
msgstr "تقليص المقاطع إلى حروف وأرقام من ASCII-96"

#: pathauto.admin.inc:138
msgid "Filters the new alias to only letters and numbers found in the ASCII-96 set."
msgstr "تفلتر البديل الجديد إلى فقط أرقام وحروف الموجودة في ضبط الـ ASCII-96 "

#: pathauto.admin.inc:143
msgid "Strings to Remove"
msgstr "المقاطع المطلوب حذفها"

#: pathauto.admin.inc:144
msgid "Words to strip out of the URL alias, separated by commas. Do not place punctuation in here and do not use WYSIWYG editors on this field."
msgstr "الكلمات التي ستنتزع من المسار البديل, مفصول بينها بفاصلة ثم فراغ. لا تضع علامات ترقيم هنا ولا تستخدم المحرر WYSIWYG في هذا الحقل."

#: pathauto.admin.inc:150
msgid "Punctuation settings"
msgstr "إعدادات علامات الترقيم"

#: pathauto.admin.inc:161
msgid "Remove"
msgstr "حذف"

#: pathauto.admin.inc:161
msgid "Replace by separator"
msgstr "إستبدال بفاصل"

#: pathauto.admin.inc:161
msgid "No action (do not replace)"
msgstr "لا إجراء (لا تبدل)"

#: pathauto.admin.inc:239
msgid "Replacement patterns"
msgstr "نماذج المتغيرات"

#: pathauto.admin.inc:243
msgid "Use -raw replacements for text to avoid problems with HTML entities."
msgstr "إستخدم -التبديل الصرف للنصوص لتفادي أي مشاكل مع ترميز HTML."

#: pathauto.admin.inc:276
msgid "Internal feed alias text (leave blank to disable)"
msgstr "نص بديل للتلقيم الداخلي (أتركه فارغاً للتعطيل)"

#: pathauto.admin.inc:280
msgid "The text to use for aliases for RSS feeds. Examples are \"feed\" and \"0/feed\"."
msgstr "النص الذي سيستخدم للبدائل لتلقيمات RSS . مثال \"feed\" أو \"0/feed\""

#: pathauto.admin.inc:335
msgid "You are using the token [%token] which is not valid within the scope of tokens where you are using it."
msgstr "أنت تستخدم العلامة [%token] وهي غير صالحة ضمن نطاق علامات المكان الذي تستخدمها فيه. "

#: pathauto.admin.inc:343
msgid "You are using the token [%token] which has a -raw companion available [%raw_token]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the <a href=\"@pathauto-help\">Pathauto help</a> for more details."
msgstr "أنت تستخدم العلامة [%token] والتي يتوفر لها قرين -صرف [%raw_token]. لنماذج Pathauto عليك إستخدام النسخة -الصرف من العلامات إلا في حال كنت فعلاً تعرف ماتفعل. لمزيد من التفصيل راجع <a href=\"@pathauto-help\">Pathauto مساعدة لـ</a>"

#: pathauto.admin.inc:353
msgid "NOTE: This field contains potentially incorrect patterns. "
msgstr "ملاحظة: هذا الحقل ربما يحتوي نموذج غير صحيح."

#: pathauto.admin.inc:355
msgid "%problems"
msgstr "%problems"

#: pathauto.admin.inc:374
msgid "You have configured the @name to be the separator and to be removed when encountered in strings. This can cause problems with your patterns and especially with the catpath and termpath patterns. You should probably set the action for @name to be \"replace by separator\""
msgstr "لقد قمت بضبط @name ليكون فاصل وليُحذف في حال التعارض في المقاطع, قد يسبب هذا مشاكل في النماذج خصوصاً في نماذج مسار مفردة و catpath. يجب عليك ضبط الإجراء لـ @name ليكون \"إستبدل بفاصل\""

#: pathauto.admin.inc:399
msgid "Choose Aliases to Delete"
msgstr "إختر بدائل ليتم حذفها"

#: pathauto.admin.inc:408
msgid "all aliases"
msgstr "كل البدائل"

#: pathauto.admin.inc:410
msgid "Delete all aliases. Number of aliases which will be deleted: %count."
msgstr "حذف كل البدائل. العدد الذي سيحذف هو: %count."

#: pathauto.admin.inc:421
msgid "Delete aliases for all @label. Number of aliases which will be deleted: %count."
msgstr "حذف البدائل لجميع @label. العدد الذي سيحذف هو: %count."

#: pathauto.admin.inc:426
msgid "<p><strong>Note:</strong> there is no confirmation. Be sure of your action before clicking the \"Delete aliases now!\" button.<br />You may want to make a backup of the database and/or the url_alias table prior to using this feature.</p>"
msgstr "<p><strong>ملاحظة:</strong>لايوجد تأكيد الرجاء تأكد مما تقوم به قبل الضغط على زر \"حذف البدائل الآن!\" ."

#: pathauto.admin.inc:429
msgid "Delete aliases now!"
msgstr "حذف البدائل الآن!"

#: pathauto.admin.inc:443
msgid "All of your path aliases have been deleted."
msgstr "تم حذف كل المسارات البديلة "

#: pathauto.admin.inc:448
msgid "All of your %type path aliases have been deleted."
msgstr "تم حذف كل المسارات البديلة لـ %type"

#: pathauto.admin.inc:287
msgid "Bulk generation of index aliases completed, one alias generated."
msgid_plural "Bulk generation of index aliases completed, @count aliases generated."
msgstr[0] "التوليد التراكمي للبدائل الفهرس قد إكتمل,بديل واحد مولد."
msgstr[1] "التوليد التراكمي للبدائل الفهرس قد إكتمل, @count بديل مولد"
msgstr[2] "التوليد التراكمي للبدائل الفهرس قد إكتمل, @count بديل مولد"
msgstr[3] "التوليد التراكمي للبدائل الفهرس قد إكتمل, @count بدائل مولدة"
msgstr[4] "التوليد التراكمي للبدائل الفهرس قد إكتمل, @count بديل مولد"
msgstr[5] "التوليد التراكمي لفهرس البدائل قد إكتمل, @count بديل مولد"

#: pathauto.admin.inc:354
msgid "Problem token: "
msgid_plural "Problem tokens: "
msgstr[0] "العلامة المشكلة:"
msgstr[1] "العلامة المشكلة:"
msgstr[2] "العلامات المشكلة:"
msgstr[3] "العلامات المشكلة:"
msgstr[4] "العلامات المشكلة:"
msgstr[5] "العلامات المشكلة:"

#: pathauto.inc:315
msgid "The automatically generated alias %original_alias conflicted with an existing alias. Alias changed to %alias."
msgstr "البديل المولد آلياً %original_alias تعارض مع بديل موجدود. وتم تغيره إلى %alias."

#: pathauto.inc:381
msgid "Ignoring alias %dst due to existing path conflict."
msgstr "تجاهل بديل %dst بسبب التعارض مع مسار موجود."

#: pathauto.inc:388
msgid "Ignoring alias %dst because it is the same as the internal path."
msgstr "تجاهل بديل %dst بسبب أنه نفس المسار الداخلي"

#: pathauto.inc:408
msgid "Created new alias %dst for %src, replacing %old_alias. %old_alias now redirects to %dst"
msgstr "أُنشئ بديل جديد %dst لـ %src, استبدال %old_alias. الـ %old_alias يعيد التوجيه الآن إلى %dst"

#: pathauto.inc:411
msgid "Created new alias %dst for %src, replacing %old_alias"
msgstr "أُنشئ بديل جديد %dst لـ %src, استبدال %old_alias"

#: pathauto.inc:414
msgid "Created new alias %dst for %src"
msgstr "تم إنشاء بديل جديد %dst لـ %src"

#: pathauto.inc:477
msgid "Double quotes \""
msgstr "علامة الإقتباس \""

#: pathauto.inc:478
msgid "Single quotes (apostrophe) '"
msgstr "فاصلة عليا '"

#: pathauto.inc:479
msgid "Back tick `"
msgstr "علامة الملكية `"

#: pathauto.inc:480
msgid "Comma ,"
msgstr "فاصلة ,"

#: pathauto.inc:481
msgid "Period ."
msgstr "نقطة ."

#: pathauto.inc:482
msgid "Hyphen -"
msgstr "خط فاصل -"

#: pathauto.inc:483
msgid "Underscore _"
msgstr "خط فاصل سفلي _"

#: pathauto.inc:484
msgid "Colon :"
msgstr "النقطتان :"

#: pathauto.inc:485
msgid "Semicolon ;"
msgstr "فاصلة منقوطة ;"

#: pathauto.inc:486
msgid "Pipe |"
msgstr "العلامة |"

#: pathauto.inc:487
msgid "Left curly bracket {"
msgstr "الحاصرة اليسرى {"

#: pathauto.inc:488
msgid "Left square bracket ["
msgstr "القوس المعقوف الأيسر ["

#: pathauto.inc:489
msgid "Right curly bracket }"
msgstr "الحاصرة اليمنى }"

#: pathauto.inc:490
msgid "Right square bracket ]"
msgstr "القوس المعقوف الأيمن ]"

#: pathauto.inc:491
msgid "Plus +"
msgstr "الزائد +"

#: pathauto.inc:492
msgid "Equal ="
msgstr "علامة التساوي ="

#: pathauto.inc:493
msgid "Asterisk *"
msgstr "النجمة *"

#: pathauto.inc:494
msgid "Ampersand &"
msgstr "علامة الواو &"

#: pathauto.inc:495
msgid "Percent %"
msgstr "علامة النسبة المئوية %"

#: pathauto.inc:496
msgid "Caret ^"
msgstr "علمة الإقحام ^"

#: pathauto.inc:497
msgid "Dollar $"
msgstr "علامة الدولار $"

#: pathauto.inc:498
msgid "Hash #"
msgstr "علامة #"

#: pathauto.inc:499
msgid "At @"
msgstr "علامة @"

#: pathauto.inc:500
msgid "Exclamation !"
msgstr "علامة التعجب !"

#: pathauto.inc:501
msgid "Tilde ~"
msgstr "الخط المتموج ~"

#: pathauto.inc:502
msgid "Left parenthesis ("
msgstr "القوس الأيسر ("

#: pathauto.inc:503
msgid "right parenthesis )"
msgstr "القوس الأيمن )"

#: pathauto.inc:504
msgid "Question mark ?"
msgstr "علامة الإستفهام ?"

#: pathauto.inc:505
msgid "Less than <"
msgstr "أصغر من <"

#: pathauto.inc:506
msgid "Greater than >"
msgstr "أكبر من >"

#: pathauto.inc:507
msgid "Back slash \\"
msgstr "الخطين المائلين \\"

#: pathauto.inc:437
#: pathauto.info:0
msgid "Pathauto"
msgstr "Pathauto"

#: pathauto.inc:437
msgid "It appears that you have installed Pathauto, which depends on token, but token is either not installed or not installed properly."
msgstr "يبدو أنك قمت بتنصيب Pathauto والتي تعتمد على token لكن هذه الأخيرة إما غير منصبة أو لاتعمل بشكل جيد.."

#: pathauto_node.inc:20
msgid "Node path settings"
msgstr "إعدادات مسار العقدة"

#: pathauto_node.inc:21
msgid "Default path pattern (applies to all node types with blank patterns below)"
msgstr "النموذج الإفتراضي للمسار (يقبل لكل أنواع العقد ذات نماذج فارغة في الأسفل)"

#: pathauto_node.inc:22
msgid "content/[title-raw]"
msgstr "محتوى/[title-raw]"

#: pathauto_node.inc:23
msgid "Bulk generate aliases for nodes that are not aliased"
msgstr "توليد تراكمي لبدائل للعقد الغير مبدلة"

#: pathauto_node.inc:24
msgid "Generate aliases for all existing nodes which do not already have aliases."
msgstr "توليد بدائل لكل العقد الموجودة التي ليس لها بدائل."

#: pathauto_node.inc:37;79
msgid "Language neutral"
msgstr "اللغة محايدة"

#: pathauto_node.inc:44
msgid "Default path pattern for @node_type (applies to all @node_type node types with blank patterns below)"
msgstr "النموذج الإفتراضي للمسار لـ @node_type (يقبل لكل انواع عقد الـ @node_type التي لها حقل نموذج فارغ في الأسفل)"

#: pathauto_node.inc:47
msgid "Pattern for all @node_type paths in @language"
msgstr "نموذج مسارات لكل @node_type باللغة @language"

#: pathauto_node.inc:50
msgid "Pattern for all language neutral @node_type paths"
msgstr "نموذج مسارات لكل @node_type باللغة محايدة"

#: pathauto_node.inc:55
msgid "Pattern for all @node_type paths"
msgstr "نموذج مسارات لكل @node_type"

#: pathauto_node.inc:121
msgid "Bulk generation of nodes completed, one alias generated."
msgid_plural "Bulk generation of nodes completed, @count aliases generated."
msgstr[0] "إكتمل التوليد التراكمي للعقد, بديل واحد مولد."
msgstr[1] "إكتمل التوليد التراكمي للعقد , لابدائل مولدة."
msgstr[2] "إكتمل التوليد التراكمي للعقد, @count بديل مولد."
msgstr[3] "إكتمل التوليد التراكمي للعقد, @count بدائل مولدة."
msgstr[4] "إكتمل التوليد التراكمي للعقد, @count بديل مولد."
msgstr[5] "إكتمل التوليد التراكمي للعقد, @count بديل مولد."

#: pathauto_taxonomy.inc:20
msgid "Taxonomy term path settings"
msgstr "إعدادات مسار مفردة التصنيف"

#: pathauto_taxonomy.inc:21
msgid "Default path pattern (applies to all vocabularies with blank patterns below)"
msgstr "النموذج الإفتراضي للمسار (يقبل لكل المعاجم ذات نماذج فارغة في الأسفل)"

#: pathauto_taxonomy.inc:22
msgid "category/[vocab-raw]/[catpath-raw]"
msgstr "فئة/[vocab-raw]/[catpath-raw]"

#: pathauto_taxonomy.inc:32
msgid "Bulk generate aliases for terms that are not aliased"
msgstr "توليد تراكمي لبدائل للمفردات الغير مبدلة"

#: pathauto_taxonomy.inc:33
msgid "Generate aliases for all existing terms which do not already have aliases."
msgstr "توليد بدائل لكل المفردات الموجودة التي ليس لها بدائل."

#: pathauto_taxonomy.inc:42
msgid "Pattern for all %vocab-name paths"
msgstr "نموذج مسارات لكل %vocab-name "

#: pathauto_taxonomy.inc:134
msgid "Forum path settings"
msgstr "إعدادات مسار المنتدى"

#: pathauto_taxonomy.inc:135
msgid "Pattern for forums and forum containers"
msgstr "نموذج للمنتديات وحاويات المنتديات"

#: pathauto_taxonomy.inc:136
msgid "[vocab-raw]/[catpath-raw]"
msgstr "[vocab-raw]/[catpath-raw]"

#: pathauto_taxonomy.inc:146
msgid "Bulk generate forum paths"
msgstr "توليد تراكمي لمسارات المنتديات"

#: pathauto_taxonomy.inc:147
msgid "Generate aliases for all existing forums and forum containers which do not already have aliases."
msgstr "توليد بدائل لكل المنتديات والحاويات الموجودة التي ليس لها بدائل."

#: pathauto_taxonomy.inc:92
msgid "Bulk generation of terms completed, one alias generated."
msgid_plural "Bulk generation of terms completed, @count aliases generated."
msgstr[0] "إكتمل التوليد التراكمي للمفردات, بديل واحد مولد."
msgstr[1] "إكتمل التوليد التراكمي للمفردات , لابدائل مولدة."
msgstr[2] "إكتمل التوليد التراكمي للمفردات , @count بديل مولد"
msgstr[3] "إكتمل التوليد التراكمي للمفردات, @count بدائل مولدة."
msgstr[4] "إكتمل التوليد التراكمي للمفردات, @count بديل مولد."
msgstr[5] "إكتمل التوليد التراكمي للمفردات, @count بديل مولد."

#: pathauto_taxonomy.inc:168
msgid "Bulk update of forums and forum containers completed, one alias generated."
msgid_plural "Bulk update of forums and forum containers completed, @count aliases generated."
msgstr[0] "إكتمل التحديث التراكمي للمنتديات والحاويات, بديل واحد مولد."
msgstr[1] "إكتمل التحديث التراكمي للمنتديات والحاويات, لابدائل مولدة."
msgstr[2] "إكتمل التحديث التراكمي للمنتديات والحاويات, @count بديل مولد.."
msgstr[3] "إكتمل التحديث التراكمي للمنتديات والحاويات, @count بدائل مولدة.."
msgstr[4] "إكتمل التحديث التراكمي للمنتديات والحاويات, @count بديل مولد.."
msgstr[5] "إكتمل التحديث التراكمي للمنتديات والحاويات, @count بديل مولد.."

#: pathauto_user.inc:20
msgid "User path settings"
msgstr "إعدادات مسار العضو"

#: pathauto_user.inc:21
msgid "Pattern for user account page paths"
msgstr "نموذج لمسارات صفحة حساب العضو"

#: pathauto_user.inc:22
msgid "users/[user-raw]"
msgstr "أعضاء/[user-raw]"

#: pathauto_user.inc:32
msgid "Bulk generate aliases for users that are not aliased"
msgstr "توليد تراكمي لبدائل للأعضاء الغير مبدلة"

#: pathauto_user.inc:33
msgid "Generate aliases for all existing user account pages which do not already have aliases."
msgstr "توليد بدائل لكل صفحات حسابات الأعضاء الموجودة التي ليس لها بدائل."

#: pathauto_user.inc:49
msgid "Blog path settings"
msgstr "إعدادات مسار المدونة"

#: pathauto_user.inc:50
msgid "Pattern for blog page paths"
msgstr "نموذج مسار لصفحات المدونات"

#: pathauto_user.inc:51
msgid "blogs/[user-raw]"
msgstr "مدونات/[user-raw]"

#: pathauto_user.inc:57
msgid "Bulk generate aliases for blogs that are not aliased"
msgstr "توليد تراكمي لبدائل للمدونات الغير مبدلة"

#: pathauto_user.inc:58
msgid "Generate aliases for all existing blog pages which do not already have aliases."
msgstr "توليد بدائل لكل صفحات المدونات الموجودة التي ليس لها بدائل."

#: pathauto_user.inc:74
msgid "User-tracker path settings"
msgstr "إعدادات مسار متتبع العضو"

#: pathauto_user.inc:75
msgid "Pattern for user-tracker page paths"
msgstr "نموذج مسار لصفحات تتبع الأعضاء"

#: pathauto_user.inc:76
msgid "users/[user-raw]/track"
msgstr "أعضاء/[user-raw]/تتبع"

#: pathauto_user.inc:82
msgid "Bulk generate aliases for user-tracker paths that are not aliased"
msgstr "توليد تراكمي لمسارات بديلة لتتبع العضو الغير مبدلة"

#: pathauto_user.inc:83
msgid "Generate aliases for all existing user-tracker pages which do not already have aliases."
msgstr "توليد بدائل لكل صفحات تتبع العضو الموجودة التي ليس لها بدائل."

#: pathauto_user.inc:107
msgid "Bulk generation of users completed, one alias generated."
msgid_plural "Bulk generation of users completed, @count aliases generated."
msgstr[0] "إكتمل التوليد التراكمي للأعضاء, بديل واحد مولد."
msgstr[1] "إكتمل التوليد التراكمي للأعضاء,لا بدائل مولدة"
msgstr[2] "إكتمل التوليد التراكمي للأعضاء, @count بديل مولد."
msgstr[3] "إكتمل التوليد التراكمي للأعضاء, @count بدائل مولدة."
msgstr[4] "إكتمل التوليد التراكمي للأعضاء, @count بديل مولد."
msgstr[5] "إكتمل التوليد التراكمي للأعضاء, @count بديل مولد."

#: pathauto_user.inc:129
msgid "Bulk generation of user blogs completed, one alias generated."
msgid_plural "Bulk generation of user blogs completed, @count aliases generated."
msgstr[0] "إكتمل التوليد التراكمي للمدونات, بديل واحد مولد."
msgstr[1] "إكتمل التوليد التراكمي للمدونات, لا بدائل مولدة"
msgstr[2] "إكتمل التوليد التراكمي للمدونات, @count بديل مولد."
msgstr[3] "إكتمل التوليد التراكمي للمدونات, @count بدائل مولدة ."
msgstr[4] "إكتمل التوليد التراكمي للمدونات, @count بديل مولد."
msgstr[5] "إكتمل التوليد التراكمي للمدونات, @count بديل مولد."

#: pathauto_user.inc:153
msgid "Bulk generation of user tracker pages completed, one alias generated."
msgid_plural "Bulk generation of user tracker pages completed, @count aliases generated."
msgstr[0] "إكتمل التوليد التراكمي لصفحات تتبع الأعضاء,بديل واحد مولد."
msgstr[1] "إكتمل التوليد التراكمي لصفحات تتبع الأعضاء, لا بدائل مولدة"
msgstr[2] "إكتمل التوليد التراكمي لصفحات تتبع الأعضاء, @count بديل مولد."
msgstr[3] "إكتمل التوليد التراكمي لصفحات تتبع الأعضاء, @count بدائل مولدة."
msgstr[4] "إكتمل التوليد التراكمي لصفحات تتبع الأعضاء, @count بديل مولد."
msgstr[5] "إكتمل التوليد التراكمي لصفحات تتبع الأعضاء, @count بديل مولد."

#: pathauto.module:27
msgid ""
"<p>Provides a mechanism for modules to automatically generate aliases for the content they manage.</p>\n"
" <h2>Settings</h2>\n"
" <p>The <strong>Maximum Alias Length</strong> and <strong>Maximum component length</strong> values\n"
" default to 100 and have a limit of 128 from pathauto. This length is limited by the length of the dst\n"
" column of the url_alias database table. The default database schema for this column is 128. If you\n"
" set a length that is equal to that of the one set in the dst column it will cause problems in situations\n"
" where the system needs to append additional words to the aliased URL. For example... URLs generated\n"
" for feeds will have \"/feed\" added to the end. You should enter a value that is the length of the dst\n"
" column minus the length of any strings that might get added to the end of the URL. The length of\n"
" strings that might get added to the end of your URLs depends on which modules you have enabled and\n"
" on your Pathauto settings. The recommended and default value is 100.</p>\n"
" <p><strong>Raw Tokens</strong> In Pathauto it is appropriate to use the -raw form of tokens. Paths are\n"
" sent through a filtering system which ensures that raw user content is filtered. Failure to use -raw\n"
" tokens can cause problems with the Pathauto punctuation filtering system.</p>"
msgstr ""
"<p>تقدم تقنية للوحدات بحيث تولد أتوماتيكياً بدائل للمحتوى الذي يديرونه.</p>\n"
" <h2>الإعدادات</h2>\n"
" <p> قيم <strong>الطول الأقصى للبديل</strong> و <strong>الطول الأقصى للمركب</strong> \n"
" الإفتراضية 100 ولها حد 128 لـ pathauto. هذا الطول محدود بواسطة طول الـ dst\n"
" عمود في جدول قاعدة بيانات الـ url_alias , الضبط الإفتراضي لمخطط القاعدة لهذا العمود هو 128. إذا كنت\n"
" ضبطت الطول بحيث يساوي ذلك المضبوط في عمود الـ dst فهذا سيسبب مشاكل في حالات\n"
" حيث يحتاج النظام لإضافة كلمات إلى المسار المبدل. على سبيل المثال... المسارات المولدة\n"
" للتلقيمات سوف يكون لها هذه الإضافة \"/feed\" . يجب عليك إدخال القيمة التي يكون فيها طول الـ dst\n"
" أقل من طول أي مقطع قد يُضاف إلى نهاية المسار. طول الـ \n"
" المقاطع التي قد تضاف يعتمد على الوحدات التي فعلتها و\n"
" على إعدادات Pathauto. الإفتراضي والمستحسن هو 100.</p>\n"
" <p><strong>العلامات الصرف</strong> في Pathauto مخصصة لتستخدم الشكل -صرف من العلامات. المسارات سـ\n"
" ترسل خلال نظام فلترة لتأكيد المحتوى الصرف للعضو قد فُلتر. الفشل في إستخدام\n"
" العلامات -الصرف يمكن أن يسبب مشاكل في نظام فلترة الترقيم في Pathauto .</p>"

#: pathauto.module:164
msgid "As [cat], but including its supercategories separated by /."
msgstr "كـ [cat] لكن ضمن الفئات الاساسية لها مفصولة بـ /."

#: pathauto.module:165
msgid "As [cat-raw], but including its supercategories separated by /. WARNING - raw user input."
msgstr "كـ [cat-raw] لكن ضمن الفئات الاساسية لها مفصولة بـ /.تحذير: مدخل عضو -صرف"

#: pathauto.module:166;171
msgid "URL alias for the term."
msgstr "بديل المسار للمفردة"

#: pathauto.module:169
msgid "As [term], but including its supercategories separated by /."
msgstr "كـ [term], لكن ضمن فئتها الاساسية مفصولة بـ /."

#: pathauto.module:170
msgid "As [term-raw], but including its supercategories separated by /. WARNING - raw user input."
msgstr "كـ [term-raw], لكن ضمن فئاتها الأساسية مفصولة بـ /. تحذير: مدخل عضو -صرف"

#: pathauto.module:176
msgid "URL alias for the parent book."
msgstr "بديل المسار للوثيقة الأصل"

#: pathauto.module:188
msgid "users"
msgstr "الأعضاء"

#: pathauto.module:188
msgid "content"
msgstr "محتوى"

#: pathauto.module:190
msgid "user blogs"
msgstr "مدونات الأعضاء"

#: pathauto.module:193
msgid "vocabularies and terms"
msgstr "المعاجم والمفردات"

#: pathauto.module:196
msgid "user trackers"
msgstr "متتبع العضو"

#: pathauto.module:199
msgid "forums"
msgstr "منتديات"

#: pathauto.module:284
msgid "An alias will be generated for you. If you wish to create your own alias below, untick this option."
msgstr "بديل سوف يولد لك. إذا كنت ترغب بإنشاء بديل خاص لك في الاسفل فأزل التأشير عن هذا الخيار."

#: pathauto.module:286
msgid " To control the format of the generated aliases, see the <a href=\"@pathauto\">Pathauto settings</a>."
msgstr "لإدارة نموذج البدائل المولدة, أنظر <a href=\"@pathauto\">إعدادات Pathauto</a>. "

#: pathauto.module:294
msgid "Automatic alias"
msgstr "بديل آلي"

#: pathauto.module:319
msgid "Update path alias"
msgstr "حدِّث المسار البديل"

#: pathauto.module:49
msgid "administer pathauto"
msgstr "يدير pathauto"

#: pathauto.module:49
msgid "notify of path changes"
msgstr "إشعار بتغييرات المسار"

#: pathauto.module:57
msgid "Automated alias settings"
msgstr "إعدادات البديل المولد آلياً"

#: pathauto.module:68
msgid "Delete aliases"
msgstr "حذف البدائل"

#: pathauto.module:0
msgid "pathauto"
msgstr "pathauto"

#: pathauto.info:0
msgid "Provides a mechanism for modules to automatically generate aliases for the content they manage."
msgstr "تقدم تقنية للوحدات بحيث تولد أتوماتيكياً بدائل للمحتوى الذي يديرونه."


+ 369
- 690
sites/all/modules/pathauto/translations/hu.po
File diff suppressed because it is too large
View File


+ 297
- 340
sites/all/modules/pathauto/translations/ru.po
File diff suppressed because it is too large
View File


+ 278
- 249
sites/all/modules/pathauto/translations/sv.po View File

@@ -1,34 +1,34 @@
# translation of pathauto_sv.po to svenska
# $Id: sv.po,v 1.1 2008/09/03 19:21:20 greggles Exp $
# $Id: sv.po,v 1.1.2.2 2009/12/04 09:22:37 seals Exp $
#
# LANGUAGE translation of Drupal (general)
# Copyright 2008 Magnus Jonsson <magnus@dronar.se>
# Swedish translation of Drupal (pathauto)
# Generated from files:
# pathauto.admin.inc,v 1.10.2.1 2008/06/24 16:07:51 greggles
# pathauto.inc,v 1.45 2008/06/18 20:02:40 greggles
# pathauto.info,v 1.4 2007/10/28 21:06:13 greggles
# pathauto_node.inc,v 1.47 2008/06/10 21:41:53 freso
# pathauto_taxonomy.inc,v 1.39 2008/06/10 21:41:53 freso
# pathauto_user.inc,v 1.28 2008/05/28 16:04:35 freso
# pathauto.module,v 1.118 2008/06/20 20:01:01 greggles
# pathauto.admin.inc,v 1.20 2008/09/13 08:54:06 freso
# pathauto.inc,v 1.56 2009/12/03 16:12:45 greggles
# pathauto.info,v 1.5 2009/03/21 00:24:28 freso
# pathauto_node.inc,v 1.48 2008/06/28 15:41:15 freso
# pathauto_taxonomy.inc,v 1.41 2008/08/28 16:14:06 greggles
# pathauto_user.inc,v 1.31 2008/07/11 20:01:22 greggles
# pathauto.module,v 1.126 2009/10/17 17:45:10 greggles
#
# Johan Falk <johan@vaxjonexus.com>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: pathauto_sv\n"
"POT-Creation-Date: 2008-06-24 18:52+0200\n"
"PO-Revision-Date: 2008-08-22 20:52+0200\n"
"Last-Translator: Johan Falk <johan@vaxjonexus.com>\n"
"Language-Team: svenska <sv@li.org>\n"
"Project-Id-Version: Pathauto 6.x\n"
"POT-Creation-Date: 2009-12-04 08:01+0100\n"
"PO-Revision-Date: 2009-12-04 10:20+0100\n"
"Last-Translator: Magnus Gunnarsson <seals@passagen.se>\n"
"Language-Team: drupalsverige.se\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: KBabel 1.11.4\n"
"X-Poedit-Language: Swedish\n"
"X-Poedit-Country: SWEDEN\n"
"X-Poedit-SourceCharset: utf-8\n"

#: pathauto.admin.inc:22
msgid "It appears that the <a href=\"@token_link\">Token module</a> is not installed. Please ensure that you have it installed so that Pathauto can work properly. You may need to disable Pathauto and re-enable it to get Token enabled."
msgstr "Det verkar som att <a href=\"@token_link\">Token-modulen</a> inte är installerad. Försäkra dig om att den är installerad så att Pathauto kan fungera korrekt. Du kan behöva inaktivera Pathouto och återaktivera det igen för att få Token aktiverat."
msgstr "Det verkar som att <a href=\"@token_link\">modulen Token</a> inte är installerad. Försäkra dig om att den är installerad så att Pathauto kan fungera korrekt. Du kan behöva inaktivera Pathauto och återaktivera det igen för att få Token aktiverat."

#: pathauto.admin.inc:38
msgid "General settings"
@@ -36,11 +36,11 @@ msgstr "Allmänna inställningar"

#: pathauto.admin.inc:46
msgid "Verbose"
msgstr "Omständlig"
msgstr "Detaljerad"

#: pathauto.admin.inc:48
msgid "Display alias changes (except during bulk updates)."
msgstr "Visa aliasändringar (förutom under massuppdateringar)."
msgstr "Visa ändringar av alias (förutom under massuppdateringar)."

#: pathauto.admin.inc:53
msgid "Separator"
@@ -48,349 +48,353 @@ msgstr "Avskiljare"

#: pathauto.admin.inc:57
msgid "Character used to separate words in titles. This will replace any spaces and punctuation characters. Using a space or + character can cause unexpected results."
msgstr "Tecken som används för att separera ord i titlar. Detta kommer ersätta alla mellanrum och interpunktioner. Användning av blanksteg eller +-tecken kan orsaka oväntade resultat."
msgstr "Tecken som används för att separera ord i titlar. Detta kommer ersätta alla mellanrum och skiljetecken. Används tecken som mellanslag eller + kan det orsaka oväntat resultat."

# Ej ordagrannt
#: pathauto.admin.inc:62
msgid "Character case"
msgstr "Gemener eller versaler"

#: pathauto.admin.inc:64
#: pathauto.admin.inc:65
msgid "Leave case the same as source token values."
msgstr "Spara gemener/versaler enligt källa."

#: pathauto.admin.inc:64
#: pathauto.admin.inc:66
msgid "Change to lower case"
msgstr "Ändra till gemener"

#: pathauto.admin.inc:69
#: pathauto.admin.inc:72
msgid "Maximum alias length"
msgstr "Maxlängd för alias"
msgstr "Längsta längd för alias"

#: pathauto.admin.inc:73
#: pathauto.admin.inc:76
msgid "Maximum length of aliases to generate. 100 is recommended. See <a href=\"@pathauto-help\">Pathauto help</a> for details."
msgstr "Maxlängd för genererade alias. 100 är rekommenderat. Läs <a href=\"@pathauto-help\">Pathauto-hjälp</a> för detaljer."
msgstr "Längsta längd för genererade alias. 100 är rekommenderat. Läs <a href=\"@pathauto-help\">hjälpen om Pathauto</a> för detaljer."

#: pathauto.admin.inc:78
#: pathauto.admin.inc:81
msgid "Maximum component length"
msgstr "Maxlängd för komponent"
msgstr "Längsta längd för komponent"

#: pathauto.admin.inc:82
#: pathauto.admin.inc:85
msgid "Maximum text length of any component in the alias (e.g., [title]). 100 is recommended. See <a href=\"@pathauto-help\">Pathauto help</a> for details."
msgstr "Maxlängd för komponenter i alias (t ex [title]). 100 är rekommenderat. Läs <a href=\"@pathauto-help\">Pathauto-hjälp</a> för detaljer."
msgstr "Längsta längd för komponenter i alias (till exempel [title]). 100 är rekommenderat. Läs <a href=\"@pathauto-help\">hjälpen om Pathauto</a> för detaljer."

#: pathauto.admin.inc:87
#: pathauto.admin.inc:90
msgid "Maximum number of objects to alias in a bulk update"
msgstr "Största tillåtna antal objekt att döpa om i en massuppdatering"

#: pathauto.admin.inc:91
#: pathauto.admin.inc:94
msgid "Maximum number of objects of a given type which should be aliased during a bulk update. The default is 50 and the recommended number depends on the speed of your server. If bulk updates \"time out\" or result in a \"white screen\" then reduce the number."
msgstr "Största tillåtna antal objekt av en vald typ som ska döpas om under en massuppdatering. Standard är 50 och rekommenderat antal beror på prestandan hos din webbserver. Minska antalen om uppdateringen överskrider tidsgränsen eller resulterar i en \"white screen\"."
msgstr "Största tillåtna antal objekt av en vald typ som skall döpas om under en massuppdatering. Standard är 50 och rekommenderat antal beror på prestandan hos din webbserver. Minska antalen om uppdateringen överskrider tidsgränsen eller resulterar i en \"white screen\"."

#: pathauto.admin.inc:95
#: pathauto.admin.inc:98
msgid "Do nothing. Leave the old alias intact."
msgstr "Gör inget. Lämna gamla alias intakta."

#: pathauto.admin.inc:96
#: pathauto.admin.inc:99
msgid "Create a new alias. Leave the existing alias functioning."
msgstr "Skapa ett nytt alias. Spara det gamla."

#: pathauto.admin.inc:97
#: pathauto.admin.inc:100
msgid "Create a new alias. Delete the old alias."
msgstr "Skapa ett nytt alias. Ta bort det gamla."

#: pathauto.admin.inc:100
#: pathauto.admin.inc:104
msgid "Create a new alias. Redirect from old alias."
msgstr "Skapa ett nytt alias. Vidarebofodra från det gamla."
msgstr "Skapa ett nytt alias. Vidarebefordra från det gamla."

#: pathauto.admin.inc:110
#: pathauto.admin.inc:114
msgid "Update action"
msgstr "Uppdatering av alias"
msgstr "Åtgärd för uppdatering"

#: pathauto.admin.inc:113
msgid "What should pathauto do when updating an existing content item which already has an alias?"
msgstr "Vad ska Pathauto göra när ett objekt som redan har ett alias uppdateras?"
#: pathauto.admin.inc:117
msgid "What should Pathauto do when updating an existing content item which already has an alias?"
msgstr "Vad skall Pathauto göra vid uppdatering av en existerande innehållspost som redan har ett alias?"

#: pathauto.admin.inc:118
msgid "When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is determined by the i18n-ascii.txt file in the Pathauto directory. <strong>This option is disabled on your site because you do not have an i18n-ascii.txt file in the Pathauto directory.</strong>"
msgstr "När ett mönster innehåller vissa tecken (t ex accent eller prickar), ska Pathauto försöka skriva om dem till ASCII-96-alfabetet? Översättning bestäms genom i18n-ascii.txt-filen i Pathauto-mappen. <strong>Det här valet är inaktiverat på din sida då du inte har en i18n-ascii.txt-fil i din Pathauto-mapp.</strong>."
#: pathauto.admin.inc:122
msgid "When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is handled by the Transliteration module."
msgstr "När ett mönster innehåller vissa tecken (till exempel accent), skall Pathauto försöka skriva om dem till alfabetet ASCII-96? Omskrivning hanteras av modulen Transliteration."

#: pathauto.admin.inc:121
msgid "When a pattern includes certain characters (such as those with accents) should Pathauto attempt to transliterate them into the ASCII-96 alphabet? Transliteration is determined by the i18n-ascii.txt file in the Pathauto directory."
msgstr "När ett mönster innehåller vissa tecken (t ex accent eller prickar), ska Pathauto försöka skriva om dem till ASCII-96-alfabetet? Översättning bestäms genom i18n-ascii.txt-filen i Pathauto-mappen."
#: pathauto.admin.inc:125
msgid "This option is disabled on your site because the Transliteration module either isn't installed, or isn't installed properly."
msgstr "Detta alternativ är inaktiverat på din webbplats eftersom modulen Transliterate inte är installerad, eller inte är installerad på rätt sätt."

#: pathauto.admin.inc:129
#: pathauto.admin.inc:131
msgid "Transliterate prior to creating alias"
msgstr "Transkribera innan alias skapas"
msgstr "Skriv om innan alias skapas"

#: pathauto.admin.inc:136
#: pathauto.admin.inc:138
msgid "Reduce strings to letters and numbers from ASCII-96"
msgstr "Reducera strängar till endast bokstäver och siffror från ASCII-96"

#: pathauto.admin.inc:138
#: pathauto.admin.inc:140
msgid "Filters the new alias to only letters and numbers found in the ASCII-96 set."
msgstr "Filtrerar det nya aliaset till endast bokstäver och siffror som finns i ASCII-96."

#: pathauto.admin.inc:143
#: pathauto.admin.inc:147
msgid "Strings to Remove"
msgstr "Strängar att ta bort"

#: pathauto.admin.inc:144
msgid "Words to strip out of the URL alias, separated by commas. Do not place punctuation in here and do not use WYSIWYG editors on this field."
msgstr "Ord att ta bort från URL-aliaset, separerade med kommatecken. Använd inte interpunktion här och använd inte WYSIWYG-behandlare i det här fältet."
#: pathauto.admin.inc:149
msgid "Words to strip out of the URL alias, separated by commas. Do not use this to remove punctuation."
msgstr "Ord att ta bort från URL-aliaset, separerade med kommatecken. Använd inte detta för att ta bort skiljetecken."

#: pathauto.admin.inc:150
#: pathauto.admin.inc:155
msgid "Punctuation settings"
msgstr "Inställningar för interpunktion"
msgstr "Inställningar för skiljetecken"

#: pathauto.admin.inc:161
#: pathauto.admin.inc:168
msgid "Remove"
msgstr "Ta bort"

#: pathauto.admin.inc:161
#: pathauto.admin.inc:169
msgid "Replace by separator"
msgstr "Ersätt med avskiljare"

#: pathauto.admin.inc:161
#: pathauto.admin.inc:170
msgid "No action (do not replace)"
msgstr "Ingen ändring (ersätt inte)"
msgstr "Ingen åtgärd (ersätt inte)"

#: pathauto.admin.inc:239
#: pathauto.admin.inc:249
msgid "Replacement patterns"
msgstr "Ersättningsmönster"

#: pathauto.admin.inc:243
#: pathauto.admin.inc:253
msgid "Use -raw replacements for text to avoid problems with HTML entities."
msgstr "Använd \"-raw\"-ersättningar för att undvika problem med HTML-enheter."
msgstr "Använd obearbetade ersättningar för att undvika problem med HTML-enheter."

#: pathauto.admin.inc:276
#: pathauto.admin.inc:286
msgid "Internal feed alias text (leave blank to disable)"
msgstr "Internt innehållsflödes-alias (lämna blankt för att inaktivera)"
msgstr "Internt alias för innehållsflöde (lämna blankt för att inaktivera)"

#: pathauto.admin.inc:280
msgid "The text to use for aliases for RSS feeds. Examples are \"feed\" and \"0/feed\"."
msgstr "Alias för RSS-flöden. T ex: \"feed\" och \"0/feed\"."
#: pathauto.admin.inc:290
msgid "The text to use for aliases for RSS feeds. Examples are \"0/feed\" (used throughout Drupal core) and \"feed\" (used by some contributed Drupal modules, like Views)."
msgstr "Alias för RSS-flöden. Exempel är \"0/feed\" (används genom kärnan för Drupal) och \"feed\" (används av några bidragna moduler i Drupal som Views)."

#: pathauto.admin.inc:335
#: pathauto.admin.inc:345
msgid "You are using the token [%token] which is not valid within the scope of tokens where you are using it."
msgstr "Du anväder symbolen [%token] som inte är giltig i det sammanhang du valt."

#: pathauto.admin.inc:343
msgid "You are using the token [%token] which has a -raw companion available [%raw_token]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the <a href=\"@pathauto-help\">Pathauto help</a> for more details."
msgstr "Du anväder symbolen [%token] som har ett \"-raw\"-alternativ [%raw_token]. För Pathauto-mönster bör du använda \"-raw\"-versionen av symboler såvida du inte vet exakt vad du håller på med. Läs <a href=\"@pathauto-help\">Pathauto-hjälp</a> för detaljer."

#: pathauto.admin.inc:353
msgid "NOTE: This field contains potentially incorrect patterns. "
msgstr "OBS: Detta fält innehåller potentiellt felaktiga tecken."
msgid "You are using the token [%token] which has a -raw companion available [%raw_token]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the <a href=\"@pathauto-help\">Pathauto help</a> for more details."
msgstr "Du anväder symbolen [%token] som har en obearbetat följeslagare tillgänglig [%raw_token]. För Pathauto-mönster bör du använda \"-raw\"-versionen av symboler såvida du inte vet exakt vad du håller på med. Läs <a href=\"@pathauto-help\">Pathauto-hjälp</a> för detaljer."

#: pathauto.admin.inc:355
msgid "%problems"
msgstr "%problems"
#: pathauto.admin.inc:363
msgid "NOTE: This field contains potentially incorrect patterns. %name %problems."
msgstr "OBSERVERA: Detta fält innehåller potentiellt felaktiga tecken. %name %problems."

#: pathauto.admin.inc:374
msgid "You have configured the @name to be the separator and to be removed when encountered in strings. This can cause problems with your patterns and especially with the catpath and termpath patterns. You should probably set the action for @name to be \"replace by separator\""
msgstr "Du har ställt in @name som avskiljare och tas bort när det hittas i strängar. Detta kan orsaka problem med dina mönster, speciellt med \"catpath\"- och \"termpath\"-mönster. Du bör troligen sätta åtgärden för @name som \"ersätt med avskiljare\"."
#: pathauto.admin.inc:386
msgid "You have configured the @name to be the separator and to be removed when encountered in strings. This can cause problems with your patterns and especially with the catpath and termpath patterns. You should probably set the action for @name to be \"replace by separator\"."
msgstr "Du har konfigurerat @name som avskiljare och som skall tas bort när det påträffas i strängar. Detta kan orsaka problem med dina mönster och speciellt med mönster av typen \"catpath\" och \"termpath\". Du bör troligen sätta åtgärden för @name som \"ersätt med avskiljare\"."

#: pathauto.admin.inc:399
msgid "Choose Aliases to Delete"
#: pathauto.admin.inc:411
msgid "Choose aliases to delete"
msgstr "Välj alias att ta bort"

#: pathauto.admin.inc:408
msgid "all aliases"
#: pathauto.admin.inc:420
msgid "All aliases"
msgstr "Alla alias"

#: pathauto.admin.inc:410
#: pathauto.admin.inc:422
msgid "Delete all aliases. Number of aliases which will be deleted: %count."
msgstr "Ta bort alla alias. Antal alias som kommer tas bort: %count"
msgstr "Ta bort alla alias. Antal alias som kommer att tas bort: %count"

#: pathauto.admin.inc:421
#: pathauto.admin.inc:433
msgid "Delete aliases for all @label. Number of aliases which will be deleted: %count."
msgstr "Ta bort alias för alla @label. Antal alias som kommer tas bort: %count"
msgstr "Ta bort alias för alla @label. Antal alias som kommer att tas bort: %count"

#: pathauto.admin.inc:426
msgid "<p><strong>Note:</strong> there is no confirmation. Be sure of your action before clicking the \"Delete aliases now!\" button.<br />You may want to make a backup of the database and/or the url_alias table prior to using this feature.</p>"
msgstr "<p><strong>OBS:</strong> Det kommer ingen ytterligare varning. Var säker på det du gör innan du klickar på \"Ta bort alias nu!\"-knappen.<br />Du kanske vill ha en backup på din databas och/eller tabellen för alla url_alias innan du använder den här funktionen.</p>"
#: pathauto.admin.inc:438
msgid "<strong>Note:</strong> there is no confirmation. Be sure of your action before clicking the \"Delete aliases now!\" button.<br />You may want to make a backup of the database and/or the url_alias table prior to using this feature."
msgstr "<strong>Observera:</strong> det kommer ingen bekräftelse. Var säker på det du gör innan du klickar på knappen \"Ta bort alias nu!\".<br />Du kanske vill göra en backup på din databas och/eller tabellen url_alias innan du använder den här funktionen."

#: pathauto.admin.inc:429
#: pathauto.admin.inc:441
msgid "Delete aliases now!"
msgstr "Ta bort alias nu!"

#: pathauto.admin.inc:443
#: pathauto.admin.inc:455
msgid "All of your path aliases have been deleted."
msgstr "Alla dina webbadressalias har tagits bort."

#: pathauto.admin.inc:448
#: pathauto.admin.inc:460
msgid "All of your %type path aliases have been deleted."
msgstr "Alla dina alias för %type har tagits bort"

#: pathauto.admin.inc:287
#: pathauto.admin.inc:489
msgid "You appear to be using a \"WYSIWYG\" editor which can cause problems if that editor runs on the Pathauto administrative settings page. Please be sure to disable these editors for all text boxes on this page. See the \"WYSIWYG Conflicts\" section of the README.txt file for more information."
msgstr "Du verkar använda en redigerare av typen \"WYSIWYG\" vilket kan orsaka problem om redigeraren körs på Pathautos administrativa inställningssida. Var vänlig se till att inaktivera dessa redigerare för alla textrutor på denna sida. Se området \"WYSIWYG Conflicts\" i filen README.txt för mer information."

#: pathauto.admin.inc:297
msgid "Bulk generation of index aliases completed, one alias generated."
msgid_plural "Bulk generation of index aliases completed, @count aliases generated."
msgstr[0] "Massuppdatering av indexalias genomförd, ett alias skapades."
msgstr[1] "Massuppdatering av indexalias genomförd, @count alias skapades."

#: pathauto.admin.inc:354
msgid "Problem token: "
msgid_plural "Problem tokens"
#: pathauto.admin.inc:364
msgid "Problem token:"
msgid_plural "Problem tokens:"
msgstr[0] "Problemsymbol: "
msgstr[1] "Problemsymboler: "

#: pathauto.inc:315
#: pathauto.inc:214
msgid "Pathauto could not transliterate the path, as the Transliteration module has been disabled."
msgstr "Pathauto kunde inte skriva om sökvägen eftersom modulen Transliteration har inaktiverats."

#: pathauto.inc:365
msgid "The automatically generated alias %original_alias conflicted with an existing alias. Alias changed to %alias."
msgstr "Det automatiskt genererade aliaset %original_alias hamnade i konfilkt med ett existerande alias. Alias ändrades till %alias."

#: pathauto.inc:381
#: pathauto.inc:436
msgid "Ignoring alias %dst due to existing path conflict."
msgstr "Ingorerar alias %dst på grund av sökvägskonflikt."

#: pathauto.inc:388
#: pathauto.inc:443
msgid "Ignoring alias %dst because it is the same as the internal path."
msgstr "Ignorerar alias %dst då det är detsamma som den interna sökvägen."

#: pathauto.inc:408
msgid "Created new alias %dst for %src, replacing %old_alias. %old_alias now redirects to %dst"
#: pathauto.inc:464
msgid "Created new alias %dst for %src, replacing %old_alias. %old_alias now redirects to %dst."
msgstr "Skapade nytt alias %dst för %src, som ersätter %old_alias. %old_alias vidarebefodrar nu till %dst."

#: pathauto.inc:411
msgid "Created new alias %dst for %src, replacing %old_alias"
msgstr "Skapade nytt alias %dst för %src, som ersätter %old_alias"
#: pathauto.inc:467
msgid "Created new alias %dst for %src, replacing %old_alias."
msgstr "Skapade nytt alias %dst för %src, som ersätter %old_alias."

#: pathauto.inc:414
msgid "Created new alias %dst for %src"
msgstr "Skapade nytt alias %dst för %src"
#: pathauto.inc:470
msgid "Created new alias %dst for %src."
msgstr "Skapade nytt alias %dst för %src."

#: pathauto.inc:477
#: pathauto.inc:533
msgid "Double quotes \""
msgstr "Citationstecken \""

#: pathauto.inc:478
#: pathauto.inc:534
msgid "Single quotes (apostrophe) '"
msgstr "Apostrof '"

#: pathauto.inc:479
#: pathauto.inc:535
msgid "Back tick `"
msgstr "Grav accent `"

#: pathauto.inc:480
#: pathauto.inc:536
msgid "Comma ,"
msgstr "Kommatecken ,"

#: pathauto.inc:481
#: pathauto.inc:537
msgid "Period ."
msgstr "Punkt ."

#: pathauto.inc:482
#: pathauto.inc:538
msgid "Hyphen -"
msgstr "Bindestreck -"

#: pathauto.inc:483
#: pathauto.inc:539
msgid "Underscore _"
msgstr "Understreck _"

#: pathauto.inc:484
#: pathauto.inc:540
msgid "Colon :"
msgstr "Kolon :"

#: pathauto.inc:485
#: pathauto.inc:541
msgid "Semicolon ;"
msgstr "Semikolon ;"

#: pathauto.inc:486
#: pathauto.inc:542
msgid "Pipe |"
msgstr "Lodstreck |"

#: pathauto.inc:487
#: pathauto.inc:543
msgid "Left curly bracket {"
msgstr "Klammerparantes, vänster {"

#: pathauto.inc:488
#: pathauto.inc:544
msgid "Left square bracket ["
msgstr "Hakparantes, vänster ["

#: pathauto.inc:489
#: pathauto.inc:545
msgid "Right curly bracket }"
msgstr "Klammerparantes, höger }"

#: pathauto.inc:490
#: pathauto.inc:546
msgid "Right square bracket ]"
msgstr "Hakparantes, höger ]"

#: pathauto.inc:491
#: pathauto.inc:547
msgid "Plus +"
msgstr "Plus +"

#: pathauto.inc:492
#: pathauto.inc:548
msgid "Equal ="
msgstr "Lika med ="

#: pathauto.inc:493
#: pathauto.inc:549
msgid "Asterisk *"
msgstr "Asterisk *"

#: pathauto.inc:494
#: pathauto.inc:550
msgid "Ampersand &"
msgstr "Et-tecken &"

#: pathauto.inc:495
#: pathauto.inc:551
msgid "Percent %"
msgstr "Procent %"

#: pathauto.inc:496
#: pathauto.inc:552
msgid "Caret ^"
msgstr "Cirkumflex ^"

#: pathauto.inc:497
#: pathauto.inc:553
msgid "Dollar $"
msgstr "Dollar $"

#: pathauto.inc:498
#: pathauto.inc:554
msgid "Hash #"
msgstr "Nummertecken #"

#: pathauto.inc:499
#: pathauto.inc:555
msgid "At @"
msgstr "Snabel-a @"

#: pathauto.inc:500
#: pathauto.inc:556
msgid "Exclamation !"
msgstr "Utropstecken !"

#: pathauto.inc:501
#: pathauto.inc:557
msgid "Tilde ~"
msgstr "Tilde ~"

#: pathauto.inc:502
#: pathauto.inc:558
msgid "Left parenthesis ("
msgstr "Vänsterparantes ("

#: pathauto.inc:503
#: pathauto.inc:559
msgid "right parenthesis )"
msgstr "Högerparantes )"

#: pathauto.inc:504
#: pathauto.inc:560
msgid "Question mark ?"
msgstr "Frågetecken ?"

#: pathauto.inc:505
#: pathauto.inc:561
msgid "Less than <"
msgstr "Mindre än <"

#: pathauto.inc:506
#: pathauto.inc:562
msgid "Greater than >"
msgstr "Större än >"

#: pathauto.inc:507