@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | **/ |
| 18 | 18 | |
| 19 | 19 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 20 | - return; |
|
| 20 | + return; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -29,51 +29,51 @@ discard block |
||
| 29 | 29 | * @return string Erreur éventuelle |
| 30 | 30 | */ |
| 31 | 31 | function inc_completer_traduction_dist($objet, $id_objet, $id_trad) { |
| 32 | - // dupliquer tous les liens sauf les auteurs : le nouvel auteur est celui qui traduit |
|
| 33 | - // cf API editer_liens |
|
| 34 | - include_spip('action/editer_liens'); |
|
| 35 | - objet_dupliquer_liens($objet, $id_trad, $id_objet, null, array('auteur')); |
|
| 36 | - $_id_table = id_table_objet($objet); |
|
| 32 | + // dupliquer tous les liens sauf les auteurs : le nouvel auteur est celui qui traduit |
|
| 33 | + // cf API editer_liens |
|
| 34 | + include_spip('action/editer_liens'); |
|
| 35 | + objet_dupliquer_liens($objet, $id_trad, $id_objet, null, array('auteur')); |
|
| 36 | + $_id_table = id_table_objet($objet); |
|
| 37 | 37 | |
| 38 | - // recuperer le logo |
|
| 39 | - $chercher_logo = charger_fonction('chercher_logo','inc'); |
|
| 40 | - include_spip('action/editer_logo'); |
|
| 41 | - foreach (array('on', 'off') as $etat) { |
|
| 42 | - $logo = $chercher_logo($id_trad, $_id_table, $etat); |
|
| 43 | - if ($logo AND $file = reset($logo)) { |
|
| 44 | - logo_modifier($objet, $id_objet, $etat, $file); |
|
| 45 | - } |
|
| 46 | - } |
|
| 38 | + // recuperer le logo |
|
| 39 | + $chercher_logo = charger_fonction('chercher_logo','inc'); |
|
| 40 | + include_spip('action/editer_logo'); |
|
| 41 | + foreach (array('on', 'off') as $etat) { |
|
| 42 | + $logo = $chercher_logo($id_trad, $_id_table, $etat); |
|
| 43 | + if ($logo AND $file = reset($logo)) { |
|
| 44 | + logo_modifier($objet, $id_objet, $etat, $file); |
|
| 45 | + } |
|
| 46 | + } |
|
| 47 | 47 | |
| 48 | - // dupliquer certains champs |
|
| 49 | - $trouver_table = charger_fonction('trouver_table','base'); |
|
| 50 | - $desc = $trouver_table(table_objet_sql($objet)); |
|
| 51 | - $champs = $set = array(); |
|
| 48 | + // dupliquer certains champs |
|
| 49 | + $trouver_table = charger_fonction('trouver_table','base'); |
|
| 50 | + $desc = $trouver_table(table_objet_sql($objet)); |
|
| 51 | + $champs = $set = array(); |
|
| 52 | 52 | |
| 53 | - // un éventuel champ 'virtuel' (redirections) |
|
| 54 | - if (!empty($desc['field']['virtuel'])) { |
|
| 55 | - $champs[] = 'virtuel'; |
|
| 56 | - } |
|
| 53 | + // un éventuel champ 'virtuel' (redirections) |
|
| 54 | + if (!empty($desc['field']['virtuel'])) { |
|
| 55 | + $champs[] = 'virtuel'; |
|
| 56 | + } |
|
| 57 | 57 | |
| 58 | - $data = sql_fetsel('*', $desc['table'], $_id_table . '=' . intval($id_trad)); |
|
| 58 | + $data = sql_fetsel('*', $desc['table'], $_id_table . '=' . intval($id_trad)); |
|
| 59 | 59 | |
| 60 | - foreach ($champs as $c) { |
|
| 61 | - $set[$c] = $data[$c]; |
|
| 62 | - } |
|
| 60 | + foreach ($champs as $c) { |
|
| 61 | + $set[$c] = $data[$c]; |
|
| 62 | + } |
|
| 63 | 63 | |
| 64 | - /* |
|
| 64 | + /* |
|
| 65 | 65 | * Le pipeline 'pre_edition' sera appelé avec l'action 'completer_traduction'. |
| 66 | 66 | * Des plugins pourront ainsi compléter les champs d'un objet traduit lors d'une nouvelle traduction. |
| 67 | 67 | */ |
| 68 | - $err = objet_modifier_champs( |
|
| 69 | - $objet, |
|
| 70 | - $id_objet, |
|
| 71 | - array( |
|
| 72 | - 'data' => $data, |
|
| 73 | - 'action' => 'completer_traduction', |
|
| 74 | - ), |
|
| 75 | - $set |
|
| 76 | - ); |
|
| 68 | + $err = objet_modifier_champs( |
|
| 69 | + $objet, |
|
| 70 | + $id_objet, |
|
| 71 | + array( |
|
| 72 | + 'data' => $data, |
|
| 73 | + 'action' => 'completer_traduction', |
|
| 74 | + ), |
|
| 75 | + $set |
|
| 76 | + ); |
|
| 77 | 77 | |
| 78 | - return $err; |
|
| 78 | + return $err; |
|
| 79 | 79 | } |
| 80 | 80 | \ No newline at end of file |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $_id_table = id_table_objet($objet); |
| 37 | 37 | |
| 38 | 38 | // recuperer le logo |
| 39 | - $chercher_logo = charger_fonction('chercher_logo','inc'); |
|
| 39 | + $chercher_logo = charger_fonction('chercher_logo', 'inc'); |
|
| 40 | 40 | include_spip('action/editer_logo'); |
| 41 | 41 | foreach (array('on', 'off') as $etat) { |
| 42 | 42 | $logo = $chercher_logo($id_trad, $_id_table, $etat); |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | // dupliquer certains champs |
| 49 | - $trouver_table = charger_fonction('trouver_table','base'); |
|
| 49 | + $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 50 | 50 | $desc = $trouver_table(table_objet_sql($objet)); |
| 51 | 51 | $champs = $set = array(); |
| 52 | 52 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | $champs[] = 'virtuel'; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | - $data = sql_fetsel('*', $desc['table'], $_id_table . '=' . intval($id_trad)); |
|
| 58 | + $data = sql_fetsel('*', $desc['table'], $_id_table.'='.intval($id_trad)); |
|
| 59 | 59 | |
| 60 | 60 | foreach ($champs as $c) { |
| 61 | 61 | $set[$c] = $data[$c]; |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | **/ |
| 18 | 18 | |
| 19 | 19 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 20 | - return; |
|
| 20 | + return; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * Pile complétée du code compilé |
| 43 | 43 | **/ |
| 44 | 44 | function balise_FORMULAIRE_ADMIN($p) { |
| 45 | - return calculer_balise_dynamique($p, 'FORMULAIRE_ADMIN', array()); |
|
| 45 | + return calculer_balise_dynamique($p, 'FORMULAIRE_ADMIN', array()); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * - chaîne vide sinon. |
| 60 | 60 | */ |
| 61 | 61 | function balise_FORMULAIRE_ADMIN_stat($args, $context_compil) { |
| 62 | - return $args; |
|
| 62 | + return $args; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | |
@@ -84,66 +84,66 @@ discard block |
||
| 84 | 84 | **/ |
| 85 | 85 | function balise_FORMULAIRE_ADMIN_dyn($float = '', $debug = '') { |
| 86 | 86 | |
| 87 | - static $dejafait = false; |
|
| 87 | + static $dejafait = false; |
|
| 88 | 88 | |
| 89 | - if (empty($_COOKIE['spip_admin'])) { |
|
| 90 | - return ''; |
|
| 91 | - } |
|
| 89 | + if (empty($_COOKIE['spip_admin'])) { |
|
| 90 | + return ''; |
|
| 91 | + } |
|
| 92 | 92 | |
| 93 | - if (!is_array($debug)) { |
|
| 94 | - if ($dejafait) { |
|
| 95 | - return ''; |
|
| 96 | - } |
|
| 97 | - } else { |
|
| 98 | - if ($dejafait) { |
|
| 99 | - if (empty($debug['sourcefile'])) { |
|
| 100 | - return ''; |
|
| 101 | - } |
|
| 102 | - foreach ($debug['sourcefile'] as $k => $v) { |
|
| 103 | - if (strpos($v, 'administration.') !== false) { |
|
| 104 | - if (isset($debug['resultat'][$k . 'tout'])) { |
|
| 105 | - return $debug['resultat'][$k . 'tout']; |
|
| 106 | - } |
|
| 107 | - } |
|
| 108 | - } |
|
| 93 | + if (!is_array($debug)) { |
|
| 94 | + if ($dejafait) { |
|
| 95 | + return ''; |
|
| 96 | + } |
|
| 97 | + } else { |
|
| 98 | + if ($dejafait) { |
|
| 99 | + if (empty($debug['sourcefile'])) { |
|
| 100 | + return ''; |
|
| 101 | + } |
|
| 102 | + foreach ($debug['sourcefile'] as $k => $v) { |
|
| 103 | + if (strpos($v, 'administration.') !== false) { |
|
| 104 | + if (isset($debug['resultat'][$k . 'tout'])) { |
|
| 105 | + return $debug['resultat'][$k . 'tout']; |
|
| 106 | + } |
|
| 107 | + } |
|
| 108 | + } |
|
| 109 | 109 | |
| 110 | - return ''; |
|
| 111 | - } |
|
| 112 | - } |
|
| 110 | + return ''; |
|
| 111 | + } |
|
| 112 | + } |
|
| 113 | 113 | |
| 114 | - include_spip('inc/autoriser'); |
|
| 115 | - include_spip('base/abstract_sql'); |
|
| 114 | + include_spip('inc/autoriser'); |
|
| 115 | + include_spip('base/abstract_sql'); |
|
| 116 | 116 | |
| 117 | 117 | |
| 118 | - $dejafait = true; |
|
| 118 | + $dejafait = true; |
|
| 119 | 119 | |
| 120 | - // Preparer le #ENV des boutons |
|
| 120 | + // Preparer le #ENV des boutons |
|
| 121 | 121 | |
| 122 | - $env = admin_objet(); |
|
| 122 | + $env = admin_objet(); |
|
| 123 | 123 | |
| 124 | - // Pas de "modifier ce..." ? -> donner "acces a l'espace prive" |
|
| 125 | - if (!$env) { |
|
| 126 | - $env['ecrire'] = _DIR_RESTREINT_ABS; |
|
| 127 | - } |
|
| 124 | + // Pas de "modifier ce..." ? -> donner "acces a l'espace prive" |
|
| 125 | + if (!$env) { |
|
| 126 | + $env['ecrire'] = _DIR_RESTREINT_ABS; |
|
| 127 | + } |
|
| 128 | 128 | |
| 129 | - $env['divclass'] = $float; |
|
| 130 | - $env['lang'] = admin_lang(); |
|
| 131 | - $env['calcul'] = (_request('var_mode') ? 'recalcul' : 'calcul'); |
|
| 132 | - $env['debug'] = ((defined('_VAR_PREVIEW') and _VAR_PREVIEW) ? "" : admin_debug()); |
|
| 133 | - $env['analyser'] = (!$env['debug'] and !$GLOBALS['xhtml']) ? '' : admin_valider(); |
|
| 134 | - $env['inclure'] = ((defined('_VAR_INCLURE') and _VAR_INCLURE) ? 'inclure' : ''); |
|
| 129 | + $env['divclass'] = $float; |
|
| 130 | + $env['lang'] = admin_lang(); |
|
| 131 | + $env['calcul'] = (_request('var_mode') ? 'recalcul' : 'calcul'); |
|
| 132 | + $env['debug'] = ((defined('_VAR_PREVIEW') and _VAR_PREVIEW) ? "" : admin_debug()); |
|
| 133 | + $env['analyser'] = (!$env['debug'] and !$GLOBALS['xhtml']) ? '' : admin_valider(); |
|
| 134 | + $env['inclure'] = ((defined('_VAR_INCLURE') and _VAR_INCLURE) ? 'inclure' : ''); |
|
| 135 | 135 | |
| 136 | - if (empty($GLOBALS['use_cache'])) { |
|
| 137 | - $env['use_cache'] = ' *'; |
|
| 138 | - } |
|
| 136 | + if (empty($GLOBALS['use_cache'])) { |
|
| 137 | + $env['use_cache'] = ' *'; |
|
| 138 | + } |
|
| 139 | 139 | |
| 140 | - if (isset($debug['validation'])) { |
|
| 141 | - $env['xhtml_error'] = $debug['validation']; |
|
| 142 | - } |
|
| 140 | + if (isset($debug['validation'])) { |
|
| 141 | + $env['xhtml_error'] = $debug['validation']; |
|
| 142 | + } |
|
| 143 | 143 | |
| 144 | - $env['_pipelines']['formulaire_admin'] = array(); |
|
| 144 | + $env['_pipelines']['formulaire_admin'] = array(); |
|
| 145 | 145 | |
| 146 | - return array('formulaires/administration', 0, $env); |
|
| 146 | + return array('formulaires/administration', 0, $env); |
|
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | |
@@ -161,45 +161,45 @@ discard block |
||
| 161 | 161 | * Tableau de l'environnement calculé |
| 162 | 162 | **/ |
| 163 | 163 | function admin_objet() { |
| 164 | - include_spip('inc/urls'); |
|
| 165 | - $env = array(); |
|
| 166 | - |
|
| 167 | - $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 168 | - $objets = urls_liste_objets(false); |
|
| 169 | - $objets = array_diff($objets, array('rubrique')); |
|
| 170 | - $objets = array_reverse($objets); |
|
| 171 | - array_unshift($objets, 'rubrique'); |
|
| 172 | - foreach ($objets as $obj) { |
|
| 173 | - $type = $obj; |
|
| 174 | - if ($type == objet_type($type, false) |
|
| 175 | - and $_id_type = id_table_objet($type) |
|
| 176 | - and isset($GLOBALS['contexte'][$_id_type]) |
|
| 177 | - and $id = $GLOBALS['contexte'][$_id_type] |
|
| 178 | - and !is_array($id) |
|
| 179 | - and $id = intval($id) |
|
| 180 | - and $desc = $trouver_table(table_objet_sql($type)) |
|
| 181 | - ) { |
|
| 182 | - $id = sql_getfetsel($_id_type, table_objet_sql($type), "$_id_type=" . intval($id)); |
|
| 183 | - if ($id) { |
|
| 184 | - $env[$_id_type] = $id; |
|
| 185 | - $env['objet'] = $type; |
|
| 186 | - $env['id_objet'] = $id; |
|
| 187 | - $env['voir_' . $obj] = |
|
| 188 | - str_replace('&', '&', generer_url_entite($id, $obj, '', '', false)); |
|
| 189 | - if (isset($desc['field']['id_rubrique']) |
|
| 190 | - and $type != 'rubrique' |
|
| 191 | - ) { |
|
| 192 | - unset($env['id_rubrique']); |
|
| 193 | - unset($env['voir_rubrique']); |
|
| 194 | - if (admin_preview($type, $id, $desc)) { |
|
| 195 | - $env['preview'] = parametre_url(self(), 'var_mode', 'preview', '&'); |
|
| 196 | - } |
|
| 197 | - } |
|
| 198 | - } |
|
| 199 | - } |
|
| 200 | - } |
|
| 201 | - |
|
| 202 | - return $env; |
|
| 164 | + include_spip('inc/urls'); |
|
| 165 | + $env = array(); |
|
| 166 | + |
|
| 167 | + $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 168 | + $objets = urls_liste_objets(false); |
|
| 169 | + $objets = array_diff($objets, array('rubrique')); |
|
| 170 | + $objets = array_reverse($objets); |
|
| 171 | + array_unshift($objets, 'rubrique'); |
|
| 172 | + foreach ($objets as $obj) { |
|
| 173 | + $type = $obj; |
|
| 174 | + if ($type == objet_type($type, false) |
|
| 175 | + and $_id_type = id_table_objet($type) |
|
| 176 | + and isset($GLOBALS['contexte'][$_id_type]) |
|
| 177 | + and $id = $GLOBALS['contexte'][$_id_type] |
|
| 178 | + and !is_array($id) |
|
| 179 | + and $id = intval($id) |
|
| 180 | + and $desc = $trouver_table(table_objet_sql($type)) |
|
| 181 | + ) { |
|
| 182 | + $id = sql_getfetsel($_id_type, table_objet_sql($type), "$_id_type=" . intval($id)); |
|
| 183 | + if ($id) { |
|
| 184 | + $env[$_id_type] = $id; |
|
| 185 | + $env['objet'] = $type; |
|
| 186 | + $env['id_objet'] = $id; |
|
| 187 | + $env['voir_' . $obj] = |
|
| 188 | + str_replace('&', '&', generer_url_entite($id, $obj, '', '', false)); |
|
| 189 | + if (isset($desc['field']['id_rubrique']) |
|
| 190 | + and $type != 'rubrique' |
|
| 191 | + ) { |
|
| 192 | + unset($env['id_rubrique']); |
|
| 193 | + unset($env['voir_rubrique']); |
|
| 194 | + if (admin_preview($type, $id, $desc)) { |
|
| 195 | + $env['preview'] = parametre_url(self(), 'var_mode', 'preview', '&'); |
|
| 196 | + } |
|
| 197 | + } |
|
| 198 | + } |
|
| 199 | + } |
|
| 200 | + } |
|
| 201 | + |
|
| 202 | + return $env; |
|
| 203 | 203 | } |
| 204 | 204 | |
| 205 | 205 | |
@@ -217,30 +217,30 @@ discard block |
||
| 217 | 217 | * - Tableau d'un élément sinon. |
| 218 | 218 | **/ |
| 219 | 219 | function admin_preview($type, $id, $desc = null) { |
| 220 | - if (defined('_VAR_PREVIEW') and _VAR_PREVIEW) { |
|
| 221 | - return ''; |
|
| 222 | - } |
|
| 223 | - |
|
| 224 | - if (!$desc) { |
|
| 225 | - $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 226 | - $desc = $trouver_table(table_objet_sql($type)); |
|
| 227 | - } |
|
| 228 | - if (!$desc or !isset($desc['field']['statut'])) { |
|
| 229 | - return ''; |
|
| 230 | - } |
|
| 231 | - |
|
| 232 | - include_spip('inc/autoriser'); |
|
| 233 | - if (!autoriser('previsualiser')) { |
|
| 234 | - return ''; |
|
| 235 | - } |
|
| 236 | - |
|
| 237 | - $notpub = sql_in("statut", array('prop', 'prive')); |
|
| 238 | - |
|
| 239 | - if ($type == 'article' and $GLOBALS['meta']['post_dates'] != 'oui') { |
|
| 240 | - $notpub .= " OR (statut='publie' AND date>" . sql_quote(date('Y-m-d H:i:s')) . ")"; |
|
| 241 | - } |
|
| 242 | - |
|
| 243 | - return sql_fetsel('1', table_objet_sql($type), id_table_objet($type) . "=" . $id . " AND ($notpub)"); |
|
| 220 | + if (defined('_VAR_PREVIEW') and _VAR_PREVIEW) { |
|
| 221 | + return ''; |
|
| 222 | + } |
|
| 223 | + |
|
| 224 | + if (!$desc) { |
|
| 225 | + $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 226 | + $desc = $trouver_table(table_objet_sql($type)); |
|
| 227 | + } |
|
| 228 | + if (!$desc or !isset($desc['field']['statut'])) { |
|
| 229 | + return ''; |
|
| 230 | + } |
|
| 231 | + |
|
| 232 | + include_spip('inc/autoriser'); |
|
| 233 | + if (!autoriser('previsualiser')) { |
|
| 234 | + return ''; |
|
| 235 | + } |
|
| 236 | + |
|
| 237 | + $notpub = sql_in("statut", array('prop', 'prive')); |
|
| 238 | + |
|
| 239 | + if ($type == 'article' and $GLOBALS['meta']['post_dates'] != 'oui') { |
|
| 240 | + $notpub .= " OR (statut='publie' AND date>" . sql_quote(date('Y-m-d H:i:s')) . ")"; |
|
| 241 | + } |
|
| 242 | + |
|
| 243 | + return sql_fetsel('1', table_objet_sql($type), id_table_objet($type) . "=" . $id . " AND ($notpub)"); |
|
| 244 | 244 | } |
| 245 | 245 | |
| 246 | 246 | |
@@ -251,25 +251,25 @@ discard block |
||
| 251 | 251 | * Code de langue |
| 252 | 252 | **/ |
| 253 | 253 | function admin_lang() { |
| 254 | - $alang = ''; |
|
| 255 | - if (!empty($_COOKIE['spip_admin'])) { |
|
| 256 | - $email_or_login = preg_replace(',^@,', '', $_COOKIE['spip_admin']); |
|
| 257 | - $alang = sql_getfetsel('lang', 'spip_auteurs', "email=" . sql_quote($email_or_login)); |
|
| 258 | - if (!$alang) { |
|
| 259 | - $alang = sql_getfetsel('lang', 'spip_auteurs', "login=" . sql_quote($email_or_login)); |
|
| 260 | - } |
|
| 261 | - } |
|
| 262 | - if (!$alang) { |
|
| 263 | - return ''; |
|
| 264 | - } |
|
| 265 | - |
|
| 266 | - $l = lang_select($alang); |
|
| 267 | - $alang = $GLOBALS['spip_lang']; |
|
| 268 | - if ($l) { |
|
| 269 | - lang_select(); |
|
| 270 | - } |
|
| 271 | - |
|
| 272 | - return $alang; |
|
| 254 | + $alang = ''; |
|
| 255 | + if (!empty($_COOKIE['spip_admin'])) { |
|
| 256 | + $email_or_login = preg_replace(',^@,', '', $_COOKIE['spip_admin']); |
|
| 257 | + $alang = sql_getfetsel('lang', 'spip_auteurs', "email=" . sql_quote($email_or_login)); |
|
| 258 | + if (!$alang) { |
|
| 259 | + $alang = sql_getfetsel('lang', 'spip_auteurs', "login=" . sql_quote($email_or_login)); |
|
| 260 | + } |
|
| 261 | + } |
|
| 262 | + if (!$alang) { |
|
| 263 | + return ''; |
|
| 264 | + } |
|
| 265 | + |
|
| 266 | + $l = lang_select($alang); |
|
| 267 | + $alang = $GLOBALS['spip_lang']; |
|
| 268 | + if ($l) { |
|
| 269 | + lang_select(); |
|
| 270 | + } |
|
| 271 | + |
|
| 272 | + return $alang; |
|
| 273 | 273 | } |
| 274 | 274 | |
| 275 | 275 | /** |
@@ -279,11 +279,11 @@ discard block |
||
| 279 | 279 | **/ |
| 280 | 280 | function admin_valider() { |
| 281 | 281 | |
| 282 | - return ((!isset($GLOBALS['xhtml']) or $GLOBALS['xhtml'] !== 'true') ? |
|
| 283 | - (parametre_url(self(), 'var_mode', 'debug', '&') |
|
| 284 | - . '&var_mode_affiche=validation') : |
|
| 285 | - ('http://validator.w3.org/check?uri=' |
|
| 286 | - . rawurlencode("http://" . $_SERVER['HTTP_HOST'] . nettoyer_uri()))); |
|
| 282 | + return ((!isset($GLOBALS['xhtml']) or $GLOBALS['xhtml'] !== 'true') ? |
|
| 283 | + (parametre_url(self(), 'var_mode', 'debug', '&') |
|
| 284 | + . '&var_mode_affiche=validation') : |
|
| 285 | + ('http://validator.w3.org/check?uri=' |
|
| 286 | + . rawurlencode("http://" . $_SERVER['HTTP_HOST'] . nettoyer_uri()))); |
|
| 287 | 287 | } |
| 288 | 288 | |
| 289 | 289 | /** |
@@ -292,14 +292,14 @@ discard block |
||
| 292 | 292 | * @return string |
| 293 | 293 | **/ |
| 294 | 294 | function admin_debug() { |
| 295 | - return (( |
|
| 296 | - (isset($GLOBALS['forcer_debug']) and $GLOBALS['forcer_debug']) |
|
| 297 | - or (isset($GLOBALS['bouton_admin_debug']) and $GLOBALS['bouton_admin_debug']) |
|
| 298 | - or ( |
|
| 299 | - defined('_VAR_MODE') and _VAR_MODE == 'debug' |
|
| 300 | - and isset($_COOKIE['spip_debug']) and $_COOKIE['spip_debug'] |
|
| 301 | - ) |
|
| 302 | - ) and autoriser('debug') |
|
| 303 | - ) |
|
| 304 | - ? parametre_url(self(), 'var_mode', 'debug', '&') : ''; |
|
| 295 | + return (( |
|
| 296 | + (isset($GLOBALS['forcer_debug']) and $GLOBALS['forcer_debug']) |
|
| 297 | + or (isset($GLOBALS['bouton_admin_debug']) and $GLOBALS['bouton_admin_debug']) |
|
| 298 | + or ( |
|
| 299 | + defined('_VAR_MODE') and _VAR_MODE == 'debug' |
|
| 300 | + and isset($_COOKIE['spip_debug']) and $_COOKIE['spip_debug'] |
|
| 301 | + ) |
|
| 302 | + ) and autoriser('debug') |
|
| 303 | + ) |
|
| 304 | + ? parametre_url(self(), 'var_mode', 'debug', '&') : ''; |
|
| 305 | 305 | } |
@@ -101,8 +101,8 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | foreach ($debug['sourcefile'] as $k => $v) { |
| 103 | 103 | if (strpos($v, 'administration.') !== false) { |
| 104 | - if (isset($debug['resultat'][$k . 'tout'])) { |
|
| 105 | - return $debug['resultat'][$k . 'tout']; |
|
| 104 | + if (isset($debug['resultat'][$k.'tout'])) { |
|
| 105 | + return $debug['resultat'][$k.'tout']; |
|
| 106 | 106 | } |
| 107 | 107 | } |
| 108 | 108 | } |
@@ -179,12 +179,12 @@ discard block |
||
| 179 | 179 | and $id = intval($id) |
| 180 | 180 | and $desc = $trouver_table(table_objet_sql($type)) |
| 181 | 181 | ) { |
| 182 | - $id = sql_getfetsel($_id_type, table_objet_sql($type), "$_id_type=" . intval($id)); |
|
| 182 | + $id = sql_getfetsel($_id_type, table_objet_sql($type), "$_id_type=".intval($id)); |
|
| 183 | 183 | if ($id) { |
| 184 | 184 | $env[$_id_type] = $id; |
| 185 | 185 | $env['objet'] = $type; |
| 186 | 186 | $env['id_objet'] = $id; |
| 187 | - $env['voir_' . $obj] = |
|
| 187 | + $env['voir_'.$obj] = |
|
| 188 | 188 | str_replace('&', '&', generer_url_entite($id, $obj, '', '', false)); |
| 189 | 189 | if (isset($desc['field']['id_rubrique']) |
| 190 | 190 | and $type != 'rubrique' |
@@ -237,10 +237,10 @@ discard block |
||
| 237 | 237 | $notpub = sql_in("statut", array('prop', 'prive')); |
| 238 | 238 | |
| 239 | 239 | if ($type == 'article' and $GLOBALS['meta']['post_dates'] != 'oui') { |
| 240 | - $notpub .= " OR (statut='publie' AND date>" . sql_quote(date('Y-m-d H:i:s')) . ")"; |
|
| 240 | + $notpub .= " OR (statut='publie' AND date>".sql_quote(date('Y-m-d H:i:s')).")"; |
|
| 241 | 241 | } |
| 242 | 242 | |
| 243 | - return sql_fetsel('1', table_objet_sql($type), id_table_objet($type) . "=" . $id . " AND ($notpub)"); |
|
| 243 | + return sql_fetsel('1', table_objet_sql($type), id_table_objet($type)."=".$id." AND ($notpub)"); |
|
| 244 | 244 | } |
| 245 | 245 | |
| 246 | 246 | |
@@ -254,9 +254,9 @@ discard block |
||
| 254 | 254 | $alang = ''; |
| 255 | 255 | if (!empty($_COOKIE['spip_admin'])) { |
| 256 | 256 | $email_or_login = preg_replace(',^@,', '', $_COOKIE['spip_admin']); |
| 257 | - $alang = sql_getfetsel('lang', 'spip_auteurs', "email=" . sql_quote($email_or_login)); |
|
| 257 | + $alang = sql_getfetsel('lang', 'spip_auteurs', "email=".sql_quote($email_or_login)); |
|
| 258 | 258 | if (!$alang) { |
| 259 | - $alang = sql_getfetsel('lang', 'spip_auteurs', "login=" . sql_quote($email_or_login)); |
|
| 259 | + $alang = sql_getfetsel('lang', 'spip_auteurs', "login=".sql_quote($email_or_login)); |
|
| 260 | 260 | } |
| 261 | 261 | } |
| 262 | 262 | if (!$alang) { |
@@ -281,9 +281,8 @@ discard block |
||
| 281 | 281 | |
| 282 | 282 | return ((!isset($GLOBALS['xhtml']) or $GLOBALS['xhtml'] !== 'true') ? |
| 283 | 283 | (parametre_url(self(), 'var_mode', 'debug', '&') |
| 284 | - . '&var_mode_affiche=validation') : |
|
| 285 | - ('http://validator.w3.org/check?uri=' |
|
| 286 | - . rawurlencode("http://" . $_SERVER['HTTP_HOST'] . nettoyer_uri()))); |
|
| 284 | + . '&var_mode_affiche=validation') : ('http://validator.w3.org/check?uri=' |
|
| 285 | + . rawurlencode("http://".$_SERVER['HTTP_HOST'].nettoyer_uri()))); |
|
| 287 | 286 | } |
| 288 | 287 | |
| 289 | 288 | /** |
@@ -75,12 +75,12 @@ discard block |
||
| 75 | 75 | * @return mixed|string |
| 76 | 76 | */ |
| 77 | 77 | function objet_modifier($objet, $id, $set = null) { |
| 78 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 79 | - spip_log("objet_modifier: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 78 | + if (($t = objet_type($objet)) !== $objet) { |
|
| 79 | + spip_log("objet_modifier: appel avec type $objet invalide au lieu de $t", "editer"._LOG_INFO_IMPORTANTE); |
|
| 80 | 80 | $objet = $t; |
| 81 | 81 | } |
| 82 | - if (include_spip('action/editer_' . $objet) |
|
| 83 | - and function_exists($modifier = $objet . "_modifier") |
|
| 82 | + if (include_spip('action/editer_'.$objet) |
|
| 83 | + and function_exists($modifier = $objet."_modifier") |
|
| 84 | 84 | ) { |
| 85 | 85 | return $modifier($id, $set); |
| 86 | 86 | } |
@@ -163,12 +163,12 @@ discard block |
||
| 163 | 163 | * @return bool|int |
| 164 | 164 | */ |
| 165 | 165 | function objet_inserer($objet, $id_parent = null, $set = null) { |
| 166 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 167 | - spip_log("objet_inserer: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 166 | + if (($t = objet_type($objet)) !== $objet) { |
|
| 167 | + spip_log("objet_inserer: appel avec type $objet invalide au lieu de $t", "editer"._LOG_INFO_IMPORTANTE); |
|
| 168 | 168 | $objet = $t; |
| 169 | 169 | } |
| 170 | - if (include_spip('action/editer_' . $objet) |
|
| 171 | - and function_exists($inserer = $objet . "_inserer") |
|
| 170 | + if (include_spip('action/editer_'.$objet) |
|
| 171 | + and function_exists($inserer = $objet."_inserer") |
|
| 172 | 172 | ) { |
| 173 | 173 | return $inserer($id_parent, $set); |
| 174 | 174 | } |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | $row = sql_fetsel("id_rubrique, id_secteur, lang", "spip_rubriques", "id_parent=0", '', '0+titre,titre', "1"); |
| 190 | 190 | $id_rubrique = $row['id_rubrique']; |
| 191 | 191 | } else { |
| 192 | - $row = sql_fetsel("lang, id_secteur", "spip_rubriques", "id_rubrique=" . intval($id_rubrique)); |
|
| 192 | + $row = sql_fetsel("lang, id_secteur", "spip_rubriques", "id_rubrique=".intval($id_rubrique)); |
|
| 193 | 193 | } |
| 194 | 194 | |
| 195 | 195 | $champs['id_rubrique'] = $id_rubrique; |
@@ -297,12 +297,12 @@ discard block |
||
| 297 | 297 | * @return string |
| 298 | 298 | */ |
| 299 | 299 | function objet_instituer($objet, $id, $c, $calcul_rub = true) { |
| 300 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 301 | - spip_log("objet_instituer: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 300 | + if (($t = objet_type($objet)) !== $objet) { |
|
| 301 | + spip_log("objet_instituer: appel avec type $objet invalide au lieu de $t", "editer"._LOG_INFO_IMPORTANTE); |
|
| 302 | 302 | $objet = $t; |
| 303 | 303 | } |
| 304 | - if (include_spip('action/editer_' . $objet) |
|
| 305 | - and function_exists($instituer = $objet . "_instituer") |
|
| 304 | + if (include_spip('action/editer_'.$objet) |
|
| 305 | + and function_exists($instituer = $objet."_instituer") |
|
| 306 | 306 | ) { |
| 307 | 307 | return $instituer($id, $c, $calcul_rub); |
| 308 | 308 | } |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | $sel[] = ($champ_date ? "$champ_date as date" : "'' as date"); |
| 332 | 332 | $sel[] = (isset($desc['field']['id_rubrique']) ? 'id_rubrique' : "0 as id_rubrique"); |
| 333 | 333 | |
| 334 | - $row = sql_fetsel($sel, $table_sql, id_table_objet($objet) . '=' . intval($id)); |
|
| 334 | + $row = sql_fetsel($sel, $table_sql, id_table_objet($objet).'='.intval($id)); |
|
| 335 | 335 | |
| 336 | 336 | $id_rubrique = $row['id_rubrique']; |
| 337 | 337 | $statut_ancien = $statut = $row['statut']; |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | if ($s != 'publie' and autoriser('modifier', $objet, $id)) { |
| 354 | 354 | $statut = $champs['statut'] = $s; |
| 355 | 355 | } else { |
| 356 | - spip_log("editer_objet $id refus " . join(' ', $c)); |
|
| 356 | + spip_log("editer_objet $id refus ".join(' ', $c)); |
|
| 357 | 357 | } |
| 358 | 358 | } |
| 359 | 359 | |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | and isset($c['id_parent']) |
| 382 | 382 | and $id_parent = $c['id_parent'] |
| 383 | 383 | and $id_parent != $id_rubrique |
| 384 | - and (sql_fetsel('1', "spip_rubriques", "id_rubrique=" . intval($id_parent))) |
|
| 384 | + and (sql_fetsel('1', "spip_rubriques", "id_rubrique=".intval($id_parent))) |
|
| 385 | 385 | ) { |
| 386 | 386 | $champs['id_rubrique'] = $id_parent; |
| 387 | 387 | |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | // changer aussi son secteur et sa langue (si heritee) |
| 477 | 477 | if (isset($champs['id_rubrique'])) { |
| 478 | 478 | |
| 479 | - $row_rub = sql_fetsel("id_secteur, lang", "spip_rubriques", "id_rubrique=" . sql_quote($champs['id_rubrique'])); |
|
| 479 | + $row_rub = sql_fetsel("id_secteur, lang", "spip_rubriques", "id_rubrique=".sql_quote($champs['id_rubrique'])); |
|
| 480 | 480 | $langue = $row_rub['lang']; |
| 481 | 481 | |
| 482 | 482 | if (isset($desc['field']['id_secteur'])) { |
@@ -485,7 +485,7 @@ discard block |
||
| 485 | 485 | |
| 486 | 486 | if (isset($desc['field']['lang']) and isset($desc['field']['langue_choisie'])) { |
| 487 | 487 | if (sql_fetsel('1', $table_sql, |
| 488 | - id_table_objet($objet) . "=" . intval($id) . " AND langue_choisie<>'oui' AND lang<>" . sql_quote($langue))) { |
|
| 488 | + id_table_objet($objet)."=".intval($id)." AND langue_choisie<>'oui' AND lang<>".sql_quote($langue))) { |
|
| 489 | 489 | $champs['lang'] = $langue; |
| 490 | 490 | } |
| 491 | 491 | } |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | if (!$champs) { |
| 495 | 495 | return; |
| 496 | 496 | } |
| 497 | - sql_updateq($table_sql, $champs, id_table_objet($objet) . '=' . intval($id)); |
|
| 497 | + sql_updateq($table_sql, $champs, id_table_objet($objet).'='.intval($id)); |
|
| 498 | 498 | |
| 499 | 499 | // Changer le statut des rubriques concernees |
| 500 | 500 | if ($cond) { |
@@ -531,8 +531,8 @@ discard block |
||
| 531 | 531 | * string|int : valeur du champ demande pour l'objet demande |
| 532 | 532 | */ |
| 533 | 533 | function objet_lire($objet, $valeur_id, $options = array()) { |
| 534 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 535 | - spip_log("objet_lire: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 534 | + if (($t = objet_type($objet)) !== $objet) { |
|
| 535 | + spip_log("objet_lire: appel avec type $objet invalide au lieu de $t", "editer"._LOG_INFO_IMPORTANTE); |
|
| 536 | 536 | $objet = $t; |
| 537 | 537 | } |
| 538 | 538 | |
@@ -552,7 +552,7 @@ discard block |
||
| 552 | 552 | or (isset($options['force']) and $options['force'])) { |
| 553 | 553 | // Il est possible pour un type d'objet de fournir une fonction de lecture de tous les champs d'un objet. |
| 554 | 554 | if ( |
| 555 | - include_spip('action/editer_' . $objet) |
|
| 555 | + include_spip('action/editer_'.$objet) |
|
| 556 | 556 | and function_exists($lire = "${objet}_lire_champs") |
| 557 | 557 | ) { |
| 558 | 558 | $valeurs = $lire($objet, $valeur_id, $champ_id); |
@@ -562,7 +562,7 @@ discard block |
||
| 562 | 562 | |
| 563 | 563 | // La condition est appliquée sur le champ désigné par l'utilisateur. |
| 564 | 564 | $where = array( |
| 565 | - "${champ_id}=" . sql_quote($valeur_id) |
|
| 565 | + "${champ_id}=".sql_quote($valeur_id) |
|
| 566 | 566 | ); |
| 567 | 567 | |
| 568 | 568 | // Acquisition de tous les champs de l'objet : si l'accès SQL retourne une erreur on renvoie un tableau vide. |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | 19 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 20 | - return; |
|
| 20 | + return; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -33,36 +33,36 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | function action_editer_objet_dist($id = null, $objet = null, $set = null) { |
| 35 | 35 | |
| 36 | - // appel direct depuis une url avec arg = "objet/id" |
|
| 37 | - if (is_null($id) or is_null($objet)) { |
|
| 38 | - $securiser_action = charger_fonction('securiser_action', 'inc'); |
|
| 39 | - $arg = $securiser_action(); |
|
| 40 | - list($objet, $id) = array_pad(explode("/", $arg, 2), 2, null); |
|
| 41 | - } |
|
| 42 | - |
|
| 43 | - // appel incorrect ou depuis une url erronnée interdit |
|
| 44 | - if (is_null($id) or is_null($objet)) { |
|
| 45 | - include_spip('inc/minipres'); |
|
| 46 | - echo minipres(_T('info_acces_interdit')); |
|
| 47 | - die(); |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - // si id n'est pas un nombre, c'est une creation |
|
| 51 | - // mais on verifie qu'on a toutes les donnees qu'il faut. |
|
| 52 | - if (!$id = intval($id)) { |
|
| 53 | - // on ne sait pas si un parent existe mais on essaye |
|
| 54 | - $id_parent = _request('id_parent'); |
|
| 55 | - $id = objet_inserer($objet, $id_parent); |
|
| 56 | - } |
|
| 57 | - |
|
| 58 | - if (!($id = intval($id)) > 0) { |
|
| 59 | - return array($id, _L('echec enregistrement en base')); |
|
| 60 | - } |
|
| 61 | - |
|
| 62 | - // Enregistre l'envoi dans la BD |
|
| 63 | - $err = objet_modifier($objet, $id, $set); |
|
| 64 | - |
|
| 65 | - return array($id, $err); |
|
| 36 | + // appel direct depuis une url avec arg = "objet/id" |
|
| 37 | + if (is_null($id) or is_null($objet)) { |
|
| 38 | + $securiser_action = charger_fonction('securiser_action', 'inc'); |
|
| 39 | + $arg = $securiser_action(); |
|
| 40 | + list($objet, $id) = array_pad(explode("/", $arg, 2), 2, null); |
|
| 41 | + } |
|
| 42 | + |
|
| 43 | + // appel incorrect ou depuis une url erronnée interdit |
|
| 44 | + if (is_null($id) or is_null($objet)) { |
|
| 45 | + include_spip('inc/minipres'); |
|
| 46 | + echo minipres(_T('info_acces_interdit')); |
|
| 47 | + die(); |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + // si id n'est pas un nombre, c'est une creation |
|
| 51 | + // mais on verifie qu'on a toutes les donnees qu'il faut. |
|
| 52 | + if (!$id = intval($id)) { |
|
| 53 | + // on ne sait pas si un parent existe mais on essaye |
|
| 54 | + $id_parent = _request('id_parent'); |
|
| 55 | + $id = objet_inserer($objet, $id_parent); |
|
| 56 | + } |
|
| 57 | + |
|
| 58 | + if (!($id = intval($id)) > 0) { |
|
| 59 | + return array($id, _L('echec enregistrement en base')); |
|
| 60 | + } |
|
| 61 | + |
|
| 62 | + // Enregistre l'envoi dans la BD |
|
| 63 | + $err = objet_modifier($objet, $id, $set); |
|
| 64 | + |
|
| 65 | + return array($id, $err); |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -75,80 +75,80 @@ discard block |
||
| 75 | 75 | * @return mixed|string |
| 76 | 76 | */ |
| 77 | 77 | function objet_modifier($objet, $id, $set = null) { |
| 78 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 79 | - spip_log("objet_modifier: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 80 | - $objet = $t; |
|
| 81 | - } |
|
| 82 | - if (include_spip('action/editer_' . $objet) |
|
| 83 | - and function_exists($modifier = $objet . "_modifier") |
|
| 84 | - ) { |
|
| 85 | - return $modifier($id, $set); |
|
| 86 | - } |
|
| 87 | - |
|
| 88 | - $table_sql = table_objet_sql($objet); |
|
| 89 | - $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 90 | - $desc = $trouver_table($table_sql); |
|
| 91 | - if (!$desc or !isset($desc['field'])) { |
|
| 92 | - spip_log("Objet $objet inconnu dans objet_modifier", _LOG_ERREUR); |
|
| 93 | - |
|
| 94 | - return _L("Erreur objet $objet inconnu"); |
|
| 95 | - } |
|
| 96 | - include_spip('inc/modifier'); |
|
| 97 | - |
|
| 98 | - $champ_date = ''; |
|
| 99 | - if (isset($desc['date']) and $desc['date']) { |
|
| 100 | - $champ_date = $desc['date']; |
|
| 101 | - } elseif (isset($desc['field']['date'])) { |
|
| 102 | - $champ_date = 'date'; |
|
| 103 | - } |
|
| 104 | - |
|
| 105 | - $white = array_keys($desc['field']); |
|
| 106 | - // on ne traite pas la cle primaire par defaut, notamment car |
|
| 107 | - // sur une creation, id_x vaut 'oui', et serait enregistre en id_x=0 dans la base |
|
| 108 | - $white = array_diff($white, array($desc['key']['PRIMARY KEY'])); |
|
| 109 | - |
|
| 110 | - if (isset($desc['champs_editables']) and is_array($desc['champs_editables'])) { |
|
| 111 | - $white = $desc['champs_editables']; |
|
| 112 | - } |
|
| 113 | - $c = collecter_requests( |
|
| 114 | - // white list |
|
| 115 | - $white, |
|
| 116 | - // black list |
|
| 117 | - array($champ_date, 'statut', 'id_parent', 'id_secteur'), |
|
| 118 | - // donnees eventuellement fournies |
|
| 119 | - $set |
|
| 120 | - ); |
|
| 121 | - |
|
| 122 | - // Si l'objet est publie, invalider les caches et demander sa reindexation |
|
| 123 | - if (objet_test_si_publie($objet, $id)) { |
|
| 124 | - $invalideur = "id='$objet/$id'"; |
|
| 125 | - $indexation = true; |
|
| 126 | - } else { |
|
| 127 | - $invalideur = ""; |
|
| 128 | - $indexation = false; |
|
| 129 | - } |
|
| 130 | - |
|
| 131 | - if ($err = objet_modifier_champs($objet, $id, |
|
| 132 | - array( |
|
| 133 | - 'data' => $set, |
|
| 134 | - 'nonvide' => '', |
|
| 135 | - 'invalideur' => $invalideur, |
|
| 136 | - 'indexation' => $indexation, |
|
| 137 | - // champ a mettre a date('Y-m-d H:i:s') s'il y a modif |
|
| 138 | - 'date_modif' => (isset($desc['field']['date_modif']) ? 'date_modif' : '') |
|
| 139 | - ), |
|
| 140 | - $c) |
|
| 141 | - ) { |
|
| 142 | - return $err; |
|
| 143 | - } |
|
| 144 | - |
|
| 145 | - // Modification de statut, changement de rubrique ? |
|
| 146 | - // FIXME: Ici lorsqu'un $set est passé, la fonction collecter_requests() retourne tout |
|
| 147 | - // le tableau $set hors black liste, mais du coup on a possiblement des champs en trop. |
|
| 148 | - $c = collecter_requests(array($champ_date, 'statut', 'id_parent'), array(), $set); |
|
| 149 | - $err = objet_instituer($objet, $id, $c); |
|
| 150 | - |
|
| 151 | - return $err; |
|
| 78 | + if (($t=objet_type($objet)) !== $objet) { |
|
| 79 | + spip_log("objet_modifier: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 80 | + $objet = $t; |
|
| 81 | + } |
|
| 82 | + if (include_spip('action/editer_' . $objet) |
|
| 83 | + and function_exists($modifier = $objet . "_modifier") |
|
| 84 | + ) { |
|
| 85 | + return $modifier($id, $set); |
|
| 86 | + } |
|
| 87 | + |
|
| 88 | + $table_sql = table_objet_sql($objet); |
|
| 89 | + $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 90 | + $desc = $trouver_table($table_sql); |
|
| 91 | + if (!$desc or !isset($desc['field'])) { |
|
| 92 | + spip_log("Objet $objet inconnu dans objet_modifier", _LOG_ERREUR); |
|
| 93 | + |
|
| 94 | + return _L("Erreur objet $objet inconnu"); |
|
| 95 | + } |
|
| 96 | + include_spip('inc/modifier'); |
|
| 97 | + |
|
| 98 | + $champ_date = ''; |
|
| 99 | + if (isset($desc['date']) and $desc['date']) { |
|
| 100 | + $champ_date = $desc['date']; |
|
| 101 | + } elseif (isset($desc['field']['date'])) { |
|
| 102 | + $champ_date = 'date'; |
|
| 103 | + } |
|
| 104 | + |
|
| 105 | + $white = array_keys($desc['field']); |
|
| 106 | + // on ne traite pas la cle primaire par defaut, notamment car |
|
| 107 | + // sur une creation, id_x vaut 'oui', et serait enregistre en id_x=0 dans la base |
|
| 108 | + $white = array_diff($white, array($desc['key']['PRIMARY KEY'])); |
|
| 109 | + |
|
| 110 | + if (isset($desc['champs_editables']) and is_array($desc['champs_editables'])) { |
|
| 111 | + $white = $desc['champs_editables']; |
|
| 112 | + } |
|
| 113 | + $c = collecter_requests( |
|
| 114 | + // white list |
|
| 115 | + $white, |
|
| 116 | + // black list |
|
| 117 | + array($champ_date, 'statut', 'id_parent', 'id_secteur'), |
|
| 118 | + // donnees eventuellement fournies |
|
| 119 | + $set |
|
| 120 | + ); |
|
| 121 | + |
|
| 122 | + // Si l'objet est publie, invalider les caches et demander sa reindexation |
|
| 123 | + if (objet_test_si_publie($objet, $id)) { |
|
| 124 | + $invalideur = "id='$objet/$id'"; |
|
| 125 | + $indexation = true; |
|
| 126 | + } else { |
|
| 127 | + $invalideur = ""; |
|
| 128 | + $indexation = false; |
|
| 129 | + } |
|
| 130 | + |
|
| 131 | + if ($err = objet_modifier_champs($objet, $id, |
|
| 132 | + array( |
|
| 133 | + 'data' => $set, |
|
| 134 | + 'nonvide' => '', |
|
| 135 | + 'invalideur' => $invalideur, |
|
| 136 | + 'indexation' => $indexation, |
|
| 137 | + // champ a mettre a date('Y-m-d H:i:s') s'il y a modif |
|
| 138 | + 'date_modif' => (isset($desc['field']['date_modif']) ? 'date_modif' : '') |
|
| 139 | + ), |
|
| 140 | + $c) |
|
| 141 | + ) { |
|
| 142 | + return $err; |
|
| 143 | + } |
|
| 144 | + |
|
| 145 | + // Modification de statut, changement de rubrique ? |
|
| 146 | + // FIXME: Ici lorsqu'un $set est passé, la fonction collecter_requests() retourne tout |
|
| 147 | + // le tableau $set hors black liste, mais du coup on a possiblement des champs en trop. |
|
| 148 | + $c = collecter_requests(array($champ_date, 'statut', 'id_parent'), array(), $set); |
|
| 149 | + $err = objet_instituer($objet, $id, $c); |
|
| 150 | + |
|
| 151 | + return $err; |
|
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | /** |
@@ -163,124 +163,124 @@ discard block |
||
| 163 | 163 | * @return bool|int |
| 164 | 164 | */ |
| 165 | 165 | function objet_inserer($objet, $id_parent = null, $set = null) { |
| 166 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 167 | - spip_log("objet_inserer: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 168 | - $objet = $t; |
|
| 169 | - } |
|
| 170 | - if (include_spip('action/editer_' . $objet) |
|
| 171 | - and function_exists($inserer = $objet . "_inserer") |
|
| 172 | - ) { |
|
| 173 | - return $inserer($id_parent, $set); |
|
| 174 | - } |
|
| 175 | - |
|
| 176 | - $table_sql = table_objet_sql($objet); |
|
| 177 | - $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 178 | - $desc = $trouver_table($table_sql); |
|
| 179 | - if (!$desc or !isset($desc['field'])) { |
|
| 180 | - return 0; |
|
| 181 | - } |
|
| 182 | - |
|
| 183 | - $lang_rub = ""; |
|
| 184 | - $champs = array(); |
|
| 185 | - if (isset($desc['field']['id_rubrique'])) { |
|
| 186 | - // Si id_rubrique vaut 0 ou n'est pas definie, creer l'objet |
|
| 187 | - // dans la premiere rubrique racine |
|
| 188 | - if (!$id_rubrique = intval($id_parent)) { |
|
| 189 | - $row = sql_fetsel("id_rubrique, id_secteur, lang", "spip_rubriques", "id_parent=0", '', '0+titre,titre', "1"); |
|
| 190 | - $id_rubrique = $row['id_rubrique']; |
|
| 191 | - } else { |
|
| 192 | - $row = sql_fetsel("lang, id_secteur", "spip_rubriques", "id_rubrique=" . intval($id_rubrique)); |
|
| 193 | - } |
|
| 194 | - |
|
| 195 | - $champs['id_rubrique'] = $id_rubrique; |
|
| 196 | - if (isset($desc['field']['id_secteur'])) { |
|
| 197 | - $champs['id_secteur'] = $row['id_secteur']; |
|
| 198 | - } |
|
| 199 | - $lang_rub = $row['lang']; |
|
| 200 | - } |
|
| 201 | - |
|
| 202 | - // La langue a la creation : si les liens de traduction sont autorises |
|
| 203 | - // dans les rubriques, on essaie avec la langue de l'auteur, |
|
| 204 | - // ou a defaut celle de la rubrique |
|
| 205 | - // Sinon c'est la langue de la rubrique qui est choisie + heritee |
|
| 206 | - if (isset($desc['field']['lang']) and !empty($GLOBALS['meta']['multi_objets']) and in_array($table_sql, |
|
| 207 | - explode(',', $GLOBALS['meta']['multi_objets'])) |
|
| 208 | - ) { |
|
| 209 | - lang_select($GLOBALS['visiteur_session']['lang']); |
|
| 210 | - if (in_array($GLOBALS['spip_lang'], |
|
| 211 | - explode(',', $GLOBALS['meta']['langues_multilingue']))) { |
|
| 212 | - $champs['lang'] = $GLOBALS['spip_lang']; |
|
| 213 | - if (isset($desc['field']['langue_choisie'])) { |
|
| 214 | - $champs['langue_choisie'] = 'oui'; |
|
| 215 | - } |
|
| 216 | - } |
|
| 217 | - } elseif (isset($desc['field']['lang']) and isset($desc['field']['langue_choisie'])) { |
|
| 218 | - $champs['lang'] = ($lang_rub ? $lang_rub : $GLOBALS['meta']['langue_site']); |
|
| 219 | - $champs['langue_choisie'] = 'non'; |
|
| 220 | - } |
|
| 221 | - |
|
| 222 | - if (isset($desc['field']['statut'])) { |
|
| 223 | - if (isset($desc['statut_textes_instituer'])) { |
|
| 224 | - $cles_statut = array_keys($desc['statut_textes_instituer']); |
|
| 225 | - $champs['statut'] = reset($cles_statut); |
|
| 226 | - } else { |
|
| 227 | - $champs['statut'] = 'prepa'; |
|
| 228 | - } |
|
| 229 | - } |
|
| 230 | - |
|
| 231 | - |
|
| 232 | - if ((isset($desc['date']) and $d = $desc['date']) or isset($desc['field'][$d = 'date'])) { |
|
| 233 | - $champs[$d] = date('Y-m-d H:i:s'); |
|
| 234 | - } |
|
| 235 | - |
|
| 236 | - if ($set) { |
|
| 237 | - $champs = array_merge($champs, $set); |
|
| 238 | - } |
|
| 239 | - |
|
| 240 | - // Envoyer aux plugins |
|
| 241 | - $champs = pipeline('pre_insertion', |
|
| 242 | - array( |
|
| 243 | - 'args' => array( |
|
| 244 | - 'table' => $table_sql, |
|
| 245 | - 'id_parent' => $id_parent, |
|
| 246 | - ), |
|
| 247 | - 'data' => $champs |
|
| 248 | - ) |
|
| 249 | - ); |
|
| 250 | - |
|
| 251 | - $id = sql_insertq($table_sql, $champs); |
|
| 252 | - |
|
| 253 | - if ($id) { |
|
| 254 | - // controler si le serveur n'a pas renvoye une erreur |
|
| 255 | - // et associer l'auteur sinon |
|
| 256 | - // si la table n'a pas deja un champ id_auteur |
|
| 257 | - // et si le form n'a pas poste un id_auteur (meme vide, ce qui sert a annuler cette auto association) |
|
| 258 | - if ($id > 0 |
|
| 259 | - and !isset($desc['field']['id_auteur']) |
|
| 260 | - ) { |
|
| 261 | - $id_auteur = ((is_null(_request('id_auteur')) and isset($GLOBALS['visiteur_session']['id_auteur'])) ? |
|
| 262 | - $GLOBALS['visiteur_session']['id_auteur'] |
|
| 263 | - : _request('id_auteur')); |
|
| 264 | - if ($id_auteur) { |
|
| 265 | - include_spip('action/editer_auteur'); |
|
| 266 | - auteur_associer($id_auteur, array($objet => $id)); |
|
| 267 | - } |
|
| 268 | - } |
|
| 269 | - |
|
| 270 | - pipeline('post_insertion', |
|
| 271 | - array( |
|
| 272 | - 'args' => array( |
|
| 273 | - 'table' => $table_sql, |
|
| 274 | - 'id_parent' => $id_parent, |
|
| 275 | - 'id_objet' => $id, |
|
| 276 | - ), |
|
| 277 | - 'data' => $champs |
|
| 278 | - ) |
|
| 279 | - ); |
|
| 280 | - |
|
| 281 | - } |
|
| 282 | - |
|
| 283 | - return $id; |
|
| 166 | + if (($t=objet_type($objet)) !== $objet) { |
|
| 167 | + spip_log("objet_inserer: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 168 | + $objet = $t; |
|
| 169 | + } |
|
| 170 | + if (include_spip('action/editer_' . $objet) |
|
| 171 | + and function_exists($inserer = $objet . "_inserer") |
|
| 172 | + ) { |
|
| 173 | + return $inserer($id_parent, $set); |
|
| 174 | + } |
|
| 175 | + |
|
| 176 | + $table_sql = table_objet_sql($objet); |
|
| 177 | + $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 178 | + $desc = $trouver_table($table_sql); |
|
| 179 | + if (!$desc or !isset($desc['field'])) { |
|
| 180 | + return 0; |
|
| 181 | + } |
|
| 182 | + |
|
| 183 | + $lang_rub = ""; |
|
| 184 | + $champs = array(); |
|
| 185 | + if (isset($desc['field']['id_rubrique'])) { |
|
| 186 | + // Si id_rubrique vaut 0 ou n'est pas definie, creer l'objet |
|
| 187 | + // dans la premiere rubrique racine |
|
| 188 | + if (!$id_rubrique = intval($id_parent)) { |
|
| 189 | + $row = sql_fetsel("id_rubrique, id_secteur, lang", "spip_rubriques", "id_parent=0", '', '0+titre,titre', "1"); |
|
| 190 | + $id_rubrique = $row['id_rubrique']; |
|
| 191 | + } else { |
|
| 192 | + $row = sql_fetsel("lang, id_secteur", "spip_rubriques", "id_rubrique=" . intval($id_rubrique)); |
|
| 193 | + } |
|
| 194 | + |
|
| 195 | + $champs['id_rubrique'] = $id_rubrique; |
|
| 196 | + if (isset($desc['field']['id_secteur'])) { |
|
| 197 | + $champs['id_secteur'] = $row['id_secteur']; |
|
| 198 | + } |
|
| 199 | + $lang_rub = $row['lang']; |
|
| 200 | + } |
|
| 201 | + |
|
| 202 | + // La langue a la creation : si les liens de traduction sont autorises |
|
| 203 | + // dans les rubriques, on essaie avec la langue de l'auteur, |
|
| 204 | + // ou a defaut celle de la rubrique |
|
| 205 | + // Sinon c'est la langue de la rubrique qui est choisie + heritee |
|
| 206 | + if (isset($desc['field']['lang']) and !empty($GLOBALS['meta']['multi_objets']) and in_array($table_sql, |
|
| 207 | + explode(',', $GLOBALS['meta']['multi_objets'])) |
|
| 208 | + ) { |
|
| 209 | + lang_select($GLOBALS['visiteur_session']['lang']); |
|
| 210 | + if (in_array($GLOBALS['spip_lang'], |
|
| 211 | + explode(',', $GLOBALS['meta']['langues_multilingue']))) { |
|
| 212 | + $champs['lang'] = $GLOBALS['spip_lang']; |
|
| 213 | + if (isset($desc['field']['langue_choisie'])) { |
|
| 214 | + $champs['langue_choisie'] = 'oui'; |
|
| 215 | + } |
|
| 216 | + } |
|
| 217 | + } elseif (isset($desc['field']['lang']) and isset($desc['field']['langue_choisie'])) { |
|
| 218 | + $champs['lang'] = ($lang_rub ? $lang_rub : $GLOBALS['meta']['langue_site']); |
|
| 219 | + $champs['langue_choisie'] = 'non'; |
|
| 220 | + } |
|
| 221 | + |
|
| 222 | + if (isset($desc['field']['statut'])) { |
|
| 223 | + if (isset($desc['statut_textes_instituer'])) { |
|
| 224 | + $cles_statut = array_keys($desc['statut_textes_instituer']); |
|
| 225 | + $champs['statut'] = reset($cles_statut); |
|
| 226 | + } else { |
|
| 227 | + $champs['statut'] = 'prepa'; |
|
| 228 | + } |
|
| 229 | + } |
|
| 230 | + |
|
| 231 | + |
|
| 232 | + if ((isset($desc['date']) and $d = $desc['date']) or isset($desc['field'][$d = 'date'])) { |
|
| 233 | + $champs[$d] = date('Y-m-d H:i:s'); |
|
| 234 | + } |
|
| 235 | + |
|
| 236 | + if ($set) { |
|
| 237 | + $champs = array_merge($champs, $set); |
|
| 238 | + } |
|
| 239 | + |
|
| 240 | + // Envoyer aux plugins |
|
| 241 | + $champs = pipeline('pre_insertion', |
|
| 242 | + array( |
|
| 243 | + 'args' => array( |
|
| 244 | + 'table' => $table_sql, |
|
| 245 | + 'id_parent' => $id_parent, |
|
| 246 | + ), |
|
| 247 | + 'data' => $champs |
|
| 248 | + ) |
|
| 249 | + ); |
|
| 250 | + |
|
| 251 | + $id = sql_insertq($table_sql, $champs); |
|
| 252 | + |
|
| 253 | + if ($id) { |
|
| 254 | + // controler si le serveur n'a pas renvoye une erreur |
|
| 255 | + // et associer l'auteur sinon |
|
| 256 | + // si la table n'a pas deja un champ id_auteur |
|
| 257 | + // et si le form n'a pas poste un id_auteur (meme vide, ce qui sert a annuler cette auto association) |
|
| 258 | + if ($id > 0 |
|
| 259 | + and !isset($desc['field']['id_auteur']) |
|
| 260 | + ) { |
|
| 261 | + $id_auteur = ((is_null(_request('id_auteur')) and isset($GLOBALS['visiteur_session']['id_auteur'])) ? |
|
| 262 | + $GLOBALS['visiteur_session']['id_auteur'] |
|
| 263 | + : _request('id_auteur')); |
|
| 264 | + if ($id_auteur) { |
|
| 265 | + include_spip('action/editer_auteur'); |
|
| 266 | + auteur_associer($id_auteur, array($objet => $id)); |
|
| 267 | + } |
|
| 268 | + } |
|
| 269 | + |
|
| 270 | + pipeline('post_insertion', |
|
| 271 | + array( |
|
| 272 | + 'args' => array( |
|
| 273 | + 'table' => $table_sql, |
|
| 274 | + 'id_parent' => $id_parent, |
|
| 275 | + 'id_objet' => $id, |
|
| 276 | + ), |
|
| 277 | + 'data' => $champs |
|
| 278 | + ) |
|
| 279 | + ); |
|
| 280 | + |
|
| 281 | + } |
|
| 282 | + |
|
| 283 | + return $id; |
|
| 284 | 284 | } |
| 285 | 285 | |
| 286 | 286 | |
@@ -297,132 +297,132 @@ discard block |
||
| 297 | 297 | * @return string |
| 298 | 298 | */ |
| 299 | 299 | function objet_instituer($objet, $id, $c, $calcul_rub = true) { |
| 300 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 301 | - spip_log("objet_instituer: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 302 | - $objet = $t; |
|
| 303 | - } |
|
| 304 | - if (include_spip('action/editer_' . $objet) |
|
| 305 | - and function_exists($instituer = $objet . "_instituer") |
|
| 306 | - ) { |
|
| 307 | - return $instituer($id, $c, $calcul_rub); |
|
| 308 | - } |
|
| 309 | - |
|
| 310 | - $table_sql = table_objet_sql($objet); |
|
| 311 | - $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 312 | - $desc = $trouver_table($table_sql); |
|
| 313 | - if (!$desc or !isset($desc['field'])) { |
|
| 314 | - return _L("Impossible d'instituer $objet : non connu en base"); |
|
| 315 | - } |
|
| 316 | - |
|
| 317 | - include_spip('inc/autoriser'); |
|
| 318 | - include_spip('inc/rubriques'); |
|
| 319 | - include_spip('inc/modifier'); |
|
| 320 | - |
|
| 321 | - $sel = array(); |
|
| 322 | - $sel[] = (isset($desc['field']['statut']) ? "statut" : "'' as statut"); |
|
| 323 | - |
|
| 324 | - $champ_date = ''; |
|
| 325 | - if (isset($desc['date']) and $desc['date']) { |
|
| 326 | - $champ_date = $desc['date']; |
|
| 327 | - } elseif (isset($desc['field']['date'])) { |
|
| 328 | - $champ_date = 'date'; |
|
| 329 | - } |
|
| 330 | - |
|
| 331 | - $sel[] = ($champ_date ? "$champ_date as date" : "'' as date"); |
|
| 332 | - $sel[] = (isset($desc['field']['id_rubrique']) ? 'id_rubrique' : "0 as id_rubrique"); |
|
| 333 | - |
|
| 334 | - $row = sql_fetsel($sel, $table_sql, id_table_objet($objet) . '=' . intval($id)); |
|
| 335 | - |
|
| 336 | - $id_rubrique = $row['id_rubrique']; |
|
| 337 | - $statut_ancien = $statut = $row['statut']; |
|
| 338 | - $date_ancienne = $date = $row['date']; |
|
| 339 | - $champs = array(); |
|
| 340 | - |
|
| 341 | - $d = ($date and isset($c[$champ_date])) ? $c[$champ_date] : null; |
|
| 342 | - $s = (isset($desc['field']['statut']) and isset($c['statut'])) ? $c['statut'] : $statut; |
|
| 343 | - |
|
| 344 | - // cf autorisations dans inc/instituer_objet |
|
| 345 | - if ($s != $statut or ($d and $d != $date)) { |
|
| 346 | - if ($id_rubrique ? |
|
| 347 | - autoriser('publierdans', 'rubrique', $id_rubrique) |
|
| 348 | - : |
|
| 349 | - autoriser('instituer', $objet, $id, null, array('statut' => $s)) |
|
| 350 | - ) { |
|
| 351 | - $statut = $champs['statut'] = $s; |
|
| 352 | - } else { |
|
| 353 | - if ($s != 'publie' and autoriser('modifier', $objet, $id)) { |
|
| 354 | - $statut = $champs['statut'] = $s; |
|
| 355 | - } else { |
|
| 356 | - spip_log("editer_objet $id refus " . join(' ', $c)); |
|
| 357 | - } |
|
| 358 | - } |
|
| 359 | - |
|
| 360 | - // En cas de publication, fixer la date a "maintenant" |
|
| 361 | - // sauf si $c commande autre chose |
|
| 362 | - // ou si l'objet est deja date dans le futur |
|
| 363 | - // En cas de proposition d'un objet (mais pas depublication), idem |
|
| 364 | - if ($champ_date) { |
|
| 365 | - if ($champs['statut'] == 'publie' |
|
| 366 | - or ($champs['statut'] == 'prop' and !in_array($statut_ancien, array('publie', 'prop'))) |
|
| 367 | - or $d |
|
| 368 | - ) { |
|
| 369 | - if ($d or strtotime($d = $date) > time()) { |
|
| 370 | - $champs[$champ_date] = $date = $d; |
|
| 371 | - } else { |
|
| 372 | - $champs[$champ_date] = $date = date('Y-m-d H:i:s'); |
|
| 373 | - } |
|
| 374 | - } |
|
| 375 | - } |
|
| 376 | - } |
|
| 377 | - |
|
| 378 | - // Verifier que la rubrique demandee existe et est differente |
|
| 379 | - // de la rubrique actuelle |
|
| 380 | - if ($id_rubrique |
|
| 381 | - and isset($c['id_parent']) |
|
| 382 | - and $id_parent = $c['id_parent'] |
|
| 383 | - and $id_parent != $id_rubrique |
|
| 384 | - and (sql_fetsel('1', "spip_rubriques", "id_rubrique=" . intval($id_parent))) |
|
| 385 | - ) { |
|
| 386 | - $champs['id_rubrique'] = $id_parent; |
|
| 387 | - |
|
| 388 | - // si l'objet etait publie |
|
| 389 | - // et que le demandeur n'est pas admin de la rubrique |
|
| 390 | - // repasser l'objet en statut 'propose'. |
|
| 391 | - if ($statut == 'publie' |
|
| 392 | - and !autoriser('publierdans', 'rubrique', $id_rubrique) |
|
| 393 | - ) { |
|
| 394 | - $champs['statut'] = 'prop'; |
|
| 395 | - } |
|
| 396 | - } |
|
| 397 | - |
|
| 398 | - |
|
| 399 | - // Envoyer aux plugins |
|
| 400 | - $champs = pipeline('pre_edition', |
|
| 401 | - array( |
|
| 402 | - 'args' => array( |
|
| 403 | - 'table' => $table_sql, |
|
| 404 | - 'id_objet' => $id, |
|
| 405 | - 'action' => 'instituer', |
|
| 406 | - 'statut_ancien' => $statut_ancien, |
|
| 407 | - 'date_ancienne' => $date_ancienne, |
|
| 408 | - 'id_parent_ancien' => $id_rubrique, |
|
| 409 | - ), |
|
| 410 | - 'data' => $champs |
|
| 411 | - ) |
|
| 412 | - ); |
|
| 413 | - |
|
| 414 | - if (!count($champs)) { |
|
| 415 | - return ''; |
|
| 416 | - } |
|
| 417 | - |
|
| 418 | - // Envoyer les modifs. |
|
| 419 | - objet_editer_heritage($objet, $id, $id_rubrique, $statut_ancien, $champs, $calcul_rub); |
|
| 420 | - |
|
| 421 | - // Invalider les caches |
|
| 422 | - include_spip('inc/invalideur'); |
|
| 423 | - suivre_invalideur("id='$objet/$id'"); |
|
| 424 | - |
|
| 425 | - /* |
|
| 300 | + if (($t=objet_type($objet)) !== $objet) { |
|
| 301 | + spip_log("objet_instituer: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 302 | + $objet = $t; |
|
| 303 | + } |
|
| 304 | + if (include_spip('action/editer_' . $objet) |
|
| 305 | + and function_exists($instituer = $objet . "_instituer") |
|
| 306 | + ) { |
|
| 307 | + return $instituer($id, $c, $calcul_rub); |
|
| 308 | + } |
|
| 309 | + |
|
| 310 | + $table_sql = table_objet_sql($objet); |
|
| 311 | + $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 312 | + $desc = $trouver_table($table_sql); |
|
| 313 | + if (!$desc or !isset($desc['field'])) { |
|
| 314 | + return _L("Impossible d'instituer $objet : non connu en base"); |
|
| 315 | + } |
|
| 316 | + |
|
| 317 | + include_spip('inc/autoriser'); |
|
| 318 | + include_spip('inc/rubriques'); |
|
| 319 | + include_spip('inc/modifier'); |
|
| 320 | + |
|
| 321 | + $sel = array(); |
|
| 322 | + $sel[] = (isset($desc['field']['statut']) ? "statut" : "'' as statut"); |
|
| 323 | + |
|
| 324 | + $champ_date = ''; |
|
| 325 | + if (isset($desc['date']) and $desc['date']) { |
|
| 326 | + $champ_date = $desc['date']; |
|
| 327 | + } elseif (isset($desc['field']['date'])) { |
|
| 328 | + $champ_date = 'date'; |
|
| 329 | + } |
|
| 330 | + |
|
| 331 | + $sel[] = ($champ_date ? "$champ_date as date" : "'' as date"); |
|
| 332 | + $sel[] = (isset($desc['field']['id_rubrique']) ? 'id_rubrique' : "0 as id_rubrique"); |
|
| 333 | + |
|
| 334 | + $row = sql_fetsel($sel, $table_sql, id_table_objet($objet) . '=' . intval($id)); |
|
| 335 | + |
|
| 336 | + $id_rubrique = $row['id_rubrique']; |
|
| 337 | + $statut_ancien = $statut = $row['statut']; |
|
| 338 | + $date_ancienne = $date = $row['date']; |
|
| 339 | + $champs = array(); |
|
| 340 | + |
|
| 341 | + $d = ($date and isset($c[$champ_date])) ? $c[$champ_date] : null; |
|
| 342 | + $s = (isset($desc['field']['statut']) and isset($c['statut'])) ? $c['statut'] : $statut; |
|
| 343 | + |
|
| 344 | + // cf autorisations dans inc/instituer_objet |
|
| 345 | + if ($s != $statut or ($d and $d != $date)) { |
|
| 346 | + if ($id_rubrique ? |
|
| 347 | + autoriser('publierdans', 'rubrique', $id_rubrique) |
|
| 348 | + : |
|
| 349 | + autoriser('instituer', $objet, $id, null, array('statut' => $s)) |
|
| 350 | + ) { |
|
| 351 | + $statut = $champs['statut'] = $s; |
|
| 352 | + } else { |
|
| 353 | + if ($s != 'publie' and autoriser('modifier', $objet, $id)) { |
|
| 354 | + $statut = $champs['statut'] = $s; |
|
| 355 | + } else { |
|
| 356 | + spip_log("editer_objet $id refus " . join(' ', $c)); |
|
| 357 | + } |
|
| 358 | + } |
|
| 359 | + |
|
| 360 | + // En cas de publication, fixer la date a "maintenant" |
|
| 361 | + // sauf si $c commande autre chose |
|
| 362 | + // ou si l'objet est deja date dans le futur |
|
| 363 | + // En cas de proposition d'un objet (mais pas depublication), idem |
|
| 364 | + if ($champ_date) { |
|
| 365 | + if ($champs['statut'] == 'publie' |
|
| 366 | + or ($champs['statut'] == 'prop' and !in_array($statut_ancien, array('publie', 'prop'))) |
|
| 367 | + or $d |
|
| 368 | + ) { |
|
| 369 | + if ($d or strtotime($d = $date) > time()) { |
|
| 370 | + $champs[$champ_date] = $date = $d; |
|
| 371 | + } else { |
|
| 372 | + $champs[$champ_date] = $date = date('Y-m-d H:i:s'); |
|
| 373 | + } |
|
| 374 | + } |
|
| 375 | + } |
|
| 376 | + } |
|
| 377 | + |
|
| 378 | + // Verifier que la rubrique demandee existe et est differente |
|
| 379 | + // de la rubrique actuelle |
|
| 380 | + if ($id_rubrique |
|
| 381 | + and isset($c['id_parent']) |
|
| 382 | + and $id_parent = $c['id_parent'] |
|
| 383 | + and $id_parent != $id_rubrique |
|
| 384 | + and (sql_fetsel('1', "spip_rubriques", "id_rubrique=" . intval($id_parent))) |
|
| 385 | + ) { |
|
| 386 | + $champs['id_rubrique'] = $id_parent; |
|
| 387 | + |
|
| 388 | + // si l'objet etait publie |
|
| 389 | + // et que le demandeur n'est pas admin de la rubrique |
|
| 390 | + // repasser l'objet en statut 'propose'. |
|
| 391 | + if ($statut == 'publie' |
|
| 392 | + and !autoriser('publierdans', 'rubrique', $id_rubrique) |
|
| 393 | + ) { |
|
| 394 | + $champs['statut'] = 'prop'; |
|
| 395 | + } |
|
| 396 | + } |
|
| 397 | + |
|
| 398 | + |
|
| 399 | + // Envoyer aux plugins |
|
| 400 | + $champs = pipeline('pre_edition', |
|
| 401 | + array( |
|
| 402 | + 'args' => array( |
|
| 403 | + 'table' => $table_sql, |
|
| 404 | + 'id_objet' => $id, |
|
| 405 | + 'action' => 'instituer', |
|
| 406 | + 'statut_ancien' => $statut_ancien, |
|
| 407 | + 'date_ancienne' => $date_ancienne, |
|
| 408 | + 'id_parent_ancien' => $id_rubrique, |
|
| 409 | + ), |
|
| 410 | + 'data' => $champs |
|
| 411 | + ) |
|
| 412 | + ); |
|
| 413 | + |
|
| 414 | + if (!count($champs)) { |
|
| 415 | + return ''; |
|
| 416 | + } |
|
| 417 | + |
|
| 418 | + // Envoyer les modifs. |
|
| 419 | + objet_editer_heritage($objet, $id, $id_rubrique, $statut_ancien, $champs, $calcul_rub); |
|
| 420 | + |
|
| 421 | + // Invalider les caches |
|
| 422 | + include_spip('inc/invalideur'); |
|
| 423 | + suivre_invalideur("id='$objet/$id'"); |
|
| 424 | + |
|
| 425 | + /* |
|
| 426 | 426 | if ($date) { |
| 427 | 427 | $t = strtotime($date); |
| 428 | 428 | $p = @$GLOBALS['meta']['date_prochain_postdate']; |
@@ -431,29 +431,29 @@ discard block |
||
| 431 | 431 | } |
| 432 | 432 | }*/ |
| 433 | 433 | |
| 434 | - // Pipeline |
|
| 435 | - pipeline('post_edition', |
|
| 436 | - array( |
|
| 437 | - 'args' => array( |
|
| 438 | - 'table' => $table_sql, |
|
| 439 | - 'id_objet' => $id, |
|
| 440 | - 'action' => 'instituer', |
|
| 441 | - 'statut_ancien' => $statut_ancien, |
|
| 442 | - 'date_ancienne' => $date_ancienne, |
|
| 443 | - 'id_parent_ancien' => $id_rubrique, |
|
| 444 | - ), |
|
| 445 | - 'data' => $champs |
|
| 446 | - ) |
|
| 447 | - ); |
|
| 448 | - |
|
| 449 | - // Notifications |
|
| 450 | - if ($notifications = charger_fonction('notifications', 'inc')) { |
|
| 451 | - $notifications("instituer$objet", $id, |
|
| 452 | - array('statut' => $statut, 'statut_ancien' => $statut_ancien, 'date' => $date, 'date_ancienne' => $date_ancienne) |
|
| 453 | - ); |
|
| 454 | - } |
|
| 455 | - |
|
| 456 | - return ''; // pas d'erreur |
|
| 434 | + // Pipeline |
|
| 435 | + pipeline('post_edition', |
|
| 436 | + array( |
|
| 437 | + 'args' => array( |
|
| 438 | + 'table' => $table_sql, |
|
| 439 | + 'id_objet' => $id, |
|
| 440 | + 'action' => 'instituer', |
|
| 441 | + 'statut_ancien' => $statut_ancien, |
|
| 442 | + 'date_ancienne' => $date_ancienne, |
|
| 443 | + 'id_parent_ancien' => $id_rubrique, |
|
| 444 | + ), |
|
| 445 | + 'data' => $champs |
|
| 446 | + ) |
|
| 447 | + ); |
|
| 448 | + |
|
| 449 | + // Notifications |
|
| 450 | + if ($notifications = charger_fonction('notifications', 'inc')) { |
|
| 451 | + $notifications("instituer$objet", $id, |
|
| 452 | + array('statut' => $statut, 'statut_ancien' => $statut_ancien, 'date' => $date, 'date_ancienne' => $date_ancienne) |
|
| 453 | + ); |
|
| 454 | + } |
|
| 455 | + |
|
| 456 | + return ''; // pas d'erreur |
|
| 457 | 457 | } |
| 458 | 458 | |
| 459 | 459 | /** |
@@ -468,47 +468,47 @@ discard block |
||
| 468 | 468 | * @return void |
| 469 | 469 | */ |
| 470 | 470 | function objet_editer_heritage($objet, $id, $id_rubrique, $statut, $champs, $cond = true) { |
| 471 | - $table_sql = table_objet_sql($objet); |
|
| 472 | - $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 473 | - $desc = $trouver_table($table_sql); |
|
| 474 | - |
|
| 475 | - // Si on deplace l'objet |
|
| 476 | - // changer aussi son secteur et sa langue (si heritee) |
|
| 477 | - if (isset($champs['id_rubrique'])) { |
|
| 478 | - |
|
| 479 | - $row_rub = sql_fetsel("id_secteur, lang", "spip_rubriques", "id_rubrique=" . sql_quote($champs['id_rubrique'])); |
|
| 480 | - $langue = $row_rub['lang']; |
|
| 481 | - |
|
| 482 | - if (isset($desc['field']['id_secteur'])) { |
|
| 483 | - $champs['id_secteur'] = $row_rub['id_secteur']; |
|
| 484 | - } |
|
| 485 | - |
|
| 486 | - if (isset($desc['field']['lang']) and isset($desc['field']['langue_choisie'])) { |
|
| 487 | - if (sql_fetsel('1', $table_sql, |
|
| 488 | - id_table_objet($objet) . "=" . intval($id) . " AND langue_choisie<>'oui' AND lang<>" . sql_quote($langue))) { |
|
| 489 | - $champs['lang'] = $langue; |
|
| 490 | - } |
|
| 491 | - } |
|
| 492 | - } |
|
| 493 | - |
|
| 494 | - if (!$champs) { |
|
| 495 | - return; |
|
| 496 | - } |
|
| 497 | - sql_updateq($table_sql, $champs, id_table_objet($objet) . '=' . intval($id)); |
|
| 498 | - |
|
| 499 | - // Changer le statut des rubriques concernees |
|
| 500 | - if ($cond) { |
|
| 501 | - include_spip('inc/rubriques'); |
|
| 502 | - //$postdate = ($GLOBALS['meta']["post_dates"] == "non" AND isset($champs['date']) AND (strtotime($champs['date']) < time()))?$champs['date']:false; |
|
| 503 | - $postdate = false; |
|
| 504 | - // On rajoute les infos de l'objet |
|
| 505 | - $infos = array( |
|
| 506 | - 'objet' => $objet, |
|
| 507 | - 'id_objet' => $id, |
|
| 508 | - 'statut_ancien' => $statut, |
|
| 509 | - ); |
|
| 510 | - calculer_rubriques_if($id_rubrique, $champs, $infos, $postdate); |
|
| 511 | - } |
|
| 471 | + $table_sql = table_objet_sql($objet); |
|
| 472 | + $trouver_table = charger_fonction('trouver_table', 'base'); |
|
| 473 | + $desc = $trouver_table($table_sql); |
|
| 474 | + |
|
| 475 | + // Si on deplace l'objet |
|
| 476 | + // changer aussi son secteur et sa langue (si heritee) |
|
| 477 | + if (isset($champs['id_rubrique'])) { |
|
| 478 | + |
|
| 479 | + $row_rub = sql_fetsel("id_secteur, lang", "spip_rubriques", "id_rubrique=" . sql_quote($champs['id_rubrique'])); |
|
| 480 | + $langue = $row_rub['lang']; |
|
| 481 | + |
|
| 482 | + if (isset($desc['field']['id_secteur'])) { |
|
| 483 | + $champs['id_secteur'] = $row_rub['id_secteur']; |
|
| 484 | + } |
|
| 485 | + |
|
| 486 | + if (isset($desc['field']['lang']) and isset($desc['field']['langue_choisie'])) { |
|
| 487 | + if (sql_fetsel('1', $table_sql, |
|
| 488 | + id_table_objet($objet) . "=" . intval($id) . " AND langue_choisie<>'oui' AND lang<>" . sql_quote($langue))) { |
|
| 489 | + $champs['lang'] = $langue; |
|
| 490 | + } |
|
| 491 | + } |
|
| 492 | + } |
|
| 493 | + |
|
| 494 | + if (!$champs) { |
|
| 495 | + return; |
|
| 496 | + } |
|
| 497 | + sql_updateq($table_sql, $champs, id_table_objet($objet) . '=' . intval($id)); |
|
| 498 | + |
|
| 499 | + // Changer le statut des rubriques concernees |
|
| 500 | + if ($cond) { |
|
| 501 | + include_spip('inc/rubriques'); |
|
| 502 | + //$postdate = ($GLOBALS['meta']["post_dates"] == "non" AND isset($champs['date']) AND (strtotime($champs['date']) < time()))?$champs['date']:false; |
|
| 503 | + $postdate = false; |
|
| 504 | + // On rajoute les infos de l'objet |
|
| 505 | + $infos = array( |
|
| 506 | + 'objet' => $objet, |
|
| 507 | + 'id_objet' => $id, |
|
| 508 | + 'statut_ancien' => $statut, |
|
| 509 | + ); |
|
| 510 | + calculer_rubriques_if($id_rubrique, $champs, $infos, $postdate); |
|
| 511 | + } |
|
| 512 | 512 | } |
| 513 | 513 | |
| 514 | 514 | |
@@ -537,73 +537,73 @@ discard block |
||
| 537 | 537 | * string|int : valeur du champ demande pour l'objet demande |
| 538 | 538 | */ |
| 539 | 539 | function objet_lire($objet, $valeur_id, $options = array()) { |
| 540 | - if (($t=objet_type($objet)) !== $objet) { |
|
| 541 | - spip_log("objet_lire: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 542 | - $objet = $t; |
|
| 543 | - } |
|
| 544 | - |
|
| 545 | - // tableau du cache des descriptions et des id d'objet (au sens id_xxx). |
|
| 546 | - // Les tableaux sont toujours indexés par le trio [objet][cle][valeur_cle] |
|
| 547 | - static $descriptions = array(); |
|
| 548 | - |
|
| 549 | - // On détermine le nom du champ id de la table. |
|
| 550 | - include_spip('base/objets'); |
|
| 551 | - $primary = id_table_objet($objet); |
|
| 552 | - |
|
| 553 | - // On détermine l'id à utiliser. |
|
| 554 | - $champ_id = (!empty($options['champ_id']) ? $options['champ_id'] : $primary); |
|
| 555 | - |
|
| 556 | - // Si l'objet n'a pas encore été stocké, il faut récupérer sa description complète. |
|
| 557 | - if (!isset($descriptions[$objet][$champ_id][$valeur_id]) |
|
| 558 | - or (isset($options['force']) and $options['force'])) { |
|
| 559 | - // Il est possible pour un type d'objet de fournir une fonction de lecture de tous les champs d'un objet. |
|
| 560 | - if ( |
|
| 561 | - include_spip('action/editer_' . $objet) |
|
| 562 | - and function_exists($lire = "${objet}_lire_champs") |
|
| 563 | - ) { |
|
| 564 | - $valeurs = $lire($objet, $valeur_id, $champ_id); |
|
| 565 | - } else { |
|
| 566 | - // On récupère la table SQL à partir du type d'objet. |
|
| 567 | - $table = table_objet_sql($objet); |
|
| 568 | - |
|
| 569 | - // La condition est appliquée sur le champ désigné par l'utilisateur. |
|
| 570 | - $where = array( |
|
| 571 | - "${champ_id}=" . sql_quote($valeur_id) |
|
| 572 | - ); |
|
| 573 | - |
|
| 574 | - // Acquisition de tous les champs de l'objet : si l'accès SQL retourne une erreur on renvoie un tableau vide. |
|
| 575 | - $valeurs = sql_fetsel('*', $table, $where); |
|
| 576 | - } |
|
| 577 | - |
|
| 578 | - if (!$valeurs) { |
|
| 579 | - $valeurs = false; |
|
| 580 | - } |
|
| 581 | - |
|
| 582 | - $descriptions[$objet][$champ_id][$valeur_id] = $valeurs; |
|
| 583 | - |
|
| 584 | - if ($champ_id !== $primary and isset($valeurs[$primary])) { |
|
| 585 | - $descriptions[$objet][$primary][$valeurs[$primary]] = $valeurs; |
|
| 586 | - $descriptions[$objet][$champ_id][$valeur_id] = &$descriptions[$objet][$primary][$valeurs[$primary]]; |
|
| 587 | - } |
|
| 588 | - } |
|
| 589 | - |
|
| 590 | - $retour = $descriptions[$objet][$champ_id][$valeur_id]; |
|
| 591 | - |
|
| 592 | - // On ne retourne maintenant que les champs demandés. |
|
| 593 | - // - on détermine les informations à renvoyer. |
|
| 594 | - if ($retour and !empty($options['champs'])) { |
|
| 595 | - $champs = $options['champs']; |
|
| 596 | - // Extraction des seules informations demandées. |
|
| 597 | - // -- si on demande une information unique on renvoie la valeur simple, sinon on renvoie un tableau. |
|
| 598 | - // -- si une information n'est pas un champ valide elle n'est pas renvoyée sans renvoyer d'erreur. |
|
| 599 | - if (is_array($champs)) { |
|
| 600 | - // Tableau des informations valides |
|
| 601 | - $retour = array_intersect_key($retour, array_flip($champs)); |
|
| 602 | - } else { |
|
| 603 | - // Valeur unique demandée. |
|
| 604 | - $retour = (isset($retour[$champs]) ? $retour[$champs] : false); |
|
| 605 | - } |
|
| 606 | - } |
|
| 607 | - |
|
| 608 | - return $retour; |
|
| 540 | + if (($t=objet_type($objet)) !== $objet) { |
|
| 541 | + spip_log("objet_lire: appel avec type $objet invalide au lieu de $t", "editer" . _LOG_INFO_IMPORTANTE); |
|
| 542 | + $objet = $t; |
|
| 543 | + } |
|
| 544 | + |
|
| 545 | + // tableau du cache des descriptions et des id d'objet (au sens id_xxx). |
|
| 546 | + // Les tableaux sont toujours indexés par le trio [objet][cle][valeur_cle] |
|
| 547 | + static $descriptions = array(); |
|
| 548 | + |
|
| 549 | + // On détermine le nom du champ id de la table. |
|
| 550 | + include_spip('base/objets'); |
|
| 551 | + $primary = id_table_objet($objet); |
|
| 552 | + |
|
| 553 | + // On détermine l'id à utiliser. |
|
| 554 | + $champ_id = (!empty($options['champ_id']) ? $options['champ_id'] : $primary); |
|
| 555 | + |
|
| 556 | + // Si l'objet n'a pas encore été stocké, il faut récupérer sa description complète. |
|
| 557 | + if (!isset($descriptions[$objet][$champ_id][$valeur_id]) |
|
| 558 | + or (isset($options['force']) and $options['force'])) { |
|
| 559 | + // Il est possible pour un type d'objet de fournir une fonction de lecture de tous les champs d'un objet. |
|
| 560 | + if ( |
|
| 561 | + include_spip('action/editer_' . $objet) |
|
| 562 | + and function_exists($lire = "${objet}_lire_champs") |
|
| 563 | + ) { |
|
| 564 | + $valeurs = $lire($objet, $valeur_id, $champ_id); |
|
| 565 | + } else { |
|
| 566 | + // On récupère la table SQL à partir du type d'objet. |
|
| 567 | + $table = table_objet_sql($objet); |
|
| 568 | + |
|
| 569 | + // La condition est appliquée sur le champ désigné par l'utilisateur. |
|
| 570 | + $where = array( |
|
| 571 | + "${champ_id}=" . sql_quote($valeur_id) |
|
| 572 | + ); |
|
| 573 | + |
|
| 574 | + // Acquisition de tous les champs de l'objet : si l'accès SQL retourne une erreur on renvoie un tableau vide. |
|
| 575 | + $valeurs = sql_fetsel('*', $table, $where); |
|
| 576 | + } |
|
| 577 | + |
|
| 578 | + if (!$valeurs) { |
|
| 579 | + $valeurs = false; |
|
| 580 | + } |
|
| 581 | + |
|
| 582 | + $descriptions[$objet][$champ_id][$valeur_id] = $valeurs; |
|
| 583 | + |
|
| 584 | + if ($champ_id !== $primary and isset($valeurs[$primary])) { |
|
| 585 | + $descriptions[$objet][$primary][$valeurs[$primary]] = $valeurs; |
|
| 586 | + $descriptions[$objet][$champ_id][$valeur_id] = &$descriptions[$objet][$primary][$valeurs[$primary]]; |
|
| 587 | + } |
|
| 588 | + } |
|
| 589 | + |
|
| 590 | + $retour = $descriptions[$objet][$champ_id][$valeur_id]; |
|
| 591 | + |
|
| 592 | + // On ne retourne maintenant que les champs demandés. |
|
| 593 | + // - on détermine les informations à renvoyer. |
|
| 594 | + if ($retour and !empty($options['champs'])) { |
|
| 595 | + $champs = $options['champs']; |
|
| 596 | + // Extraction des seules informations demandées. |
|
| 597 | + // -- si on demande une information unique on renvoie la valeur simple, sinon on renvoie un tableau. |
|
| 598 | + // -- si une information n'est pas un champ valide elle n'est pas renvoyée sans renvoyer d'erreur. |
|
| 599 | + if (is_array($champs)) { |
|
| 600 | + // Tableau des informations valides |
|
| 601 | + $retour = array_intersect_key($retour, array_flip($champs)); |
|
| 602 | + } else { |
|
| 603 | + // Valeur unique demandée. |
|
| 604 | + $retour = (isset($retour[$champs]) ? $retour[$champs] : false); |
|
| 605 | + } |
|
| 606 | + } |
|
| 607 | + |
|
| 608 | + return $retour; |
|
| 609 | 609 | } |
@@ -4,231 +4,231 @@ discard block |
||
| 4 | 4 | // ** ne pas modifier le fichier ** |
| 5 | 5 | |
| 6 | 6 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 7 | - return; |
|
| 7 | + return; |
|
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | $GLOBALS[$GLOBALS['idx_lang']] = array( |
| 11 | 11 | |
| 12 | - // A |
|
| 13 | - 'access_interface_graphique' => 'Powrót do pełnego interfejsu graficznego', |
|
| 14 | - 'access_mode_texte' => 'Uproszczony interfejs - tryb tekstowy', |
|
| 15 | - 'admin_debug' => 'debug', |
|
| 16 | - 'admin_modifier_article' => 'Modyfikuj artykuł', |
|
| 17 | - 'admin_modifier_auteur' => 'Modyfikuj autora', |
|
| 18 | - 'admin_modifier_breve' => 'Modyfikuj news', |
|
| 19 | - 'admin_modifier_mot' => 'Modyfikuj słowo kluczowe', |
|
| 20 | - 'admin_modifier_rubrique' => 'Modyfikuj dział', |
|
| 21 | - 'admin_recalculer' => 'Odśwież ', |
|
| 22 | - 'afficher_calendrier' => 'Wyświetl kalendarz', |
|
| 23 | - 'afficher_trad' => 'pokaż przekłady', |
|
| 24 | - 'alerte_maj_impossible' => '<b>Uwaga!</b> Uaktualnienie bazy danych SQL do wersji @version@ jest nie możliwe. Powodem jest prawdopodobnie brak uprawnień do modyfikacji bazy danych. Skontaktuj się z administratorem lub firmą hostingową.', |
|
| 25 | - 'alerte_modif_info_concourante' => 'UWAGA: Ta informacja była zmieniana w innym miejscu. Obecna wartość to:Cette information a été modifiée par ailleurs. La valeur actuelle est :', |
|
| 26 | - 'analyse_xml' => 'Analiza XML', |
|
| 27 | - 'annuler' => 'Anuluj', |
|
| 28 | - 'antispam_champ_vide' => 'Pozostaw puste:', |
|
| 29 | - 'articles_recents' => 'Najnowsze artykuły', |
|
| 30 | - 'avis_archive_incorrect' => 'ten plik archiwalny nie należy do SPIP', |
|
| 31 | - 'avis_archive_invalide' => 'plik archiwalny jest nieprawidłowy', |
|
| 32 | - 'avis_attention' => 'UWAGA !', |
|
| 33 | - 'avis_champ_incorrect_type_objet' => 'Nieprawiłowa nazwa pola @name@ dla obiektu typu @type@', |
|
| 34 | - 'avis_colonne_inexistante' => 'Kolumna @col@ nie istnieje', |
|
| 35 | - 'avis_erreur' => 'Błąd: zobacz poniżej’;', |
|
| 36 | - 'avis_erreur_connexion' => 'Błąd połączenia', |
|
| 37 | - 'avis_erreur_cookie' => 'problem z cookie', |
|
| 38 | - 'avis_erreur_fonction_contexte' => 'Błąd programistyczny. Ta funkcja nie powinna być wywoływana w tym kontekście.', |
|
| 39 | - 'avis_erreur_mysql' => 'Błąd SQL', |
|
| 40 | - 'avis_erreur_sauvegarde' => 'Błąd archiwizacji (@type@ @id_objet@)!', |
|
| 41 | - 'avis_erreur_visiteur' => 'Problem z dostępem do stron administracyjnych', |
|
| 12 | + // A |
|
| 13 | + 'access_interface_graphique' => 'Powrót do pełnego interfejsu graficznego', |
|
| 14 | + 'access_mode_texte' => 'Uproszczony interfejs - tryb tekstowy', |
|
| 15 | + 'admin_debug' => 'debug', |
|
| 16 | + 'admin_modifier_article' => 'Modyfikuj artykuł', |
|
| 17 | + 'admin_modifier_auteur' => 'Modyfikuj autora', |
|
| 18 | + 'admin_modifier_breve' => 'Modyfikuj news', |
|
| 19 | + 'admin_modifier_mot' => 'Modyfikuj słowo kluczowe', |
|
| 20 | + 'admin_modifier_rubrique' => 'Modyfikuj dział', |
|
| 21 | + 'admin_recalculer' => 'Odśwież ', |
|
| 22 | + 'afficher_calendrier' => 'Wyświetl kalendarz', |
|
| 23 | + 'afficher_trad' => 'pokaż przekłady', |
|
| 24 | + 'alerte_maj_impossible' => '<b>Uwaga!</b> Uaktualnienie bazy danych SQL do wersji @version@ jest nie możliwe. Powodem jest prawdopodobnie brak uprawnień do modyfikacji bazy danych. Skontaktuj się z administratorem lub firmą hostingową.', |
|
| 25 | + 'alerte_modif_info_concourante' => 'UWAGA: Ta informacja była zmieniana w innym miejscu. Obecna wartość to:Cette information a été modifiée par ailleurs. La valeur actuelle est :', |
|
| 26 | + 'analyse_xml' => 'Analiza XML', |
|
| 27 | + 'annuler' => 'Anuluj', |
|
| 28 | + 'antispam_champ_vide' => 'Pozostaw puste:', |
|
| 29 | + 'articles_recents' => 'Najnowsze artykuły', |
|
| 30 | + 'avis_archive_incorrect' => 'ten plik archiwalny nie należy do SPIP', |
|
| 31 | + 'avis_archive_invalide' => 'plik archiwalny jest nieprawidłowy', |
|
| 32 | + 'avis_attention' => 'UWAGA !', |
|
| 33 | + 'avis_champ_incorrect_type_objet' => 'Nieprawiłowa nazwa pola @name@ dla obiektu typu @type@', |
|
| 34 | + 'avis_colonne_inexistante' => 'Kolumna @col@ nie istnieje', |
|
| 35 | + 'avis_erreur' => 'Błąd: zobacz poniżej’;', |
|
| 36 | + 'avis_erreur_connexion' => 'Błąd połączenia', |
|
| 37 | + 'avis_erreur_cookie' => 'problem z cookie', |
|
| 38 | + 'avis_erreur_fonction_contexte' => 'Błąd programistyczny. Ta funkcja nie powinna być wywoływana w tym kontekście.', |
|
| 39 | + 'avis_erreur_mysql' => 'Błąd SQL', |
|
| 40 | + 'avis_erreur_sauvegarde' => 'Błąd archiwizacji (@type@ @id_objet@)!', |
|
| 41 | + 'avis_erreur_visiteur' => 'Problem z dostępem do stron administracyjnych', |
|
| 42 | 42 | |
| 43 | - // B |
|
| 44 | - 'barre_a_accent_grave' => 'Wstaw dużą literę A z akcentem grave', |
|
| 45 | - 'barre_aide' => 'Użyj skrótów typograficznych do ulepszenia layoutu', |
|
| 46 | - 'barre_e_accent_aigu' => 'Wstaw dużą literę E z akcentem acute', |
|
| 47 | - 'barre_eo' => 'Wstaw ligaturę oe', |
|
| 48 | - 'barre_eo_maj' => 'Wstaw dużą ligaturę EO', |
|
| 49 | - 'barre_euro' => 'Umieść symbol €€', |
|
| 50 | - 'barre_gras' => 'Wstaw w {{boldzie}}', |
|
| 51 | - 'barre_guillemets' => 'Umieść w "cudzysłowie"', |
|
| 52 | - 'barre_guillemets_simples' => 'Umieść w innym “cudzysłowie”', |
|
| 53 | - 'barre_intertitre' => 'Przekształć w {{{śródtytuł}}}', |
|
| 54 | - 'barre_italic' => 'Wstaw w {italiku}', |
|
| 55 | - 'barre_lien' => 'Zmień w [hiperłącze->http://...]', |
|
| 56 | - 'barre_lien_input' => 'Proszę wpisać cel hiperłącza (może to być URL internetowy w formie http://www.mysite.com lub po prostu numer artykułu na tej stronie).', |
|
| 57 | - 'barre_note' => 'Zmień w [[Przypis]]', |
|
| 58 | - 'barre_paragraphe' => 'Utwórz paragraf', |
|
| 59 | - 'barre_quote' => '<quote>Zacytuj wiadomość</quote>', |
|
| 60 | - 'bouton_changer' => 'Zatwierdź', |
|
| 61 | - 'bouton_chercher' => 'Szukaj', |
|
| 62 | - 'bouton_choisir' => 'Wybierz', |
|
| 63 | - 'bouton_deplacer' => 'Przenieś', |
|
| 64 | - 'bouton_download' => 'Ściągnij', |
|
| 65 | - 'bouton_enregistrer' => 'Zapisz', |
|
| 66 | - 'bouton_radio_desactiver_messagerie_interne' => 'Dezaktywuj pocztę wewnętrzną', |
|
| 67 | - 'bouton_radio_envoi_annonces' => 'Wyślij ogłoszenia redakcyjne', |
|
| 68 | - 'bouton_radio_non_envoi_annonces' => 'Nie wysyłaj żadnych zawiadomień', |
|
| 69 | - 'bouton_radio_non_envoi_liste_nouveautes' => 'Nie wysyłaj najnowszej listy newsów', |
|
| 70 | - 'bouton_recharger_page' => 'ponownie załaduj tę stronę', |
|
| 71 | - 'bouton_telecharger' => 'Załaduj', |
|
| 72 | - 'bouton_upload' => 'Załaduj', |
|
| 73 | - 'bouton_valider' => 'Zatwierdź', |
|
| 43 | + // B |
|
| 44 | + 'barre_a_accent_grave' => 'Wstaw dużą literę A z akcentem grave', |
|
| 45 | + 'barre_aide' => 'Użyj skrótów typograficznych do ulepszenia layoutu', |
|
| 46 | + 'barre_e_accent_aigu' => 'Wstaw dużą literę E z akcentem acute', |
|
| 47 | + 'barre_eo' => 'Wstaw ligaturę oe', |
|
| 48 | + 'barre_eo_maj' => 'Wstaw dużą ligaturę EO', |
|
| 49 | + 'barre_euro' => 'Umieść symbol €€', |
|
| 50 | + 'barre_gras' => 'Wstaw w {{boldzie}}', |
|
| 51 | + 'barre_guillemets' => 'Umieść w "cudzysłowie"', |
|
| 52 | + 'barre_guillemets_simples' => 'Umieść w innym “cudzysłowie”', |
|
| 53 | + 'barre_intertitre' => 'Przekształć w {{{śródtytuł}}}', |
|
| 54 | + 'barre_italic' => 'Wstaw w {italiku}', |
|
| 55 | + 'barre_lien' => 'Zmień w [hiperłącze->http://...]', |
|
| 56 | + 'barre_lien_input' => 'Proszę wpisać cel hiperłącza (może to być URL internetowy w formie http://www.mysite.com lub po prostu numer artykułu na tej stronie).', |
|
| 57 | + 'barre_note' => 'Zmień w [[Przypis]]', |
|
| 58 | + 'barre_paragraphe' => 'Utwórz paragraf', |
|
| 59 | + 'barre_quote' => '<quote>Zacytuj wiadomość</quote>', |
|
| 60 | + 'bouton_changer' => 'Zatwierdź', |
|
| 61 | + 'bouton_chercher' => 'Szukaj', |
|
| 62 | + 'bouton_choisir' => 'Wybierz', |
|
| 63 | + 'bouton_deplacer' => 'Przenieś', |
|
| 64 | + 'bouton_download' => 'Ściągnij', |
|
| 65 | + 'bouton_enregistrer' => 'Zapisz', |
|
| 66 | + 'bouton_radio_desactiver_messagerie_interne' => 'Dezaktywuj pocztę wewnętrzną', |
|
| 67 | + 'bouton_radio_envoi_annonces' => 'Wyślij ogłoszenia redakcyjne', |
|
| 68 | + 'bouton_radio_non_envoi_annonces' => 'Nie wysyłaj żadnych zawiadomień', |
|
| 69 | + 'bouton_radio_non_envoi_liste_nouveautes' => 'Nie wysyłaj najnowszej listy newsów', |
|
| 70 | + 'bouton_recharger_page' => 'ponownie załaduj tę stronę', |
|
| 71 | + 'bouton_telecharger' => 'Załaduj', |
|
| 72 | + 'bouton_upload' => 'Załaduj', |
|
| 73 | + 'bouton_valider' => 'Zatwierdź', |
|
| 74 | 74 | |
| 75 | - // C |
|
| 76 | - 'cal_apresmidi' => 'popołudniu', |
|
| 77 | - 'cal_jour_entier' => 'cały dzień', |
|
| 78 | - 'cal_matin' => 'rano', |
|
| 79 | - 'cal_par_jour' => 'wg dni', |
|
| 80 | - 'cal_par_mois' => 'wg miesięcy', |
|
| 81 | - 'cal_par_semaine' => 'wg tygodni', |
|
| 82 | - 'choix_couleur_interface' => 'kolor', |
|
| 83 | - 'choix_interface' => 'wybór interfejsu', |
|
| 84 | - 'colonne' => 'Kolumna', |
|
| 85 | - 'confirm_changer_statut' => 'Uwaga, czy na pewno chcesz zmienić status tego elementu ? Kontynuować ?', |
|
| 86 | - 'correcte' => 'poprawna', |
|
| 75 | + // C |
|
| 76 | + 'cal_apresmidi' => 'popołudniu', |
|
| 77 | + 'cal_jour_entier' => 'cały dzień', |
|
| 78 | + 'cal_matin' => 'rano', |
|
| 79 | + 'cal_par_jour' => 'wg dni', |
|
| 80 | + 'cal_par_mois' => 'wg miesięcy', |
|
| 81 | + 'cal_par_semaine' => 'wg tygodni', |
|
| 82 | + 'choix_couleur_interface' => 'kolor', |
|
| 83 | + 'choix_interface' => 'wybór interfejsu', |
|
| 84 | + 'colonne' => 'Kolumna', |
|
| 85 | + 'confirm_changer_statut' => 'Uwaga, czy na pewno chcesz zmienić status tego elementu ? Kontynuować ?', |
|
| 86 | + 'correcte' => 'poprawna', |
|
| 87 | 87 | |
| 88 | - // D |
|
| 89 | - 'date_aujourdhui' => 'dziś', |
|
| 90 | - 'date_avant_jc' => 'P.N.E.', |
|
| 91 | - 'date_dans' => 'w @delai@', |
|
| 92 | - 'date_de_mois_1' => '@j@ stycznia', |
|
| 93 | - 'date_de_mois_10' => '@j@ października', |
|
| 94 | - 'date_de_mois_11' => '@j@ listopada', |
|
| 95 | - 'date_de_mois_12' => '@j@ grudnia', |
|
| 96 | - 'date_de_mois_2' => '@j@ lutego', |
|
| 97 | - 'date_de_mois_3' => '@j@ marca', |
|
| 98 | - 'date_de_mois_4' => '@j@ kwietnia', |
|
| 99 | - 'date_de_mois_5' => '@j@ maja', |
|
| 100 | - 'date_de_mois_6' => '@j@ czerwca', |
|
| 101 | - 'date_de_mois_7' => '@j@ lipca', |
|
| 102 | - 'date_de_mois_8' => '@j@ sierpnia', |
|
| 103 | - 'date_de_mois_9' => '@j@ września', |
|
| 104 | - 'date_demain' => 'jutro', |
|
| 105 | - 'date_fmt_heures_minutes' => '@h@h@m@min', |
|
| 106 | - 'date_fmt_jour_heure' => '@jour@ o @heure@', |
|
| 107 | - 'date_fmt_jour_mois' => '@jourmois@', |
|
| 108 | - 'date_fmt_jour_mois_annee' => '@jourmois@ @annee@', |
|
| 109 | - 'date_fmt_mois_annee' => '@nommois@ @annee@', |
|
| 110 | - 'date_fmt_nomjour_date' => '@date@ @nomjour@ ', |
|
| 111 | - 'date_heures' => 'godziny', |
|
| 112 | - 'date_hier' => 'wczoraj', |
|
| 113 | - 'date_il_y_a' => 'jest @delai@', |
|
| 114 | - 'date_jnum1' => '1', |
|
| 115 | - 'date_jnum10' => '10', |
|
| 116 | - 'date_jnum11' => '11', |
|
| 117 | - 'date_jnum12' => '12', |
|
| 118 | - 'date_jnum13' => '13', |
|
| 119 | - 'date_jnum14' => '14', |
|
| 120 | - 'date_jnum15' => '15', |
|
| 121 | - 'date_jnum16' => '16', |
|
| 122 | - 'date_jnum17' => '17', |
|
| 123 | - 'date_jnum18' => '18', |
|
| 124 | - 'date_jnum19' => '19', |
|
| 125 | - 'date_jnum2' => '2', |
|
| 126 | - 'date_jnum20' => '20', |
|
| 127 | - 'date_jnum21' => '21', |
|
| 128 | - 'date_jnum22' => '22', |
|
| 129 | - 'date_jnum23' => '23', |
|
| 130 | - 'date_jnum24' => '24', |
|
| 131 | - 'date_jnum25' => '25', |
|
| 132 | - 'date_jnum26' => '26', |
|
| 133 | - 'date_jnum27' => '27', |
|
| 134 | - 'date_jnum28' => '28', |
|
| 135 | - 'date_jnum29' => '29', |
|
| 136 | - 'date_jnum3' => '3', |
|
| 137 | - 'date_jnum30' => '30', |
|
| 138 | - 'date_jnum31' => '31', |
|
| 139 | - 'date_jnum4' => '4', |
|
| 140 | - 'date_jnum5' => '5', |
|
| 141 | - 'date_jnum6' => '6', |
|
| 142 | - 'date_jnum7' => '7', |
|
| 143 | - 'date_jnum8' => '8', |
|
| 144 | - 'date_jnum9' => '9', |
|
| 145 | - 'date_jour_1' => 'Niedziela', |
|
| 146 | - 'date_jour_1_abbr' => 'nie.', |
|
| 147 | - 'date_jour_1_initiale' => 'n.', |
|
| 148 | - 'date_jour_2' => 'Poniedziałek', |
|
| 149 | - 'date_jour_2_abbr' => 'pon.', |
|
| 150 | - 'date_jour_2_initiale' => 'p.', |
|
| 151 | - 'date_jour_3' => 'Wtorek', |
|
| 152 | - 'date_jour_3_abbr' => 'wto.', |
|
| 153 | - 'date_jour_3_initiale' => 'w.', |
|
| 154 | - 'date_jour_4' => 'Środa', |
|
| 155 | - 'date_jour_4_abbr' => 'śro.', |
|
| 156 | - 'date_jour_4_initiale' => 'ś.', |
|
| 157 | - 'date_jour_5' => 'Czwartek', |
|
| 158 | - 'date_jour_5_abbr' => 'czw.', |
|
| 159 | - 'date_jour_5_initiale' => 'c.', |
|
| 160 | - 'date_jour_6' => 'Piątek', |
|
| 161 | - 'date_jour_6_abbr' => 'pią.', |
|
| 162 | - 'date_jour_6_initiale' => 'p.', |
|
| 163 | - 'date_jour_7' => 'Sobota', |
|
| 164 | - 'date_jour_7_abbr' => 'sob.', |
|
| 165 | - 'date_jour_7_initiale' => 's.', |
|
| 166 | - 'date_jours' => 'dni', |
|
| 167 | - 'date_minutes' => 'minuty', |
|
| 168 | - 'date_mois' => 'miesiąc', |
|
| 169 | - 'date_mois_1' => 'Styczeń', |
|
| 170 | - 'date_mois_10' => 'Październik', |
|
| 171 | - 'date_mois_10_abbr' => 'paźdź.', |
|
| 172 | - 'date_mois_11' => 'Listopad', |
|
| 173 | - 'date_mois_11_abbr' => 'list.', |
|
| 174 | - 'date_mois_12' => 'Grudzień', |
|
| 175 | - 'date_mois_12_abbr' => 'gru.', |
|
| 176 | - 'date_mois_1_abbr' => 'sty.', |
|
| 177 | - 'date_mois_2' => 'Luty', |
|
| 178 | - 'date_mois_2_abbr' => 'lut.', |
|
| 179 | - 'date_mois_3' => 'Marzec', |
|
| 180 | - 'date_mois_3_abbr' => 'mar.', |
|
| 181 | - 'date_mois_4' => 'Kwiecień', |
|
| 182 | - 'date_mois_4_abbr' => 'kw.', |
|
| 183 | - 'date_mois_5' => 'Maj', |
|
| 184 | - 'date_mois_5_abbr' => 'maj', |
|
| 185 | - 'date_mois_6' => 'Czerwiec', |
|
| 186 | - 'date_mois_6_abbr' => 'czer.', |
|
| 187 | - 'date_mois_7' => 'Lipiec', |
|
| 188 | - 'date_mois_7_abbr' => 'lip.', |
|
| 189 | - 'date_mois_8' => 'Sierpień', |
|
| 190 | - 'date_mois_8_abbr' => 'sie.', |
|
| 191 | - 'date_mois_9' => 'Wrzesień', |
|
| 192 | - 'date_mois_9_abbr' => 'wrz.', |
|
| 193 | - 'date_saison_1' => 'zima', |
|
| 194 | - 'date_saison_2' => 'wiosna', |
|
| 195 | - 'date_saison_3' => 'lato', |
|
| 196 | - 'date_saison_4' => 'jesień', |
|
| 197 | - 'date_secondes' => 'sekundy', |
|
| 198 | - 'date_semaines' => 'tygodnie', |
|
| 199 | - 'date_un_mois' => 'miesiące', |
|
| 200 | - 'date_une_heure' => 'godzina', |
|
| 201 | - 'date_une_minute' => 'minuta', |
|
| 202 | - 'date_une_seconde' => 'sekunda', |
|
| 203 | - 'date_une_semaine' => 'tydzień', |
|
| 204 | - 'dirs_commencer' => ' w celu rzeczywistego rozpoczęcia instalacji', |
|
| 205 | - 'dirs_preliminaire' => 'Wstęp: <b>Ustawienia pozwoleń dostępu</b>', |
|
| 206 | - 'dirs_probleme_droits' => 'Problem z prawami dostępu', |
|
| 207 | - 'dirs_repertoires_absents' => '<p><b>Następujące katalogi nie zostały odnalezione :</b></p> <ul>@bad_dirs@.</ul> |
|
| 88 | + // D |
|
| 89 | + 'date_aujourdhui' => 'dziś', |
|
| 90 | + 'date_avant_jc' => 'P.N.E.', |
|
| 91 | + 'date_dans' => 'w @delai@', |
|
| 92 | + 'date_de_mois_1' => '@j@ stycznia', |
|
| 93 | + 'date_de_mois_10' => '@j@ października', |
|
| 94 | + 'date_de_mois_11' => '@j@ listopada', |
|
| 95 | + 'date_de_mois_12' => '@j@ grudnia', |
|
| 96 | + 'date_de_mois_2' => '@j@ lutego', |
|
| 97 | + 'date_de_mois_3' => '@j@ marca', |
|
| 98 | + 'date_de_mois_4' => '@j@ kwietnia', |
|
| 99 | + 'date_de_mois_5' => '@j@ maja', |
|
| 100 | + 'date_de_mois_6' => '@j@ czerwca', |
|
| 101 | + 'date_de_mois_7' => '@j@ lipca', |
|
| 102 | + 'date_de_mois_8' => '@j@ sierpnia', |
|
| 103 | + 'date_de_mois_9' => '@j@ września', |
|
| 104 | + 'date_demain' => 'jutro', |
|
| 105 | + 'date_fmt_heures_minutes' => '@h@h@m@min', |
|
| 106 | + 'date_fmt_jour_heure' => '@jour@ o @heure@', |
|
| 107 | + 'date_fmt_jour_mois' => '@jourmois@', |
|
| 108 | + 'date_fmt_jour_mois_annee' => '@jourmois@ @annee@', |
|
| 109 | + 'date_fmt_mois_annee' => '@nommois@ @annee@', |
|
| 110 | + 'date_fmt_nomjour_date' => '@date@ @nomjour@ ', |
|
| 111 | + 'date_heures' => 'godziny', |
|
| 112 | + 'date_hier' => 'wczoraj', |
|
| 113 | + 'date_il_y_a' => 'jest @delai@', |
|
| 114 | + 'date_jnum1' => '1', |
|
| 115 | + 'date_jnum10' => '10', |
|
| 116 | + 'date_jnum11' => '11', |
|
| 117 | + 'date_jnum12' => '12', |
|
| 118 | + 'date_jnum13' => '13', |
|
| 119 | + 'date_jnum14' => '14', |
|
| 120 | + 'date_jnum15' => '15', |
|
| 121 | + 'date_jnum16' => '16', |
|
| 122 | + 'date_jnum17' => '17', |
|
| 123 | + 'date_jnum18' => '18', |
|
| 124 | + 'date_jnum19' => '19', |
|
| 125 | + 'date_jnum2' => '2', |
|
| 126 | + 'date_jnum20' => '20', |
|
| 127 | + 'date_jnum21' => '21', |
|
| 128 | + 'date_jnum22' => '22', |
|
| 129 | + 'date_jnum23' => '23', |
|
| 130 | + 'date_jnum24' => '24', |
|
| 131 | + 'date_jnum25' => '25', |
|
| 132 | + 'date_jnum26' => '26', |
|
| 133 | + 'date_jnum27' => '27', |
|
| 134 | + 'date_jnum28' => '28', |
|
| 135 | + 'date_jnum29' => '29', |
|
| 136 | + 'date_jnum3' => '3', |
|
| 137 | + 'date_jnum30' => '30', |
|
| 138 | + 'date_jnum31' => '31', |
|
| 139 | + 'date_jnum4' => '4', |
|
| 140 | + 'date_jnum5' => '5', |
|
| 141 | + 'date_jnum6' => '6', |
|
| 142 | + 'date_jnum7' => '7', |
|
| 143 | + 'date_jnum8' => '8', |
|
| 144 | + 'date_jnum9' => '9', |
|
| 145 | + 'date_jour_1' => 'Niedziela', |
|
| 146 | + 'date_jour_1_abbr' => 'nie.', |
|
| 147 | + 'date_jour_1_initiale' => 'n.', |
|
| 148 | + 'date_jour_2' => 'Poniedziałek', |
|
| 149 | + 'date_jour_2_abbr' => 'pon.', |
|
| 150 | + 'date_jour_2_initiale' => 'p.', |
|
| 151 | + 'date_jour_3' => 'Wtorek', |
|
| 152 | + 'date_jour_3_abbr' => 'wto.', |
|
| 153 | + 'date_jour_3_initiale' => 'w.', |
|
| 154 | + 'date_jour_4' => 'Środa', |
|
| 155 | + 'date_jour_4_abbr' => 'śro.', |
|
| 156 | + 'date_jour_4_initiale' => 'ś.', |
|
| 157 | + 'date_jour_5' => 'Czwartek', |
|
| 158 | + 'date_jour_5_abbr' => 'czw.', |
|
| 159 | + 'date_jour_5_initiale' => 'c.', |
|
| 160 | + 'date_jour_6' => 'Piątek', |
|
| 161 | + 'date_jour_6_abbr' => 'pią.', |
|
| 162 | + 'date_jour_6_initiale' => 'p.', |
|
| 163 | + 'date_jour_7' => 'Sobota', |
|
| 164 | + 'date_jour_7_abbr' => 'sob.', |
|
| 165 | + 'date_jour_7_initiale' => 's.', |
|
| 166 | + 'date_jours' => 'dni', |
|
| 167 | + 'date_minutes' => 'minuty', |
|
| 168 | + 'date_mois' => 'miesiąc', |
|
| 169 | + 'date_mois_1' => 'Styczeń', |
|
| 170 | + 'date_mois_10' => 'Październik', |
|
| 171 | + 'date_mois_10_abbr' => 'paźdź.', |
|
| 172 | + 'date_mois_11' => 'Listopad', |
|
| 173 | + 'date_mois_11_abbr' => 'list.', |
|
| 174 | + 'date_mois_12' => 'Grudzień', |
|
| 175 | + 'date_mois_12_abbr' => 'gru.', |
|
| 176 | + 'date_mois_1_abbr' => 'sty.', |
|
| 177 | + 'date_mois_2' => 'Luty', |
|
| 178 | + 'date_mois_2_abbr' => 'lut.', |
|
| 179 | + 'date_mois_3' => 'Marzec', |
|
| 180 | + 'date_mois_3_abbr' => 'mar.', |
|
| 181 | + 'date_mois_4' => 'Kwiecień', |
|
| 182 | + 'date_mois_4_abbr' => 'kw.', |
|
| 183 | + 'date_mois_5' => 'Maj', |
|
| 184 | + 'date_mois_5_abbr' => 'maj', |
|
| 185 | + 'date_mois_6' => 'Czerwiec', |
|
| 186 | + 'date_mois_6_abbr' => 'czer.', |
|
| 187 | + 'date_mois_7' => 'Lipiec', |
|
| 188 | + 'date_mois_7_abbr' => 'lip.', |
|
| 189 | + 'date_mois_8' => 'Sierpień', |
|
| 190 | + 'date_mois_8_abbr' => 'sie.', |
|
| 191 | + 'date_mois_9' => 'Wrzesień', |
|
| 192 | + 'date_mois_9_abbr' => 'wrz.', |
|
| 193 | + 'date_saison_1' => 'zima', |
|
| 194 | + 'date_saison_2' => 'wiosna', |
|
| 195 | + 'date_saison_3' => 'lato', |
|
| 196 | + 'date_saison_4' => 'jesień', |
|
| 197 | + 'date_secondes' => 'sekundy', |
|
| 198 | + 'date_semaines' => 'tygodnie', |
|
| 199 | + 'date_un_mois' => 'miesiące', |
|
| 200 | + 'date_une_heure' => 'godzina', |
|
| 201 | + 'date_une_minute' => 'minuta', |
|
| 202 | + 'date_une_seconde' => 'sekunda', |
|
| 203 | + 'date_une_semaine' => 'tydzień', |
|
| 204 | + 'dirs_commencer' => ' w celu rzeczywistego rozpoczęcia instalacji', |
|
| 205 | + 'dirs_preliminaire' => 'Wstęp: <b>Ustawienia pozwoleń dostępu</b>', |
|
| 206 | + 'dirs_probleme_droits' => 'Problem z prawami dostępu', |
|
| 207 | + 'dirs_repertoires_absents' => '<p><b>Następujące katalogi nie zostały odnalezione :</b></p> <ul>@bad_dirs@.</ul> |
|
| 208 | 208 | <p>Możliwe, że powodem tego jest nazwa, w której pomylone zostały duże i małe litery. |
| 209 | 209 | Sprawdź nazwy pod względem małych i dużych liter. |
| 210 | 210 | Jeśli rzeczywiście wielkość liter jest różna, zmień nazwy katalogów za pomocą dowolnego programu FTP |
| 211 | 211 | <p>Po wykonaniu tej operacji będziesz mógł', |
| 212 | - 'dirs_repertoires_suivants' => '<p><b>Następujące katalogi nie są skonfigurowane do zapisu :</b></p> <ul>@bad_dirs@.</ul> |
|
| 212 | + 'dirs_repertoires_suivants' => '<p><b>Następujące katalogi nie są skonfigurowane do zapisu :</b></p> <ul>@bad_dirs@.</ul> |
|
| 213 | 213 | <p>Aby temu zapobiec, skorzystaj z klienta FTP i ureguluj konieczne prawa dostępu |
| 214 | 214 | do tych katalogów. Procedura jest wytłumaczona od A-Z w przewodniku instalacji. |
| 215 | 215 | <p>Kiedy dokonasz koniecznych zmian, będziesz mógł', |
| 216 | - 'double_occurrence' => 'Podwójne wystąpienie @balise@', |
|
| 216 | + 'double_occurrence' => 'Podwójne wystąpienie @balise@', |
|
| 217 | 217 | |
| 218 | - // E |
|
| 219 | - 'en_cours' => 'w trakcie', |
|
| 220 | - 'envoi_via_le_site' => 'Wyślij ze strony', |
|
| 221 | - 'erreur' => 'Błąd', |
|
| 222 | - 'erreur_balise_non_fermee' => 'ostatni znacznik nie jest zamknięty :', |
|
| 223 | - 'erreur_texte' => 'błąd/błędy', |
|
| 224 | - 'etape' => 'Etap', |
|
| 218 | + // E |
|
| 219 | + 'en_cours' => 'w trakcie', |
|
| 220 | + 'envoi_via_le_site' => 'Wyślij ze strony', |
|
| 221 | + 'erreur' => 'Błąd', |
|
| 222 | + 'erreur_balise_non_fermee' => 'ostatni znacznik nie jest zamknięty :', |
|
| 223 | + 'erreur_texte' => 'błąd/błędy', |
|
| 224 | + 'etape' => 'Etap', |
|
| 225 | 225 | |
| 226 | - // F |
|
| 227 | - 'fichier_introuvable' => 'Plik @fichier@ nie odnaleziony', |
|
| 228 | - 'form_auteur_confirmation' => 'Potwierdź swój e-mail', |
|
| 229 | - 'form_auteur_email_modifie' => 'Twój adres e-mail został zmieniony.', |
|
| 230 | - 'form_auteur_envoi_mail_confirmation' => 'Mail z potwierdzeniem został wysłany na adres @email@. Prosimy o kliknięcie w link, przesłany w e-mailu aby zatwierdzić adres e-mail.', |
|
| 231 | - 'form_auteur_mail_confirmation' => 'Dzień dobry, |
|
| 226 | + // F |
|
| 227 | + 'fichier_introuvable' => 'Plik @fichier@ nie odnaleziony', |
|
| 228 | + 'form_auteur_confirmation' => 'Potwierdź swój e-mail', |
|
| 229 | + 'form_auteur_email_modifie' => 'Twój adres e-mail został zmieniony.', |
|
| 230 | + 'form_auteur_envoi_mail_confirmation' => 'Mail z potwierdzeniem został wysłany na adres @email@. Prosimy o kliknięcie w link, przesłany w e-mailu aby zatwierdzić adres e-mail.', |
|
| 231 | + 'form_auteur_mail_confirmation' => 'Dzień dobry, |
|
| 232 | 232 | |
| 233 | 233 | Uruchomiłeś procedurę zmiany adresu e-mail. |
| 234 | 234 | Aby zatwierdzić nowy adres, wystarczy wejść pod podany niżej link, |
@@ -236,315 +236,315 @@ discard block |
||
| 236 | 236 | |
| 237 | 237 | @url@ |
| 238 | 238 | ', |
| 239 | - 'form_deja_inscrit' => 'Jesteś już zarejestrowany.', |
|
| 240 | - 'form_email_non_valide' => 'Twój adres e-mail nie jest prawidłowy.', |
|
| 241 | - 'form_forum_access_refuse' => 'Nie masz już dostępu do tej strony.', |
|
| 242 | - 'form_forum_bonjour' => 'Witaj @nom@,', |
|
| 243 | - 'form_forum_confirmer_email' => 'Aby zatwierdzić Twój adres e-mail, kliknij w ten link: @url_confirm@', |
|
| 244 | - 'form_forum_email_deja_enregistre' => 'Ten adres e-mail jest już zarejestrowany, wskutek czego nie możesz używać swojego zwykłego hasła.', |
|
| 245 | - 'form_forum_identifiant_mail' => 'Twój nowy identyfikator został właśnie wysłany do Ciebie e-mailem.', |
|
| 246 | - 'form_forum_identifiants' => 'Osobista identyfikacja', |
|
| 247 | - 'form_forum_indiquer_nom_email' => 'Wpisz tutaj swoje nazwisko i adres e-mail. Wkrótce otrzymasz e-mailem swój osobisty identyfikator.', |
|
| 248 | - 'form_forum_login' => 'login:', |
|
| 249 | - 'form_forum_message_auto' => '(to jest wiadomość automatyczna)', |
|
| 250 | - 'form_forum_pass' => 'hasło:', |
|
| 251 | - 'form_forum_probleme_mail' => 'Problem z pocztą: Twój identyfikator nie może zostać wysłany.', |
|
| 252 | - 'form_forum_voici1' => 'Oto Twóje dane, które pozwolą Ci wziąć udział w rozwoju serwisu |
|
| 239 | + 'form_deja_inscrit' => 'Jesteś już zarejestrowany.', |
|
| 240 | + 'form_email_non_valide' => 'Twój adres e-mail nie jest prawidłowy.', |
|
| 241 | + 'form_forum_access_refuse' => 'Nie masz już dostępu do tej strony.', |
|
| 242 | + 'form_forum_bonjour' => 'Witaj @nom@,', |
|
| 243 | + 'form_forum_confirmer_email' => 'Aby zatwierdzić Twój adres e-mail, kliknij w ten link: @url_confirm@', |
|
| 244 | + 'form_forum_email_deja_enregistre' => 'Ten adres e-mail jest już zarejestrowany, wskutek czego nie możesz używać swojego zwykłego hasła.', |
|
| 245 | + 'form_forum_identifiant_mail' => 'Twój nowy identyfikator został właśnie wysłany do Ciebie e-mailem.', |
|
| 246 | + 'form_forum_identifiants' => 'Osobista identyfikacja', |
|
| 247 | + 'form_forum_indiquer_nom_email' => 'Wpisz tutaj swoje nazwisko i adres e-mail. Wkrótce otrzymasz e-mailem swój osobisty identyfikator.', |
|
| 248 | + 'form_forum_login' => 'login:', |
|
| 249 | + 'form_forum_message_auto' => '(to jest wiadomość automatyczna)', |
|
| 250 | + 'form_forum_pass' => 'hasło:', |
|
| 251 | + 'form_forum_probleme_mail' => 'Problem z pocztą: Twój identyfikator nie może zostać wysłany.', |
|
| 252 | + 'form_forum_voici1' => 'Oto Twóje dane, które pozwolą Ci wziąć udział w rozwoju serwisu |
|
| 253 | 253 | "@nom_site_spip@" (@adresse_site@):', |
| 254 | - 'form_forum_voici2' => 'Oto Twój identyfikator do proponowania artykułów w |
|
| 254 | + 'form_forum_voici2' => 'Oto Twój identyfikator do proponowania artykułów w |
|
| 255 | 255 | serwisie "@nom_site_spip@" (@adresse_login@):', |
| 256 | - 'form_indiquer_email' => 'Proszę wpisać swój adres e-mail.', |
|
| 257 | - 'form_indiquer_nom' => 'Proszę wpisać swoje nazwisko.', |
|
| 258 | - 'form_indiquer_nom_site' => 'Proszę wpisać nazwę swoich stron\\y.', |
|
| 259 | - 'form_pet_deja_enregistre' => 'Ta strona jest już zarejestrowana', |
|
| 260 | - 'form_pet_signature_pasprise' => 'Twój podpis został zlekceważony.', |
|
| 261 | - 'form_prop_confirmer_envoi' => 'Potwierdź wysłanie', |
|
| 262 | - 'form_prop_description' => 'Opis/komentarz', |
|
| 263 | - 'form_prop_enregistre' => 'Twoja propozycja została zapisana, pojawi się online po jej zatwierdzeniu przez administratora tej strony.', |
|
| 264 | - 'form_prop_envoyer' => 'Wyślij wiadomość', |
|
| 265 | - 'form_prop_indiquer_email' => 'Proszę wpisać prawidłowy adres e-mail', |
|
| 266 | - 'form_prop_indiquer_nom_site' => 'Proszę wpisać nazwę strony.', |
|
| 267 | - 'form_prop_indiquer_sujet' => 'Proszę wpisać temat', |
|
| 268 | - 'form_prop_message_envoye' => 'Wiadomość wysłana', |
|
| 269 | - 'form_prop_non_enregistre' => 'Twoja propozycja nie została zapisana.', |
|
| 270 | - 'form_prop_sujet' => 'Temat', |
|
| 271 | - 'form_prop_url_site' => 'URL stron\\y', # MODIF |
|
| 272 | - 'forum_non_inscrit' => 'Nie jesteś zarejestrowany, lub adres bądź hasło są nieprawidłowe.', |
|
| 273 | - 'forum_par_auteur' => 'wg @auteur@', |
|
| 274 | - 'forum_titre_erreur' => 'Błąd...', |
|
| 256 | + 'form_indiquer_email' => 'Proszę wpisać swój adres e-mail.', |
|
| 257 | + 'form_indiquer_nom' => 'Proszę wpisać swoje nazwisko.', |
|
| 258 | + 'form_indiquer_nom_site' => 'Proszę wpisać nazwę swoich stron\\y.', |
|
| 259 | + 'form_pet_deja_enregistre' => 'Ta strona jest już zarejestrowana', |
|
| 260 | + 'form_pet_signature_pasprise' => 'Twój podpis został zlekceważony.', |
|
| 261 | + 'form_prop_confirmer_envoi' => 'Potwierdź wysłanie', |
|
| 262 | + 'form_prop_description' => 'Opis/komentarz', |
|
| 263 | + 'form_prop_enregistre' => 'Twoja propozycja została zapisana, pojawi się online po jej zatwierdzeniu przez administratora tej strony.', |
|
| 264 | + 'form_prop_envoyer' => 'Wyślij wiadomość', |
|
| 265 | + 'form_prop_indiquer_email' => 'Proszę wpisać prawidłowy adres e-mail', |
|
| 266 | + 'form_prop_indiquer_nom_site' => 'Proszę wpisać nazwę strony.', |
|
| 267 | + 'form_prop_indiquer_sujet' => 'Proszę wpisać temat', |
|
| 268 | + 'form_prop_message_envoye' => 'Wiadomość wysłana', |
|
| 269 | + 'form_prop_non_enregistre' => 'Twoja propozycja nie została zapisana.', |
|
| 270 | + 'form_prop_sujet' => 'Temat', |
|
| 271 | + 'form_prop_url_site' => 'URL stron\\y', # MODIF |
|
| 272 | + 'forum_non_inscrit' => 'Nie jesteś zarejestrowany, lub adres bądź hasło są nieprawidłowe.', |
|
| 273 | + 'forum_par_auteur' => 'wg @auteur@', |
|
| 274 | + 'forum_titre_erreur' => 'Błąd...', |
|
| 275 | 275 | |
| 276 | - // I |
|
| 277 | - 'ical_texte_rss_articles' => 'Plik "backend" artykułów tej strony znajduje się pod adresem:', |
|
| 278 | - 'ical_texte_rss_articles2' => 'Możesz również otrzymać pliki "backend" dla artykułów dla każdego z działów strony:', |
|
| 279 | - 'ical_texte_rss_breves' => 'Istnieje także plik zawierający wszystkie newsy opublikowane na stronie. Precyzując numer działu, otrzymasz newsy opublikowane w tym dziale.', |
|
| 280 | - 'icone_a_suivre' => 'Aktualności', |
|
| 281 | - 'icone_admin_site' => 'Administracja strony', |
|
| 282 | - 'icone_agenda' => 'Kalendarz', |
|
| 283 | - 'icone_aide_ligne' => 'Pomoc', |
|
| 284 | - 'icone_articles' => 'Artykuły', |
|
| 285 | - 'icone_auteurs' => 'Autorzy', |
|
| 286 | - 'icone_brouteur' => 'Menu podręczne', |
|
| 287 | - 'icone_configuration_site' => 'Konfiguracja', |
|
| 288 | - 'icone_configurer_site' => 'Konfiguruj swoją stronę', |
|
| 289 | - 'icone_creer_nouvel_auteur' => 'Utwórz nowego autora', |
|
| 290 | - 'icone_creer_rubrique' => 'Utwórz dział', |
|
| 291 | - 'icone_creer_sous_rubrique' => 'Utwórz poddział', |
|
| 292 | - 'icone_deconnecter' => 'Rozłącz', |
|
| 293 | - 'icone_discussions' => 'Dyskusje', |
|
| 294 | - 'icone_doc_rubrique' => 'Załączniki', |
|
| 295 | - 'icone_ecrire_article' => 'Napisz nowy artykuł', |
|
| 296 | - 'icone_edition_site' => 'Edycja', |
|
| 297 | - 'icone_gestion_langues' => 'Zarządzanie językami', |
|
| 298 | - 'icone_informations_personnelles' => 'Informacje osobiste', |
|
| 299 | - 'icone_interface_complet' => 'cały interfejs', |
|
| 300 | - 'icone_interface_simple' => 'Uproszczony interfejs', |
|
| 301 | - 'icone_maintenance_site' => 'Administracja stroną', |
|
| 302 | - 'icone_messagerie_personnelle' => 'Wiadomości prywatne', |
|
| 303 | - 'icone_repartition_debut' => 'Pokaż dystrybucję od początku', |
|
| 304 | - 'icone_rubriques' => 'Działy', |
|
| 305 | - 'icone_sauver_site' => 'Backup strony', |
|
| 306 | - 'icone_site_entier' => 'Cała strona', |
|
| 307 | - 'icone_sites_references' => 'Zlinkowane strony', |
|
| 308 | - 'icone_statistiques' => 'Statystyki strony', |
|
| 309 | - 'icone_suivi_activite' => 'Prace redakcyjne', |
|
| 310 | - 'icone_suivi_actualite' => 'Rozwój strony', |
|
| 311 | - 'icone_suivi_pettions' => 'Śledź/zarządzaj ogłoszeniami', |
|
| 312 | - 'icone_suivi_revisions' => 'Zmiany artykułów', |
|
| 313 | - 'icone_supprimer_document' => 'Usuń ten dokument', |
|
| 314 | - 'icone_supprimer_image' => 'Usuń ten obrazek', |
|
| 315 | - 'icone_tous_articles' => 'Wszystkie Twoje artykuły', |
|
| 316 | - 'icone_tous_auteur' => 'Wszyscy autorzy', |
|
| 317 | - 'icone_tous_visiteur' => 'Wszyscy odwiedzający', |
|
| 318 | - 'icone_visiter_site' => 'Przejdź do Twojego serwisu', |
|
| 319 | - 'icone_voir_en_ligne' => 'Obejrzyj online', |
|
| 320 | - 'img_indisponible' => 'obrazek niedostępny', |
|
| 321 | - 'impossible' => 'niemożliwe', |
|
| 322 | - 'info_a_suivre' => 'KONTYNUUJ »', |
|
| 323 | - 'info_acces_interdit' => 'Dostęp zabroniony', |
|
| 324 | - 'info_acces_refuse' => 'Brak dostępu', |
|
| 325 | - 'info_action' => 'Akcja: @action@', |
|
| 326 | - 'info_administrer_rubriques' => 'Możesz zarządzać tą działami i jej poddziałami', |
|
| 327 | - 'info_adresse_non_indiquee' => 'Nie podałeś adresu testowego!', |
|
| 328 | - 'info_aide' => 'POMOC:', |
|
| 329 | - 'info_ajouter_mot' => 'Dodaj to słowo kluczowe', |
|
| 330 | - 'info_annonce' => 'ZAWIADOMIENIE', |
|
| 331 | - 'info_annonces_generales' => 'Ogólne ogłoszenia:', |
|
| 332 | - 'info_article_propose' => 'Zaproponowany artykuł', |
|
| 333 | - 'info_article_publie' => 'Artykuł opublikowany', |
|
| 334 | - 'info_article_redaction' => 'Artykuł w trakcie tworzenia', |
|
| 335 | - 'info_article_refuse' => 'Artykuł odrzucony', |
|
| 336 | - 'info_article_supprime' => 'Artykuł usunięty', |
|
| 337 | - 'info_articles' => 'Artykuły', |
|
| 338 | - 'info_articles_a_valider' => 'Artykuły do zatwierdzenia', |
|
| 339 | - 'info_articles_nb' => '@nb@ artykułów', |
|
| 340 | - 'info_articles_proposes' => 'Zaproponowane artykuły', |
|
| 341 | - 'info_articles_un' => '1 artykuł', |
|
| 342 | - 'info_auteurs_nombre' => 'autor(zy):', |
|
| 343 | - 'info_authentification_ftp' => 'Uwierzytelnienie (poprzez FTP).', |
|
| 344 | - 'info_breves_2' => 'newsy', |
|
| 345 | - 'info_breves_nb' => '@nb@ newsów', |
|
| 346 | - 'info_connexion_refusee' => 'Brak połączenia', |
|
| 347 | - 'info_contact_developpeur' => 'Proszę skontaktować się z deweloperem.', |
|
| 348 | - 'info_contenance' => 'Ta strona zawiera:', |
|
| 349 | - 'info_contribution' => 'wpisy na forum', # MODIF |
|
| 350 | - 'info_copyright' => '@spip@ - darmowe oprogramowanie dystrybuowane w oparciu o licencję @lien_gpl@.', |
|
| 351 | - 'info_copyright_doc' => 'Więcej informacji na stronie <a href="@spipnet@">http://www.spip.net</a>.', # MODIF |
|
| 352 | - 'info_copyright_gpl' => 'na licencji GPL', |
|
| 353 | - 'info_cours_edition' => 'Twoje artykuły w trakcie redagowania', # MODIF |
|
| 354 | - 'info_creer_repertoire' => 'Utwórz plik lub katalog o nazwie:', |
|
| 355 | - 'info_creer_repertoire_2' => 'w podkatalogu <b>@repertoire@</b>, a następnie:', |
|
| 356 | - 'info_creer_vignette' => 'generowanie miniaturki', |
|
| 357 | - 'info_deplier' => 'Rozwiń', |
|
| 358 | - 'info_descriptif_nombre' => 'opis(y):', |
|
| 359 | - 'info_description' => 'Opis:', |
|
| 360 | - 'info_description_2' => 'Opis:', |
|
| 361 | - 'info_dimension' => 'Rozmiar:', |
|
| 362 | - 'info_ecire_message_prive' => 'Napisz prywatną wiadomość', |
|
| 363 | - 'info_email_invalide' => 'Nieprawidłowy adres e-mail.', |
|
| 364 | - 'info_en_cours_validation' => 'Twoje artykuły są w trakcie redagowania', |
|
| 365 | - 'info_en_ligne' => 'Teraz online:', |
|
| 366 | - 'info_envoyer_message_prive' => 'Wyślij prywatną wiadomość do tego autora', |
|
| 367 | - 'info_erreur_requete' => 'Błąd zapytania :', |
|
| 368 | - 'info_erreur_squelette2' => 'Żaden szkielet <b>@fichier@</b> nie jest dostępny ...', |
|
| 369 | - 'info_erreur_systeme' => 'Błąd systemu (errno @errsys@)', |
|
| 370 | - 'info_erreur_systeme2' => 'Albo dysk twardy jest pełny albo uszkodzona jest baza danych.<br /> |
|
| 276 | + // I |
|
| 277 | + 'ical_texte_rss_articles' => 'Plik "backend" artykułów tej strony znajduje się pod adresem:', |
|
| 278 | + 'ical_texte_rss_articles2' => 'Możesz również otrzymać pliki "backend" dla artykułów dla każdego z działów strony:', |
|
| 279 | + 'ical_texte_rss_breves' => 'Istnieje także plik zawierający wszystkie newsy opublikowane na stronie. Precyzując numer działu, otrzymasz newsy opublikowane w tym dziale.', |
|
| 280 | + 'icone_a_suivre' => 'Aktualności', |
|
| 281 | + 'icone_admin_site' => 'Administracja strony', |
|
| 282 | + 'icone_agenda' => 'Kalendarz', |
|
| 283 | + 'icone_aide_ligne' => 'Pomoc', |
|
| 284 | + 'icone_articles' => 'Artykuły', |
|
| 285 | + 'icone_auteurs' => 'Autorzy', |
|
| 286 | + 'icone_brouteur' => 'Menu podręczne', |
|
| 287 | + 'icone_configuration_site' => 'Konfiguracja', |
|
| 288 | + 'icone_configurer_site' => 'Konfiguruj swoją stronę', |
|
| 289 | + 'icone_creer_nouvel_auteur' => 'Utwórz nowego autora', |
|
| 290 | + 'icone_creer_rubrique' => 'Utwórz dział', |
|
| 291 | + 'icone_creer_sous_rubrique' => 'Utwórz poddział', |
|
| 292 | + 'icone_deconnecter' => 'Rozłącz', |
|
| 293 | + 'icone_discussions' => 'Dyskusje', |
|
| 294 | + 'icone_doc_rubrique' => 'Załączniki', |
|
| 295 | + 'icone_ecrire_article' => 'Napisz nowy artykuł', |
|
| 296 | + 'icone_edition_site' => 'Edycja', |
|
| 297 | + 'icone_gestion_langues' => 'Zarządzanie językami', |
|
| 298 | + 'icone_informations_personnelles' => 'Informacje osobiste', |
|
| 299 | + 'icone_interface_complet' => 'cały interfejs', |
|
| 300 | + 'icone_interface_simple' => 'Uproszczony interfejs', |
|
| 301 | + 'icone_maintenance_site' => 'Administracja stroną', |
|
| 302 | + 'icone_messagerie_personnelle' => 'Wiadomości prywatne', |
|
| 303 | + 'icone_repartition_debut' => 'Pokaż dystrybucję od początku', |
|
| 304 | + 'icone_rubriques' => 'Działy', |
|
| 305 | + 'icone_sauver_site' => 'Backup strony', |
|
| 306 | + 'icone_site_entier' => 'Cała strona', |
|
| 307 | + 'icone_sites_references' => 'Zlinkowane strony', |
|
| 308 | + 'icone_statistiques' => 'Statystyki strony', |
|
| 309 | + 'icone_suivi_activite' => 'Prace redakcyjne', |
|
| 310 | + 'icone_suivi_actualite' => 'Rozwój strony', |
|
| 311 | + 'icone_suivi_pettions' => 'Śledź/zarządzaj ogłoszeniami', |
|
| 312 | + 'icone_suivi_revisions' => 'Zmiany artykułów', |
|
| 313 | + 'icone_supprimer_document' => 'Usuń ten dokument', |
|
| 314 | + 'icone_supprimer_image' => 'Usuń ten obrazek', |
|
| 315 | + 'icone_tous_articles' => 'Wszystkie Twoje artykuły', |
|
| 316 | + 'icone_tous_auteur' => 'Wszyscy autorzy', |
|
| 317 | + 'icone_tous_visiteur' => 'Wszyscy odwiedzający', |
|
| 318 | + 'icone_visiter_site' => 'Przejdź do Twojego serwisu', |
|
| 319 | + 'icone_voir_en_ligne' => 'Obejrzyj online', |
|
| 320 | + 'img_indisponible' => 'obrazek niedostępny', |
|
| 321 | + 'impossible' => 'niemożliwe', |
|
| 322 | + 'info_a_suivre' => 'KONTYNUUJ »', |
|
| 323 | + 'info_acces_interdit' => 'Dostęp zabroniony', |
|
| 324 | + 'info_acces_refuse' => 'Brak dostępu', |
|
| 325 | + 'info_action' => 'Akcja: @action@', |
|
| 326 | + 'info_administrer_rubriques' => 'Możesz zarządzać tą działami i jej poddziałami', |
|
| 327 | + 'info_adresse_non_indiquee' => 'Nie podałeś adresu testowego!', |
|
| 328 | + 'info_aide' => 'POMOC:', |
|
| 329 | + 'info_ajouter_mot' => 'Dodaj to słowo kluczowe', |
|
| 330 | + 'info_annonce' => 'ZAWIADOMIENIE', |
|
| 331 | + 'info_annonces_generales' => 'Ogólne ogłoszenia:', |
|
| 332 | + 'info_article_propose' => 'Zaproponowany artykuł', |
|
| 333 | + 'info_article_publie' => 'Artykuł opublikowany', |
|
| 334 | + 'info_article_redaction' => 'Artykuł w trakcie tworzenia', |
|
| 335 | + 'info_article_refuse' => 'Artykuł odrzucony', |
|
| 336 | + 'info_article_supprime' => 'Artykuł usunięty', |
|
| 337 | + 'info_articles' => 'Artykuły', |
|
| 338 | + 'info_articles_a_valider' => 'Artykuły do zatwierdzenia', |
|
| 339 | + 'info_articles_nb' => '@nb@ artykułów', |
|
| 340 | + 'info_articles_proposes' => 'Zaproponowane artykuły', |
|
| 341 | + 'info_articles_un' => '1 artykuł', |
|
| 342 | + 'info_auteurs_nombre' => 'autor(zy):', |
|
| 343 | + 'info_authentification_ftp' => 'Uwierzytelnienie (poprzez FTP).', |
|
| 344 | + 'info_breves_2' => 'newsy', |
|
| 345 | + 'info_breves_nb' => '@nb@ newsów', |
|
| 346 | + 'info_connexion_refusee' => 'Brak połączenia', |
|
| 347 | + 'info_contact_developpeur' => 'Proszę skontaktować się z deweloperem.', |
|
| 348 | + 'info_contenance' => 'Ta strona zawiera:', |
|
| 349 | + 'info_contribution' => 'wpisy na forum', # MODIF |
|
| 350 | + 'info_copyright' => '@spip@ - darmowe oprogramowanie dystrybuowane w oparciu o licencję @lien_gpl@.', |
|
| 351 | + 'info_copyright_doc' => 'Więcej informacji na stronie <a href="@spipnet@">http://www.spip.net</a>.', # MODIF |
|
| 352 | + 'info_copyright_gpl' => 'na licencji GPL', |
|
| 353 | + 'info_cours_edition' => 'Twoje artykuły w trakcie redagowania', # MODIF |
|
| 354 | + 'info_creer_repertoire' => 'Utwórz plik lub katalog o nazwie:', |
|
| 355 | + 'info_creer_repertoire_2' => 'w podkatalogu <b>@repertoire@</b>, a następnie:', |
|
| 356 | + 'info_creer_vignette' => 'generowanie miniaturki', |
|
| 357 | + 'info_deplier' => 'Rozwiń', |
|
| 358 | + 'info_descriptif_nombre' => 'opis(y):', |
|
| 359 | + 'info_description' => 'Opis:', |
|
| 360 | + 'info_description_2' => 'Opis:', |
|
| 361 | + 'info_dimension' => 'Rozmiar:', |
|
| 362 | + 'info_ecire_message_prive' => 'Napisz prywatną wiadomość', |
|
| 363 | + 'info_email_invalide' => 'Nieprawidłowy adres e-mail.', |
|
| 364 | + 'info_en_cours_validation' => 'Twoje artykuły są w trakcie redagowania', |
|
| 365 | + 'info_en_ligne' => 'Teraz online:', |
|
| 366 | + 'info_envoyer_message_prive' => 'Wyślij prywatną wiadomość do tego autora', |
|
| 367 | + 'info_erreur_requete' => 'Błąd zapytania :', |
|
| 368 | + 'info_erreur_squelette2' => 'Żaden szkielet <b>@fichier@</b> nie jest dostępny ...', |
|
| 369 | + 'info_erreur_systeme' => 'Błąd systemu (errno @errsys@)', |
|
| 370 | + 'info_erreur_systeme2' => 'Albo dysk twardy jest pełny albo uszkodzona jest baza danych.<br /> |
|
| 371 | 371 | <span style="color:red;">Spróbuj <a href=\'@script@\'>naprawić bazę danych</a>, lub skontaktuj się z administratorem serwera.</span>', |
| 372 | - 'info_fini' => 'Zakończono!', |
|
| 373 | - 'info_format_image' => 'Formaty plików obrazków, które mogą być używane do tworzenia minitaturek : @gd_formats@.', |
|
| 374 | - 'info_format_non_defini' => 'format niezdefiniowany', |
|
| 375 | - 'info_grand_ecran' => 'Cały ekran', |
|
| 376 | - 'info_image_aide' => 'POMOC', |
|
| 377 | - 'info_image_process_titre' => 'Sposób generowania miniaturek', |
|
| 378 | - 'info_impossible_lire_page' => '<b>Błąd !</b> Nie można odczytać strony<tt><html>@test_proxy@</html></tt> za pośrednictwem proxy<tt>', |
|
| 379 | - 'info_installation_systeme_publication' => 'Instalacja systemu publikacji...', |
|
| 380 | - 'info_installer_documents' => 'Możesz automatycznie dodawać wszystkie dokumenty znajdujące się w folderze @upload@.', |
|
| 381 | - 'info_installer_ftp' => 'Jako administrator możesz umieszczać (przez FTP) pliki w folderze @upload@, aby później wybierać je bezpośrednio stąd.', |
|
| 382 | - 'info_installer_images' => 'Możesz umieszczać obrazki w formatach JPEG, GIF i PNG.', |
|
| 383 | - 'info_installer_images_dossier' => 'Umieść obrazki w folderze @upload@ aby móc je stąd wybierać.', |
|
| 384 | - 'info_interface_complete' => 'cały interfejs', |
|
| 385 | - 'info_interface_simple' => 'Uproszczony interfejs', |
|
| 386 | - 'info_joindre_document_article' => 'Do tego artykułu możesz załączać dokumenty typu', |
|
| 387 | - 'info_joindre_document_rubrique' => 'Do tego działu możesz dodawać dokumenty typu', |
|
| 388 | - 'info_joindre_documents_article' => 'Do swojego atykułu możesz załączać dokumenty typu:', |
|
| 389 | - 'info_l_article' => 'artykuł', |
|
| 390 | - 'info_la_breve' => 'news', |
|
| 391 | - 'info_la_rubrique' => 'dział', |
|
| 392 | - 'info_langue_principale' => 'Język głównej strony', |
|
| 393 | - 'info_largeur_vignette' => '@largeur_vignette@ x @hauteur_vignette@ pikseli', |
|
| 394 | - 'info_les_auteurs_1' => 'wg @les_auteurs@', |
|
| 395 | - 'info_logo_format_interdit' => 'Dla logo dozwolone są następujące formaty: @formats@.', |
|
| 396 | - 'info_logo_max_poids' => 'Logo może mieć maksymalnie @maxi@ (teraz ma @actuel@).', |
|
| 397 | - 'info_mail_fournisseur' => '[email protected]', |
|
| 398 | - 'info_message_2' => 'WIADOMOŚĆ', |
|
| 399 | - 'info_message_supprime' => 'WIADOMOŚĆ USUNIĘTA', |
|
| 400 | - 'info_mise_en_ligne' => 'Data publikacji online:', |
|
| 401 | - 'info_modification_parametres_securite' => 'modyfikacja parametrów bezpieczeństwa', |
|
| 402 | - 'info_mois_courant' => 'Bieżący miesiąc:', |
|
| 403 | - 'info_mot_cle_ajoute' => 'Następujące słowo kluczowe dodane zostało do', |
|
| 404 | - 'info_multi_herit' => 'Język domyślny', |
|
| 405 | - 'info_multi_langues_soulignees' => '<u>Podkreślonie języka</u> świadczy o kompletnym przekładzie wszystkich tekstów interfejsu. Jeśli wybierzesz jeden z tych języków, elementy serwisu (daty, formularze) zostaną automatycznie przetłumaczone. W przypadku języków nie-podkreślonych, elementy te ukażą się w głównym języku serwisu.', # MODIF |
|
| 406 | - 'info_multilinguisme' => 'Wielojęzyczny', |
|
| 407 | - 'info_nom_non_utilisateurs_connectes' => 'Twoja nazwa nie pojawia się na liście podłączonych użytkowników.', |
|
| 408 | - 'info_nom_utilisateurs_connectes' => 'Twoje imię występuje na liście podłączonych użytkowników.', |
|
| 409 | - 'info_nombre_en_ligne' => 'Teraz online:', |
|
| 410 | - 'info_non_resultat' => 'Żadnych wyników dla "@cherche_mot@"', |
|
| 411 | - 'info_non_utilisation_messagerie' => 'Nie korzystasz z wewnętrznej komunikacji tego serwisu.', |
|
| 412 | - 'info_nouveau_message' => 'MASZ NOWĄ WIADOMOŚĆ', |
|
| 413 | - 'info_nouveaux_messages' => 'MASZ @total_messages@ NOWYCH WIADOMOŚCI', |
|
| 414 | - 'info_numero_abbreviation' => 'N° ', |
|
| 415 | - 'info_pense_bete' => 'NOTATKA', |
|
| 416 | - 'info_petit_ecran' => 'Małe okno', |
|
| 417 | - 'info_pixels' => 'piksele', |
|
| 418 | - 'info_plusieurs_mots_trouves' => 'Kilkanaście słów kluczowych zostało znalezionych dla "@cherche_mot@":', |
|
| 419 | - 'info_portfolio_automatique' => 'Automatyczne portfolio:', |
|
| 420 | - 'info_premier_resultat' => '[@debut_limit@ pierwsze wyniki z @total@]', |
|
| 421 | - 'info_premier_resultat_sur' => '[@debut_limit@ pierwsze wyniki z @total@]', |
|
| 422 | - 'info_propose_1' => '[@nom_site_spip@] Zatwierdza: @titre@', |
|
| 423 | - 'info_propose_2' => 'Artykuły zatwierdzone |
|
| 372 | + 'info_fini' => 'Zakończono!', |
|
| 373 | + 'info_format_image' => 'Formaty plików obrazków, które mogą być używane do tworzenia minitaturek : @gd_formats@.', |
|
| 374 | + 'info_format_non_defini' => 'format niezdefiniowany', |
|
| 375 | + 'info_grand_ecran' => 'Cały ekran', |
|
| 376 | + 'info_image_aide' => 'POMOC', |
|
| 377 | + 'info_image_process_titre' => 'Sposób generowania miniaturek', |
|
| 378 | + 'info_impossible_lire_page' => '<b>Błąd !</b> Nie można odczytać strony<tt><html>@test_proxy@</html></tt> za pośrednictwem proxy<tt>', |
|
| 379 | + 'info_installation_systeme_publication' => 'Instalacja systemu publikacji...', |
|
| 380 | + 'info_installer_documents' => 'Możesz automatycznie dodawać wszystkie dokumenty znajdujące się w folderze @upload@.', |
|
| 381 | + 'info_installer_ftp' => 'Jako administrator możesz umieszczać (przez FTP) pliki w folderze @upload@, aby później wybierać je bezpośrednio stąd.', |
|
| 382 | + 'info_installer_images' => 'Możesz umieszczać obrazki w formatach JPEG, GIF i PNG.', |
|
| 383 | + 'info_installer_images_dossier' => 'Umieść obrazki w folderze @upload@ aby móc je stąd wybierać.', |
|
| 384 | + 'info_interface_complete' => 'cały interfejs', |
|
| 385 | + 'info_interface_simple' => 'Uproszczony interfejs', |
|
| 386 | + 'info_joindre_document_article' => 'Do tego artykułu możesz załączać dokumenty typu', |
|
| 387 | + 'info_joindre_document_rubrique' => 'Do tego działu możesz dodawać dokumenty typu', |
|
| 388 | + 'info_joindre_documents_article' => 'Do swojego atykułu możesz załączać dokumenty typu:', |
|
| 389 | + 'info_l_article' => 'artykuł', |
|
| 390 | + 'info_la_breve' => 'news', |
|
| 391 | + 'info_la_rubrique' => 'dział', |
|
| 392 | + 'info_langue_principale' => 'Język głównej strony', |
|
| 393 | + 'info_largeur_vignette' => '@largeur_vignette@ x @hauteur_vignette@ pikseli', |
|
| 394 | + 'info_les_auteurs_1' => 'wg @les_auteurs@', |
|
| 395 | + 'info_logo_format_interdit' => 'Dla logo dozwolone są następujące formaty: @formats@.', |
|
| 396 | + 'info_logo_max_poids' => 'Logo może mieć maksymalnie @maxi@ (teraz ma @actuel@).', |
|
| 397 | + 'info_mail_fournisseur' => '[email protected]', |
|
| 398 | + 'info_message_2' => 'WIADOMOŚĆ', |
|
| 399 | + 'info_message_supprime' => 'WIADOMOŚĆ USUNIĘTA', |
|
| 400 | + 'info_mise_en_ligne' => 'Data publikacji online:', |
|
| 401 | + 'info_modification_parametres_securite' => 'modyfikacja parametrów bezpieczeństwa', |
|
| 402 | + 'info_mois_courant' => 'Bieżący miesiąc:', |
|
| 403 | + 'info_mot_cle_ajoute' => 'Następujące słowo kluczowe dodane zostało do', |
|
| 404 | + 'info_multi_herit' => 'Język domyślny', |
|
| 405 | + 'info_multi_langues_soulignees' => '<u>Podkreślonie języka</u> świadczy o kompletnym przekładzie wszystkich tekstów interfejsu. Jeśli wybierzesz jeden z tych języków, elementy serwisu (daty, formularze) zostaną automatycznie przetłumaczone. W przypadku języków nie-podkreślonych, elementy te ukażą się w głównym języku serwisu.', # MODIF |
|
| 406 | + 'info_multilinguisme' => 'Wielojęzyczny', |
|
| 407 | + 'info_nom_non_utilisateurs_connectes' => 'Twoja nazwa nie pojawia się na liście podłączonych użytkowników.', |
|
| 408 | + 'info_nom_utilisateurs_connectes' => 'Twoje imię występuje na liście podłączonych użytkowników.', |
|
| 409 | + 'info_nombre_en_ligne' => 'Teraz online:', |
|
| 410 | + 'info_non_resultat' => 'Żadnych wyników dla "@cherche_mot@"', |
|
| 411 | + 'info_non_utilisation_messagerie' => 'Nie korzystasz z wewnętrznej komunikacji tego serwisu.', |
|
| 412 | + 'info_nouveau_message' => 'MASZ NOWĄ WIADOMOŚĆ', |
|
| 413 | + 'info_nouveaux_messages' => 'MASZ @total_messages@ NOWYCH WIADOMOŚCI', |
|
| 414 | + 'info_numero_abbreviation' => 'N° ', |
|
| 415 | + 'info_pense_bete' => 'NOTATKA', |
|
| 416 | + 'info_petit_ecran' => 'Małe okno', |
|
| 417 | + 'info_pixels' => 'piksele', |
|
| 418 | + 'info_plusieurs_mots_trouves' => 'Kilkanaście słów kluczowych zostało znalezionych dla "@cherche_mot@":', |
|
| 419 | + 'info_portfolio_automatique' => 'Automatyczne portfolio:', |
|
| 420 | + 'info_premier_resultat' => '[@debut_limit@ pierwsze wyniki z @total@]', |
|
| 421 | + 'info_premier_resultat_sur' => '[@debut_limit@ pierwsze wyniki z @total@]', |
|
| 422 | + 'info_propose_1' => '[@nom_site_spip@] Zatwierdza: @titre@', |
|
| 423 | + 'info_propose_2' => 'Artykuły zatwierdzone |
|
| 424 | 424 | -----------------', |
| 425 | - 'info_propose_3' => 'Artykuł "@titre@" został zatwierdzony do publikacji.', |
|
| 426 | - 'info_propose_4' => 'Zostałeś zaproszony do przeglądu i wyrażenia swojej opinii', |
|
| 427 | - 'info_propose_5' => 'w forum, które jest przyporządkowane. Jest ono dostępne pod adresem :', |
|
| 428 | - 'info_publie_01' => 'Artykuł "@titre@" został zatwierdzony przez @connect_nom@.', |
|
| 429 | - 'info_publie_1' => '[@nom_site_spip@] PUBLIKUJE: @titre@', |
|
| 430 | - 'info_publie_2' => 'Artykuł opublikowany |
|
| 425 | + 'info_propose_3' => 'Artykuł "@titre@" został zatwierdzony do publikacji.', |
|
| 426 | + 'info_propose_4' => 'Zostałeś zaproszony do przeglądu i wyrażenia swojej opinii', |
|
| 427 | + 'info_propose_5' => 'w forum, które jest przyporządkowane. Jest ono dostępne pod adresem :', |
|
| 428 | + 'info_publie_01' => 'Artykuł "@titre@" został zatwierdzony przez @connect_nom@.', |
|
| 429 | + 'info_publie_1' => '[@nom_site_spip@] PUBLIKUJE: @titre@', |
|
| 430 | + 'info_publie_2' => 'Artykuł opublikowany |
|
| 431 | 431 | -----------------', |
| 432 | - 'info_rechercher' => 'Szukaj', |
|
| 433 | - 'info_rechercher_02' => 'Szukaj:', |
|
| 434 | - 'info_remplacer_vignette' => 'Zamień domyślną miniaturkę na wybrane przez ciebie logo :', |
|
| 435 | - 'info_sans_titre_2' => 'bez tytułu', |
|
| 436 | - 'info_selectionner_fichier' => 'Możesz wybrać plik z folderu @upload@', |
|
| 437 | - 'info_selectionner_fichier_2' => 'Wybierz plik:', |
|
| 438 | - 'info_supprimer_vignette' => 'usuń winietę', |
|
| 439 | - 'info_symbole_bleu' => 'Symbol <b>niebieski</b> oznacza <b>notatkę</b>: n.p. wiadomość do prywatnego użytku.', |
|
| 440 | - 'info_symbole_jaune' => 'Symbol <b>żółty</b> oznacza <b>zawiadomienie dla wszystkich redaktorów</b>: może być opublikowana przez wszystkich administratorów, i jest widoczna dla wszystkich redaktorów.', |
|
| 441 | - 'info_symbole_vert' => 'Symbol <b>zielony</b> oznacza <b>wiadomości wymieniane z innymi użytkownikami</b> strony.', |
|
| 442 | - 'info_telecharger_nouveau_logo' => 'Załaduj nowe logo:', |
|
| 443 | - 'info_telecharger_ordinateur' => 'Załaduj ze swojego komputera:', |
|
| 444 | - 'info_tous_resultats_enregistres' => '[wszystkie wyniki są zapisane]', |
|
| 445 | - 'info_tout_afficher' => 'Pokaż wszystko', |
|
| 446 | - 'info_travaux_texte' => 'Ten serwis nie jest jeszcze skonfigurowany. Zapraszamy później...', |
|
| 447 | - 'info_travaux_titre' => 'Strona w trakcie budowy', |
|
| 448 | - 'info_trop_resultat' => 'Zbyt dużo rezultatów "@cherche_mot@" ; spróbuj sprecyzować kryteria wyszukiwania.', |
|
| 449 | - 'info_utilisation_messagerie_interne' => 'Używasz wewnętrznej poczty w tym serwisie.', |
|
| 450 | - 'info_valider_lien' => 'zatwierdź ten link', |
|
| 451 | - 'info_verifier_image' => ', proszę się upewnić, czy obrazki zostały przesłane prawidłowo.', |
|
| 452 | - 'info_vignette_defaut' => 'Domyślna winieta', |
|
| 453 | - 'info_vignette_personnalisee' => 'Miniaturka spersonalizowana', |
|
| 454 | - 'info_visite' => 'odwiedziny:', |
|
| 455 | - 'info_vos_rendez_vous' => 'Twoje przyszłe spotkania', |
|
| 456 | - 'infos_vos_pense_bete' => 'Twoje notatki', # MODIF |
|
| 432 | + 'info_rechercher' => 'Szukaj', |
|
| 433 | + 'info_rechercher_02' => 'Szukaj:', |
|
| 434 | + 'info_remplacer_vignette' => 'Zamień domyślną miniaturkę na wybrane przez ciebie logo :', |
|
| 435 | + 'info_sans_titre_2' => 'bez tytułu', |
|
| 436 | + 'info_selectionner_fichier' => 'Możesz wybrać plik z folderu @upload@', |
|
| 437 | + 'info_selectionner_fichier_2' => 'Wybierz plik:', |
|
| 438 | + 'info_supprimer_vignette' => 'usuń winietę', |
|
| 439 | + 'info_symbole_bleu' => 'Symbol <b>niebieski</b> oznacza <b>notatkę</b>: n.p. wiadomość do prywatnego użytku.', |
|
| 440 | + 'info_symbole_jaune' => 'Symbol <b>żółty</b> oznacza <b>zawiadomienie dla wszystkich redaktorów</b>: może być opublikowana przez wszystkich administratorów, i jest widoczna dla wszystkich redaktorów.', |
|
| 441 | + 'info_symbole_vert' => 'Symbol <b>zielony</b> oznacza <b>wiadomości wymieniane z innymi użytkownikami</b> strony.', |
|
| 442 | + 'info_telecharger_nouveau_logo' => 'Załaduj nowe logo:', |
|
| 443 | + 'info_telecharger_ordinateur' => 'Załaduj ze swojego komputera:', |
|
| 444 | + 'info_tous_resultats_enregistres' => '[wszystkie wyniki są zapisane]', |
|
| 445 | + 'info_tout_afficher' => 'Pokaż wszystko', |
|
| 446 | + 'info_travaux_texte' => 'Ten serwis nie jest jeszcze skonfigurowany. Zapraszamy później...', |
|
| 447 | + 'info_travaux_titre' => 'Strona w trakcie budowy', |
|
| 448 | + 'info_trop_resultat' => 'Zbyt dużo rezultatów "@cherche_mot@" ; spróbuj sprecyzować kryteria wyszukiwania.', |
|
| 449 | + 'info_utilisation_messagerie_interne' => 'Używasz wewnętrznej poczty w tym serwisie.', |
|
| 450 | + 'info_valider_lien' => 'zatwierdź ten link', |
|
| 451 | + 'info_verifier_image' => ', proszę się upewnić, czy obrazki zostały przesłane prawidłowo.', |
|
| 452 | + 'info_vignette_defaut' => 'Domyślna winieta', |
|
| 453 | + 'info_vignette_personnalisee' => 'Miniaturka spersonalizowana', |
|
| 454 | + 'info_visite' => 'odwiedziny:', |
|
| 455 | + 'info_vos_rendez_vous' => 'Twoje przyszłe spotkania', |
|
| 456 | + 'infos_vos_pense_bete' => 'Twoje notatki', # MODIF |
|
| 457 | 457 | |
| 458 | - // L |
|
| 459 | - 'lien_afficher_icones_seuls' => 'Pokazuj tylko ikonki', |
|
| 460 | - 'lien_afficher_texte_icones' => 'POkazuj ikonki i tekst', |
|
| 461 | - 'lien_afficher_texte_seul' => 'Pokazuj tylko tekst', |
|
| 462 | - 'lien_liberer' => 'uwolnij', |
|
| 463 | - 'lien_liberer_tous' => 'uwolnij artykuły', # MODIF |
|
| 464 | - 'lien_nouvea_pense_bete' => 'NOWA NOTATKA', |
|
| 465 | - 'lien_nouveau_message' => 'NOWA WIADOMOŚĆ', |
|
| 466 | - 'lien_nouvelle_annonce' => 'NOWE ZAWIADOMIENIE', |
|
| 467 | - 'lien_petitions' => 'OGŁOSZENIE', |
|
| 468 | - 'lien_popularite' => 'popularność: @popularite@%', |
|
| 469 | - 'lien_racine_site' => 'RDZEŃ STRONY', |
|
| 470 | - 'lien_reessayer' => 'spróbuj ponownie', |
|
| 471 | - 'lien_repondre_message' => 'Odpowiedz na tę wiadomość', |
|
| 472 | - 'lien_supprimer' => 'usuń', |
|
| 473 | - 'lien_tout_afficher' => 'Pokaż wszystko', |
|
| 474 | - 'lien_visite_site' => 'odwiedź stronę', |
|
| 475 | - 'lien_visites' => '@visites@ odwiedzin', |
|
| 476 | - 'lien_voir_auteur' => 'Sprawdź autora', |
|
| 477 | - 'ligne' => 'Linia', |
|
| 478 | - 'login' => 'Połączenie', |
|
| 479 | - 'login_acces_prive' => 'dostęp do obszaru prywatnego', |
|
| 480 | - 'login_autre_identifiant' => 'zaloguj używając innego loginu', |
|
| 481 | - 'login_cookie_accepte' => 'Zmień ustawienia Twojej przeglądarki, aby je akceptowała (przynajmniej dla tej strony).', |
|
| 482 | - 'login_cookie_oblige' => 'Aby móc zalogować się bezpiecznie do tej strony, musicie zaakceptować cookies.', |
|
| 483 | - 'login_deconnexion_ok' => 'Rozłączanie zakończono.', |
|
| 484 | - 'login_erreur_pass' => 'Błąd hasła.', |
|
| 485 | - 'login_espace_prive' => 'obszar prywatny', |
|
| 486 | - 'login_identifiant_inconnu' => 'Login « @login@ » nieznany.', |
|
| 487 | - 'login_login' => 'Login:', |
|
| 488 | - 'login_login2' => 'Login (identyfikator) :', # MODIF |
|
| 489 | - 'login_login_pass_incorrect' => '(Zły login lub hasło).', |
|
| 490 | - 'login_motpasseoublie' => 'zapomniałeś hasła?', |
|
| 491 | - 'login_non_securise' => 'Uwaga ten formularz nie jest bezpieczny. |
|
| 458 | + // L |
|
| 459 | + 'lien_afficher_icones_seuls' => 'Pokazuj tylko ikonki', |
|
| 460 | + 'lien_afficher_texte_icones' => 'POkazuj ikonki i tekst', |
|
| 461 | + 'lien_afficher_texte_seul' => 'Pokazuj tylko tekst', |
|
| 462 | + 'lien_liberer' => 'uwolnij', |
|
| 463 | + 'lien_liberer_tous' => 'uwolnij artykuły', # MODIF |
|
| 464 | + 'lien_nouvea_pense_bete' => 'NOWA NOTATKA', |
|
| 465 | + 'lien_nouveau_message' => 'NOWA WIADOMOŚĆ', |
|
| 466 | + 'lien_nouvelle_annonce' => 'NOWE ZAWIADOMIENIE', |
|
| 467 | + 'lien_petitions' => 'OGŁOSZENIE', |
|
| 468 | + 'lien_popularite' => 'popularność: @popularite@%', |
|
| 469 | + 'lien_racine_site' => 'RDZEŃ STRONY', |
|
| 470 | + 'lien_reessayer' => 'spróbuj ponownie', |
|
| 471 | + 'lien_repondre_message' => 'Odpowiedz na tę wiadomość', |
|
| 472 | + 'lien_supprimer' => 'usuń', |
|
| 473 | + 'lien_tout_afficher' => 'Pokaż wszystko', |
|
| 474 | + 'lien_visite_site' => 'odwiedź stronę', |
|
| 475 | + 'lien_visites' => '@visites@ odwiedzin', |
|
| 476 | + 'lien_voir_auteur' => 'Sprawdź autora', |
|
| 477 | + 'ligne' => 'Linia', |
|
| 478 | + 'login' => 'Połączenie', |
|
| 479 | + 'login_acces_prive' => 'dostęp do obszaru prywatnego', |
|
| 480 | + 'login_autre_identifiant' => 'zaloguj używając innego loginu', |
|
| 481 | + 'login_cookie_accepte' => 'Zmień ustawienia Twojej przeglądarki, aby je akceptowała (przynajmniej dla tej strony).', |
|
| 482 | + 'login_cookie_oblige' => 'Aby móc zalogować się bezpiecznie do tej strony, musicie zaakceptować cookies.', |
|
| 483 | + 'login_deconnexion_ok' => 'Rozłączanie zakończono.', |
|
| 484 | + 'login_erreur_pass' => 'Błąd hasła.', |
|
| 485 | + 'login_espace_prive' => 'obszar prywatny', |
|
| 486 | + 'login_identifiant_inconnu' => 'Login « @login@ » nieznany.', |
|
| 487 | + 'login_login' => 'Login:', |
|
| 488 | + 'login_login2' => 'Login (identyfikator) :', # MODIF |
|
| 489 | + 'login_login_pass_incorrect' => '(Zły login lub hasło).', |
|
| 490 | + 'login_motpasseoublie' => 'zapomniałeś hasła?', |
|
| 491 | + 'login_non_securise' => 'Uwaga ten formularz nie jest bezpieczny. |
|
| 492 | 492 | Jeśli nie chcesz aby Twoje hasło zostało przechwycone w sieci |
| 493 | 493 | , włącz JavaScript w Twojej przeglądarce i', |
| 494 | - 'login_nouvelle_tentative' => 'Nowa próba', |
|
| 495 | - 'login_par_ici' => 'Jesteś zarejestrowany... tędy...', |
|
| 496 | - 'login_pass2' => 'Hasło:', |
|
| 497 | - 'login_preferez_refuser' => '<b>Jeśli wolisz nie korzystać z cookies</b>, jest inna (mniej bezpieczna) metoda do dyspozycji :', |
|
| 498 | - 'login_recharger' => 'przeładuj stronę', |
|
| 499 | - 'login_rester_identifie' => 'Pozostań zalogowany kilka dni', # MODIF |
|
| 500 | - 'login_retour_public' => 'Powrót do strony publicznej', |
|
| 501 | - 'login_retour_site' => 'Powrót do strony publicznej', |
|
| 502 | - 'login_retoursitepublic' => 'Powrót do strony publicznej', |
|
| 503 | - 'login_sinscrire' => 'rejestracja', |
|
| 504 | - 'login_test_navigateur' => 'test przeglądarki/łącz ponownie', |
|
| 505 | - 'login_verifiez_navigateur' => '(Sprawdź czy Twoja przeglądarka nie zapamiętała hasła...)', |
|
| 494 | + 'login_nouvelle_tentative' => 'Nowa próba', |
|
| 495 | + 'login_par_ici' => 'Jesteś zarejestrowany... tędy...', |
|
| 496 | + 'login_pass2' => 'Hasło:', |
|
| 497 | + 'login_preferez_refuser' => '<b>Jeśli wolisz nie korzystać z cookies</b>, jest inna (mniej bezpieczna) metoda do dyspozycji :', |
|
| 498 | + 'login_recharger' => 'przeładuj stronę', |
|
| 499 | + 'login_rester_identifie' => 'Pozostań zalogowany kilka dni', # MODIF |
|
| 500 | + 'login_retour_public' => 'Powrót do strony publicznej', |
|
| 501 | + 'login_retour_site' => 'Powrót do strony publicznej', |
|
| 502 | + 'login_retoursitepublic' => 'Powrót do strony publicznej', |
|
| 503 | + 'login_sinscrire' => 'rejestracja', |
|
| 504 | + 'login_test_navigateur' => 'test przeglądarki/łącz ponownie', |
|
| 505 | + 'login_verifiez_navigateur' => '(Sprawdź czy Twoja przeglądarka nie zapamiętała hasła...)', |
|
| 506 | 506 | |
| 507 | - // M |
|
| 508 | - 'masquer_trad' => 'ukryj tlumaczenia', |
|
| 509 | - 'module_fichiers_langues' => 'Pliki językowe', |
|
| 507 | + // M |
|
| 508 | + 'masquer_trad' => 'ukryj tlumaczenia', |
|
| 509 | + 'module_fichiers_langues' => 'Pliki językowe', |
|
| 510 | 510 | |
| 511 | - // N |
|
| 512 | - 'navigateur_pas_redirige' => 'Jeśli twoja przeglądarka cię nie przekierowała, kliknij tutaj, żeby kontynuować.', |
|
| 513 | - 'numero' => 'Numer', |
|
| 511 | + // N |
|
| 512 | + 'navigateur_pas_redirige' => 'Jeśli twoja przeglądarka cię nie przekierowała, kliknij tutaj, żeby kontynuować.', |
|
| 513 | + 'numero' => 'Numer', |
|
| 514 | 514 | |
| 515 | - // O |
|
| 516 | - 'occurence' => 'Wystąpienie', |
|
| 517 | - 'onglet_affacer_base' => 'Usuń bazę danych', |
|
| 518 | - 'onglet_auteur' => 'Autor', |
|
| 519 | - 'onglet_contenu_site' => 'Zawartość strony', |
|
| 520 | - 'onglet_evolution_visite_mod' => 'Ewolucja', |
|
| 521 | - 'onglet_fonctions_avances' => 'Funkcje zaawansowane', |
|
| 522 | - 'onglet_informations_personnelles' => 'Informacje osobiste', |
|
| 523 | - 'onglet_interactivite' => 'Interaktywność', |
|
| 524 | - 'onglet_messagerie' => 'Wiadomości', |
|
| 525 | - 'onglet_repartition_rubrique' => 'Rozłożenie działów', |
|
| 526 | - 'onglet_save_restaur_base' => 'Backup/zapisywanie bazy danych', |
|
| 527 | - 'onglet_vider_cache' => 'Opróżnij cache', |
|
| 515 | + // O |
|
| 516 | + 'occurence' => 'Wystąpienie', |
|
| 517 | + 'onglet_affacer_base' => 'Usuń bazę danych', |
|
| 518 | + 'onglet_auteur' => 'Autor', |
|
| 519 | + 'onglet_contenu_site' => 'Zawartość strony', |
|
| 520 | + 'onglet_evolution_visite_mod' => 'Ewolucja', |
|
| 521 | + 'onglet_fonctions_avances' => 'Funkcje zaawansowane', |
|
| 522 | + 'onglet_informations_personnelles' => 'Informacje osobiste', |
|
| 523 | + 'onglet_interactivite' => 'Interaktywność', |
|
| 524 | + 'onglet_messagerie' => 'Wiadomości', |
|
| 525 | + 'onglet_repartition_rubrique' => 'Rozłożenie działów', |
|
| 526 | + 'onglet_save_restaur_base' => 'Backup/zapisywanie bazy danych', |
|
| 527 | + 'onglet_vider_cache' => 'Opróżnij cache', |
|
| 528 | 528 | |
| 529 | - // P |
|
| 530 | - 'pass_choix_pass' => 'Proszę wybrać swoje nowe hasło:', |
|
| 531 | - 'pass_erreur' => 'Błąd', |
|
| 532 | - 'pass_erreur_acces_refuse' => '<b>Błąd:</b> nie masz już dostępu do tej strony.', |
|
| 533 | - 'pass_erreur_code_inconnu' => '<b>Błąd :</b> ten kod nie odpowiada, żadnemu z użytkowników, którzy mają dostęp do tej strony.', |
|
| 534 | - 'pass_erreur_non_enregistre' => '<b>Błąd :</b> adres <tt>@email_oubli@</tt> nie jest zarejestrowany na tej stronie.', |
|
| 535 | - 'pass_erreur_non_valide' => '<b>Błąd :</b> e-mail <tt>@email_oubli@</tt> nie jest prawidłowy!', |
|
| 536 | - 'pass_erreur_probleme_technique' => '<b>Bład :</b> e-mail nie mógł być wysłany z powodu problemów technicznych.', |
|
| 537 | - 'pass_espace_prive_bla' => 'Strefa prywatna tego serwisu jest dostęna |
|
| 529 | + // P |
|
| 530 | + 'pass_choix_pass' => 'Proszę wybrać swoje nowe hasło:', |
|
| 531 | + 'pass_erreur' => 'Błąd', |
|
| 532 | + 'pass_erreur_acces_refuse' => '<b>Błąd:</b> nie masz już dostępu do tej strony.', |
|
| 533 | + 'pass_erreur_code_inconnu' => '<b>Błąd :</b> ten kod nie odpowiada, żadnemu z użytkowników, którzy mają dostęp do tej strony.', |
|
| 534 | + 'pass_erreur_non_enregistre' => '<b>Błąd :</b> adres <tt>@email_oubli@</tt> nie jest zarejestrowany na tej stronie.', |
|
| 535 | + 'pass_erreur_non_valide' => '<b>Błąd :</b> e-mail <tt>@email_oubli@</tt> nie jest prawidłowy!', |
|
| 536 | + 'pass_erreur_probleme_technique' => '<b>Bład :</b> e-mail nie mógł być wysłany z powodu problemów technicznych.', |
|
| 537 | + 'pass_espace_prive_bla' => 'Strefa prywatna tego serwisu jest dostęna |
|
| 538 | 538 | dla zapisanych użytkowników. Jako zarejestrowany użytkownik, |
| 539 | 539 | będziesz mógł czytać artykuły, które są w trakcie redagowania, |
| 540 | 540 | proponować artykuły i brać udział w dyskusjach na forum.', |
| 541 | - 'pass_forum_bla' => 'Chcesz wziąć udział w forum |
|
| 541 | + 'pass_forum_bla' => 'Chcesz wziąć udział w forum |
|
| 542 | 542 | zarezerwowanym dla zarejestrowanych użytkowników.', |
| 543 | - 'pass_indiquez_cidessous' => 'Wpisz poniżej adres e-mail pod jakim |
|
| 543 | + 'pass_indiquez_cidessous' => 'Wpisz poniżej adres e-mail pod jakim |
|
| 544 | 544 | byłeś zarejestrowany poprzednio. |
| 545 | 545 | Otrzymasz e-maila wyjaśniającego jak |
| 546 | 546 | możesz odzyskać swój dostęp.', |
| 547 | - 'pass_mail_passcookie' => '(to jest automatyczna wiadomość) |
|
| 547 | + 'pass_mail_passcookie' => '(to jest automatyczna wiadomość) |
|
| 548 | 548 | |
| 549 | 549 | Aby odzyskać dostęp do strony |
| 550 | 550 | @nom_site_spip@ (@adresse_site@) |
@@ -556,127 +556,127 @@ discard block |
||
| 556 | 556 | Po wpisaniu nowego hasła |
| 557 | 557 | można ponownie połączyć się ze stroną. |
| 558 | 558 | ', |
| 559 | - 'pass_mot_oublie' => 'Zapomniane hasło', |
|
| 560 | - 'pass_nouveau_enregistre' => 'Twoje nowe hasło zostało zapisane.', |
|
| 561 | - 'pass_nouveau_pass' => 'Nowe hasło', |
|
| 562 | - 'pass_ok' => 'OK', |
|
| 563 | - 'pass_oubli_mot' => 'Zapomnienie hasła', |
|
| 564 | - 'pass_quitter_fenetre' => 'Zamknij okno', |
|
| 565 | - 'pass_rappel_login' => 'Przypomnienie : twój identyfikator (login) to « @login@ ».', |
|
| 566 | - 'pass_recevoir_mail' => 'Otrzymasz e-mail wyjaśniający jak możesz odzyskać dostęp do strony.', # MODIF |
|
| 567 | - 'pass_retour_public' => 'Powrót do strony publicznej', |
|
| 568 | - 'pass_rien_a_faire_ici' => 'Nie ma tu nic do zrobienia.', |
|
| 569 | - 'pass_vousinscrire' => 'Zapisaś się w tym serwisie', |
|
| 570 | - 'precedent' => 'poprzedni', |
|
| 571 | - 'previsualisation' => 'Podgląd', |
|
| 572 | - 'previsualiser' => 'Włącz podgląd', |
|
| 559 | + 'pass_mot_oublie' => 'Zapomniane hasło', |
|
| 560 | + 'pass_nouveau_enregistre' => 'Twoje nowe hasło zostało zapisane.', |
|
| 561 | + 'pass_nouveau_pass' => 'Nowe hasło', |
|
| 562 | + 'pass_ok' => 'OK', |
|
| 563 | + 'pass_oubli_mot' => 'Zapomnienie hasła', |
|
| 564 | + 'pass_quitter_fenetre' => 'Zamknij okno', |
|
| 565 | + 'pass_rappel_login' => 'Przypomnienie : twój identyfikator (login) to « @login@ ».', |
|
| 566 | + 'pass_recevoir_mail' => 'Otrzymasz e-mail wyjaśniający jak możesz odzyskać dostęp do strony.', # MODIF |
|
| 567 | + 'pass_retour_public' => 'Powrót do strony publicznej', |
|
| 568 | + 'pass_rien_a_faire_ici' => 'Nie ma tu nic do zrobienia.', |
|
| 569 | + 'pass_vousinscrire' => 'Zapisaś się w tym serwisie', |
|
| 570 | + 'precedent' => 'poprzedni', |
|
| 571 | + 'previsualisation' => 'Podgląd', |
|
| 572 | + 'previsualiser' => 'Włącz podgląd', |
|
| 573 | 573 | |
| 574 | - // R |
|
| 575 | - 'retour' => 'Powrót', |
|
| 574 | + // R |
|
| 575 | + 'retour' => 'Powrót', |
|
| 576 | 576 | |
| 577 | - // S |
|
| 578 | - 'spip_conforme_dtd' => 'SPIP uznaje ten dokument za zgodny z jego DOCTYPE :', |
|
| 579 | - 'squelette' => 'szkielet', |
|
| 580 | - 'squelette_inclus_ligne' => 'szkielet zainkludowany, linia', |
|
| 581 | - 'squelette_ligne' => 'szkielet, linia', |
|
| 582 | - 'stats_visites_et_popularite' => '@visites@ odwiedzin; popularność: @popularite@', |
|
| 583 | - 'suivant' => 'następny', |
|
| 577 | + // S |
|
| 578 | + 'spip_conforme_dtd' => 'SPIP uznaje ten dokument za zgodny z jego DOCTYPE :', |
|
| 579 | + 'squelette' => 'szkielet', |
|
| 580 | + 'squelette_inclus_ligne' => 'szkielet zainkludowany, linia', |
|
| 581 | + 'squelette_ligne' => 'szkielet, linia', |
|
| 582 | + 'stats_visites_et_popularite' => '@visites@ odwiedzin; popularność: @popularite@', |
|
| 583 | + 'suivant' => 'następny', |
|
| 584 | 584 | |
| 585 | - // T |
|
| 586 | - 'taille_ko' => '@taille@ kb', |
|
| 587 | - 'taille_mo' => '@taille@ Mb', |
|
| 588 | - 'taille_octets' => '@taille@ bytes', |
|
| 589 | - 'texte_actualite_site_1' => 'Kiedy poznasz interfejs, kliknij na «', |
|
| 590 | - 'texte_actualite_site_2' => 'kompletny interfejs', |
|
| 591 | - 'texte_actualite_site_3' => '» aby uruchomić więcej możliwości.', |
|
| 592 | - 'texte_creation_automatique_vignette' => 'W tym serwisie, uruchomione jest generowanie minitaurek.Jeśli instalujecie za pośrednictwem tego formularza pliki graficzne w formatach @gd_formats@, zostaną one uzupełnione o minitaurkę, o miniaturkę w wielkości maksymalnej: @taille_preview@ pixels.', |
|
| 593 | - 'texte_documents_associes' => 'Następujące dokumenty są związane z artykułem, |
|
| 585 | + // T |
|
| 586 | + 'taille_ko' => '@taille@ kb', |
|
| 587 | + 'taille_mo' => '@taille@ Mb', |
|
| 588 | + 'taille_octets' => '@taille@ bytes', |
|
| 589 | + 'texte_actualite_site_1' => 'Kiedy poznasz interfejs, kliknij na «', |
|
| 590 | + 'texte_actualite_site_2' => 'kompletny interfejs', |
|
| 591 | + 'texte_actualite_site_3' => '» aby uruchomić więcej możliwości.', |
|
| 592 | + 'texte_creation_automatique_vignette' => 'W tym serwisie, uruchomione jest generowanie minitaurek.Jeśli instalujecie za pośrednictwem tego formularza pliki graficzne w formatach @gd_formats@, zostaną one uzupełnione o minitaurkę, o miniaturkę w wielkości maksymalnej: @taille_preview@ pixels.', |
|
| 593 | + 'texte_documents_associes' => 'Następujące dokumenty są związane z artykułem, |
|
| 594 | 594 | ale nie zostały bezpośrednio do niego |
| 595 | 595 | dołączone. Zależnie od układu stron publicznych, |
| 596 | 596 | będę mogły pojawić się na nich jako załączniki.', |
| 597 | - 'texte_erreur_mise_niveau_base' => 'Błąd bazy danych zaistniały w trakcie uaktualniania. |
|
| 597 | + 'texte_erreur_mise_niveau_base' => 'Błąd bazy danych zaistniały w trakcie uaktualniania. |
|
| 598 | 598 | Obrazek <b>@fichier@</b> nie przeszedł (artykuł @id_article@). |
| 599 | 599 | Zapisz te dane, i spróbuj ponownego uaktualnienia, |
| 600 | 600 | a następnie sprawdź czy obrazki pojawiają się zawsze w artykułach.', |
| 601 | - 'texte_erreur_visiteur' => 'Próbujesz dostać się do panelu administracyjnego za pomocą loginu, który na to nie pozwala.', |
|
| 602 | - 'texte_inc_auth_1' => 'Jesteś zalogowany za pomocą |
|
| 601 | + 'texte_erreur_visiteur' => 'Próbujesz dostać się do panelu administracyjnego za pomocą loginu, który na to nie pozwala.', |
|
| 602 | + 'texte_inc_auth_1' => 'Jesteś zalogowany za pomocą |
|
| 603 | 603 | loginu <b>@auth_login@</b>, ale nie istnieje on (już) w bazie danych. |
| 604 | 604 | Spróbuj się', # MODIF |
| 605 | - 'texte_inc_auth_2' => 'połączyć', |
|
| 606 | - 'texte_inc_auth_3' => ', opuszczjąc ewentualnie przeglądarkę |
|
| 605 | + 'texte_inc_auth_2' => 'połączyć', |
|
| 606 | + 'texte_inc_auth_3' => ', opuszczjąc ewentualnie przeglądarkę |
|
| 607 | 607 | i włączając ją na powrót.', |
| 608 | - 'texte_inc_config' => 'Zmiany dokonane na tych stronach znacząco wpłyną na |
|
| 608 | + 'texte_inc_config' => 'Zmiany dokonane na tych stronach znacząco wpłyną na |
|
| 609 | 609 | funkcjonowanie Twojego serwisu. Radzimy nie zatwierdzać tych zmian do momentu, w którym nie będziecie |
| 610 | 610 | dobrze obeznani z funkcjonowaniem systemu SPIP. <br /><br /><b>Najbardziej |
| 611 | 611 | zalecamy, poproszenie o dokonanie zmian głównego adminsitratora serwisu.</b>', |
| 612 | - 'texte_inc_meta_1' => 'System nie może zapisać plików <code>@fichier@</code>. Jako administrator strony,', |
|
| 613 | - 'texte_inc_meta_2' => 'sprawdź pozwolenia zapisu', |
|
| 614 | - 'texte_inc_meta_3' => 'dla katalogu <code>@repertoire@</code>.', |
|
| 615 | - 'texte_statut_en_cours_redaction' => 'redakcja w toku', |
|
| 616 | - 'texte_statut_poubelle' => 'do kosza', |
|
| 617 | - 'texte_statut_propose_evaluation' => 'zaproponowany do oceny', |
|
| 618 | - 'texte_statut_publie' => 'opublikowany online', |
|
| 619 | - 'texte_statut_refuse' => 'odrzucony', |
|
| 620 | - 'titre_ajouter_mot_cle' => 'DODAJ SŁOWO KLUCZOWE:', |
|
| 621 | - 'titre_cadre_raccourcis' => 'SKRÓTY :', |
|
| 622 | - 'titre_changer_couleur_interface' => 'Zmiana koloru interfejsu', |
|
| 623 | - 'titre_image_admin_article' => 'Możesz edytować ten artykuł', |
|
| 624 | - 'titre_image_administrateur' => 'Administrator', |
|
| 625 | - 'titre_image_aide' => 'Pomoc do tego elementu', |
|
| 626 | - 'titre_image_auteur_supprime' => 'Autor usunięty', |
|
| 627 | - 'titre_image_redacteur' => 'Redaktor bez dostępu', |
|
| 628 | - 'titre_image_redacteur_02' => 'Redaktor', |
|
| 629 | - 'titre_image_visiteur' => 'Odwiedzający', |
|
| 630 | - 'titre_joindre_document' => 'ZAŁĄCZ DOKUMENT', |
|
| 631 | - 'titre_mots_cles' => 'SŁOWA KLUCZOWE', |
|
| 632 | - 'titre_probleme_technique' => 'Uwaga: problem techniczny (serwer SQL) blokuje dostęp do tej części strony. Dziękujemy za zrozumienie.', |
|
| 633 | - 'titre_publier_document' => 'PUBLIKUJ DOKUMENT W TYM DZIALE', |
|
| 634 | - 'titre_statistiques' => 'Statystyki strony', |
|
| 635 | - 'titre_titre_document' => 'Tytuł dokumentu:', |
|
| 636 | - 'trad_reference' => '(artykuł wzorcowy)', # MODIF |
|
| 612 | + 'texte_inc_meta_1' => 'System nie może zapisać plików <code>@fichier@</code>. Jako administrator strony,', |
|
| 613 | + 'texte_inc_meta_2' => 'sprawdź pozwolenia zapisu', |
|
| 614 | + 'texte_inc_meta_3' => 'dla katalogu <code>@repertoire@</code>.', |
|
| 615 | + 'texte_statut_en_cours_redaction' => 'redakcja w toku', |
|
| 616 | + 'texte_statut_poubelle' => 'do kosza', |
|
| 617 | + 'texte_statut_propose_evaluation' => 'zaproponowany do oceny', |
|
| 618 | + 'texte_statut_publie' => 'opublikowany online', |
|
| 619 | + 'texte_statut_refuse' => 'odrzucony', |
|
| 620 | + 'titre_ajouter_mot_cle' => 'DODAJ SŁOWO KLUCZOWE:', |
|
| 621 | + 'titre_cadre_raccourcis' => 'SKRÓTY :', |
|
| 622 | + 'titre_changer_couleur_interface' => 'Zmiana koloru interfejsu', |
|
| 623 | + 'titre_image_admin_article' => 'Możesz edytować ten artykuł', |
|
| 624 | + 'titre_image_administrateur' => 'Administrator', |
|
| 625 | + 'titre_image_aide' => 'Pomoc do tego elementu', |
|
| 626 | + 'titre_image_auteur_supprime' => 'Autor usunięty', |
|
| 627 | + 'titre_image_redacteur' => 'Redaktor bez dostępu', |
|
| 628 | + 'titre_image_redacteur_02' => 'Redaktor', |
|
| 629 | + 'titre_image_visiteur' => 'Odwiedzający', |
|
| 630 | + 'titre_joindre_document' => 'ZAŁĄCZ DOKUMENT', |
|
| 631 | + 'titre_mots_cles' => 'SŁOWA KLUCZOWE', |
|
| 632 | + 'titre_probleme_technique' => 'Uwaga: problem techniczny (serwer SQL) blokuje dostęp do tej części strony. Dziękujemy za zrozumienie.', |
|
| 633 | + 'titre_publier_document' => 'PUBLIKUJ DOKUMENT W TYM DZIALE', |
|
| 634 | + 'titre_statistiques' => 'Statystyki strony', |
|
| 635 | + 'titre_titre_document' => 'Tytuł dokumentu:', |
|
| 636 | + 'trad_reference' => '(artykuł wzorcowy)', # MODIF |
|
| 637 | 637 | |
| 638 | - // Z |
|
| 639 | - 'zbug_balise_b_aval' => ' : balise B en aval', |
|
| 640 | - 'zbug_balise_inexistante' => 'erreur @from@: la balise #@balise@ n’existe pas', # MODIF |
|
| 641 | - 'zbug_boucle' => 'pętla', |
|
| 642 | - 'zbug_boucle_recursive_undef' => 'pętla rekursywna nie została zdefiniowana', # MODIF |
|
| 643 | - 'zbug_champ_hors_boucle' => 'Pole @champ@ jest bez pętli', |
|
| 644 | - 'zbug_champ_hors_motif' => 'Pole @champ@ jest poza pętlą @motif@', # MODIF |
|
| 645 | - 'zbug_code' => 'kod', |
|
| 646 | - 'zbug_critere_inconnu' => 'nieznane kryterium @critere@', # MODIF |
|
| 647 | - 'zbug_distant_interdit' => 'operacja niedozwolona w zewnętrznej bazie', # MODIF |
|
| 648 | - 'zbug_doublon_table_sans_cle_primaire' => 'doublons sur une table sans clef primaire atomique', # MODIF |
|
| 649 | - 'zbug_doublon_table_sans_index' => 'podwójny wpis w tablicy bez indeksu', # MODIF |
|
| 650 | - 'zbug_erreur_boucle_double' => 'BOUCLE@id@: podwójna definicja', # MODIF |
|
| 651 | - 'zbug_erreur_boucle_fermant' => 'BOUCLE@id@: brakuje znacznika zamykającego', # MODIF |
|
| 652 | - 'zbug_erreur_boucle_syntaxe' => 'Składnia pętli (boucle) nieprawidłowa', # MODIF |
|
| 653 | - 'zbug_erreur_compilation' => 'Błąd kompilacji', |
|
| 654 | - 'zbug_erreur_execution_page' => 'błąd w wykonaniu strony', # MODIF |
|
| 655 | - 'zbug_erreur_filtre' => 'Błąd : filtr <b>« @filtre@ »</b> nie zdefiniowany', # MODIF |
|
| 656 | - 'zbug_erreur_meme_parent' => '{meme_parent} stosuje się wyłącznie do pętli (FORUMS) i (RUBRIQUES)', # MODIF |
|
| 657 | - 'zbug_erreur_squelette' => 'Błąd (błędy) w szkielecie', |
|
| 658 | - 'zbug_info_erreur_squelette' => 'Błąd na stronie', |
|
| 659 | - 'zbug_inversion_ordre_inexistant' => 'odwrócenie nieistniejącego uporządkowania', # MODIF |
|
| 660 | - 'zbug_pagination_sans_critere' => '#PAGINATION bez kryterium {pagination} lub użyta w pętli rekursywnej', # MODIF |
|
| 661 | - 'zbug_parametres_inclus_incorrects' => 'Złe parametry załączenia (include)', # MODIF |
|
| 662 | - 'zbug_profile' => 'Czas przeliczania: @time@', |
|
| 663 | - 'zbug_resultat' => 'wynik', |
|
| 664 | - 'zbug_serveur_indefini' => 'serwer SQL niezdefiniowany', # MODIF |
|
| 665 | - 'zbug_table_inconnue' => 'Tabela SQL « @table@ » nieznana', |
|
| 666 | - 'zxml_connus_attributs' => 'znane atrybuty', |
|
| 667 | - 'zxml_de' => 'z', |
|
| 668 | - 'zxml_inconnu_attribut' => 'atrybut nieznany', |
|
| 669 | - 'zxml_inconnu_balise' => 'znacznik nieznany', |
|
| 670 | - 'zxml_inconnu_entite' => 'nieznana wartość', |
|
| 671 | - 'zxml_inconnu_id' => 'ID nieznany', |
|
| 672 | - 'zxml_mais_de' => 'ale z', |
|
| 673 | - 'zxml_non_conforme' => 'nie jest zgodny', |
|
| 674 | - 'zxml_non_fils' => 'nie jest z', |
|
| 675 | - 'zxml_nonvide_balise' => 'znacznik nie jest pusty', |
|
| 676 | - 'zxml_obligatoire_attribut' => 'nieobecny atrybut obowiązkowy', |
|
| 677 | - 'zxml_succession_fils_incorrecte' => 'niepoprawne dziedziczenie', |
|
| 678 | - 'zxml_survoler' => 'najedź wskaźnikiem aby zobaczyć poprawne', |
|
| 679 | - 'zxml_valeur_attribut' => 'wartość artybutu', |
|
| 680 | - 'zxml_vide_balise' => 'pusty znacznik', |
|
| 681 | - 'zxml_vu' => 'widziany wcześniej' |
|
| 638 | + // Z |
|
| 639 | + 'zbug_balise_b_aval' => ' : balise B en aval', |
|
| 640 | + 'zbug_balise_inexistante' => 'erreur @from@: la balise #@balise@ n’existe pas', # MODIF |
|
| 641 | + 'zbug_boucle' => 'pętla', |
|
| 642 | + 'zbug_boucle_recursive_undef' => 'pętla rekursywna nie została zdefiniowana', # MODIF |
|
| 643 | + 'zbug_champ_hors_boucle' => 'Pole @champ@ jest bez pętli', |
|
| 644 | + 'zbug_champ_hors_motif' => 'Pole @champ@ jest poza pętlą @motif@', # MODIF |
|
| 645 | + 'zbug_code' => 'kod', |
|
| 646 | + 'zbug_critere_inconnu' => 'nieznane kryterium @critere@', # MODIF |
|
| 647 | + 'zbug_distant_interdit' => 'operacja niedozwolona w zewnętrznej bazie', # MODIF |
|
| 648 | + 'zbug_doublon_table_sans_cle_primaire' => 'doublons sur une table sans clef primaire atomique', # MODIF |
|
| 649 | + 'zbug_doublon_table_sans_index' => 'podwójny wpis w tablicy bez indeksu', # MODIF |
|
| 650 | + 'zbug_erreur_boucle_double' => 'BOUCLE@id@: podwójna definicja', # MODIF |
|
| 651 | + 'zbug_erreur_boucle_fermant' => 'BOUCLE@id@: brakuje znacznika zamykającego', # MODIF |
|
| 652 | + 'zbug_erreur_boucle_syntaxe' => 'Składnia pętli (boucle) nieprawidłowa', # MODIF |
|
| 653 | + 'zbug_erreur_compilation' => 'Błąd kompilacji', |
|
| 654 | + 'zbug_erreur_execution_page' => 'błąd w wykonaniu strony', # MODIF |
|
| 655 | + 'zbug_erreur_filtre' => 'Błąd : filtr <b>« @filtre@ »</b> nie zdefiniowany', # MODIF |
|
| 656 | + 'zbug_erreur_meme_parent' => '{meme_parent} stosuje się wyłącznie do pętli (FORUMS) i (RUBRIQUES)', # MODIF |
|
| 657 | + 'zbug_erreur_squelette' => 'Błąd (błędy) w szkielecie', |
|
| 658 | + 'zbug_info_erreur_squelette' => 'Błąd na stronie', |
|
| 659 | + 'zbug_inversion_ordre_inexistant' => 'odwrócenie nieistniejącego uporządkowania', # MODIF |
|
| 660 | + 'zbug_pagination_sans_critere' => '#PAGINATION bez kryterium {pagination} lub użyta w pętli rekursywnej', # MODIF |
|
| 661 | + 'zbug_parametres_inclus_incorrects' => 'Złe parametry załączenia (include)', # MODIF |
|
| 662 | + 'zbug_profile' => 'Czas przeliczania: @time@', |
|
| 663 | + 'zbug_resultat' => 'wynik', |
|
| 664 | + 'zbug_serveur_indefini' => 'serwer SQL niezdefiniowany', # MODIF |
|
| 665 | + 'zbug_table_inconnue' => 'Tabela SQL « @table@ » nieznana', |
|
| 666 | + 'zxml_connus_attributs' => 'znane atrybuty', |
|
| 667 | + 'zxml_de' => 'z', |
|
| 668 | + 'zxml_inconnu_attribut' => 'atrybut nieznany', |
|
| 669 | + 'zxml_inconnu_balise' => 'znacznik nieznany', |
|
| 670 | + 'zxml_inconnu_entite' => 'nieznana wartość', |
|
| 671 | + 'zxml_inconnu_id' => 'ID nieznany', |
|
| 672 | + 'zxml_mais_de' => 'ale z', |
|
| 673 | + 'zxml_non_conforme' => 'nie jest zgodny', |
|
| 674 | + 'zxml_non_fils' => 'nie jest z', |
|
| 675 | + 'zxml_nonvide_balise' => 'znacznik nie jest pusty', |
|
| 676 | + 'zxml_obligatoire_attribut' => 'nieobecny atrybut obowiązkowy', |
|
| 677 | + 'zxml_succession_fils_incorrecte' => 'niepoprawne dziedziczenie', |
|
| 678 | + 'zxml_survoler' => 'najedź wskaźnikiem aby zobaczyć poprawne', |
|
| 679 | + 'zxml_valeur_attribut' => 'wartość artybutu', |
|
| 680 | + 'zxml_vide_balise' => 'pusty znacznik', |
|
| 681 | + 'zxml_vu' => 'widziany wcześniej' |
|
| 682 | 682 | ); |
@@ -4,611 +4,611 @@ |
||
| 4 | 4 | // ** ne pas modifier le fichier ** |
| 5 | 5 | |
| 6 | 6 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 7 | - return; |
|
| 7 | + return; |
|
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | $GLOBALS[$GLOBALS['idx_lang']] = array( |
| 11 | 11 | |
| 12 | - // A |
|
| 13 | - 'access_interface_graphique' => 'Phuqata ajanu apnaqawir kuttaña', |
|
| 14 | - 'access_mode_texte' => 'Ajanu juk’arayata sawutjam uñachayaña', |
|
| 15 | - 'admin_debug' => 'debug', |
|
| 16 | - 'admin_modifier_article' => 'Aka qillqatax mayjachañawa', |
|
| 17 | - 'admin_modifier_auteur' => 'Aka qillqirix mayjachañawa', |
|
| 18 | - 'admin_modifier_breve' => 'Aka jisk’aptatax mayjachañawa', |
|
| 19 | - 'admin_modifier_mot' => 'Aka imt’at arux mayjachañawa', |
|
| 20 | - 'admin_modifier_rubrique' => 'Aka t’aqa mayjachaña', |
|
| 21 | - 'admin_recalculer' => 'Aka laphi uñnaqax jichhaptayaña', |
|
| 22 | - 'afficher_trad' => 'Jaqukipatanak taqir yatiyaña', |
|
| 23 | - 'alerte_maj_impossible' => '<b>¡Amuyam!</b> yatiy tamawix jichhaptawit MySQL uñjataru @version@ janiw lurañjamakiti, mä jan wal mayjt’aw imaqatatanakat yatiy tamawin ukataspaw. Ampi utjawimat apnaqirir arust’aw luram.', |
|
| 24 | - 'analyse_xml' => 'Uñakipawi XML', |
|
| 25 | - 'antispam_champ_vide' => 'Ampi akjawx ch’us jaytam:', |
|
| 26 | - 'avis_archive_incorrect' => 'Qhanancht’ayir q’ipix janiw mä SPIP q’ipikiti.', |
|
| 27 | - 'avis_archive_invalide' => 'qhanancht’ayir q’ipix janiw askikiti', |
|
| 28 | - 'avis_attention' => '¡AMUYAM!', |
|
| 29 | - 'avis_champ_incorrect_type_objet' => 'Akjawx sutix janiw askikiti @name@ uka kastataki @type@', |
|
| 30 | - 'avis_colonne_inexistante' => 'Sayt’atax @col@ janiw utjkiti', |
|
| 31 | - 'avis_erreur' => 'Pantjawi: aka manqhax uñjaña', |
|
| 32 | - 'avis_erreur_connexion' => 'Naktaw ukjax pantjawiw utji', |
|
| 33 | - 'avis_erreur_cookie' => 'Cookie jan wali ukata', |
|
| 34 | - 'avis_erreur_fonction_contexte' => 'Sukt’awi ukjax pantjawi utji. Aka lurawinx janiw jawsañakiti.', |
|
| 35 | - 'avis_erreur_mysql' => 'MySQL Pantjawi', |
|
| 36 | - 'avis_erreur_sauvegarde' => '¡Yaqha qillqatat lurasinxa pantjawiw utji (@type@ @id_objet@)!', |
|
| 37 | - 'avis_erreur_visiteur' => 'Jark’at qamawir mantawjirux mä jan wali utji', |
|
| 12 | + // A |
|
| 13 | + 'access_interface_graphique' => 'Phuqata ajanu apnaqawir kuttaña', |
|
| 14 | + 'access_mode_texte' => 'Ajanu juk’arayata sawutjam uñachayaña', |
|
| 15 | + 'admin_debug' => 'debug', |
|
| 16 | + 'admin_modifier_article' => 'Aka qillqatax mayjachañawa', |
|
| 17 | + 'admin_modifier_auteur' => 'Aka qillqirix mayjachañawa', |
|
| 18 | + 'admin_modifier_breve' => 'Aka jisk’aptatax mayjachañawa', |
|
| 19 | + 'admin_modifier_mot' => 'Aka imt’at arux mayjachañawa', |
|
| 20 | + 'admin_modifier_rubrique' => 'Aka t’aqa mayjachaña', |
|
| 21 | + 'admin_recalculer' => 'Aka laphi uñnaqax jichhaptayaña', |
|
| 22 | + 'afficher_trad' => 'Jaqukipatanak taqir yatiyaña', |
|
| 23 | + 'alerte_maj_impossible' => '<b>¡Amuyam!</b> yatiy tamawix jichhaptawit MySQL uñjataru @version@ janiw lurañjamakiti, mä jan wal mayjt’aw imaqatatanakat yatiy tamawin ukataspaw. Ampi utjawimat apnaqirir arust’aw luram.', |
|
| 24 | + 'analyse_xml' => 'Uñakipawi XML', |
|
| 25 | + 'antispam_champ_vide' => 'Ampi akjawx ch’us jaytam:', |
|
| 26 | + 'avis_archive_incorrect' => 'Qhanancht’ayir q’ipix janiw mä SPIP q’ipikiti.', |
|
| 27 | + 'avis_archive_invalide' => 'qhanancht’ayir q’ipix janiw askikiti', |
|
| 28 | + 'avis_attention' => '¡AMUYAM!', |
|
| 29 | + 'avis_champ_incorrect_type_objet' => 'Akjawx sutix janiw askikiti @name@ uka kastataki @type@', |
|
| 30 | + 'avis_colonne_inexistante' => 'Sayt’atax @col@ janiw utjkiti', |
|
| 31 | + 'avis_erreur' => 'Pantjawi: aka manqhax uñjaña', |
|
| 32 | + 'avis_erreur_connexion' => 'Naktaw ukjax pantjawiw utji', |
|
| 33 | + 'avis_erreur_cookie' => 'Cookie jan wali ukata', |
|
| 34 | + 'avis_erreur_fonction_contexte' => 'Sukt’awi ukjax pantjawi utji. Aka lurawinx janiw jawsañakiti.', |
|
| 35 | + 'avis_erreur_mysql' => 'MySQL Pantjawi', |
|
| 36 | + 'avis_erreur_sauvegarde' => '¡Yaqha qillqatat lurasinxa pantjawiw utji (@type@ @id_objet@)!', |
|
| 37 | + 'avis_erreur_visiteur' => 'Jark’at qamawir mantawjirux mä jan wali utji', |
|
| 38 | 38 | |
| 39 | - // B |
|
| 40 | - 'barre_a_accent_grave' => 'Mä jach’aptata A jach’at arsuriyimpi uchantaña', |
|
| 41 | - 'barre_aide' => 'Laphi uñnaq sumacht’añatakix kasta qillq thakhinak apnaqam', |
|
| 42 | - 'barre_e_accent_aigu' => 'Mä jach’aptata E jach’at arsuriyimpi uchantaña', |
|
| 43 | - 'barre_eo' => 'Mä E O ukana uchantaña', |
|
| 44 | - 'barre_eo_maj' => 'Mä E O jach’aptat ukana uchantaña', |
|
| 45 | - 'barre_euro' => 'Chimpu uchantaña €,', |
|
| 46 | - 'barre_gras' => '{{Ch’iyaritat}} uskuña', |
|
| 47 | - 'barre_guillemets' => '«comillas»kama uskuña', |
|
| 48 | - 'barre_guillemets_simples' => '“kama uskuña; comillas de segundo nivel�', |
|
| 49 | - 'barre_intertitre' => '{inter título} ukan mayjt’ayaña', |
|
| 50 | - 'barre_italic' => '{K’umtat} uskuña', |
|
| 51 | - 'barre_lien' => 'Mayjt’ayañan [chinu jach’a sawu-http://...]', |
|
| 52 | - 'barre_lien_input' => 'Chinuman utjawip uñacht’ayam. Mä utjaw web uk uñacht’ayasmaw http://ukhama www.talsitio.org/q’ipi/ jan ukjax mä qillqata aka qamawin jakhu uñacht’ayam.', |
|
| 53 | - 'barre_note' => 'Mayjt’ayañan [[kayu laphi uñnaq yatiyawi]]', |
|
| 54 | - 'barre_quote' => 'Mä yatiyaw aytaña', |
|
| 55 | - 'bouton_changer' => 'Turkaña', |
|
| 56 | - 'bouton_chercher' => 'Thaqhaña', |
|
| 57 | - 'bouton_choisir' => 'Chijllaña', |
|
| 58 | - 'bouton_download' => 'Télécharger', # MODIF |
|
| 59 | - 'bouton_enregistrer' => 'Imaña', |
|
| 60 | - 'bouton_radio_desactiver_messagerie_interne' => 'Manqhax yatiyawirir suyt’ayaña', |
|
| 61 | - 'bouton_radio_envoi_annonces' => 'Qillqat yatiyäwinak uk apayaña', |
|
| 62 | - 'bouton_radio_non_envoi_annonces' => 'Yatiyawinakax jan apayañawa', |
|
| 63 | - 'bouton_radio_non_envoi_liste_nouveautes' => 'Machaq tantachat yatiyawinakax jan apayañawa', |
|
| 64 | - 'bouton_recharger_page' => 'Aka laphi uñnaq jichhaptaña', |
|
| 65 | - 'bouton_telecharger' => 'Apkataña', |
|
| 66 | - 'bouton_upload' => 'Apkataña', # MODIF |
|
| 67 | - 'bouton_valider' => 'Iyaw saña', |
|
| 39 | + // B |
|
| 40 | + 'barre_a_accent_grave' => 'Mä jach’aptata A jach’at arsuriyimpi uchantaña', |
|
| 41 | + 'barre_aide' => 'Laphi uñnaq sumacht’añatakix kasta qillq thakhinak apnaqam', |
|
| 42 | + 'barre_e_accent_aigu' => 'Mä jach’aptata E jach’at arsuriyimpi uchantaña', |
|
| 43 | + 'barre_eo' => 'Mä E O ukana uchantaña', |
|
| 44 | + 'barre_eo_maj' => 'Mä E O jach’aptat ukana uchantaña', |
|
| 45 | + 'barre_euro' => 'Chimpu uchantaña €,', |
|
| 46 | + 'barre_gras' => '{{Ch’iyaritat}} uskuña', |
|
| 47 | + 'barre_guillemets' => '«comillas»kama uskuña', |
|
| 48 | + 'barre_guillemets_simples' => '“kama uskuña; comillas de segundo nivel�', |
|
| 49 | + 'barre_intertitre' => '{inter título} ukan mayjt’ayaña', |
|
| 50 | + 'barre_italic' => '{K’umtat} uskuña', |
|
| 51 | + 'barre_lien' => 'Mayjt’ayañan [chinu jach’a sawu-http://...]', |
|
| 52 | + 'barre_lien_input' => 'Chinuman utjawip uñacht’ayam. Mä utjaw web uk uñacht’ayasmaw http://ukhama www.talsitio.org/q’ipi/ jan ukjax mä qillqata aka qamawin jakhu uñacht’ayam.', |
|
| 53 | + 'barre_note' => 'Mayjt’ayañan [[kayu laphi uñnaq yatiyawi]]', |
|
| 54 | + 'barre_quote' => 'Mä yatiyaw aytaña', |
|
| 55 | + 'bouton_changer' => 'Turkaña', |
|
| 56 | + 'bouton_chercher' => 'Thaqhaña', |
|
| 57 | + 'bouton_choisir' => 'Chijllaña', |
|
| 58 | + 'bouton_download' => 'Télécharger', # MODIF |
|
| 59 | + 'bouton_enregistrer' => 'Imaña', |
|
| 60 | + 'bouton_radio_desactiver_messagerie_interne' => 'Manqhax yatiyawirir suyt’ayaña', |
|
| 61 | + 'bouton_radio_envoi_annonces' => 'Qillqat yatiyäwinak uk apayaña', |
|
| 62 | + 'bouton_radio_non_envoi_annonces' => 'Yatiyawinakax jan apayañawa', |
|
| 63 | + 'bouton_radio_non_envoi_liste_nouveautes' => 'Machaq tantachat yatiyawinakax jan apayañawa', |
|
| 64 | + 'bouton_recharger_page' => 'Aka laphi uñnaq jichhaptaña', |
|
| 65 | + 'bouton_telecharger' => 'Apkataña', |
|
| 66 | + 'bouton_upload' => 'Apkataña', # MODIF |
|
| 67 | + 'bouton_valider' => 'Iyaw saña', |
|
| 68 | 68 | |
| 69 | - // C |
|
| 70 | - 'cal_apresmidi' => 'Jayp’u', |
|
| 71 | - 'cal_jour_entier' => 'Jurnala', |
|
| 72 | - 'cal_matin' => 'Arumanthi', |
|
| 73 | - 'cal_par_jour' => 'Urut urut pacha chimpu', |
|
| 74 | - 'cal_par_mois' => 'Phaxsit phaxsit pacha chimpu', |
|
| 75 | - 'cal_par_semaine' => 'Simanat simanat pacha chimpu', |
|
| 76 | - 'choix_couleur_interface' => 'Kulura', |
|
| 77 | - 'choix_interface' => 'Ajanut ajllawi', |
|
| 78 | - 'colonne' => 'Sayt’ata', |
|
| 79 | - 'confirm_changer_statut' => 'Uñjataw, estado de elemento maytaw mayjaptayañ ¿munaskaktati sarantañxa?', |
|
| 80 | - 'correcte' => 'Walikiwa', |
|
| 69 | + // C |
|
| 70 | + 'cal_apresmidi' => 'Jayp’u', |
|
| 71 | + 'cal_jour_entier' => 'Jurnala', |
|
| 72 | + 'cal_matin' => 'Arumanthi', |
|
| 73 | + 'cal_par_jour' => 'Urut urut pacha chimpu', |
|
| 74 | + 'cal_par_mois' => 'Phaxsit phaxsit pacha chimpu', |
|
| 75 | + 'cal_par_semaine' => 'Simanat simanat pacha chimpu', |
|
| 76 | + 'choix_couleur_interface' => 'Kulura', |
|
| 77 | + 'choix_interface' => 'Ajanut ajllawi', |
|
| 78 | + 'colonne' => 'Sayt’ata', |
|
| 79 | + 'confirm_changer_statut' => 'Uñjataw, estado de elemento maytaw mayjaptayañ ¿munaskaktati sarantañxa?', |
|
| 80 | + 'correcte' => 'Walikiwa', |
|
| 81 | 81 | |
| 82 | - // D |
|
| 83 | - 'date_aujourdhui' => 'Jichhuru', |
|
| 84 | - 'date_avant_jc' => 'aC', |
|
| 85 | - 'date_dans' => 'en @delai@', |
|
| 86 | - 'date_de_mois_1' => '@j@ de @nommois@', |
|
| 87 | - 'date_de_mois_10' => '@j@ uru @nommois@', |
|
| 88 | - 'date_de_mois_11' => '@j@ de @nommois@', |
|
| 89 | - 'date_de_mois_12' => '@j@ de @nommois@', |
|
| 90 | - 'date_de_mois_2' => '@j@ de @nommois@', |
|
| 91 | - 'date_de_mois_3' => '@j@ de @nommois@', |
|
| 92 | - 'date_de_mois_4' => '@j@ de @nommois@', |
|
| 93 | - 'date_de_mois_5' => '@j@ de @nommois@', |
|
| 94 | - 'date_de_mois_6' => '@j@ de @nommois@', |
|
| 95 | - 'date_de_mois_7' => '@j@ de @nommois@', |
|
| 96 | - 'date_de_mois_8' => '@j@ de @nommois@', |
|
| 97 | - 'date_de_mois_9' => '@j@ de @nommois@', |
|
| 98 | - 'date_demain' => 'Arumanthi', |
|
| 99 | - 'date_fmt_heures_minutes' => '@h@h@m@min', |
|
| 100 | - 'date_fmt_jour_heure' => '@jour@ a las @heure@', |
|
| 101 | - 'date_fmt_jour_mois' => '@jour@ de @nommois@', |
|
| 102 | - 'date_fmt_jour_mois_annee' => '@jour@ de @nommois@ de @annee@', |
|
| 103 | - 'date_fmt_mois_annee' => '@nommois@ de @annee@', |
|
| 104 | - 'date_fmt_nomjour_date' => 'el @nomjour@ @date@', |
|
| 105 | - 'date_heures' => 'Uras', |
|
| 106 | - 'date_hier' => 'Masuru', |
|
| 107 | - 'date_il_y_a' => 'hace @delai@', |
|
| 108 | - 'date_jnum1' => '1ro', |
|
| 109 | - 'date_jnum10' => '10', |
|
| 110 | - 'date_jnum11' => '11', |
|
| 111 | - 'date_jnum12' => '12', |
|
| 112 | - 'date_jnum13' => '13', |
|
| 113 | - 'date_jnum14' => '14', |
|
| 114 | - 'date_jnum15' => '15', |
|
| 115 | - 'date_jnum16' => '16', |
|
| 116 | - 'date_jnum17' => '17', |
|
| 117 | - 'date_jnum18' => '18', |
|
| 118 | - 'date_jnum19' => '19', |
|
| 119 | - 'date_jnum2' => '2', |
|
| 120 | - 'date_jnum20' => '20', |
|
| 121 | - 'date_jnum21' => '21', |
|
| 122 | - 'date_jnum22' => '22', |
|
| 123 | - 'date_jnum23' => '23', |
|
| 124 | - 'date_jnum24' => '24', |
|
| 125 | - 'date_jnum25' => '25', |
|
| 126 | - 'date_jnum26' => '26', |
|
| 127 | - 'date_jnum27' => '27', |
|
| 128 | - 'date_jnum28' => '28', |
|
| 129 | - 'date_jnum29' => '29', |
|
| 130 | - 'date_jnum3' => '3', |
|
| 131 | - 'date_jnum30' => '30', |
|
| 132 | - 'date_jnum31' => '31', |
|
| 133 | - 'date_jnum4' => '4', |
|
| 134 | - 'date_jnum5' => '5', |
|
| 135 | - 'date_jnum6' => '6', |
|
| 136 | - 'date_jnum7' => '7', |
|
| 137 | - 'date_jnum8' => '8', |
|
| 138 | - 'date_jnum9' => '9', |
|
| 139 | - 'date_jour_1' => 'tuminku', |
|
| 140 | - 'date_jour_1_abbr' => 'tum', |
|
| 141 | - 'date_jour_1_initiale' => 't', |
|
| 142 | - 'date_jour_2' => 'Lunisa', |
|
| 143 | - 'date_jour_2_abbr' => 'lun', |
|
| 144 | - 'date_jour_2_initiale' => 'l', |
|
| 145 | - 'date_jour_3' => 'Martisa', |
|
| 146 | - 'date_jour_3_abbr' => 'mar', |
|
| 147 | - 'date_jour_3_initiale' => 'm', |
|
| 148 | - 'date_jour_4' => 'Mirkulisa', |
|
| 149 | - 'date_jour_4_abbr' => 'mir', |
|
| 150 | - 'date_jour_4_initiale' => 'm', |
|
| 151 | - 'date_jour_5' => 'Juywisa', |
|
| 152 | - 'date_jour_5_abbr' => 'juy', |
|
| 153 | - 'date_jour_5_initiale' => 'j', |
|
| 154 | - 'date_jour_6' => 'Wirnisa', |
|
| 155 | - 'date_jour_6_abbr' => 'wir', |
|
| 156 | - 'date_jour_6_initiale' => 'v', |
|
| 157 | - 'date_jour_7' => 'Sawaru', |
|
| 158 | - 'date_jour_7_abbr' => 'saw', |
|
| 159 | - 'date_jour_7_initiale' => 's', |
|
| 160 | - 'date_jours' => 'Urunaka', |
|
| 161 | - 'date_minutes' => 'Minutunaka', |
|
| 162 | - 'date_mois' => 'Phaxsinaka', |
|
| 163 | - 'date_mois_1' => 'Iniru', |
|
| 164 | - 'date_mois_10' => 'Octuwri', |
|
| 165 | - 'date_mois_11' => 'Nuwimri', |
|
| 166 | - 'date_mois_12' => 'Dicimri', |
|
| 167 | - 'date_mois_2' => 'Fiwriru', |
|
| 168 | - 'date_mois_3' => 'Marzu', |
|
| 169 | - 'date_mois_4' => 'Awril', |
|
| 170 | - 'date_mois_5' => 'Mayu', |
|
| 171 | - 'date_mois_6' => 'Junyu', |
|
| 172 | - 'date_mois_7' => 'Julyu', |
|
| 173 | - 'date_mois_8' => 'Agustu', |
|
| 174 | - 'date_mois_9' => 'Siptimbri', |
|
| 175 | - 'date_saison_1' => 'Juyphi pacha', |
|
| 176 | - 'date_saison_2' => 'Junt’u pacha', |
|
| 177 | - 'date_saison_3' => 'Jallu pacha', |
|
| 178 | - 'date_saison_4' => 'Waña pacha', |
|
| 179 | - 'date_semaines' => 'Simananaka', |
|
| 180 | - 'dirs_commencer' => 'Uchantawixa chiqapin qalltañataki', |
|
| 181 | - 'dirs_preliminaire' => 'Qallta: <b>Iyaws mantawx uk amtaña</b>', |
|
| 182 | - 'dirs_probleme_droits' => 'Iyaws mantawxa jan wali', |
|
| 183 | - 'dirs_repertoires_absents' => '<p><b>Arkir imañ q’ipinakax janiw jikiskiti:</b></p><ul>@bad_dirs@.</ul> </b> |
|
| 82 | + // D |
|
| 83 | + 'date_aujourdhui' => 'Jichhuru', |
|
| 84 | + 'date_avant_jc' => 'aC', |
|
| 85 | + 'date_dans' => 'en @delai@', |
|
| 86 | + 'date_de_mois_1' => '@j@ de @nommois@', |
|
| 87 | + 'date_de_mois_10' => '@j@ uru @nommois@', |
|
| 88 | + 'date_de_mois_11' => '@j@ de @nommois@', |
|
| 89 | + 'date_de_mois_12' => '@j@ de @nommois@', |
|
| 90 | + 'date_de_mois_2' => '@j@ de @nommois@', |
|
| 91 | + 'date_de_mois_3' => '@j@ de @nommois@', |
|
| 92 | + 'date_de_mois_4' => '@j@ de @nommois@', |
|
| 93 | + 'date_de_mois_5' => '@j@ de @nommois@', |
|
| 94 | + 'date_de_mois_6' => '@j@ de @nommois@', |
|
| 95 | + 'date_de_mois_7' => '@j@ de @nommois@', |
|
| 96 | + 'date_de_mois_8' => '@j@ de @nommois@', |
|
| 97 | + 'date_de_mois_9' => '@j@ de @nommois@', |
|
| 98 | + 'date_demain' => 'Arumanthi', |
|
| 99 | + 'date_fmt_heures_minutes' => '@h@h@m@min', |
|
| 100 | + 'date_fmt_jour_heure' => '@jour@ a las @heure@', |
|
| 101 | + 'date_fmt_jour_mois' => '@jour@ de @nommois@', |
|
| 102 | + 'date_fmt_jour_mois_annee' => '@jour@ de @nommois@ de @annee@', |
|
| 103 | + 'date_fmt_mois_annee' => '@nommois@ de @annee@', |
|
| 104 | + 'date_fmt_nomjour_date' => 'el @nomjour@ @date@', |
|
| 105 | + 'date_heures' => 'Uras', |
|
| 106 | + 'date_hier' => 'Masuru', |
|
| 107 | + 'date_il_y_a' => 'hace @delai@', |
|
| 108 | + 'date_jnum1' => '1ro', |
|
| 109 | + 'date_jnum10' => '10', |
|
| 110 | + 'date_jnum11' => '11', |
|
| 111 | + 'date_jnum12' => '12', |
|
| 112 | + 'date_jnum13' => '13', |
|
| 113 | + 'date_jnum14' => '14', |
|
| 114 | + 'date_jnum15' => '15', |
|
| 115 | + 'date_jnum16' => '16', |
|
| 116 | + 'date_jnum17' => '17', |
|
| 117 | + 'date_jnum18' => '18', |
|
| 118 | + 'date_jnum19' => '19', |
|
| 119 | + 'date_jnum2' => '2', |
|
| 120 | + 'date_jnum20' => '20', |
|
| 121 | + 'date_jnum21' => '21', |
|
| 122 | + 'date_jnum22' => '22', |
|
| 123 | + 'date_jnum23' => '23', |
|
| 124 | + 'date_jnum24' => '24', |
|
| 125 | + 'date_jnum25' => '25', |
|
| 126 | + 'date_jnum26' => '26', |
|
| 127 | + 'date_jnum27' => '27', |
|
| 128 | + 'date_jnum28' => '28', |
|
| 129 | + 'date_jnum29' => '29', |
|
| 130 | + 'date_jnum3' => '3', |
|
| 131 | + 'date_jnum30' => '30', |
|
| 132 | + 'date_jnum31' => '31', |
|
| 133 | + 'date_jnum4' => '4', |
|
| 134 | + 'date_jnum5' => '5', |
|
| 135 | + 'date_jnum6' => '6', |
|
| 136 | + 'date_jnum7' => '7', |
|
| 137 | + 'date_jnum8' => '8', |
|
| 138 | + 'date_jnum9' => '9', |
|
| 139 | + 'date_jour_1' => 'tuminku', |
|
| 140 | + 'date_jour_1_abbr' => 'tum', |
|
| 141 | + 'date_jour_1_initiale' => 't', |
|
| 142 | + 'date_jour_2' => 'Lunisa', |
|
| 143 | + 'date_jour_2_abbr' => 'lun', |
|
| 144 | + 'date_jour_2_initiale' => 'l', |
|
| 145 | + 'date_jour_3' => 'Martisa', |
|
| 146 | + 'date_jour_3_abbr' => 'mar', |
|
| 147 | + 'date_jour_3_initiale' => 'm', |
|
| 148 | + 'date_jour_4' => 'Mirkulisa', |
|
| 149 | + 'date_jour_4_abbr' => 'mir', |
|
| 150 | + 'date_jour_4_initiale' => 'm', |
|
| 151 | + 'date_jour_5' => 'Juywisa', |
|
| 152 | + 'date_jour_5_abbr' => 'juy', |
|
| 153 | + 'date_jour_5_initiale' => 'j', |
|
| 154 | + 'date_jour_6' => 'Wirnisa', |
|
| 155 | + 'date_jour_6_abbr' => 'wir', |
|
| 156 | + 'date_jour_6_initiale' => 'v', |
|
| 157 | + 'date_jour_7' => 'Sawaru', |
|
| 158 | + 'date_jour_7_abbr' => 'saw', |
|
| 159 | + 'date_jour_7_initiale' => 's', |
|
| 160 | + 'date_jours' => 'Urunaka', |
|
| 161 | + 'date_minutes' => 'Minutunaka', |
|
| 162 | + 'date_mois' => 'Phaxsinaka', |
|
| 163 | + 'date_mois_1' => 'Iniru', |
|
| 164 | + 'date_mois_10' => 'Octuwri', |
|
| 165 | + 'date_mois_11' => 'Nuwimri', |
|
| 166 | + 'date_mois_12' => 'Dicimri', |
|
| 167 | + 'date_mois_2' => 'Fiwriru', |
|
| 168 | + 'date_mois_3' => 'Marzu', |
|
| 169 | + 'date_mois_4' => 'Awril', |
|
| 170 | + 'date_mois_5' => 'Mayu', |
|
| 171 | + 'date_mois_6' => 'Junyu', |
|
| 172 | + 'date_mois_7' => 'Julyu', |
|
| 173 | + 'date_mois_8' => 'Agustu', |
|
| 174 | + 'date_mois_9' => 'Siptimbri', |
|
| 175 | + 'date_saison_1' => 'Juyphi pacha', |
|
| 176 | + 'date_saison_2' => 'Junt’u pacha', |
|
| 177 | + 'date_saison_3' => 'Jallu pacha', |
|
| 178 | + 'date_saison_4' => 'Waña pacha', |
|
| 179 | + 'date_semaines' => 'Simananaka', |
|
| 180 | + 'dirs_commencer' => 'Uchantawixa chiqapin qalltañataki', |
|
| 181 | + 'dirs_preliminaire' => 'Qallta: <b>Iyaws mantawx uk amtaña</b>', |
|
| 182 | + 'dirs_probleme_droits' => 'Iyaws mantawxa jan wali', |
|
| 183 | + 'dirs_repertoires_absents' => '<p><b>Arkir imañ q’ipinakax janiw jikiskiti:</b></p><ul>@bad_dirs@.</ul> </b> |
|
| 184 | 184 | |
| 185 | 185 | <p>Jan wali qillqatawa jach’aptat qillqanakampi jisk’aptat qillqanakampicha ukaspawa. Mayamp uñjam imñan q’ipi sutipampi jach’aptat qillqanakampi jisk’aptat qillqanakampita aka jutiri uñjata ukhama. Jan ukasti imñan q’ipix turkam softweramanti FTPta, jan wali askichañataki. |
| 186 | 186 | |
| 187 | 187 | Uk lurasinsti jutir imañ q’ipinaka jikitawa.</p> |
| 188 | 188 | |
| 189 | 189 | <p>Cuando hayas hecho esta operación podrás ', |
| 190 | - 'dirs_repertoires_suivants' => '<p><b>Jutir imañ q’ipinakax janiw qillqañatakikiti:</b></p><ul>@bad_dirs@.</ul> |
|
| 190 | + 'dirs_repertoires_suivants' => '<p><b>Jutir imañ q’ipinakax janiw qillqañatakikiti:</b></p><ul>@bad_dirs@.</ul> |
|
| 191 | 191 | |
| 192 | 192 | <p>Aka jan wali askichañatakix apnaqañamaw mä FTP apnaqiri mantawx iyawsa turkañatakix sapa mayn imañ q’ipinakaru aytata. Kunamti luraña ukax qhanañchatawa uchantaw qillqat irpirina.</p> |
| 193 | 193 | |
| 194 | 194 | <p>Una vez terminado este proceso, podrás ', |
| 195 | - 'double_occurrence' => 'Pä lurawi', # MODIF |
|
| 195 | + 'double_occurrence' => 'Pä lurawi', # MODIF |
|
| 196 | 196 | |
| 197 | - // E |
|
| 198 | - 'envoi_via_le_site' => 'Qamawitkam apayaña', |
|
| 199 | - 'erreur' => 'Pantjawi', |
|
| 200 | - 'erreur_balise_non_fermee' => 'Qhipir markhax jan jist’antata:', |
|
| 201 | - 'erreur_texte' => 'Pantjawinaka', |
|
| 197 | + // E |
|
| 198 | + 'envoi_via_le_site' => 'Qamawitkam apayaña', |
|
| 199 | + 'erreur' => 'Pantjawi', |
|
| 200 | + 'erreur_balise_non_fermee' => 'Qhipir markhax jan jist’antata:', |
|
| 201 | + 'erreur_texte' => 'Pantjawinaka', |
|
| 202 | 202 | |
| 203 | - // F |
|
| 204 | - 'fichier_introuvable' => 'Q’ipix janiw jiskiskiti @fichier@', |
|
| 205 | - 'form_deja_inscrit' => 'Qillqataxtaw.', |
|
| 206 | - 'form_email_non_valide' => 'Aruskipayirimanx utjawipax janiw walikiti', |
|
| 207 | - 'form_forum_access_refuse' => 'Aka qamawirux mantawimax janiw utjiti', |
|
| 208 | - 'form_forum_bonjour' => 'kamisaki @nom@,', |
|
| 209 | - 'form_forum_email_deja_enregistre' => 'Aka aruskipayirit utjawix qillqt’ataxiwa ukatx imt’awimx lurasmaw', |
|
| 210 | - 'form_forum_identifiant_mail' => 'Machaq uñacht’ayirima apayapxtwa aruskipayirita.', |
|
| 211 | - 'form_forum_identifiants' => 'Sapa maynit uñacht’ayiri', |
|
| 212 | - 'form_forum_indiquer_nom_email' => 'Akar sutim uñachayam ukhamarak aruskipayirim uñachayam. Jank’akiw juman uñacht’ayirim apayanitam', |
|
| 213 | - 'form_forum_login' => 'Uñt’ayasiwi:', |
|
| 214 | - 'form_forum_message_auto' => '(Akax mä justupak yatiyawiwa)', |
|
| 215 | - 'form_forum_pass' => 'Imt’awi:', |
|
| 216 | - 'form_forum_probleme_mail' => 'Aruskipayirix jan waliwa: janiw uñacht’ayirix apayañjamakiti', |
|
| 217 | - 'form_forum_voici1' => 'Esta es tu identificación para participar |
|
| 203 | + // F |
|
| 204 | + 'fichier_introuvable' => 'Q’ipix janiw jiskiskiti @fichier@', |
|
| 205 | + 'form_deja_inscrit' => 'Qillqataxtaw.', |
|
| 206 | + 'form_email_non_valide' => 'Aruskipayirimanx utjawipax janiw walikiti', |
|
| 207 | + 'form_forum_access_refuse' => 'Aka qamawirux mantawimax janiw utjiti', |
|
| 208 | + 'form_forum_bonjour' => 'kamisaki @nom@,', |
|
| 209 | + 'form_forum_email_deja_enregistre' => 'Aka aruskipayirit utjawix qillqt’ataxiwa ukatx imt’awimx lurasmaw', |
|
| 210 | + 'form_forum_identifiant_mail' => 'Machaq uñacht’ayirima apayapxtwa aruskipayirita.', |
|
| 211 | + 'form_forum_identifiants' => 'Sapa maynit uñacht’ayiri', |
|
| 212 | + 'form_forum_indiquer_nom_email' => 'Akar sutim uñachayam ukhamarak aruskipayirim uñachayam. Jank’akiw juman uñacht’ayirim apayanitam', |
|
| 213 | + 'form_forum_login' => 'Uñt’ayasiwi:', |
|
| 214 | + 'form_forum_message_auto' => '(Akax mä justupak yatiyawiwa)', |
|
| 215 | + 'form_forum_pass' => 'Imt’awi:', |
|
| 216 | + 'form_forum_probleme_mail' => 'Aruskipayirix jan waliwa: janiw uñacht’ayirix apayañjamakiti', |
|
| 217 | + 'form_forum_voici1' => 'Esta es tu identificación para participar |
|
| 218 | 218 | en los foros del sitio \\"@nom_site_spip@\\" (@adresse_site@):', |
| 219 | - 'form_forum_voici2' => 'Esta es tu identificación para proponer artículos |
|
| 219 | + 'form_forum_voici2' => 'Esta es tu identificación para proponer artículos |
|
| 220 | 220 | en el sitio \\"@nom_site_spip@\\" (@adresse_login@): ', |
| 221 | - 'form_indiquer_email' => 'Utjawi aruskipayirimat uñachayam', |
|
| 222 | - 'form_indiquer_nom' => 'Sutim uñachayam', |
|
| 223 | - 'form_indiquer_nom_site' => 'Web qamawimat suti uñachayam', |
|
| 224 | - 'form_pet_deja_enregistre' => 'Aka qamawix qillqt’ataxiwa', |
|
| 225 | - 'form_pet_signature_pasprise' => 'Iyawsamax janiw qillqaskiti.', |
|
| 226 | - 'form_prop_confirmer_envoi' => 'Apawi iyaw sañapuni', |
|
| 227 | - 'form_prop_description' => 'Uñt’ayawi/amuyawi', |
|
| 228 | - 'form_prop_enregistre' => 'Amtatamax qillqataxiwa, iyaw sapkani khitinakatix apnaqapxi aka qamawxa ukatwa naktat uñstani.', |
|
| 229 | - 'form_prop_envoyer' => 'Mä yatiyaw apayaña', |
|
| 230 | - 'form_prop_indiquer_email' => 'Mä aruskipayirin iyaw sat utjawip uk uñachayam', |
|
| 231 | - 'form_prop_indiquer_nom_site' => 'Qamawin sutip uñachayama.', |
|
| 232 | - 'form_prop_indiquer_sujet' => 'Yatsuw uñachayaña', |
|
| 233 | - 'form_prop_message_envoye' => 'Yatiyaw apayata', |
|
| 234 | - 'form_prop_non_enregistre' => 'Amuyt’awimax janiw qillqatakiti.', |
|
| 235 | - 'form_prop_sujet' => 'Yatsuwi', |
|
| 236 | - 'form_prop_url_site' => 'Qamawin (URL) utjawipa', # MODIF |
|
| 237 | - 'forum_non_inscrit' => 'Janiw qillqataktati, utjawich imt’atach pantjatawa.', |
|
| 238 | - 'forum_par_auteur' => 'lurata @auteur@', |
|
| 239 | - 'forum_titre_erreur' => 'Pantjata...', |
|
| 221 | + 'form_indiquer_email' => 'Utjawi aruskipayirimat uñachayam', |
|
| 222 | + 'form_indiquer_nom' => 'Sutim uñachayam', |
|
| 223 | + 'form_indiquer_nom_site' => 'Web qamawimat suti uñachayam', |
|
| 224 | + 'form_pet_deja_enregistre' => 'Aka qamawix qillqt’ataxiwa', |
|
| 225 | + 'form_pet_signature_pasprise' => 'Iyawsamax janiw qillqaskiti.', |
|
| 226 | + 'form_prop_confirmer_envoi' => 'Apawi iyaw sañapuni', |
|
| 227 | + 'form_prop_description' => 'Uñt’ayawi/amuyawi', |
|
| 228 | + 'form_prop_enregistre' => 'Amtatamax qillqataxiwa, iyaw sapkani khitinakatix apnaqapxi aka qamawxa ukatwa naktat uñstani.', |
|
| 229 | + 'form_prop_envoyer' => 'Mä yatiyaw apayaña', |
|
| 230 | + 'form_prop_indiquer_email' => 'Mä aruskipayirin iyaw sat utjawip uk uñachayam', |
|
| 231 | + 'form_prop_indiquer_nom_site' => 'Qamawin sutip uñachayama.', |
|
| 232 | + 'form_prop_indiquer_sujet' => 'Yatsuw uñachayaña', |
|
| 233 | + 'form_prop_message_envoye' => 'Yatiyaw apayata', |
|
| 234 | + 'form_prop_non_enregistre' => 'Amuyt’awimax janiw qillqatakiti.', |
|
| 235 | + 'form_prop_sujet' => 'Yatsuwi', |
|
| 236 | + 'form_prop_url_site' => 'Qamawin (URL) utjawipa', # MODIF |
|
| 237 | + 'forum_non_inscrit' => 'Janiw qillqataktati, utjawich imt’atach pantjatawa.', |
|
| 238 | + 'forum_par_auteur' => 'lurata @auteur@', |
|
| 239 | + 'forum_titre_erreur' => 'Pantjata...', |
|
| 240 | 240 | |
| 241 | - // I |
|
| 242 | - 'ical_texte_rss_articles' => '«Backend» q’ipix aka qamawin qillqatanakata, utjawin jikisi:', |
|
| 243 | - 'ical_texte_rss_articles2' => 'Ukhamarak «backend» q’ipinak jikismaw qillqatanakatakix sapa t’aqat aka sutinchatata: ', |
|
| 244 | - 'ical_texte_rss_breves' => 'Ukhamarak mä q’ipi kawkintix jisk’aptatanak qamawin utji. T’aqa jakhuwi qhananchasa, jisk’aptatanakaki jikisispa.', |
|
| 245 | - 'icone_a_suivre' => 'Lurawinakajaxa', |
|
| 246 | - 'icone_admin_site' => 'Qamaw apnaqawi', |
|
| 247 | - 'icone_agenda' => 'Pachachimpu lurawinaka', |
|
| 248 | - 'icone_aide_ligne' => 'Naktata yanapaña', |
|
| 249 | - 'icone_articles' => 'Qillqatanaka', |
|
| 250 | - 'icone_auteurs' => 'Qillqirinaka', |
|
| 251 | - 'icone_brouteur' => 'Jank’aki tuyuwi', |
|
| 252 | - 'icone_configuration_site' => 'Qamaw uñtayawi', |
|
| 253 | - 'icone_configurer_site' => 'Qamaw uñtayaña', |
|
| 254 | - 'icone_creer_nouvel_auteur' => 'Mä machaq qillqir uñstayaña', |
|
| 255 | - 'icone_creer_rubrique' => 'Mä t’aqa uñstayaña', |
|
| 256 | - 'icone_creer_sous_rubrique' => 'Mä sullkir t’aq uñstayaña |
|
| 241 | + // I |
|
| 242 | + 'ical_texte_rss_articles' => '«Backend» q’ipix aka qamawin qillqatanakata, utjawin jikisi:', |
|
| 243 | + 'ical_texte_rss_articles2' => 'Ukhamarak «backend» q’ipinak jikismaw qillqatanakatakix sapa t’aqat aka sutinchatata: ', |
|
| 244 | + 'ical_texte_rss_breves' => 'Ukhamarak mä q’ipi kawkintix jisk’aptatanak qamawin utji. T’aqa jakhuwi qhananchasa, jisk’aptatanakaki jikisispa.', |
|
| 245 | + 'icone_a_suivre' => 'Lurawinakajaxa', |
|
| 246 | + 'icone_admin_site' => 'Qamaw apnaqawi', |
|
| 247 | + 'icone_agenda' => 'Pachachimpu lurawinaka', |
|
| 248 | + 'icone_aide_ligne' => 'Naktata yanapaña', |
|
| 249 | + 'icone_articles' => 'Qillqatanaka', |
|
| 250 | + 'icone_auteurs' => 'Qillqirinaka', |
|
| 251 | + 'icone_brouteur' => 'Jank’aki tuyuwi', |
|
| 252 | + 'icone_configuration_site' => 'Qamaw uñtayawi', |
|
| 253 | + 'icone_configurer_site' => 'Qamaw uñtayaña', |
|
| 254 | + 'icone_creer_nouvel_auteur' => 'Mä machaq qillqir uñstayaña', |
|
| 255 | + 'icone_creer_rubrique' => 'Mä t’aqa uñstayaña', |
|
| 256 | + 'icone_creer_sous_rubrique' => 'Mä sullkir t’aq uñstayaña |
|
| 257 | 257 | ', |
| 258 | - 'icone_deconnecter' => 'T’aqaqtasiña', |
|
| 259 | - 'icone_discussions' => 'Amuykipañanaka', |
|
| 260 | - 'icone_doc_rubrique' => 'T’aqanakan qillqa q’ipinaka', |
|
| 261 | - 'icone_ecrire_article' => 'Machaq qillqata', |
|
| 262 | - 'icone_edition_site' => 'Qamaw askiptawi', |
|
| 263 | - 'icone_gestion_langues' => 'Arunakat apnaqawi', |
|
| 264 | - 'icone_informations_personnelles' => 'Sapa maynit yatiyawinaka |
|
| 258 | + 'icone_deconnecter' => 'T’aqaqtasiña', |
|
| 259 | + 'icone_discussions' => 'Amuykipañanaka', |
|
| 260 | + 'icone_doc_rubrique' => 'T’aqanakan qillqa q’ipinaka', |
|
| 261 | + 'icone_ecrire_article' => 'Machaq qillqata', |
|
| 262 | + 'icone_edition_site' => 'Qamaw askiptawi', |
|
| 263 | + 'icone_gestion_langues' => 'Arunakat apnaqawi', |
|
| 264 | + 'icone_informations_personnelles' => 'Sapa maynit yatiyawinaka |
|
| 265 | 265 | ', |
| 266 | - 'icone_interface_complet' => 'Phuqat ajanu', |
|
| 267 | - 'icone_interface_simple' => 'Mä ajanuki', |
|
| 268 | - 'icone_maintenance_site' => 'Qamawit uñjawi', |
|
| 269 | - 'icone_messagerie_personnelle' => 'Sapa maynit yatiyañanaka', |
|
| 270 | - 'icone_repartition_debut' => 'Qalltatpach lakiraw uñachaña', |
|
| 271 | - 'icone_rubriques' => 'T’aqanaka', |
|
| 272 | - 'icone_sauver_site' => 'Qamawit mä jarkat qillqaqa luraña', |
|
| 273 | - 'icone_site_entier' => 'Taqpach qamawi', |
|
| 274 | - 'icone_sites_references' => 'Aytat qamawinak', |
|
| 275 | - 'icone_statistiques' => 'Qamawit tantiyatanaka', |
|
| 276 | - 'icone_suivi_activite' => 'Qamawit uñch’ukiwi', |
|
| 277 | - 'icone_suivi_actualite' => 'Qamawin jilawi', |
|
| 278 | - 'icone_suivi_pettions' => 'Mayitanakat apnaqawi', |
|
| 279 | - 'icone_suivi_revisions' => 'Qillqatanakat mayjaptatanaka', |
|
| 280 | - 'icone_supprimer_document' => 'Aka qillqa q’ip apaqaña', |
|
| 281 | - 'icone_supprimer_image' => 'Aka salta apaqaña', |
|
| 282 | - 'icone_tous_articles' => 'Taqpach qillqatanakama', |
|
| 283 | - 'icone_tous_auteur' => 'Taqpach qillqirinaka', |
|
| 284 | - 'icone_visiter_site' => 'Aka qamaw tumpaña', # MODIF |
|
| 285 | - 'icone_voir_en_ligne' => 'Naktat uñjaña', |
|
| 286 | - 'img_indisponible' => 'Salta wakita', |
|
| 287 | - 'impossible' => 'janipini', |
|
| 288 | - 'info_a_suivre' => 'NAN LURAWINAKAJAXA', |
|
| 289 | - 'info_acces_interdit' => 'Mantawj jark’ata', |
|
| 290 | - 'info_acces_refuse' => 'Mantawj janiw sata', |
|
| 291 | - 'info_action' => 'Lurawi: @action@', |
|
| 292 | - 'info_administrer_rubriques' => 'Aka t’aqxa ukhamarak sullkir t’aqanakxa apnaqasmaw', |
|
| 293 | - 'info_adresse_non_indiquee' => '¡yant’añ utjawxa uñachayapxistaw!', |
|
| 294 | - 'info_aide' => 'YANAPA', |
|
| 295 | - 'info_ajouter_mot' => 'Aka aru yapt’aña', |
|
| 296 | - 'info_annonce' => 'Yatiyawi', |
|
| 297 | - 'info_annonces_generales' => 'Jach’a yatiyawinaka', |
|
| 298 | - 'info_article_propose' => 'Qillqatanak amtata', |
|
| 299 | - 'info_article_publie' => 'Qillqat yatiyata', |
|
| 300 | - 'info_article_redaction' => 'Qillqat lurasiskiwa', |
|
| 301 | - 'info_article_refuse' => 'Janiw sat qillqata', |
|
| 302 | - 'info_article_supprime' => 'Qillqat apaqata', |
|
| 303 | - 'info_articles' => 'Qillqatanaka', |
|
| 304 | - 'info_articles_a_valider' => 'Qillqatanak iyaw sañataki', |
|
| 305 | - 'info_articles_proposes' => 'Amtat qillqatanaka', |
|
| 306 | - 'info_auteurs_nombre' => 'Qillqirinaka:', |
|
| 307 | - 'info_authentification_ftp' => 'Iyasawi (por FTP).', |
|
| 308 | - 'info_breves_2' => 'jisk’aptatanaka', |
|
| 309 | - 'info_connexion_refusee' => 'Arust’awix janiw satakiti', |
|
| 310 | - 'info_contact_developpeur' => 'Mä prucramaturamp aruskipt’añamawa.', |
|
| 311 | - 'info_contenance' => 'Aka qamawinx utjiwa:', |
|
| 312 | - 'info_contribution' => 'Aruskipañat yanapawinaka', # MODIF |
|
| 313 | - 'info_copyright' => '@spip@ mä software libre lakiratawa @lien_qpl@.', |
|
| 314 | - 'info_copyright_doc' => 'Juk’amp yatxatañatakix qamaw uñjaña <a href=\'http://www.spip.net/es\'>http://www.spip.net/es</a>. ', # MODIF |
|
| 315 | - 'info_copyright_gpl' => 'GLP iyaw sakiñampi', |
|
| 316 | - 'info_cours_edition' => 'Qillqatanakamax qillqt’asiskiwa', # MODIF |
|
| 317 | - 'info_creer_repertoire' => 'Mä q’ipi jan ukjax mä imañ q’ipi akham sutin uñstayañamaxa', |
|
| 318 | - 'info_creer_repertoire_2' => 'jach’a q’ipina <b>@repertoire@</b>, ukatxa ', |
|
| 319 | - 'info_creer_vignette' => 'Jisk’itat justupak uñstayawi', |
|
| 320 | - 'info_deplier' => 'Janatataña', |
|
| 321 | - 'info_descriptif_nombre' => 'Uñicht’ayawinaka:', |
|
| 322 | - 'info_description' => 'Uñicht’ayawi:', |
|
| 323 | - 'info_description_2' => 'Uñicht’ayawi:', |
|
| 324 | - 'info_dimension' => 'Ukch’a pachanaka', |
|
| 325 | - 'info_ecire_message_prive' => 'Mä jark’at yatiyaw qillqaña', |
|
| 326 | - 'info_email_invalide' => 'Aruskipayirin utjawix janiw walikiti.', |
|
| 327 | - 'info_en_cours_validation' => 'Qillqatanakamax lurasiskiwa', |
|
| 328 | - 'info_en_ligne' => 'Jichhax naktataskiwa', |
|
| 329 | - 'info_envoyer_message_prive' => 'Mä jark’at yatiyaw aka qillqirir apayaña', |
|
| 330 | - 'info_erreur_requete' => 'Mayiwin pantjawiw utji:', |
|
| 331 | - 'info_erreur_squelette2' => 'Janiw ni mä ch’akha ch’akhas <b>@fichier@</b> wakitakiti... ', |
|
| 332 | - 'info_erreur_systeme' => 'Apnaqawin pantjawiw utji (errno @errsys@) ', |
|
| 333 | - 'info_erreur_systeme2' => 'Disco duruxa phuqataspawa jan ukasti yatiyawinak pirwax janiw askikiti.<br /> |
|
| 266 | + 'icone_interface_complet' => 'Phuqat ajanu', |
|
| 267 | + 'icone_interface_simple' => 'Mä ajanuki', |
|
| 268 | + 'icone_maintenance_site' => 'Qamawit uñjawi', |
|
| 269 | + 'icone_messagerie_personnelle' => 'Sapa maynit yatiyañanaka', |
|
| 270 | + 'icone_repartition_debut' => 'Qalltatpach lakiraw uñachaña', |
|
| 271 | + 'icone_rubriques' => 'T’aqanaka', |
|
| 272 | + 'icone_sauver_site' => 'Qamawit mä jarkat qillqaqa luraña', |
|
| 273 | + 'icone_site_entier' => 'Taqpach qamawi', |
|
| 274 | + 'icone_sites_references' => 'Aytat qamawinak', |
|
| 275 | + 'icone_statistiques' => 'Qamawit tantiyatanaka', |
|
| 276 | + 'icone_suivi_activite' => 'Qamawit uñch’ukiwi', |
|
| 277 | + 'icone_suivi_actualite' => 'Qamawin jilawi', |
|
| 278 | + 'icone_suivi_pettions' => 'Mayitanakat apnaqawi', |
|
| 279 | + 'icone_suivi_revisions' => 'Qillqatanakat mayjaptatanaka', |
|
| 280 | + 'icone_supprimer_document' => 'Aka qillqa q’ip apaqaña', |
|
| 281 | + 'icone_supprimer_image' => 'Aka salta apaqaña', |
|
| 282 | + 'icone_tous_articles' => 'Taqpach qillqatanakama', |
|
| 283 | + 'icone_tous_auteur' => 'Taqpach qillqirinaka', |
|
| 284 | + 'icone_visiter_site' => 'Aka qamaw tumpaña', # MODIF |
|
| 285 | + 'icone_voir_en_ligne' => 'Naktat uñjaña', |
|
| 286 | + 'img_indisponible' => 'Salta wakita', |
|
| 287 | + 'impossible' => 'janipini', |
|
| 288 | + 'info_a_suivre' => 'NAN LURAWINAKAJAXA', |
|
| 289 | + 'info_acces_interdit' => 'Mantawj jark’ata', |
|
| 290 | + 'info_acces_refuse' => 'Mantawj janiw sata', |
|
| 291 | + 'info_action' => 'Lurawi: @action@', |
|
| 292 | + 'info_administrer_rubriques' => 'Aka t’aqxa ukhamarak sullkir t’aqanakxa apnaqasmaw', |
|
| 293 | + 'info_adresse_non_indiquee' => '¡yant’añ utjawxa uñachayapxistaw!', |
|
| 294 | + 'info_aide' => 'YANAPA', |
|
| 295 | + 'info_ajouter_mot' => 'Aka aru yapt’aña', |
|
| 296 | + 'info_annonce' => 'Yatiyawi', |
|
| 297 | + 'info_annonces_generales' => 'Jach’a yatiyawinaka', |
|
| 298 | + 'info_article_propose' => 'Qillqatanak amtata', |
|
| 299 | + 'info_article_publie' => 'Qillqat yatiyata', |
|
| 300 | + 'info_article_redaction' => 'Qillqat lurasiskiwa', |
|
| 301 | + 'info_article_refuse' => 'Janiw sat qillqata', |
|
| 302 | + 'info_article_supprime' => 'Qillqat apaqata', |
|
| 303 | + 'info_articles' => 'Qillqatanaka', |
|
| 304 | + 'info_articles_a_valider' => 'Qillqatanak iyaw sañataki', |
|
| 305 | + 'info_articles_proposes' => 'Amtat qillqatanaka', |
|
| 306 | + 'info_auteurs_nombre' => 'Qillqirinaka:', |
|
| 307 | + 'info_authentification_ftp' => 'Iyasawi (por FTP).', |
|
| 308 | + 'info_breves_2' => 'jisk’aptatanaka', |
|
| 309 | + 'info_connexion_refusee' => 'Arust’awix janiw satakiti', |
|
| 310 | + 'info_contact_developpeur' => 'Mä prucramaturamp aruskipt’añamawa.', |
|
| 311 | + 'info_contenance' => 'Aka qamawinx utjiwa:', |
|
| 312 | + 'info_contribution' => 'Aruskipañat yanapawinaka', # MODIF |
|
| 313 | + 'info_copyright' => '@spip@ mä software libre lakiratawa @lien_qpl@.', |
|
| 314 | + 'info_copyright_doc' => 'Juk’amp yatxatañatakix qamaw uñjaña <a href=\'http://www.spip.net/es\'>http://www.spip.net/es</a>. ', # MODIF |
|
| 315 | + 'info_copyright_gpl' => 'GLP iyaw sakiñampi', |
|
| 316 | + 'info_cours_edition' => 'Qillqatanakamax qillqt’asiskiwa', # MODIF |
|
| 317 | + 'info_creer_repertoire' => 'Mä q’ipi jan ukjax mä imañ q’ipi akham sutin uñstayañamaxa', |
|
| 318 | + 'info_creer_repertoire_2' => 'jach’a q’ipina <b>@repertoire@</b>, ukatxa ', |
|
| 319 | + 'info_creer_vignette' => 'Jisk’itat justupak uñstayawi', |
|
| 320 | + 'info_deplier' => 'Janatataña', |
|
| 321 | + 'info_descriptif_nombre' => 'Uñicht’ayawinaka:', |
|
| 322 | + 'info_description' => 'Uñicht’ayawi:', |
|
| 323 | + 'info_description_2' => 'Uñicht’ayawi:', |
|
| 324 | + 'info_dimension' => 'Ukch’a pachanaka', |
|
| 325 | + 'info_ecire_message_prive' => 'Mä jark’at yatiyaw qillqaña', |
|
| 326 | + 'info_email_invalide' => 'Aruskipayirin utjawix janiw walikiti.', |
|
| 327 | + 'info_en_cours_validation' => 'Qillqatanakamax lurasiskiwa', |
|
| 328 | + 'info_en_ligne' => 'Jichhax naktataskiwa', |
|
| 329 | + 'info_envoyer_message_prive' => 'Mä jark’at yatiyaw aka qillqirir apayaña', |
|
| 330 | + 'info_erreur_requete' => 'Mayiwin pantjawiw utji:', |
|
| 331 | + 'info_erreur_squelette2' => 'Janiw ni mä ch’akha ch’akhas <b>@fichier@</b> wakitakiti... ', |
|
| 332 | + 'info_erreur_systeme' => 'Apnaqawin pantjawiw utji (errno @errsys@) ', |
|
| 333 | + 'info_erreur_systeme2' => 'Disco duruxa phuqataspawa jan ukasti yatiyawinak pirwax janiw askikiti.<br /> |
|
| 334 | 334 | <span style="color:red;">Pirwam <a href=\'@script@\'>askichañ yant’am</a>, jan ukax tampuma jikxatam.</span> ', |
| 335 | - 'info_fini' => '¡Tukuyata!', |
|
| 336 | - 'info_format_image' => 'Saltan utt’ayata jisk’a saltanak apnaqawitaki @gd_formats@.', |
|
| 337 | - 'info_format_non_defini' => 'utt’ayatax janiw uñacht’ayatakiti', |
|
| 338 | - 'info_grand_ecran' => 'Phuqat salta', |
|
| 339 | - 'info_image_aide' => 'Yanapa', |
|
| 340 | - 'info_image_process_titre' => 'Kunjams jisk’aptatanak uñstayaña', |
|
| 341 | - 'info_impossible_lire_page' => '¡Pantjata! </b> Janiw laphi uñnaq liyiñjamakiti <tt><html>@test_proxy@</html></tt> \\"proxy\\" <tt> ukampi', |
|
| 342 | - 'info_installation_systeme_publication' => 'Apnaqaw yatiyat uchantawipa', |
|
| 343 | - 'info_installer_documents' => 'Taqpach qillqa q’ipinak, jach’a q’ipin utjkix ukanaksustupak uchantasmax @upload@', |
|
| 344 | - 'info_installer_ftp' => 'Iyaws apnaqirinakampi, q’ipinak uchantasmawa imañ q’ipina (FTP ukampi) @upload@ ukatxa akan ajlliñataki.', |
|
| 345 | - 'info_installer_images' => 'Saltanak utt’ayat uchantasmaw JPEG, GIF Y PNG.', |
|
| 346 | - 'info_installer_images_dossier' => 'Imañ q’ipin saltanak uchantaña @upload@ ukat akjan ajlliñataki.', |
|
| 347 | - 'info_interface_complete' => 'Phuqat ajanu', |
|
| 348 | - 'info_interface_simple' => 'Má ajanuki', |
|
| 349 | - 'info_joindre_document_article' => 'Aka qillqatanakarux kasta qillqa q’ipinak jaqkatasmaw', |
|
| 350 | - 'info_joindre_document_rubrique' => 'Aka t’aqarux kasta qillqa q’ipinak jaqkatasmaw', |
|
| 351 | - 'info_joindre_documents_article' => 'Aka t’aqarux kasta qillqa q’ipinak jaqkatasmaw', |
|
| 352 | - 'info_l_article' => 'qillqataxa', |
|
| 353 | - 'info_la_breve' => 'jisk’aptataxa', |
|
| 354 | - 'info_la_rubrique' => 't’aqaxa', |
|
| 355 | - 'info_langue_principale' => 'Qamawin aru', |
|
| 356 | - 'info_largeur_vignette' => '@largeur_vignette@ × @hauteur_vignette@ píxeles', |
|
| 357 | - 'info_les_auteurs_1' => 'lurata @les_auteurs@', |
|
| 358 | - 'info_logo_format_interdit' => 'Utt’ayat uñachir chimpunakak iyaw sataxa @formats@.', |
|
| 359 | - 'info_logo_max_poids' => 'Uñachir chimpunakaxa phisnakiñapawa @maxi@ (q’ipix jathiwa @actuel@).', |
|
| 360 | - 'info_mail_fournisseur' => '[email protected]', |
|
| 361 | - 'info_message_2' => 'YATIYAWI', |
|
| 362 | - 'info_message_supprime' => 'Yatiyaw apaqata', |
|
| 363 | - 'info_mise_en_ligne' => 'Qalltkis naktawix uka uru', |
|
| 364 | - 'info_modification_parametres_securite' => 'tantiyt’at jark’aw mayjt’awinakapa', |
|
| 365 | - 'info_mois_courant' => 'Aka jichha phaxsina:', |
|
| 366 | - 'info_mot_cle_ajoute' => 'Jutir imt’at arux qillqataruw yapt’i', |
|
| 367 | - 'info_multi_herit' => 'Armaqat aru', |
|
| 368 | - 'info_multi_langues_soulignees' => '<u>Arunakaxa sirqitanakaxa</u> ajanutxa taqpach sawutanak mä jaqukipaw churi. |
|
| 335 | + 'info_fini' => '¡Tukuyata!', |
|
| 336 | + 'info_format_image' => 'Saltan utt’ayata jisk’a saltanak apnaqawitaki @gd_formats@.', |
|
| 337 | + 'info_format_non_defini' => 'utt’ayatax janiw uñacht’ayatakiti', |
|
| 338 | + 'info_grand_ecran' => 'Phuqat salta', |
|
| 339 | + 'info_image_aide' => 'Yanapa', |
|
| 340 | + 'info_image_process_titre' => 'Kunjams jisk’aptatanak uñstayaña', |
|
| 341 | + 'info_impossible_lire_page' => '¡Pantjata! </b> Janiw laphi uñnaq liyiñjamakiti <tt><html>@test_proxy@</html></tt> \\"proxy\\" <tt> ukampi', |
|
| 342 | + 'info_installation_systeme_publication' => 'Apnaqaw yatiyat uchantawipa', |
|
| 343 | + 'info_installer_documents' => 'Taqpach qillqa q’ipinak, jach’a q’ipin utjkix ukanaksustupak uchantasmax @upload@', |
|
| 344 | + 'info_installer_ftp' => 'Iyaws apnaqirinakampi, q’ipinak uchantasmawa imañ q’ipina (FTP ukampi) @upload@ ukatxa akan ajlliñataki.', |
|
| 345 | + 'info_installer_images' => 'Saltanak utt’ayat uchantasmaw JPEG, GIF Y PNG.', |
|
| 346 | + 'info_installer_images_dossier' => 'Imañ q’ipin saltanak uchantaña @upload@ ukat akjan ajlliñataki.', |
|
| 347 | + 'info_interface_complete' => 'Phuqat ajanu', |
|
| 348 | + 'info_interface_simple' => 'Má ajanuki', |
|
| 349 | + 'info_joindre_document_article' => 'Aka qillqatanakarux kasta qillqa q’ipinak jaqkatasmaw', |
|
| 350 | + 'info_joindre_document_rubrique' => 'Aka t’aqarux kasta qillqa q’ipinak jaqkatasmaw', |
|
| 351 | + 'info_joindre_documents_article' => 'Aka t’aqarux kasta qillqa q’ipinak jaqkatasmaw', |
|
| 352 | + 'info_l_article' => 'qillqataxa', |
|
| 353 | + 'info_la_breve' => 'jisk’aptataxa', |
|
| 354 | + 'info_la_rubrique' => 't’aqaxa', |
|
| 355 | + 'info_langue_principale' => 'Qamawin aru', |
|
| 356 | + 'info_largeur_vignette' => '@largeur_vignette@ × @hauteur_vignette@ píxeles', |
|
| 357 | + 'info_les_auteurs_1' => 'lurata @les_auteurs@', |
|
| 358 | + 'info_logo_format_interdit' => 'Utt’ayat uñachir chimpunakak iyaw sataxa @formats@.', |
|
| 359 | + 'info_logo_max_poids' => 'Uñachir chimpunakaxa phisnakiñapawa @maxi@ (q’ipix jathiwa @actuel@).', |
|
| 360 | + 'info_mail_fournisseur' => '[email protected]', |
|
| 361 | + 'info_message_2' => 'YATIYAWI', |
|
| 362 | + 'info_message_supprime' => 'Yatiyaw apaqata', |
|
| 363 | + 'info_mise_en_ligne' => 'Qalltkis naktawix uka uru', |
|
| 364 | + 'info_modification_parametres_securite' => 'tantiyt’at jark’aw mayjt’awinakapa', |
|
| 365 | + 'info_mois_courant' => 'Aka jichha phaxsina:', |
|
| 366 | + 'info_mot_cle_ajoute' => 'Jutir imt’at arux qillqataruw yapt’i', |
|
| 367 | + 'info_multi_herit' => 'Armaqat aru', |
|
| 368 | + 'info_multi_langues_soulignees' => '<u>Arunakaxa sirqitanakaxa</u> ajanutxa taqpach sawutanak mä jaqukipaw churi. |
|
| 369 | 369 | |
| 370 | 370 | Sitix uka arunak ajlltax.Walja sapa mayanaka jach’a qamawita (urunaka, phuqañ laphinaka) justupak jaqukiptatani. Jani aru sirqitanakataki, qamawit arun uñstani.', # MODIF |
| 371 | - 'info_multilinguisme' => 'Walja arunaka', |
|
| 372 | - 'info_nom_non_utilisateurs_connectes' => 'Sutimax janiw uñstkiti jaqi tantanakan chinuta', |
|
| 373 | - 'info_nom_utilisateurs_connectes' => 'Sutimax uñstiw jaqi tantanakan chinuta', |
|
| 374 | - 'info_nombre_en_ligne' => 'Jichhax naktatawa', |
|
| 375 | - 'info_non_resultat' => 'Thaqawitaqix janiw askichawinak jikiskiti \\"@cherche_mot@\\"', |
|
| 376 | - 'info_non_utilisation_messagerie' => 'Manqhax yatiyaw jan apnaqaña.', |
|
| 377 | - 'info_nouveau_message' => '<b>¡Ma machaq yatiyawinitawa!</b>', |
|
| 378 | - 'info_nouveaux_messages' => 'Utjtam @total_messages@ machaq yatiyawinaka', |
|
| 379 | - 'info_numero_abbreviation' => 'N°', |
|
| 380 | - 'info_pense_bete' => 'Katxasiñatak amtayiri', |
|
| 381 | - 'info_petit_ecran' => 'Jisk’a uñachayiri', |
|
| 382 | - 'info_pixels' => 'píxeles', |
|
| 383 | - 'info_plusieurs_mots_trouves' => 'Walja imt’at arunak jiktan kunataki', |
|
| 384 | - 'info_portfolio_automatique' => 'Justup imañ q’ìpi', |
|
| 385 | - 'info_premier_resultat' => '[@debut_limit@ pnayraqat askichawinakat @total@]', |
|
| 386 | - 'info_premier_resultat_sur' => '[@debut_limit@ nayraqat askichawinakat @total@]', |
|
| 387 | - 'info_propose_1' => '[@nom_site_spip@] Amtata: @titre@', |
|
| 388 | - 'info_propose_2' => 'Amtat qillqatanak |
|
| 371 | + 'info_multilinguisme' => 'Walja arunaka', |
|
| 372 | + 'info_nom_non_utilisateurs_connectes' => 'Sutimax janiw uñstkiti jaqi tantanakan chinuta', |
|
| 373 | + 'info_nom_utilisateurs_connectes' => 'Sutimax uñstiw jaqi tantanakan chinuta', |
|
| 374 | + 'info_nombre_en_ligne' => 'Jichhax naktatawa', |
|
| 375 | + 'info_non_resultat' => 'Thaqawitaqix janiw askichawinak jikiskiti \\"@cherche_mot@\\"', |
|
| 376 | + 'info_non_utilisation_messagerie' => 'Manqhax yatiyaw jan apnaqaña.', |
|
| 377 | + 'info_nouveau_message' => '<b>¡Ma machaq yatiyawinitawa!</b>', |
|
| 378 | + 'info_nouveaux_messages' => 'Utjtam @total_messages@ machaq yatiyawinaka', |
|
| 379 | + 'info_numero_abbreviation' => 'N°', |
|
| 380 | + 'info_pense_bete' => 'Katxasiñatak amtayiri', |
|
| 381 | + 'info_petit_ecran' => 'Jisk’a uñachayiri', |
|
| 382 | + 'info_pixels' => 'píxeles', |
|
| 383 | + 'info_plusieurs_mots_trouves' => 'Walja imt’at arunak jiktan kunataki', |
|
| 384 | + 'info_portfolio_automatique' => 'Justup imañ q’ìpi', |
|
| 385 | + 'info_premier_resultat' => '[@debut_limit@ pnayraqat askichawinakat @total@]', |
|
| 386 | + 'info_premier_resultat_sur' => '[@debut_limit@ nayraqat askichawinakat @total@]', |
|
| 387 | + 'info_propose_1' => '[@nom_site_spip@] Amtata: @titre@', |
|
| 388 | + 'info_propose_2' => 'Amtat qillqatanak |
|
| 389 | 389 | -----------------', |
| 390 | - 'info_propose_3' => 'Qillqataxa \\"@titre@\\" amtatawa yatiyasiñapataki.', |
|
| 391 | - 'info_propose_4' => 'Jawsthapitataw jiskht’añataki ukhamarak arst’añataki', |
|
| 392 | - 'info_propose_5' => 'aruskipayirina. Utjawinx wakitaw:', |
|
| 393 | - 'info_publie_01' => 'Qillqatax \\"@titre@\\" iyaw sataxiw luririta @connect_nom@.', |
|
| 394 | - 'info_publie_1' => '[@nom_site_spip@] YATIYATA: @titre@', |
|
| 395 | - 'info_publie_2' => 'Qillqat yatiyata |
|
| 390 | + 'info_propose_3' => 'Qillqataxa \\"@titre@\\" amtatawa yatiyasiñapataki.', |
|
| 391 | + 'info_propose_4' => 'Jawsthapitataw jiskht’añataki ukhamarak arst’añataki', |
|
| 392 | + 'info_propose_5' => 'aruskipayirina. Utjawinx wakitaw:', |
|
| 393 | + 'info_publie_01' => 'Qillqatax \\"@titre@\\" iyaw sataxiw luririta @connect_nom@.', |
|
| 394 | + 'info_publie_1' => '[@nom_site_spip@] YATIYATA: @titre@', |
|
| 395 | + 'info_publie_2' => 'Qillqat yatiyata |
|
| 396 | 396 | ----------------', |
| 397 | - 'info_rechercher' => 'Thaqhaña', |
|
| 398 | - 'info_rechercher_02' => 'Thaqhaña', |
|
| 399 | - 'info_remplacer_vignette' => 'Nayrt’at jisk’a salta lantiñawa mä salta ajllitampi:', |
|
| 400 | - 'info_sans_titre_2' => 'Jan sutichawimpi', |
|
| 401 | - 'info_selectionner_fichier' => 'Jach’a q’ipitxa mä qillqa q’ip ajllismaw @upload@', |
|
| 402 | - 'info_selectionner_fichier_2' => 'Mä qillqa q’ipi ajlliña...', |
|
| 403 | - 'info_supprimer_vignette' => 'Aka salta apaqaña', |
|
| 404 | - 'info_symbole_bleu' => '<b>Laram</b> chimpux sañ muni sapa mayni amtawi mä amtawjamawa. ', |
|
| 405 | - 'info_symbole_jaune' => '<b>Q’illu</b> chimpux sañ muniwa taqinir yatiyañataki qamaw apnaqirinakakiw mayjt’ayi ukhamarak taqpach qillqirinakat qhana uñjataw.', |
|
| 406 | - 'info_symbole_vert' => '<b>Ch’uxña</b> chimpux turkat yatiyawinaka yaqha qamaw jaqinakamp uk uñachayi', |
|
| 407 | - 'info_telecharger_nouveau_logo' => 'Mä machaq uñachir chimpu apkataña:', |
|
| 408 | - 'info_telecharger_ordinateur' => 'Computaturamat apkataña:', |
|
| 409 | - 'info_tous_resultats_enregistres' => '[taqpach askichatawinak qillqatawa]', |
|
| 410 | - 'info_tout_afficher' => 'Taqpach uñachayaña', |
|
| 411 | - 'info_travaux_texte' => 'Aka qamawix janiraw kamachitakiti. Juk’amp nayraqatar kuttam.', |
|
| 412 | - 'info_travaux_titre' => 'Qamawix mayxt’ayataskiw', |
|
| 413 | - 'info_trop_resultat' => 'Thaqawitakix anchapuniw askichawinakax utji \\"@cherche_mot@\\". Amuyunak uñachayam.', |
|
| 414 | - 'info_utilisation_messagerie_interne' => 'Qamawit manqhax yatiyaw apnaqta.', |
|
| 415 | - 'info_valider_lien' => 'Aka chinu iyaw saña', |
|
| 416 | - 'info_verifier_image' => ', sumti saltanak inxtayapxi uk mayampi uñtam.', |
|
| 417 | - 'info_vignette_defaut' => 'Nayrt’at salta', |
|
| 418 | - 'info_vignette_personnalisee' => 'Kunamtix jumax jisk’a salt muntaxa', |
|
| 419 | - 'info_visite' => 'tumpawi:', |
|
| 420 | - 'info_vos_rendez_vous' => 'Aytatanakama', |
|
| 421 | - 'infos_vos_pense_bete' => 'Amtatanakama', # MODIF |
|
| 397 | + 'info_rechercher' => 'Thaqhaña', |
|
| 398 | + 'info_rechercher_02' => 'Thaqhaña', |
|
| 399 | + 'info_remplacer_vignette' => 'Nayrt’at jisk’a salta lantiñawa mä salta ajllitampi:', |
|
| 400 | + 'info_sans_titre_2' => 'Jan sutichawimpi', |
|
| 401 | + 'info_selectionner_fichier' => 'Jach’a q’ipitxa mä qillqa q’ip ajllismaw @upload@', |
|
| 402 | + 'info_selectionner_fichier_2' => 'Mä qillqa q’ipi ajlliña...', |
|
| 403 | + 'info_supprimer_vignette' => 'Aka salta apaqaña', |
|
| 404 | + 'info_symbole_bleu' => '<b>Laram</b> chimpux sañ muni sapa mayni amtawi mä amtawjamawa. ', |
|
| 405 | + 'info_symbole_jaune' => '<b>Q’illu</b> chimpux sañ muniwa taqinir yatiyañataki qamaw apnaqirinakakiw mayjt’ayi ukhamarak taqpach qillqirinakat qhana uñjataw.', |
|
| 406 | + 'info_symbole_vert' => '<b>Ch’uxña</b> chimpux turkat yatiyawinaka yaqha qamaw jaqinakamp uk uñachayi', |
|
| 407 | + 'info_telecharger_nouveau_logo' => 'Mä machaq uñachir chimpu apkataña:', |
|
| 408 | + 'info_telecharger_ordinateur' => 'Computaturamat apkataña:', |
|
| 409 | + 'info_tous_resultats_enregistres' => '[taqpach askichatawinak qillqatawa]', |
|
| 410 | + 'info_tout_afficher' => 'Taqpach uñachayaña', |
|
| 411 | + 'info_travaux_texte' => 'Aka qamawix janiraw kamachitakiti. Juk’amp nayraqatar kuttam.', |
|
| 412 | + 'info_travaux_titre' => 'Qamawix mayxt’ayataskiw', |
|
| 413 | + 'info_trop_resultat' => 'Thaqawitakix anchapuniw askichawinakax utji \\"@cherche_mot@\\". Amuyunak uñachayam.', |
|
| 414 | + 'info_utilisation_messagerie_interne' => 'Qamawit manqhax yatiyaw apnaqta.', |
|
| 415 | + 'info_valider_lien' => 'Aka chinu iyaw saña', |
|
| 416 | + 'info_verifier_image' => ', sumti saltanak inxtayapxi uk mayampi uñtam.', |
|
| 417 | + 'info_vignette_defaut' => 'Nayrt’at salta', |
|
| 418 | + 'info_vignette_personnalisee' => 'Kunamtix jumax jisk’a salt muntaxa', |
|
| 419 | + 'info_visite' => 'tumpawi:', |
|
| 420 | + 'info_vos_rendez_vous' => 'Aytatanakama', |
|
| 421 | + 'infos_vos_pense_bete' => 'Amtatanakama', # MODIF |
|
| 422 | 422 | |
| 423 | - // L |
|
| 424 | - 'lien_afficher_icones_seuls' => 'Jisk’a saltanakak uñachayaña', |
|
| 425 | - 'lien_afficher_texte_icones' => 'Jisk’a saltanakampi sawutanakampi uñachayaña', |
|
| 426 | - 'lien_afficher_texte_seul' => 'Sawuk uñachayaña', |
|
| 427 | - 'lien_liberer' => 'Antutjaña', |
|
| 428 | - 'lien_liberer_tous' => 'aka qillqatanak antutjaña', # MODIF |
|
| 429 | - 'lien_nouvea_pense_bete' => 'Machaq amtawirinaka', |
|
| 430 | - 'lien_nouveau_message' => 'Machaq yatiyawi', |
|
| 431 | - 'lien_nouvelle_annonce' => 'Machaq yatiyawi', |
|
| 432 | - 'lien_petitions' => 'Mayiwi', |
|
| 433 | - 'lien_popularite' => 'Juk’amp tumpata: @popularite@%', |
|
| 434 | - 'lien_racine_site' => 'Qamaw qalltawi', |
|
| 435 | - 'lien_reessayer' => 'mayamp yant’aña', |
|
| 436 | - 'lien_repondre_message' => 'Aka yatiyawir jaysaña', |
|
| 437 | - 'lien_supprimer' => 'Apaqaña', |
|
| 438 | - 'lien_tout_afficher' => 'Taqpach uñachayaña', |
|
| 439 | - 'lien_visite_site' => 'Aka qamaw tumpaña', |
|
| 440 | - 'lien_visites' => '@visites@ tumpawinaka.', |
|
| 441 | - 'lien_voir_auteur' => 'Aka qillqir uñjaña', |
|
| 442 | - 'ligne' => 'Naktawi', |
|
| 443 | - 'login_acces_prive' => 'ch’usawx jark’at mantawi', |
|
| 444 | - 'login_autre_identifiant' => 'yaqha sutimpi yatiyt’asiña', |
|
| 445 | - 'login_cookie_accepte' => 'Iyaw sañapatakix tuyuri kamachim (aka qamawitaki).', |
|
| 446 | - 'login_cookie_oblige' => 'Aka qamawin uñt’ayasiñatakix, iyaw sañamaw \\"cookies\\" ukanakaru.', |
|
| 447 | - 'login_deconnexion_ok' => 'Jan yatiyt’ir lurata.', |
|
| 448 | - 'login_erreur_pass' => 'Imt’aw pantjata.', |
|
| 449 | - 'login_espace_prive' => 'ch’usawx jark’ata', |
|
| 450 | - 'login_identifiant_inconnu' => 'Apnaqirin sutipa «@login@» janiw uñt’atakiti.', |
|
| 451 | - 'login_login' => 'Apnaqirin sutipa:', |
|
| 452 | - 'login_login2' => 'Qalltawi (qamawir yatiyt’asiñataki apnaqirin sutipa):', # MODIF |
|
| 453 | - 'login_login_pass_incorrect' => '(Apnaqirin sutipach imt’at jan wali.)', |
|
| 454 | - 'login_motpasseoublie' => '¿imt’aw armata?', |
|
| 455 | - 'login_non_securise' => 'Amuyam, aka phuqañ laphix janiw sum imatakiti. Janitix imt’atamx katuntat red ukan munktax, naktayam JavaScript en tu navegador y ', |
|
| 456 | - 'login_nouvelle_tentative' => 'Mayamp yant’awi', |
|
| 457 | - 'login_par_ici' => 'Akhanakan qillqatatawa...', |
|
| 458 | - 'login_pass2' => 'Imt’awi:', |
|
| 459 | - 'login_preferez_refuser' => '<b>Janitix munktaxa \\"cookies\\"</b>, yaqha chinuwit thakhi (jan sum jark’ata) ukax jumataxiw:', |
|
| 460 | - 'login_recharger' => 'Aka laphi uñnaq phuqantaskakiña', |
|
| 461 | - 'login_rester_identifie' => 'Mä qawqha urunak uñt’ayasiña', # MODIF |
|
| 462 | - 'login_retour_public' => 'Jach’a qamaw utar kuttaña', |
|
| 463 | - 'login_retour_site' => 'Jach’a qamaw utar kuttaña', |
|
| 464 | - 'login_retoursitepublic' => 'jach’a qamaw uta', |
|
| 465 | - 'login_sinscrire' => 'qillqayasiña', |
|
| 466 | - 'login_test_navigateur' => 'tuyur yant’a/mayamp yatiyt’awi', |
|
| 467 | - 'login_verifiez_navigateur' => '(Tuyurimax janiw imt’atam sum katkiti uk qhanstayam...)', |
|
| 423 | + // L |
|
| 424 | + 'lien_afficher_icones_seuls' => 'Jisk’a saltanakak uñachayaña', |
|
| 425 | + 'lien_afficher_texte_icones' => 'Jisk’a saltanakampi sawutanakampi uñachayaña', |
|
| 426 | + 'lien_afficher_texte_seul' => 'Sawuk uñachayaña', |
|
| 427 | + 'lien_liberer' => 'Antutjaña', |
|
| 428 | + 'lien_liberer_tous' => 'aka qillqatanak antutjaña', # MODIF |
|
| 429 | + 'lien_nouvea_pense_bete' => 'Machaq amtawirinaka', |
|
| 430 | + 'lien_nouveau_message' => 'Machaq yatiyawi', |
|
| 431 | + 'lien_nouvelle_annonce' => 'Machaq yatiyawi', |
|
| 432 | + 'lien_petitions' => 'Mayiwi', |
|
| 433 | + 'lien_popularite' => 'Juk’amp tumpata: @popularite@%', |
|
| 434 | + 'lien_racine_site' => 'Qamaw qalltawi', |
|
| 435 | + 'lien_reessayer' => 'mayamp yant’aña', |
|
| 436 | + 'lien_repondre_message' => 'Aka yatiyawir jaysaña', |
|
| 437 | + 'lien_supprimer' => 'Apaqaña', |
|
| 438 | + 'lien_tout_afficher' => 'Taqpach uñachayaña', |
|
| 439 | + 'lien_visite_site' => 'Aka qamaw tumpaña', |
|
| 440 | + 'lien_visites' => '@visites@ tumpawinaka.', |
|
| 441 | + 'lien_voir_auteur' => 'Aka qillqir uñjaña', |
|
| 442 | + 'ligne' => 'Naktawi', |
|
| 443 | + 'login_acces_prive' => 'ch’usawx jark’at mantawi', |
|
| 444 | + 'login_autre_identifiant' => 'yaqha sutimpi yatiyt’asiña', |
|
| 445 | + 'login_cookie_accepte' => 'Iyaw sañapatakix tuyuri kamachim (aka qamawitaki).', |
|
| 446 | + 'login_cookie_oblige' => 'Aka qamawin uñt’ayasiñatakix, iyaw sañamaw \\"cookies\\" ukanakaru.', |
|
| 447 | + 'login_deconnexion_ok' => 'Jan yatiyt’ir lurata.', |
|
| 448 | + 'login_erreur_pass' => 'Imt’aw pantjata.', |
|
| 449 | + 'login_espace_prive' => 'ch’usawx jark’ata', |
|
| 450 | + 'login_identifiant_inconnu' => 'Apnaqirin sutipa «@login@» janiw uñt’atakiti.', |
|
| 451 | + 'login_login' => 'Apnaqirin sutipa:', |
|
| 452 | + 'login_login2' => 'Qalltawi (qamawir yatiyt’asiñataki apnaqirin sutipa):', # MODIF |
|
| 453 | + 'login_login_pass_incorrect' => '(Apnaqirin sutipach imt’at jan wali.)', |
|
| 454 | + 'login_motpasseoublie' => '¿imt’aw armata?', |
|
| 455 | + 'login_non_securise' => 'Amuyam, aka phuqañ laphix janiw sum imatakiti. Janitix imt’atamx katuntat red ukan munktax, naktayam JavaScript en tu navegador y ', |
|
| 456 | + 'login_nouvelle_tentative' => 'Mayamp yant’awi', |
|
| 457 | + 'login_par_ici' => 'Akhanakan qillqatatawa...', |
|
| 458 | + 'login_pass2' => 'Imt’awi:', |
|
| 459 | + 'login_preferez_refuser' => '<b>Janitix munktaxa \\"cookies\\"</b>, yaqha chinuwit thakhi (jan sum jark’ata) ukax jumataxiw:', |
|
| 460 | + 'login_recharger' => 'Aka laphi uñnaq phuqantaskakiña', |
|
| 461 | + 'login_rester_identifie' => 'Mä qawqha urunak uñt’ayasiña', # MODIF |
|
| 462 | + 'login_retour_public' => 'Jach’a qamaw utar kuttaña', |
|
| 463 | + 'login_retour_site' => 'Jach’a qamaw utar kuttaña', |
|
| 464 | + 'login_retoursitepublic' => 'jach’a qamaw uta', |
|
| 465 | + 'login_sinscrire' => 'qillqayasiña', |
|
| 466 | + 'login_test_navigateur' => 'tuyur yant’a/mayamp yatiyt’awi', |
|
| 467 | + 'login_verifiez_navigateur' => '(Tuyurimax janiw imt’atam sum katkiti uk qhanstayam...)', |
|
| 468 | 468 | |
| 469 | - // M |
|
| 470 | - 'masquer_trad' => 'Jaqukipawinak imt’aña', |
|
| 471 | - 'module_fichiers_langues' => 'Aru q’ipinaka', |
|
| 469 | + // M |
|
| 470 | + 'masquer_trad' => 'Jaqukipawinak imt’aña', |
|
| 471 | + 'module_fichiers_langues' => 'Aru q’ipinaka', |
|
| 472 | 472 | |
| 473 | - // N |
|
| 474 | - 'navigateur_pas_redirige' => 'Janitix tuyurimax justupak chiqañchkitix, akjawx limt’am sarantaskakiñataki.', |
|
| 475 | - 'numero' => 'Jakhuwi', |
|
| 473 | + // N |
|
| 474 | + 'navigateur_pas_redirige' => 'Janitix tuyurimax justupak chiqañchkitix, akjawx limt’am sarantaskakiñataki.', |
|
| 475 | + 'numero' => 'Jakhuwi', |
|
| 476 | 476 | |
| 477 | - // O |
|
| 478 | - 'occurence' => 'Amuyuwi', |
|
| 479 | - 'onglet_affacer_base' => 'Yatqalltaw chhaqayaña', |
|
| 480 | - 'onglet_auteur' => 'Qillqiri', |
|
| 481 | - 'onglet_contenu_site' => 'Qamawin utjirinaka', |
|
| 482 | - 'onglet_evolution_visite_mod' => 'Mayjt’awi', |
|
| 483 | - 'onglet_fonctions_avances' => 'Yatichsuwinak nayrt’ata', |
|
| 484 | - 'onglet_informations_personnelles' => 'Sapa maynit yatiyawinakapa', |
|
| 485 | - 'onglet_interactivite' => 'Aruskipayiri', |
|
| 486 | - 'onglet_messagerie' => 'Yatiyawiri', |
|
| 487 | - 'onglet_repartition_rubrique' => 'T’aqat t’aqat jalja', |
|
| 488 | - 'onglet_save_restaur_base' => 'Yanapat qillqaqa ukhamarak yatqalltawit sumachawi', |
|
| 489 | - 'onglet_vider_cache' => 'Caché ukax ch’usayaña', |
|
| 477 | + // O |
|
| 478 | + 'occurence' => 'Amuyuwi', |
|
| 479 | + 'onglet_affacer_base' => 'Yatqalltaw chhaqayaña', |
|
| 480 | + 'onglet_auteur' => 'Qillqiri', |
|
| 481 | + 'onglet_contenu_site' => 'Qamawin utjirinaka', |
|
| 482 | + 'onglet_evolution_visite_mod' => 'Mayjt’awi', |
|
| 483 | + 'onglet_fonctions_avances' => 'Yatichsuwinak nayrt’ata', |
|
| 484 | + 'onglet_informations_personnelles' => 'Sapa maynit yatiyawinakapa', |
|
| 485 | + 'onglet_interactivite' => 'Aruskipayiri', |
|
| 486 | + 'onglet_messagerie' => 'Yatiyawiri', |
|
| 487 | + 'onglet_repartition_rubrique' => 'T’aqat t’aqat jalja', |
|
| 488 | + 'onglet_save_restaur_base' => 'Yanapat qillqaqa ukhamarak yatqalltawit sumachawi', |
|
| 489 | + 'onglet_vider_cache' => 'Caché ukax ch’usayaña', |
|
| 490 | 490 | |
| 491 | - // P |
|
| 492 | - 'pass_choix_pass' => 'Machaq imt’awim ajllima:', |
|
| 493 | - 'pass_erreur' => 'Pantjata', |
|
| 494 | - 'pass_erreur_acces_refuse' => '<b>Error:</b> aka qamawir janiw mantawimx utjiti ', |
|
| 495 | - 'pass_erreur_code_inconnu' => '<b>Error:</b> aka chimpux janiw ni khiti aka qamawir mantawimp tumpirinkiti.', |
|
| 496 | - 'pass_erreur_non_enregistre' => '<b>Error:</b> utjawixa <tt>@email_oubli@</tt> aka qamawinx janiw qillqatakiti.', |
|
| 497 | - 'pass_erreur_non_valide' => '<b>Error:</b> aka utjawix <tt>@email_oubli@</tt> janiw iyaw satakiti', |
|
| 498 | - 'pass_erreur_probleme_technique' => '<b>Pantjata:</b> mä jan wali utjkipana, ukat janiw yatiyawix apayasiñ puyriskiti. |
|
| 491 | + // P |
|
| 492 | + 'pass_choix_pass' => 'Machaq imt’awim ajllima:', |
|
| 493 | + 'pass_erreur' => 'Pantjata', |
|
| 494 | + 'pass_erreur_acces_refuse' => '<b>Error:</b> aka qamawir janiw mantawimx utjiti ', |
|
| 495 | + 'pass_erreur_code_inconnu' => '<b>Error:</b> aka chimpux janiw ni khiti aka qamawir mantawimp tumpirinkiti.', |
|
| 496 | + 'pass_erreur_non_enregistre' => '<b>Error:</b> utjawixa <tt>@email_oubli@</tt> aka qamawinx janiw qillqatakiti.', |
|
| 497 | + 'pass_erreur_non_valide' => '<b>Error:</b> aka utjawix <tt>@email_oubli@</tt> janiw iyaw satakiti', |
|
| 498 | + 'pass_erreur_probleme_technique' => '<b>Pantjata:</b> mä jan wali utjkipana, ukat janiw yatiyawix apayasiñ puyriskiti. |
|
| 499 | 499 | |
| 500 | 500 | ', |
| 501 | - 'pass_espace_prive_bla' => 'Aka qamawinx ch’usawx jark’atax jist’aratawa, mä qillqawi ukhamata. Qillqataxtaxa ukjax yatxatasmaw qillqatanakax qillqasiski ukanaka, qillqatanak amtaña ukhamarak taqi aruskipañanakan arsusiñamaw.', |
|
| 502 | - 'pass_forum_bla' => 'Mä aruskipañan qillqat jaqinakampi jupanakampiki ukan arsusiñ mayistawa.', |
|
| 503 | - 'pass_indiquez_cidessous' => 'Ukatxa aruskipayirin utjawip kuna sutimpis nayraqatax qillqayasta uk uñachayam. Mä yatiyaw qatuqata kunamtix mantawjam kutiqayasita uka.', |
|
| 504 | - 'pass_mail_passcookie' => '(Akax mä justup qamawiwa) Qamawir mantawx kutiqayasiñatakix @nom_site_spip@ (@adresse_site@) arkir utjawir saraña: @sendcookie@ Ukar mä machaq imt’aw jumaw uskusma ukatxa mayamp qamawir chinusita.', |
|
| 505 | - 'pass_mot_oublie' => 'Imt’aw armata', |
|
| 506 | - 'pass_nouveau_enregistre' => 'Machaq imt’awimax qillqatawa.', |
|
| 507 | - 'pass_nouveau_pass' => 'Machaq imt’awi', |
|
| 508 | - 'pass_ok' => 'Waliki', |
|
| 509 | - 'pass_oubli_mot' => 'Imt’aw armata', |
|
| 510 | - 'pass_quitter_fenetre' => 'Aka wintan jaytanukuña', |
|
| 511 | - 'pass_rappel_login' => 'Amtam: apnaqirit sutimax (login) «@login@».', |
|
| 512 | - 'pass_recevoir_mail' => 'Aruskipayirit mä yatiyaw qatuqata kunjams mantwj qamawir kutiqayata.', # MODIF |
|
| 513 | - 'pass_retour_public' => 'Jach’a qamaw utar kuttaña', |
|
| 514 | - 'pass_rien_a_faire_ici' => 'Akjan janiw kuna lurañas utjkiti.', |
|
| 515 | - 'pass_vousinscrire' => 'Aka qamawin qillqayasiña', |
|
| 516 | - 'precedent' => 'nayrt’ata', |
|
| 517 | - 'previsualisation' => 'Nayrt’at uñjat |
|
| 501 | + 'pass_espace_prive_bla' => 'Aka qamawinx ch’usawx jark’atax jist’aratawa, mä qillqawi ukhamata. Qillqataxtaxa ukjax yatxatasmaw qillqatanakax qillqasiski ukanaka, qillqatanak amtaña ukhamarak taqi aruskipañanakan arsusiñamaw.', |
|
| 502 | + 'pass_forum_bla' => 'Mä aruskipañan qillqat jaqinakampi jupanakampiki ukan arsusiñ mayistawa.', |
|
| 503 | + 'pass_indiquez_cidessous' => 'Ukatxa aruskipayirin utjawip kuna sutimpis nayraqatax qillqayasta uk uñachayam. Mä yatiyaw qatuqata kunamtix mantawjam kutiqayasita uka.', |
|
| 504 | + 'pass_mail_passcookie' => '(Akax mä justup qamawiwa) Qamawir mantawx kutiqayasiñatakix @nom_site_spip@ (@adresse_site@) arkir utjawir saraña: @sendcookie@ Ukar mä machaq imt’aw jumaw uskusma ukatxa mayamp qamawir chinusita.', |
|
| 505 | + 'pass_mot_oublie' => 'Imt’aw armata', |
|
| 506 | + 'pass_nouveau_enregistre' => 'Machaq imt’awimax qillqatawa.', |
|
| 507 | + 'pass_nouveau_pass' => 'Machaq imt’awi', |
|
| 508 | + 'pass_ok' => 'Waliki', |
|
| 509 | + 'pass_oubli_mot' => 'Imt’aw armata', |
|
| 510 | + 'pass_quitter_fenetre' => 'Aka wintan jaytanukuña', |
|
| 511 | + 'pass_rappel_login' => 'Amtam: apnaqirit sutimax (login) «@login@».', |
|
| 512 | + 'pass_recevoir_mail' => 'Aruskipayirit mä yatiyaw qatuqata kunjams mantwj qamawir kutiqayata.', # MODIF |
|
| 513 | + 'pass_retour_public' => 'Jach’a qamaw utar kuttaña', |
|
| 514 | + 'pass_rien_a_faire_ici' => 'Akjan janiw kuna lurañas utjkiti.', |
|
| 515 | + 'pass_vousinscrire' => 'Aka qamawin qillqayasiña', |
|
| 516 | + 'precedent' => 'nayrt’ata', |
|
| 517 | + 'previsualisation' => 'Nayrt’at uñjat |
|
| 518 | 518 | ', |
| 519 | - 'previsualiser' => 'Nayt’at uñjaña', |
|
| 519 | + 'previsualiser' => 'Nayt’at uñjaña', |
|
| 520 | 520 | |
| 521 | - // S |
|
| 522 | - 'spip_conforme_dtd' => 'SPIP ukax aka qillqa q’ip kipkakikix DOCTYPE ukhama amuyi:', |
|
| 523 | - 'squelette' => 'ch’akha ch’akha', |
|
| 524 | - 'squelette_inclus_ligne' => 'aka ch’akha ch’akha apkataña, naktawi', |
|
| 525 | - 'squelette_ligne' => 'ch’akha ch’akha, naktawi', |
|
| 526 | - 'stats_visites_et_popularite' => '@visites@ tumpatanaka; juk’amp tumpata: @popularite@ ', |
|
| 527 | - 'suivant' => 'arkiri', |
|
| 521 | + // S |
|
| 522 | + 'spip_conforme_dtd' => 'SPIP ukax aka qillqa q’ip kipkakikix DOCTYPE ukhama amuyi:', |
|
| 523 | + 'squelette' => 'ch’akha ch’akha', |
|
| 524 | + 'squelette_inclus_ligne' => 'aka ch’akha ch’akha apkataña, naktawi', |
|
| 525 | + 'squelette_ligne' => 'ch’akha ch’akha, naktawi', |
|
| 526 | + 'stats_visites_et_popularite' => '@visites@ tumpatanaka; juk’amp tumpata: @popularite@ ', |
|
| 527 | + 'suivant' => 'arkiri', |
|
| 528 | 528 | |
| 529 | - // T |
|
| 530 | - 'taille_ko' => '@taille@ KB', |
|
| 531 | - 'taille_mo' => '@taille@ MB', |
|
| 532 | - 'taille_octets' => '@taille@ bytes', |
|
| 533 | - 'texte_actualite_site_1' => 'Ajanu ukamp yatistax ukjax, Ukjan limt’am «', |
|
| 534 | - 'texte_actualite_site_2' => 'ajan phuqata', |
|
| 535 | - 'texte_actualite_site_3' => '» kunans juk’amp lurasispa.', |
|
| 536 | - 'texte_creation_automatique_vignette' => 'Aka qamawix iyaw sï jisk’a saltanak justupak uñstayañataki kunamti utt’ayat ukjama: |
|
| 529 | + // T |
|
| 530 | + 'taille_ko' => '@taille@ KB', |
|
| 531 | + 'taille_mo' => '@taille@ MB', |
|
| 532 | + 'taille_octets' => '@taille@ bytes', |
|
| 533 | + 'texte_actualite_site_1' => 'Ajanu ukamp yatistax ukjax, Ukjan limt’am «', |
|
| 534 | + 'texte_actualite_site_2' => 'ajan phuqata', |
|
| 535 | + 'texte_actualite_site_3' => '» kunans juk’amp lurasispa.', |
|
| 536 | + 'texte_creation_automatique_vignette' => 'Aka qamawix iyaw sï jisk’a saltanak justupak uñstayañataki kunamti utt’ayat ukjama: |
|
| 537 | 537 | @gd_formats@. Saltanak uchantkatax ukanakxa aka phuqañ laphimpi jisk’a salta @taille_preview@ píxeles ukaniniwa.', |
| 538 | - 'texte_documents_associes' => 'Arkir qillqa q’ipinakaxa q’ipir mayachatawa, ukhamarusa janiw chiqaq uchantaskiti. Kunamtix jach’a qamawix utt’ayat ukhama, Qillqa q’ipinak apkatatjam ukham uñstanipxaspa.', |
|
| 539 | - 'texte_erreur_mise_niveau_base' => 'Yatiyawinakat pirwax pantjawi utji jichhakiskapki ukja. Saltaxa <b>@fichier@</b> janiw paskiti (qillqata @id_article@). Aka aytat qillqt’am mayampi jichhakiptaña yant’am ukat mayamp uñjam qillqatanakan saltax uñstki uka.', |
|
| 540 | - 'texte_erreur_visiteur' => 'Ch’usawx jark’ataru mä uñacht’ayirimp janiw sï ukampi mantañ yant’a.', |
|
| 541 | - 'texte_inc_auth_1' => 'Uñacht’ayastati login ukampi <b>@auth_login@</b>, ukhamarus akax janiw yatiyawin utjkiti. Mayamp yant’am', |
|
| 542 | - 'texte_inc_auth_2' => 'mayamp chinusim', |
|
| 543 | - 'texte_inc_auth_3' => ', janiw wiñayataki jist’antasinxa ukhamarki mayampi tuyurima qalltasina.', |
|
| 544 | - 'texte_inc_config' => 'Aka laphi uñnaqanakanja mayjt’awinakanxa qamawiman lurawipa amtayiwa. Janir uñtkasa iwxapsmawa jan arsuña apnaqawin lurawipampi SPIP.<br /><br /><b>Más ámpliamente, se recomienda vivamente dejar la gestión de estas páginas al o a la webmestre principal del sitio.</b> ', |
|
| 545 | - 'texte_inc_meta_1' => 'Mä pantjawiw qillqat q’ipita apnaqawix jikitayna<code>@fichier@</code>. Qamawit apnaqiri, ukham luraña.', |
|
| 546 | - 'texte_inc_meta_2' => 'qillqat iyawsanak mayamp uñtaña', |
|
| 547 | - 'texte_inc_meta_3' => 'Jach’a q’ipitxa <code>@repertoire@</code>.', |
|
| 548 | - 'texte_statut_en_cours_redaction' => 'Qillqasiskiwa', |
|
| 549 | - 'texte_statut_poubelle' => 'Wayaqaru', |
|
| 550 | - 'texte_statut_propose_evaluation' => 'Arusthapiwir amtata', |
|
| 551 | - 'texte_statut_publie' => 'Yatiyata', |
|
| 552 | - 'texte_statut_refuse' => 'Janiw sata', |
|
| 553 | - 'titre_ajouter_mot_cle' => 'Mä imt’at aru yapt’aña', |
|
| 554 | - 'titre_cadre_raccourcis' => 'Jisk’a thakinaka...', |
|
| 555 | - 'titre_changer_couleur_interface' => 'Ajanut kulur turkaña', |
|
| 556 | - 'titre_image_admin_article' => 'Aka qillqat apnaqasmaw', |
|
| 557 | - 'titre_image_administrateur' => 'Apnaqiri', |
|
| 558 | - 'titre_image_aide' => 'Akar yanapam', |
|
| 559 | - 'titre_image_auteur_supprime' => 'Qillqir apaqata', |
|
| 560 | - 'titre_image_redacteur' => 'Qillqir jan mantawimpi', |
|
| 561 | - 'titre_image_redacteur_02' => 'Qillqiri', |
|
| 562 | - 'titre_image_visiteur' => 'Tumpiri', |
|
| 563 | - 'titre_joindre_document' => 'Mä qillqa q’ip yapayaña', |
|
| 564 | - 'titre_mots_cles' => 'Imt’at aru', |
|
| 565 | - 'titre_probleme_technique' => 'UÑJAM: Mä jan waliw utji (jalanuqiri MySQL) janiw aka qamawir mantaykiti', |
|
| 566 | - 'titre_publier_document' => 'AKA T’AQAN MÄ QILLQA Q’IP YATIYAÑA', |
|
| 567 | - 'titre_statistiques' => 'Qamawit tantiyir', |
|
| 568 | - 'titre_titre_document' => 'Qillqa q’ipin sutinchawi', |
|
| 569 | - 'trad_reference' => '(aytat q’ipi)', # MODIF |
|
| 538 | + 'texte_documents_associes' => 'Arkir qillqa q’ipinakaxa q’ipir mayachatawa, ukhamarusa janiw chiqaq uchantaskiti. Kunamtix jach’a qamawix utt’ayat ukhama, Qillqa q’ipinak apkatatjam ukham uñstanipxaspa.', |
|
| 539 | + 'texte_erreur_mise_niveau_base' => 'Yatiyawinakat pirwax pantjawi utji jichhakiskapki ukja. Saltaxa <b>@fichier@</b> janiw paskiti (qillqata @id_article@). Aka aytat qillqt’am mayampi jichhakiptaña yant’am ukat mayamp uñjam qillqatanakan saltax uñstki uka.', |
|
| 540 | + 'texte_erreur_visiteur' => 'Ch’usawx jark’ataru mä uñacht’ayirimp janiw sï ukampi mantañ yant’a.', |
|
| 541 | + 'texte_inc_auth_1' => 'Uñacht’ayastati login ukampi <b>@auth_login@</b>, ukhamarus akax janiw yatiyawin utjkiti. Mayamp yant’am', |
|
| 542 | + 'texte_inc_auth_2' => 'mayamp chinusim', |
|
| 543 | + 'texte_inc_auth_3' => ', janiw wiñayataki jist’antasinxa ukhamarki mayampi tuyurima qalltasina.', |
|
| 544 | + 'texte_inc_config' => 'Aka laphi uñnaqanakanja mayjt’awinakanxa qamawiman lurawipa amtayiwa. Janir uñtkasa iwxapsmawa jan arsuña apnaqawin lurawipampi SPIP.<br /><br /><b>Más ámpliamente, se recomienda vivamente dejar la gestión de estas páginas al o a la webmestre principal del sitio.</b> ', |
|
| 545 | + 'texte_inc_meta_1' => 'Mä pantjawiw qillqat q’ipita apnaqawix jikitayna<code>@fichier@</code>. Qamawit apnaqiri, ukham luraña.', |
|
| 546 | + 'texte_inc_meta_2' => 'qillqat iyawsanak mayamp uñtaña', |
|
| 547 | + 'texte_inc_meta_3' => 'Jach’a q’ipitxa <code>@repertoire@</code>.', |
|
| 548 | + 'texte_statut_en_cours_redaction' => 'Qillqasiskiwa', |
|
| 549 | + 'texte_statut_poubelle' => 'Wayaqaru', |
|
| 550 | + 'texte_statut_propose_evaluation' => 'Arusthapiwir amtata', |
|
| 551 | + 'texte_statut_publie' => 'Yatiyata', |
|
| 552 | + 'texte_statut_refuse' => 'Janiw sata', |
|
| 553 | + 'titre_ajouter_mot_cle' => 'Mä imt’at aru yapt’aña', |
|
| 554 | + 'titre_cadre_raccourcis' => 'Jisk’a thakinaka...', |
|
| 555 | + 'titre_changer_couleur_interface' => 'Ajanut kulur turkaña', |
|
| 556 | + 'titre_image_admin_article' => 'Aka qillqat apnaqasmaw', |
|
| 557 | + 'titre_image_administrateur' => 'Apnaqiri', |
|
| 558 | + 'titre_image_aide' => 'Akar yanapam', |
|
| 559 | + 'titre_image_auteur_supprime' => 'Qillqir apaqata', |
|
| 560 | + 'titre_image_redacteur' => 'Qillqir jan mantawimpi', |
|
| 561 | + 'titre_image_redacteur_02' => 'Qillqiri', |
|
| 562 | + 'titre_image_visiteur' => 'Tumpiri', |
|
| 563 | + 'titre_joindre_document' => 'Mä qillqa q’ip yapayaña', |
|
| 564 | + 'titre_mots_cles' => 'Imt’at aru', |
|
| 565 | + 'titre_probleme_technique' => 'UÑJAM: Mä jan waliw utji (jalanuqiri MySQL) janiw aka qamawir mantaykiti', |
|
| 566 | + 'titre_publier_document' => 'AKA T’AQAN MÄ QILLQA Q’IP YATIYAÑA', |
|
| 567 | + 'titre_statistiques' => 'Qamawit tantiyir', |
|
| 568 | + 'titre_titre_document' => 'Qillqa q’ipin sutinchawi', |
|
| 569 | + 'trad_reference' => '(aytat q’ipi)', # MODIF |
|
| 570 | 570 | |
| 571 | - // Z |
|
| 572 | - 'zbug_balise_b_aval' => ': bucle B chimputa juk’amp nayraru', |
|
| 573 | - 'zbug_balise_inexistante' => 'error @from@: la baliza #@balise@ no existe', # MODIF |
|
| 574 | - 'zbug_boucle' => 'bucle', |
|
| 575 | - 'zbug_boucle_recursive_undef' => 'Bucle ukax maypamp mayampi jan uñacht’ayata', # MODIF |
|
| 576 | - 'zbug_champ_hors_boucle' => 'Uka chiqar @champ@ bucle anqata', |
|
| 577 | - 'zbug_champ_hors_motif' => 'Uka chiqaru @champ@ anqat bucle ukata @motif@', # MODIF |
|
| 578 | - 'zbug_code' => 'chimpu', |
|
| 579 | - 'zbug_critere_inconnu' => 'amuy jan uñt’ata @critere@ ', # MODIF |
|
| 580 | - 'zbug_distant_interdit' => 'anqax jark’ata', # MODIF |
|
| 581 | - 'zbug_doublon_table_sans_cle_primaire' => 'repetidos en una tabla sin clave primaria simple', # MODIF |
|
| 582 | - 'zbug_doublon_table_sans_index' => 'payacht’awinakaw utji mä uyu uyun jan utjawimpi', # MODIF |
|
| 583 | - 'zbug_erreur_boucle_double' => 'BOUCLE@id@: pä arusthapiwi', # MODIF |
|
| 584 | - 'zbug_erreur_boucle_fermant' => 'BOUCLE@id@: jist’antat chimpux janiw utjkiti', # MODIF |
|
| 585 | - 'zbug_erreur_boucle_syntaxe' => 'Kamachix bucle ukata pantjatawa', # MODIF |
|
| 586 | - 'zbug_erreur_compilation' => 'Mayachawit pantjata', |
|
| 587 | - 'zbug_erreur_execution_page' => 'pantja lurawi laphi uñnaqata', # MODIF |
|
| 588 | - 'zbug_erreur_filtre' => 'Pantja: filtru <b>« @filtre@ »</b> jani arusthapita', # MODIF |
|
| 589 | - 'zbug_erreur_meme_parent' => '{meme_parent} bucles ukanakaruki lurasi (FORUMS) jan ukjax (RUBRIQUES)', # MODIF |
|
| 590 | - 'zbug_erreur_squelette' => 'Ch’akha ch’akhan panjanaka', |
|
| 591 | - 'zbug_info_erreur_squelette' => 'Qamawin pantja', |
|
| 592 | - 'zbug_inversion_ordre_inexistant' => 'jan utjkiri kamachitathijrawi', # MODIF |
|
| 593 | - 'zbug_pagination_sans_critere' => '#PAGINATION jan amuyumpi {pagination}mä bucle mayamp mayampi apnaqata ', # MODIF |
|
| 594 | - 'zbug_parametres_inclus_incorrects' => 'Apkatatawit tantiyata pantjatanaka', # MODIF |
|
| 595 | - 'zbug_resultat' => 'askichawita', |
|
| 596 | - 'zbug_serveur_indefini' => 'jalanuqiri SQL jan arusthapita', # MODIF |
|
| 597 | - 'zbug_table_inconnue' => 'Uyu uyu SQL «@table@» jan uñt’at', |
|
| 598 | - 'zxml_connus_attributs' => 'Jan uñt’atanak uñtawinaka', |
|
| 599 | - 'zxml_de' => 'ukata', |
|
| 600 | - 'zxml_inconnu_attribut' => 'Jan uñt’atanak uñtawinaka', |
|
| 601 | - 'zxml_inconnu_balise' => 'Jan uñt’at chimpu', |
|
| 602 | - 'zxml_inconnu_entite' => 'Jan uñt’at tama ', |
|
| 603 | - 'zxml_inconnu_id' => 'ID jan uñt’ata', |
|
| 604 | - 'zxml_mais_de' => 'ukhamata ', |
|
| 605 | - 'zxml_non_conforme' => 'kun yanas janiw askikiti ', |
|
| 606 | - 'zxml_non_fils' => 'Janiw wawapakiti ', |
|
| 607 | - 'zxml_nonvide_balise' => 'jan ch’usa chimpu', |
|
| 608 | - 'zxml_obligatoire_attribut' => 'uñt’awpini ukhamarusa chhaqhatawa ', |
|
| 609 | - 'zxml_succession_fils_incorrecte' => 'yuqanakat panjawi sullka t’aqa', |
|
| 610 | - 'zxml_survoler' => 'akar pasaña walik qillqatanak uñjañataki', |
|
| 611 | - 'zxml_valeur_attribut' => 'uñt’awi', |
|
| 612 | - 'zxml_vide_balise' => 'ch’usa chimpu', |
|
| 613 | - 'zxml_vu' => 'nayra uñjata ' |
|
| 571 | + // Z |
|
| 572 | + 'zbug_balise_b_aval' => ': bucle B chimputa juk’amp nayraru', |
|
| 573 | + 'zbug_balise_inexistante' => 'error @from@: la baliza #@balise@ no existe', # MODIF |
|
| 574 | + 'zbug_boucle' => 'bucle', |
|
| 575 | + 'zbug_boucle_recursive_undef' => 'Bucle ukax maypamp mayampi jan uñacht’ayata', # MODIF |
|
| 576 | + 'zbug_champ_hors_boucle' => 'Uka chiqar @champ@ bucle anqata', |
|
| 577 | + 'zbug_champ_hors_motif' => 'Uka chiqaru @champ@ anqat bucle ukata @motif@', # MODIF |
|
| 578 | + 'zbug_code' => 'chimpu', |
|
| 579 | + 'zbug_critere_inconnu' => 'amuy jan uñt’ata @critere@ ', # MODIF |
|
| 580 | + 'zbug_distant_interdit' => 'anqax jark’ata', # MODIF |
|
| 581 | + 'zbug_doublon_table_sans_cle_primaire' => 'repetidos en una tabla sin clave primaria simple', # MODIF |
|
| 582 | + 'zbug_doublon_table_sans_index' => 'payacht’awinakaw utji mä uyu uyun jan utjawimpi', # MODIF |
|
| 583 | + 'zbug_erreur_boucle_double' => 'BOUCLE@id@: pä arusthapiwi', # MODIF |
|
| 584 | + 'zbug_erreur_boucle_fermant' => 'BOUCLE@id@: jist’antat chimpux janiw utjkiti', # MODIF |
|
| 585 | + 'zbug_erreur_boucle_syntaxe' => 'Kamachix bucle ukata pantjatawa', # MODIF |
|
| 586 | + 'zbug_erreur_compilation' => 'Mayachawit pantjata', |
|
| 587 | + 'zbug_erreur_execution_page' => 'pantja lurawi laphi uñnaqata', # MODIF |
|
| 588 | + 'zbug_erreur_filtre' => 'Pantja: filtru <b>« @filtre@ »</b> jani arusthapita', # MODIF |
|
| 589 | + 'zbug_erreur_meme_parent' => '{meme_parent} bucles ukanakaruki lurasi (FORUMS) jan ukjax (RUBRIQUES)', # MODIF |
|
| 590 | + 'zbug_erreur_squelette' => 'Ch’akha ch’akhan panjanaka', |
|
| 591 | + 'zbug_info_erreur_squelette' => 'Qamawin pantja', |
|
| 592 | + 'zbug_inversion_ordre_inexistant' => 'jan utjkiri kamachitathijrawi', # MODIF |
|
| 593 | + 'zbug_pagination_sans_critere' => '#PAGINATION jan amuyumpi {pagination}mä bucle mayamp mayampi apnaqata ', # MODIF |
|
| 594 | + 'zbug_parametres_inclus_incorrects' => 'Apkatatawit tantiyata pantjatanaka', # MODIF |
|
| 595 | + 'zbug_resultat' => 'askichawita', |
|
| 596 | + 'zbug_serveur_indefini' => 'jalanuqiri SQL jan arusthapita', # MODIF |
|
| 597 | + 'zbug_table_inconnue' => 'Uyu uyu SQL «@table@» jan uñt’at', |
|
| 598 | + 'zxml_connus_attributs' => 'Jan uñt’atanak uñtawinaka', |
|
| 599 | + 'zxml_de' => 'ukata', |
|
| 600 | + 'zxml_inconnu_attribut' => 'Jan uñt’atanak uñtawinaka', |
|
| 601 | + 'zxml_inconnu_balise' => 'Jan uñt’at chimpu', |
|
| 602 | + 'zxml_inconnu_entite' => 'Jan uñt’at tama ', |
|
| 603 | + 'zxml_inconnu_id' => 'ID jan uñt’ata', |
|
| 604 | + 'zxml_mais_de' => 'ukhamata ', |
|
| 605 | + 'zxml_non_conforme' => 'kun yanas janiw askikiti ', |
|
| 606 | + 'zxml_non_fils' => 'Janiw wawapakiti ', |
|
| 607 | + 'zxml_nonvide_balise' => 'jan ch’usa chimpu', |
|
| 608 | + 'zxml_obligatoire_attribut' => 'uñt’awpini ukhamarusa chhaqhatawa ', |
|
| 609 | + 'zxml_succession_fils_incorrecte' => 'yuqanakat panjawi sullka t’aqa', |
|
| 610 | + 'zxml_survoler' => 'akar pasaña walik qillqatanak uñjañataki', |
|
| 611 | + 'zxml_valeur_attribut' => 'uñt’awi', |
|
| 612 | + 'zxml_vide_balise' => 'ch’usa chimpu', |
|
| 613 | + 'zxml_vu' => 'nayra uñjata ' |
|
| 614 | 614 | ); |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * @package SPIP\Core\Notifications |
| 17 | 17 | **/ |
| 18 | 18 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 19 | - return; |
|
| 19 | + return; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | |
@@ -33,16 +33,16 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | function inc_notifications_dist($quoi, $id = 0, $options = array()) { |
| 35 | 35 | |
| 36 | - // charger les fichiers qui veulent ajouter des definitions |
|
| 37 | - // ou faire des trucs aussi dans le pipeline, ca fait deux api pour le prix d'une ... |
|
| 38 | - pipeline('notifications', array('args' => array('quoi' => $quoi, 'id' => $id, 'options' => $options))); |
|
| 36 | + // charger les fichiers qui veulent ajouter des definitions |
|
| 37 | + // ou faire des trucs aussi dans le pipeline, ca fait deux api pour le prix d'une ... |
|
| 38 | + pipeline('notifications', array('args' => array('quoi' => $quoi, 'id' => $id, 'options' => $options))); |
|
| 39 | 39 | |
| 40 | - if ($notification = charger_fonction($quoi, 'notifications', true)) { |
|
| 41 | - spip_log("$notification($quoi,$id" |
|
| 42 | - . ($options ? "," . serialize($options) : "") |
|
| 43 | - . ")", 'notifications'); |
|
| 44 | - $notification($quoi, $id, $options); |
|
| 45 | - } |
|
| 40 | + if ($notification = charger_fonction($quoi, 'notifications', true)) { |
|
| 41 | + spip_log("$notification($quoi,$id" |
|
| 42 | + . ($options ? "," . serialize($options) : "") |
|
| 43 | + . ")", 'notifications'); |
|
| 44 | + $notification($quoi, $id, $options); |
|
| 45 | + } |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -56,14 +56,14 @@ discard block |
||
| 56 | 56 | * @param array $exclure |
| 57 | 57 | */ |
| 58 | 58 | function notifications_nettoyer_emails(&$emails, $exclure = array()) { |
| 59 | - // filtrer et unifier |
|
| 60 | - $emails = array_unique(array_filter(array_map('email_valide', array_map('trim', $emails)))); |
|
| 61 | - if ($exclure and count($exclure)) { |
|
| 62 | - // nettoyer les exclusions d'abord |
|
| 63 | - notifications_nettoyer_emails($exclure); |
|
| 64 | - // faire un diff |
|
| 65 | - $emails = array_diff($emails, $exclure); |
|
| 66 | - } |
|
| 59 | + // filtrer et unifier |
|
| 60 | + $emails = array_unique(array_filter(array_map('email_valide', array_map('trim', $emails)))); |
|
| 61 | + if ($exclure and count($exclure)) { |
|
| 62 | + // nettoyer les exclusions d'abord |
|
| 63 | + notifications_nettoyer_emails($exclure); |
|
| 64 | + // faire un diff |
|
| 65 | + $emails = array_diff($emails, $exclure); |
|
| 66 | + } |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
@@ -78,86 +78,86 @@ discard block |
||
| 78 | 78 | * @param string $headers |
| 79 | 79 | */ |
| 80 | 80 | function notifications_envoyer_mails($emails, $texte, $sujet = "", $from = "", $headers = "") { |
| 81 | - // rien a faire si pas de texte ! |
|
| 82 | - if (!strlen($texte)) { |
|
| 83 | - return; |
|
| 84 | - } |
|
| 85 | - |
|
| 86 | - // si on ne specifie qu'un email, le mettre dans un tableau |
|
| 87 | - if (!is_array($emails)) { |
|
| 88 | - $emails = explode(',', $emails); |
|
| 89 | - } |
|
| 90 | - |
|
| 91 | - notifications_nettoyer_emails($emails); |
|
| 92 | - |
|
| 93 | - // tester si le mail est deja en html |
|
| 94 | - if (strpos($texte, "<") !== false // eviter les tests suivants si possible |
|
| 95 | - and $ttrim = trim($texte) |
|
| 96 | - and substr($ttrim, 0, 1) == "<" |
|
| 97 | - and substr($ttrim, -1, 1) == ">" |
|
| 98 | - and stripos($ttrim, "</html>") !== false |
|
| 99 | - ) { |
|
| 100 | - |
|
| 101 | - if (!strlen($sujet)) { |
|
| 102 | - // dans ce cas on ruse un peu : extraire le sujet du title |
|
| 103 | - if (preg_match(",<title>(.*)</title>,Uims", $texte, $m)) { |
|
| 104 | - $sujet = $m[1]; |
|
| 105 | - } else { |
|
| 106 | - // fallback, on prend le body si on le trouve |
|
| 107 | - if (preg_match(",<body[^>]*>(.*)</body>,Uims", $texte, $m)) { |
|
| 108 | - $ttrim = $m[1]; |
|
| 109 | - } |
|
| 110 | - |
|
| 111 | - // et on extrait la premiere ligne de vrai texte... |
|
| 112 | - // nettoyer le html et les retours chariots |
|
| 113 | - $ttrim = textebrut($ttrim); |
|
| 114 | - $ttrim = str_replace("\r\n", "\r", $ttrim); |
|
| 115 | - $ttrim = str_replace("\r", "\n", $ttrim); |
|
| 116 | - // decouper |
|
| 117 | - $ttrim = explode("\n", trim($ttrim)); |
|
| 118 | - // extraire la premiere ligne de texte brut |
|
| 119 | - $sujet = array_shift($ttrim); |
|
| 120 | - } |
|
| 121 | - } |
|
| 122 | - |
|
| 123 | - // si besoin on ajoute le content-type dans les headers |
|
| 124 | - if (stripos($headers, "Content-Type") === false) { |
|
| 125 | - $headers .= "Content-Type: text/html\n"; |
|
| 126 | - } |
|
| 127 | - } |
|
| 128 | - |
|
| 129 | - // si le sujet est vide, extraire la premiere ligne du corps |
|
| 130 | - // du mail qui est donc du texte |
|
| 131 | - if (!strlen($sujet)) { |
|
| 132 | - // nettoyer un peu les retours chariots |
|
| 133 | - $texte = str_replace("\r\n", "\r", $texte); |
|
| 134 | - $texte = str_replace("\r", "\n", $texte); |
|
| 135 | - // decouper |
|
| 136 | - $texte = explode("\n", trim($texte)); |
|
| 137 | - // extraire la premiere ligne |
|
| 138 | - $sujet = array_shift($texte); |
|
| 139 | - $texte = trim(implode("\n", $texte)); |
|
| 140 | - } |
|
| 141 | - |
|
| 142 | - $envoyer_mail = charger_fonction('envoyer_mail', 'inc'); |
|
| 143 | - foreach ($emails as $email) { |
|
| 144 | - // passer dans un pipeline qui permet un ajout eventuel |
|
| 145 | - // (url de suivi des notifications par exemple) |
|
| 146 | - $envoi = pipeline( |
|
| 147 | - 'notifications_envoyer_mails', |
|
| 148 | - array( |
|
| 149 | - 'email' => $email, |
|
| 150 | - 'sujet' => $sujet, |
|
| 151 | - 'texte' => $texte, |
|
| 152 | - 'from' => $from, |
|
| 153 | - 'headers' => $headers, |
|
| 154 | - ) |
|
| 155 | - ); |
|
| 156 | - $email = $envoi['email']; |
|
| 157 | - |
|
| 158 | - job_queue_add('envoyer_mail', ">$email : " . $envoi['sujet'], |
|
| 159 | - array($email, $envoi['sujet'], $envoi['texte'], $envoi['from'], $envoi['headers']), 'inc/'); |
|
| 160 | - } |
|
| 81 | + // rien a faire si pas de texte ! |
|
| 82 | + if (!strlen($texte)) { |
|
| 83 | + return; |
|
| 84 | + } |
|
| 85 | + |
|
| 86 | + // si on ne specifie qu'un email, le mettre dans un tableau |
|
| 87 | + if (!is_array($emails)) { |
|
| 88 | + $emails = explode(',', $emails); |
|
| 89 | + } |
|
| 90 | + |
|
| 91 | + notifications_nettoyer_emails($emails); |
|
| 92 | + |
|
| 93 | + // tester si le mail est deja en html |
|
| 94 | + if (strpos($texte, "<") !== false // eviter les tests suivants si possible |
|
| 95 | + and $ttrim = trim($texte) |
|
| 96 | + and substr($ttrim, 0, 1) == "<" |
|
| 97 | + and substr($ttrim, -1, 1) == ">" |
|
| 98 | + and stripos($ttrim, "</html>") !== false |
|
| 99 | + ) { |
|
| 100 | + |
|
| 101 | + if (!strlen($sujet)) { |
|
| 102 | + // dans ce cas on ruse un peu : extraire le sujet du title |
|
| 103 | + if (preg_match(",<title>(.*)</title>,Uims", $texte, $m)) { |
|
| 104 | + $sujet = $m[1]; |
|
| 105 | + } else { |
|
| 106 | + // fallback, on prend le body si on le trouve |
|
| 107 | + if (preg_match(",<body[^>]*>(.*)</body>,Uims", $texte, $m)) { |
|
| 108 | + $ttrim = $m[1]; |
|
| 109 | + } |
|
| 110 | + |
|
| 111 | + // et on extrait la premiere ligne de vrai texte... |
|
| 112 | + // nettoyer le html et les retours chariots |
|
| 113 | + $ttrim = textebrut($ttrim); |
|
| 114 | + $ttrim = str_replace("\r\n", "\r", $ttrim); |
|
| 115 | + $ttrim = str_replace("\r", "\n", $ttrim); |
|
| 116 | + // decouper |
|
| 117 | + $ttrim = explode("\n", trim($ttrim)); |
|
| 118 | + // extraire la premiere ligne de texte brut |
|
| 119 | + $sujet = array_shift($ttrim); |
|
| 120 | + } |
|
| 121 | + } |
|
| 122 | + |
|
| 123 | + // si besoin on ajoute le content-type dans les headers |
|
| 124 | + if (stripos($headers, "Content-Type") === false) { |
|
| 125 | + $headers .= "Content-Type: text/html\n"; |
|
| 126 | + } |
|
| 127 | + } |
|
| 128 | + |
|
| 129 | + // si le sujet est vide, extraire la premiere ligne du corps |
|
| 130 | + // du mail qui est donc du texte |
|
| 131 | + if (!strlen($sujet)) { |
|
| 132 | + // nettoyer un peu les retours chariots |
|
| 133 | + $texte = str_replace("\r\n", "\r", $texte); |
|
| 134 | + $texte = str_replace("\r", "\n", $texte); |
|
| 135 | + // decouper |
|
| 136 | + $texte = explode("\n", trim($texte)); |
|
| 137 | + // extraire la premiere ligne |
|
| 138 | + $sujet = array_shift($texte); |
|
| 139 | + $texte = trim(implode("\n", $texte)); |
|
| 140 | + } |
|
| 141 | + |
|
| 142 | + $envoyer_mail = charger_fonction('envoyer_mail', 'inc'); |
|
| 143 | + foreach ($emails as $email) { |
|
| 144 | + // passer dans un pipeline qui permet un ajout eventuel |
|
| 145 | + // (url de suivi des notifications par exemple) |
|
| 146 | + $envoi = pipeline( |
|
| 147 | + 'notifications_envoyer_mails', |
|
| 148 | + array( |
|
| 149 | + 'email' => $email, |
|
| 150 | + 'sujet' => $sujet, |
|
| 151 | + 'texte' => $texte, |
|
| 152 | + 'from' => $from, |
|
| 153 | + 'headers' => $headers, |
|
| 154 | + ) |
|
| 155 | + ); |
|
| 156 | + $email = $envoi['email']; |
|
| 157 | + |
|
| 158 | + job_queue_add('envoyer_mail', ">$email : " . $envoi['sujet'], |
|
| 159 | + array($email, $envoi['sujet'], $envoi['texte'], $envoi['from'], $envoi['headers']), 'inc/'); |
|
| 160 | + } |
|
| 161 | 161 | |
| 162 | 162 | } |
| 163 | 163 | |
@@ -174,10 +174,10 @@ discard block |
||
| 174 | 174 | * @return string |
| 175 | 175 | */ |
| 176 | 176 | function email_notification_objet($id_objet, $type_objet, $modele) { |
| 177 | - $envoyer_mail = charger_fonction('envoyer_mail', 'inc'); // pour nettoyer_titre_email |
|
| 178 | - $id_type = id_table_objet($type_objet); |
|
| 177 | + $envoyer_mail = charger_fonction('envoyer_mail', 'inc'); // pour nettoyer_titre_email |
|
| 178 | + $id_type = id_table_objet($type_objet); |
|
| 179 | 179 | |
| 180 | - return recuperer_fond($modele, array($id_type => $id_objet, "id" => $id_objet)); |
|
| 180 | + return recuperer_fond($modele, array($id_type => $id_objet, "id" => $id_objet)); |
|
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
@@ -192,9 +192,9 @@ discard block |
||
| 192 | 192 | * @return string |
| 193 | 193 | */ |
| 194 | 194 | function email_notification_article($id_article, $modele) { |
| 195 | - $envoyer_mail = charger_fonction('envoyer_mail', 'inc'); // pour nettoyer_titre_email |
|
| 195 | + $envoyer_mail = charger_fonction('envoyer_mail', 'inc'); // pour nettoyer_titre_email |
|
| 196 | 196 | |
| 197 | - return recuperer_fond($modele, array('id_article' => $id_article)); |
|
| 197 | + return recuperer_fond($modele, array('id_article' => $id_article)); |
|
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | /** |
@@ -204,11 +204,11 @@ discard block |
||
| 204 | 204 | * @param int $id_article |
| 205 | 205 | **/ |
| 206 | 206 | function notifier_publication_article($id_article) { |
| 207 | - if ($GLOBALS['meta']["suivi_edito"] == "oui") { |
|
| 208 | - $adresse_suivi = $GLOBALS['meta']["adresse_suivi"]; |
|
| 209 | - $texte = email_notification_article($id_article, "notifications/article_publie"); |
|
| 210 | - notifications_envoyer_mails($adresse_suivi, $texte); |
|
| 211 | - } |
|
| 207 | + if ($GLOBALS['meta']["suivi_edito"] == "oui") { |
|
| 208 | + $adresse_suivi = $GLOBALS['meta']["adresse_suivi"]; |
|
| 209 | + $texte = email_notification_article($id_article, "notifications/article_publie"); |
|
| 210 | + notifications_envoyer_mails($adresse_suivi, $texte); |
|
| 211 | + } |
|
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | /** |
@@ -218,9 +218,9 @@ discard block |
||
| 218 | 218 | * @param int $id_article |
| 219 | 219 | **/ |
| 220 | 220 | function notifier_proposition_article($id_article) { |
| 221 | - if ($GLOBALS['meta']["suivi_edito"] == "oui") { |
|
| 222 | - $adresse_suivi = $GLOBALS['meta']["adresse_suivi"]; |
|
| 223 | - $texte = email_notification_article($id_article, "notifications/article_propose"); |
|
| 224 | - notifications_envoyer_mails($adresse_suivi, $texte); |
|
| 225 | - } |
|
| 221 | + if ($GLOBALS['meta']["suivi_edito"] == "oui") { |
|
| 222 | + $adresse_suivi = $GLOBALS['meta']["adresse_suivi"]; |
|
| 223 | + $texte = email_notification_article($id_article, "notifications/article_propose"); |
|
| 224 | + notifications_envoyer_mails($adresse_suivi, $texte); |
|
| 225 | + } |
|
| 226 | 226 | } |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | if ($notification = charger_fonction($quoi, 'notifications', true)) { |
| 41 | 41 | spip_log("$notification($quoi,$id" |
| 42 | - . ($options ? "," . serialize($options) : "") |
|
| 42 | + . ($options ? ",".serialize($options) : "") |
|
| 43 | 43 | . ")", 'notifications'); |
| 44 | 44 | $notification($quoi, $id, $options); |
| 45 | 45 | } |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | ); |
| 156 | 156 | $email = $envoi['email']; |
| 157 | 157 | |
| 158 | - job_queue_add('envoyer_mail', ">$email : " . $envoi['sujet'], |
|
| 158 | + job_queue_add('envoyer_mail', ">$email : ".$envoi['sujet'], |
|
| 159 | 159 | array($email, $envoi['sujet'], $envoi['texte'], $envoi['from'], $envoi['headers']), 'inc/'); |
| 160 | 160 | } |
| 161 | 161 | |
@@ -35,11 +35,11 @@ discard block |
||
| 35 | 35 | * - -1 : renvoyer action, arg et hash sous forme de array() |
| 36 | 36 | * - true ou false : renvoyer une url, avec `&` (false) ou `&` (true) |
| 37 | 37 | * - string : renvoyer un formulaire |
| 38 | - * @param string|int $att |
|
| 38 | + * @param string $att |
|
| 39 | 39 | * - id_auteur pour lequel générer l'action en mode url ou array() |
| 40 | 40 | * - attributs du formulaire en mode formulaire |
| 41 | 41 | * @param bool $public |
| 42 | - * @return array|string |
|
| 42 | + * @return string |
|
| 43 | 43 | * URL, code HTML du formulaire ou tableau (action, arg, hash) |
| 44 | 44 | */ |
| 45 | 45 | function generer_action_auteur($action, $arg = '', $redirect = '', $mode = false, $att = '', $public = false) { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * que l'on peut récupérer dans une fonction d'action par `_request('redirect')` |
| 67 | 67 | * @param string $gra |
| 68 | 68 | * Arguments transmis au script exec de retour `arg1=yy&arg2=zz` |
| 69 | - * @param bool|string|int $mode |
|
| 69 | + * @param boolean $mode |
|
| 70 | 70 | * - -1 : renvoyer action, arg et hash sous forme de array() |
| 71 | 71 | * - true ou false : renvoyer une url, avec `&` (false) ou `&` (true) |
| 72 | 72 | * - string : renvoyer un formulaire |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | **/ |
| 18 | 18 | |
| 19 | 19 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 20 | - return; |
|
| 20 | + return; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -43,9 +43,9 @@ discard block |
||
| 43 | 43 | * URL, code HTML du formulaire ou tableau (action, arg, hash) |
| 44 | 44 | */ |
| 45 | 45 | function generer_action_auteur($action, $arg = '', $redirect = '', $mode = false, $att = '', $public = false) { |
| 46 | - $securiser_action = charger_fonction('securiser_action', 'inc'); |
|
| 46 | + $securiser_action = charger_fonction('securiser_action', 'inc'); |
|
| 47 | 47 | |
| 48 | - return $securiser_action($action, $arg, $redirect, $mode, $att, $public); |
|
| 48 | + return $securiser_action($action, $arg, $redirect, $mode, $att, $public); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
@@ -78,9 +78,9 @@ discard block |
||
| 78 | 78 | * Code HTML du formulaire |
| 79 | 79 | */ |
| 80 | 80 | function redirige_action_auteur($action, $arg, $ret, $gra = '', $mode = false, $atts = '', $public = false) { |
| 81 | - $r = ($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT) . generer_url_ecrire($ret, $gra, true, true); |
|
| 81 | + $r = ($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT) . generer_url_ecrire($ret, $gra, true, true); |
|
| 82 | 82 | |
| 83 | - return generer_action_auteur($action, $arg, $r, $mode, $atts, $public); |
|
| 83 | + return generer_action_auteur($action, $arg, $r, $mode, $atts, $public); |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |
@@ -105,9 +105,9 @@ discard block |
||
| 105 | 105 | * URL, code HTML du formulaire ou tableau (action, arg, hash) |
| 106 | 106 | */ |
| 107 | 107 | function redirige_action_post($action, $arg, $ret, $gra, $corps, $att = '') { |
| 108 | - $r = _DIR_RESTREINT . generer_url_ecrire($ret, $gra, false, true); |
|
| 108 | + $r = _DIR_RESTREINT . generer_url_ecrire($ret, $gra, false, true); |
|
| 109 | 109 | |
| 110 | - return generer_action_auteur($action, $arg, $r, $corps, $att . " method='post'"); |
|
| 110 | + return generer_action_auteur($action, $arg, $r, $corps, $att . " method='post'"); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | |
@@ -122,25 +122,25 @@ discard block |
||
| 122 | 122 | * passer "text/html" comme $content_type |
| 123 | 123 | */ |
| 124 | 124 | function ajax_retour($corps, $content_type = null) { |
| 125 | - $xml = false; |
|
| 126 | - if (is_null($content_type) or $content_type === true) { |
|
| 127 | - $xml = true; |
|
| 128 | - $content_type = 'text/html'; |
|
| 129 | - } elseif (!$content_type or !is_string($content_type) or strpos($content_type, '/') === false) { |
|
| 130 | - $content_type = 'text/html'; |
|
| 131 | - } |
|
| 125 | + $xml = false; |
|
| 126 | + if (is_null($content_type) or $content_type === true) { |
|
| 127 | + $xml = true; |
|
| 128 | + $content_type = 'text/html'; |
|
| 129 | + } elseif (!$content_type or !is_string($content_type) or strpos($content_type, '/') === false) { |
|
| 130 | + $content_type = 'text/html'; |
|
| 131 | + } |
|
| 132 | 132 | |
| 133 | - $e = ''; |
|
| 134 | - if (isset($_COOKIE['spip_admin']) |
|
| 135 | - and ((_request('var_mode') == 'debug') or !empty($GLOBALS['tableau_des_temps'])) |
|
| 136 | - ) { |
|
| 137 | - $e = erreur_squelette(); |
|
| 138 | - } |
|
| 133 | + $e = ''; |
|
| 134 | + if (isset($_COOKIE['spip_admin']) |
|
| 135 | + and ((_request('var_mode') == 'debug') or !empty($GLOBALS['tableau_des_temps'])) |
|
| 136 | + ) { |
|
| 137 | + $e = erreur_squelette(); |
|
| 138 | + } |
|
| 139 | 139 | |
| 140 | - $c = $GLOBALS['meta']['charset']; |
|
| 141 | - header('Content-Type: ' . $content_type . '; charset=' . $c); |
|
| 142 | - $debut = (($xml and strlen(trim($corps))) ? '<' . "?xml version='1.0' encoding='" . $c . "'?" . ">\n" : ''); |
|
| 143 | - $fin = ''; |
|
| 140 | + $c = $GLOBALS['meta']['charset']; |
|
| 141 | + header('Content-Type: ' . $content_type . '; charset=' . $c); |
|
| 142 | + $debut = (($xml and strlen(trim($corps))) ? '<' . "?xml version='1.0' encoding='" . $c . "'?" . ">\n" : ''); |
|
| 143 | + $fin = ''; |
|
| 144 | 144 | |
| 145 | - die ($debut.$corps.$fin.$e); |
|
| 145 | + die ($debut.$corps.$fin.$e); |
|
| 146 | 146 | } |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * Code HTML du formulaire |
| 79 | 79 | */ |
| 80 | 80 | function redirige_action_auteur($action, $arg, $ret, $gra = '', $mode = false, $atts = '', $public = false) { |
| 81 | - $r = ($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT) . generer_url_ecrire($ret, $gra, true, true); |
|
| 81 | + $r = ($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT).generer_url_ecrire($ret, $gra, true, true); |
|
| 82 | 82 | |
| 83 | 83 | return generer_action_auteur($action, $arg, $r, $mode, $atts, $public); |
| 84 | 84 | } |
@@ -105,9 +105,9 @@ discard block |
||
| 105 | 105 | * URL, code HTML du formulaire ou tableau (action, arg, hash) |
| 106 | 106 | */ |
| 107 | 107 | function redirige_action_post($action, $arg, $ret, $gra, $corps, $att = '') { |
| 108 | - $r = _DIR_RESTREINT . generer_url_ecrire($ret, $gra, false, true); |
|
| 108 | + $r = _DIR_RESTREINT.generer_url_ecrire($ret, $gra, false, true); |
|
| 109 | 109 | |
| 110 | - return generer_action_auteur($action, $arg, $r, $corps, $att . " method='post'"); |
|
| 110 | + return generer_action_auteur($action, $arg, $r, $corps, $att." method='post'"); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | |
@@ -138,8 +138,8 @@ discard block |
||
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | $c = $GLOBALS['meta']['charset']; |
| 141 | - header('Content-Type: ' . $content_type . '; charset=' . $c); |
|
| 142 | - $debut = (($xml and strlen(trim($corps))) ? '<' . "?xml version='1.0' encoding='" . $c . "'?" . ">\n" : ''); |
|
| 141 | + header('Content-Type: '.$content_type.'; charset='.$c); |
|
| 142 | + $debut = (($xml and strlen(trim($corps))) ? '<'."?xml version='1.0' encoding='".$c."'?".">\n" : ''); |
|
| 143 | 143 | $fin = ''; |
| 144 | 144 | |
| 145 | 145 | die ($debut.$corps.$fin.$e); |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | **/ |
| 18 | 18 | |
| 19 | 19 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 20 | - return; |
|
| 20 | + return; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -38,20 +38,20 @@ discard block |
||
| 38 | 38 | * Liste des fichiers de langue trouvés, dans l'ordre des chemins |
| 39 | 39 | */ |
| 40 | 40 | function find_langs_in_path($file, $dirname = 'lang') { |
| 41 | - static $dirs = array(); |
|
| 42 | - $liste = array(); |
|
| 43 | - foreach (creer_chemin() as $dir) { |
|
| 44 | - if (!isset($dirs[$a = $dir . $dirname])) { |
|
| 45 | - $dirs[$a] = (is_dir($a) || !$a); |
|
| 46 | - } |
|
| 47 | - if ($dirs[$a]) { |
|
| 48 | - if (is_readable($a .= $file)) { |
|
| 49 | - $liste[] = $a; |
|
| 50 | - } |
|
| 51 | - } |
|
| 52 | - } |
|
| 41 | + static $dirs = array(); |
|
| 42 | + $liste = array(); |
|
| 43 | + foreach (creer_chemin() as $dir) { |
|
| 44 | + if (!isset($dirs[$a = $dir . $dirname])) { |
|
| 45 | + $dirs[$a] = (is_dir($a) || !$a); |
|
| 46 | + } |
|
| 47 | + if ($dirs[$a]) { |
|
| 48 | + if (is_readable($a .= $file)) { |
|
| 49 | + $liste[] = $a; |
|
| 50 | + } |
|
| 51 | + } |
|
| 52 | + } |
|
| 53 | 53 | |
| 54 | - return array_reverse($liste); |
|
| 54 | + return array_reverse($liste); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -66,22 +66,22 @@ discard block |
||
| 66 | 66 | * Liste des fichiers touvés pour ce module et cette langue. |
| 67 | 67 | **/ |
| 68 | 68 | function chercher_module_lang($module, $lang = '') { |
| 69 | - if ($lang) { |
|
| 70 | - $lang = '_' . $lang; |
|
| 71 | - } |
|
| 69 | + if ($lang) { |
|
| 70 | + $lang = '_' . $lang; |
|
| 71 | + } |
|
| 72 | 72 | |
| 73 | - // 1) dans un repertoire nomme lang/ se trouvant sur le chemin |
|
| 74 | - if ($f = ($module == 'local' |
|
| 75 | - ? find_in_path($module . $lang . '.php', 'lang/') |
|
| 76 | - : find_langs_in_path($module . $lang . '.php', 'lang/')) |
|
| 77 | - ) { |
|
| 78 | - return is_array($f) ? $f : array($f); |
|
| 79 | - } |
|
| 73 | + // 1) dans un repertoire nomme lang/ se trouvant sur le chemin |
|
| 74 | + if ($f = ($module == 'local' |
|
| 75 | + ? find_in_path($module . $lang . '.php', 'lang/') |
|
| 76 | + : find_langs_in_path($module . $lang . '.php', 'lang/')) |
|
| 77 | + ) { |
|
| 78 | + return is_array($f) ? $f : array($f); |
|
| 79 | + } |
|
| 80 | 80 | |
| 81 | - // 2) directement dans le chemin (old style, uniquement pour local) |
|
| 82 | - return (($module == 'local') or strpos($module, '/')) |
|
| 83 | - ? (($f = find_in_path($module . $lang . '.php')) ? array($f) : false) |
|
| 84 | - : false; |
|
| 81 | + // 2) directement dans le chemin (old style, uniquement pour local) |
|
| 82 | + return (($module == 'local') or strpos($module, '/')) |
|
| 83 | + ? (($f = find_in_path($module . $lang . '.php')) ? array($f) : false) |
|
| 84 | + : false; |
|
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | /** |
@@ -103,33 +103,33 @@ discard block |
||
| 103 | 103 | * @return string Langue du module chargé, sinon chaîne vide. |
| 104 | 104 | **/ |
| 105 | 105 | function charger_langue($lang, $module = 'spip') { |
| 106 | - static $langs = array(); |
|
| 107 | - $var = 'i18n_' . $module . '_' . $lang; |
|
| 108 | - if (!isset($langs[$lang])) { |
|
| 109 | - $langs[$lang] = array(); |
|
| 110 | - if ($lang) { |
|
| 111 | - $langs[$lang][] = $lang; |
|
| 112 | - if (strpos($lang, '_') !== false) { |
|
| 113 | - $l = explode('_', $lang); |
|
| 114 | - $langs[$lang][] = reset($l); |
|
| 115 | - } |
|
| 116 | - } |
|
| 117 | - $langs[$lang][] = $GLOBALS['meta']['langue_site']; |
|
| 118 | - $langs[$lang][] = _LANGUE_PAR_DEFAUT; |
|
| 119 | - } |
|
| 120 | - foreach ($langs[$lang] as $l) { |
|
| 121 | - if ($fichiers_lang = chercher_module_lang($module, $l)) { |
|
| 122 | - $GLOBALS['idx_lang'] = 'i18n_' . $module . '_' . $l; |
|
| 123 | - include(array_shift($fichiers_lang)); |
|
| 124 | - surcharger_langue($fichiers_lang); |
|
| 125 | - if ($l !== $lang) { |
|
| 126 | - $GLOBALS[$var] = &$GLOBALS['i18n_' . $module . '_' . $l]; |
|
| 127 | - } |
|
| 128 | - $GLOBALS['lang_' . $var] = $l; |
|
| 129 | - #spip_log("module de langue : ${module}_$l.php", 'traduire'); |
|
| 130 | - break; |
|
| 131 | - } |
|
| 132 | - } |
|
| 106 | + static $langs = array(); |
|
| 107 | + $var = 'i18n_' . $module . '_' . $lang; |
|
| 108 | + if (!isset($langs[$lang])) { |
|
| 109 | + $langs[$lang] = array(); |
|
| 110 | + if ($lang) { |
|
| 111 | + $langs[$lang][] = $lang; |
|
| 112 | + if (strpos($lang, '_') !== false) { |
|
| 113 | + $l = explode('_', $lang); |
|
| 114 | + $langs[$lang][] = reset($l); |
|
| 115 | + } |
|
| 116 | + } |
|
| 117 | + $langs[$lang][] = $GLOBALS['meta']['langue_site']; |
|
| 118 | + $langs[$lang][] = _LANGUE_PAR_DEFAUT; |
|
| 119 | + } |
|
| 120 | + foreach ($langs[$lang] as $l) { |
|
| 121 | + if ($fichiers_lang = chercher_module_lang($module, $l)) { |
|
| 122 | + $GLOBALS['idx_lang'] = 'i18n_' . $module . '_' . $l; |
|
| 123 | + include(array_shift($fichiers_lang)); |
|
| 124 | + surcharger_langue($fichiers_lang); |
|
| 125 | + if ($l !== $lang) { |
|
| 126 | + $GLOBALS[$var] = &$GLOBALS['i18n_' . $module . '_' . $l]; |
|
| 127 | + } |
|
| 128 | + $GLOBALS['lang_' . $var] = $l; |
|
| 129 | + #spip_log("module de langue : ${module}_$l.php", 'traduire'); |
|
| 130 | + break; |
|
| 131 | + } |
|
| 132 | + } |
|
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
@@ -149,50 +149,50 @@ discard block |
||
| 149 | 149 | * Liste des chemins de fichiers de langue à surcharger. |
| 150 | 150 | **/ |
| 151 | 151 | function surcharger_langue($fichiers) { |
| 152 | - static $surcharges = array(); |
|
| 153 | - if (!isset($GLOBALS['idx_lang'])) { |
|
| 154 | - return; |
|
| 155 | - } |
|
| 152 | + static $surcharges = array(); |
|
| 153 | + if (!isset($GLOBALS['idx_lang'])) { |
|
| 154 | + return; |
|
| 155 | + } |
|
| 156 | 156 | |
| 157 | - if (!is_array($fichiers)) { |
|
| 158 | - $fichiers = array($fichiers); |
|
| 159 | - } |
|
| 160 | - if (!count($fichiers)) { |
|
| 161 | - return; |
|
| 162 | - } |
|
| 163 | - foreach ($fichiers as $fichier) { |
|
| 164 | - if (!isset($surcharges[$fichier])) { |
|
| 165 | - $idx_lang_normal = $GLOBALS['idx_lang']; |
|
| 166 | - $GLOBALS['idx_lang'] = $GLOBALS['idx_lang'] . '@temporaire'; |
|
| 167 | - include($fichier); |
|
| 168 | - $surcharges[$fichier] = $GLOBALS[$GLOBALS['idx_lang']]; |
|
| 169 | - unset($GLOBALS[$GLOBALS['idx_lang']]); |
|
| 170 | - $GLOBALS['idx_lang'] = $idx_lang_normal; |
|
| 171 | - } |
|
| 172 | - if (is_array($surcharges[$fichier])) { |
|
| 173 | - $GLOBALS[$GLOBALS['idx_lang']] = array_merge( |
|
| 174 | - (isset($GLOBALS[$GLOBALS['idx_lang']]) ? (array)$GLOBALS[$GLOBALS['idx_lang']] : array()), |
|
| 175 | - $surcharges[$fichier] |
|
| 176 | - ); |
|
| 177 | - } |
|
| 178 | - } |
|
| 157 | + if (!is_array($fichiers)) { |
|
| 158 | + $fichiers = array($fichiers); |
|
| 159 | + } |
|
| 160 | + if (!count($fichiers)) { |
|
| 161 | + return; |
|
| 162 | + } |
|
| 163 | + foreach ($fichiers as $fichier) { |
|
| 164 | + if (!isset($surcharges[$fichier])) { |
|
| 165 | + $idx_lang_normal = $GLOBALS['idx_lang']; |
|
| 166 | + $GLOBALS['idx_lang'] = $GLOBALS['idx_lang'] . '@temporaire'; |
|
| 167 | + include($fichier); |
|
| 168 | + $surcharges[$fichier] = $GLOBALS[$GLOBALS['idx_lang']]; |
|
| 169 | + unset($GLOBALS[$GLOBALS['idx_lang']]); |
|
| 170 | + $GLOBALS['idx_lang'] = $idx_lang_normal; |
|
| 171 | + } |
|
| 172 | + if (is_array($surcharges[$fichier])) { |
|
| 173 | + $GLOBALS[$GLOBALS['idx_lang']] = array_merge( |
|
| 174 | + (isset($GLOBALS[$GLOBALS['idx_lang']]) ? (array)$GLOBALS[$GLOBALS['idx_lang']] : array()), |
|
| 175 | + $surcharges[$fichier] |
|
| 176 | + ); |
|
| 177 | + } |
|
| 178 | + } |
|
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | |
| 182 | 182 | |
| 183 | 183 | class SPIP_Traductions_Description { |
| 184 | - /** @var string code de langue (hors module) */ |
|
| 185 | - public $code; |
|
| 186 | - /** @var string nom du module de langue */ |
|
| 187 | - public $module; |
|
| 188 | - /** @var string langue de la traduction */ |
|
| 189 | - public $langue; |
|
| 190 | - /** @var string traduction */ |
|
| 191 | - public $texte; |
|
| 192 | - /** @var string var mode particulier appliqué ? */ |
|
| 193 | - public $mode; |
|
| 194 | - /** @var bool Corrections des textes appliqué ? */ |
|
| 195 | - public $corrections = false; |
|
| 184 | + /** @var string code de langue (hors module) */ |
|
| 185 | + public $code; |
|
| 186 | + /** @var string nom du module de langue */ |
|
| 187 | + public $module; |
|
| 188 | + /** @var string langue de la traduction */ |
|
| 189 | + public $langue; |
|
| 190 | + /** @var string traduction */ |
|
| 191 | + public $texte; |
|
| 192 | + /** @var string var mode particulier appliqué ? */ |
|
| 193 | + public $mode; |
|
| 194 | + /** @var bool Corrections des textes appliqué ? */ |
|
| 195 | + public $corrections = false; |
|
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | |
@@ -234,95 +234,95 @@ discard block |
||
| 234 | 234 | * - SPIP_Traductions_Description : traduction et description (texte, module, langue) |
| 235 | 235 | **/ |
| 236 | 236 | function inc_traduire_dist($ori, $lang, $raw = false) { |
| 237 | - static $deja_vu = array(); |
|
| 238 | - static $local = array(); |
|
| 237 | + static $deja_vu = array(); |
|
| 238 | + static $local = array(); |
|
| 239 | 239 | |
| 240 | - if (isset($deja_vu[$lang][$ori]) and (_request('var_mode') != 'traduction')) { |
|
| 241 | - return $raw ? $deja_vu[$lang][$ori] : $deja_vu[$lang][$ori]->texte; |
|
| 242 | - } |
|
| 240 | + if (isset($deja_vu[$lang][$ori]) and (_request('var_mode') != 'traduction')) { |
|
| 241 | + return $raw ? $deja_vu[$lang][$ori] : $deja_vu[$lang][$ori]->texte; |
|
| 242 | + } |
|
| 243 | 243 | |
| 244 | - // modules demandes explicitement <xxx|yyy|zzz:code> cf MODULES_IDIOMES |
|
| 245 | - if (strpos($ori, ':')) { |
|
| 246 | - list($modules, $code) = explode(':', $ori, 2); |
|
| 247 | - $modules = explode('|', $modules); |
|
| 248 | - $ori_complet = $ori; |
|
| 249 | - } else { |
|
| 250 | - $modules = array('spip', 'ecrire'); |
|
| 251 | - $code = $ori; |
|
| 252 | - $ori_complet = implode('|', $modules) . ':' . $ori; |
|
| 253 | - } |
|
| 244 | + // modules demandes explicitement <xxx|yyy|zzz:code> cf MODULES_IDIOMES |
|
| 245 | + if (strpos($ori, ':')) { |
|
| 246 | + list($modules, $code) = explode(':', $ori, 2); |
|
| 247 | + $modules = explode('|', $modules); |
|
| 248 | + $ori_complet = $ori; |
|
| 249 | + } else { |
|
| 250 | + $modules = array('spip', 'ecrire'); |
|
| 251 | + $code = $ori; |
|
| 252 | + $ori_complet = implode('|', $modules) . ':' . $ori; |
|
| 253 | + } |
|
| 254 | 254 | |
| 255 | - $desc = new SPIP_Traductions_Description(); |
|
| 255 | + $desc = new SPIP_Traductions_Description(); |
|
| 256 | 256 | |
| 257 | - // parcourir tous les modules jusqu'a ce qu'on trouve |
|
| 258 | - foreach ($modules as $module) { |
|
| 259 | - $var = "i18n_" . $module . "_" . $lang; |
|
| 257 | + // parcourir tous les modules jusqu'a ce qu'on trouve |
|
| 258 | + foreach ($modules as $module) { |
|
| 259 | + $var = "i18n_" . $module . "_" . $lang; |
|
| 260 | 260 | |
| 261 | - if (empty($GLOBALS[$var])) { |
|
| 262 | - charger_langue($lang, $module); |
|
| 263 | - // surcharges persos -- on cherche |
|
| 264 | - // (lang/)local_xx.php et/ou (lang/)local.php ... |
|
| 265 | - if (!isset($local['local_' . $lang])) { |
|
| 266 | - // redéfinir la langue en cours pour les surcharges (chercher_langue a pu le changer) |
|
| 267 | - $GLOBALS['idx_lang'] = $var; |
|
| 268 | - // ... (lang/)local_xx.php |
|
| 269 | - $local['local_' . $lang] = chercher_module_lang('local', $lang); |
|
| 270 | - } |
|
| 271 | - if ($local['local_' . $lang]) { |
|
| 272 | - surcharger_langue($local['local_' . $lang]); |
|
| 273 | - } |
|
| 274 | - // ... puis (lang/)local.php |
|
| 275 | - if (!isset($local['local'])) { |
|
| 276 | - $local['local'] = chercher_module_lang('local'); |
|
| 277 | - } |
|
| 278 | - if ($local['local']) { |
|
| 279 | - surcharger_langue($local['local']); |
|
| 280 | - } |
|
| 281 | - } |
|
| 261 | + if (empty($GLOBALS[$var])) { |
|
| 262 | + charger_langue($lang, $module); |
|
| 263 | + // surcharges persos -- on cherche |
|
| 264 | + // (lang/)local_xx.php et/ou (lang/)local.php ... |
|
| 265 | + if (!isset($local['local_' . $lang])) { |
|
| 266 | + // redéfinir la langue en cours pour les surcharges (chercher_langue a pu le changer) |
|
| 267 | + $GLOBALS['idx_lang'] = $var; |
|
| 268 | + // ... (lang/)local_xx.php |
|
| 269 | + $local['local_' . $lang] = chercher_module_lang('local', $lang); |
|
| 270 | + } |
|
| 271 | + if ($local['local_' . $lang]) { |
|
| 272 | + surcharger_langue($local['local_' . $lang]); |
|
| 273 | + } |
|
| 274 | + // ... puis (lang/)local.php |
|
| 275 | + if (!isset($local['local'])) { |
|
| 276 | + $local['local'] = chercher_module_lang('local'); |
|
| 277 | + } |
|
| 278 | + if ($local['local']) { |
|
| 279 | + surcharger_langue($local['local']); |
|
| 280 | + } |
|
| 281 | + } |
|
| 282 | 282 | |
| 283 | - if (isset($GLOBALS[$var][$code])) { |
|
| 284 | - $desc->code = $code; |
|
| 285 | - $desc->module = $module; |
|
| 286 | - $desc->langue = $GLOBALS['lang_' . $var]; |
|
| 287 | - $desc->texte = $GLOBALS[$var][$code]; |
|
| 288 | - break; |
|
| 289 | - } |
|
| 290 | - } |
|
| 283 | + if (isset($GLOBALS[$var][$code])) { |
|
| 284 | + $desc->code = $code; |
|
| 285 | + $desc->module = $module; |
|
| 286 | + $desc->langue = $GLOBALS['lang_' . $var]; |
|
| 287 | + $desc->texte = $GLOBALS[$var][$code]; |
|
| 288 | + break; |
|
| 289 | + } |
|
| 290 | + } |
|
| 291 | 291 | |
| 292 | - if (!$desc->corrections) { |
|
| 293 | - $desc->corrections = true; |
|
| 294 | - // Retour aux sources si la chaine est absente dans la langue cible ; |
|
| 295 | - // on essaie d'abord la langue du site, puis a defaut la langue fr |
|
| 296 | - if (!strlen($desc->texte) and $lang !== _LANGUE_PAR_DEFAUT) { |
|
| 297 | - if ($lang !== $GLOBALS['meta']['langue_site']) { |
|
| 298 | - $desc = inc_traduire_dist($ori, $GLOBALS['meta']['langue_site'], true); |
|
| 299 | - } else { |
|
| 300 | - $desc = inc_traduire_dist($ori, _LANGUE_PAR_DEFAUT, true); |
|
| 301 | - } |
|
| 302 | - } |
|
| 292 | + if (!$desc->corrections) { |
|
| 293 | + $desc->corrections = true; |
|
| 294 | + // Retour aux sources si la chaine est absente dans la langue cible ; |
|
| 295 | + // on essaie d'abord la langue du site, puis a defaut la langue fr |
|
| 296 | + if (!strlen($desc->texte) and $lang !== _LANGUE_PAR_DEFAUT) { |
|
| 297 | + if ($lang !== $GLOBALS['meta']['langue_site']) { |
|
| 298 | + $desc = inc_traduire_dist($ori, $GLOBALS['meta']['langue_site'], true); |
|
| 299 | + } else { |
|
| 300 | + $desc = inc_traduire_dist($ori, _LANGUE_PAR_DEFAUT, true); |
|
| 301 | + } |
|
| 302 | + } |
|
| 303 | 303 | |
| 304 | - // Supprimer la mention <NEW> ou <MODIF> |
|
| 305 | - if (substr($desc->texte, 0, 1) === '<') { |
|
| 306 | - $desc->texte = str_replace(array('<NEW>', '<MODIF>'), array(), $desc->texte); |
|
| 307 | - } |
|
| 304 | + // Supprimer la mention <NEW> ou <MODIF> |
|
| 305 | + if (substr($desc->texte, 0, 1) === '<') { |
|
| 306 | + $desc->texte = str_replace(array('<NEW>', '<MODIF>'), array(), $desc->texte); |
|
| 307 | + } |
|
| 308 | 308 | |
| 309 | - // Si on n'est pas en utf-8, la chaine peut l'etre... |
|
| 310 | - // le cas echeant on la convertit en entites html &#xxx; |
|
| 311 | - if ((!isset($GLOBALS['meta']['charset']) or $GLOBALS['meta']['charset'] !== 'utf-8') |
|
| 312 | - and preg_match(',[\x7f-\xff],S', $desc->texte) |
|
| 313 | - ) { |
|
| 314 | - include_spip('inc/charsets'); |
|
| 315 | - $desc->texte = charset2unicode($desc->texte, 'utf-8'); |
|
| 316 | - } |
|
| 317 | - } |
|
| 309 | + // Si on n'est pas en utf-8, la chaine peut l'etre... |
|
| 310 | + // le cas echeant on la convertit en entites html &#xxx; |
|
| 311 | + if ((!isset($GLOBALS['meta']['charset']) or $GLOBALS['meta']['charset'] !== 'utf-8') |
|
| 312 | + and preg_match(',[\x7f-\xff],S', $desc->texte) |
|
| 313 | + ) { |
|
| 314 | + include_spip('inc/charsets'); |
|
| 315 | + $desc->texte = charset2unicode($desc->texte, 'utf-8'); |
|
| 316 | + } |
|
| 317 | + } |
|
| 318 | 318 | |
| 319 | - if (_request('var_mode') == 'traduction') { |
|
| 320 | - $desc = definir_details_traduction($desc, $ori_complet); |
|
| 321 | - } else { |
|
| 322 | - $deja_vu[$lang][$ori] = $desc; |
|
| 323 | - } |
|
| 319 | + if (_request('var_mode') == 'traduction') { |
|
| 320 | + $desc = definir_details_traduction($desc, $ori_complet); |
|
| 321 | + } else { |
|
| 322 | + $deja_vu[$lang][$ori] = $desc; |
|
| 323 | + } |
|
| 324 | 324 | |
| 325 | - return $raw ? $desc : $desc->texte; |
|
| 325 | + return $raw ? $desc : $desc->texte; |
|
| 326 | 326 | } |
| 327 | 327 | |
| 328 | 328 | /** |
@@ -334,23 +334,23 @@ discard block |
||
| 334 | 334 | * @return SPIP_Traductions_Description |
| 335 | 335 | */ |
| 336 | 336 | function definir_details_traduction($desc, $modules) { |
| 337 | - if (!$desc->mode and $desc->texte) { |
|
| 338 | - // ne pas modifier 2 fois l'affichage |
|
| 339 | - $desc->mode = 'traduction'; |
|
| 340 | - $classe = 'debug-traduction' . ($desc->module == 'ecrire' ? '-prive' : ''); |
|
| 341 | - $desc->texte = '<span ' |
|
| 342 | - . 'lang=' . $desc->langue |
|
| 343 | - . ' class=' . $classe |
|
| 344 | - . ' data-module=' . $desc->module |
|
| 345 | - . ' data-code=' . $desc->code |
|
| 346 | - . ' title=' . $modules . '(' . $desc->langue . ')>' |
|
| 347 | - . $desc->texte |
|
| 348 | - . '</span>'; |
|
| 349 | - $desc->texte = str_replace( |
|
| 350 | - array("$desc->module:", "$desc->module|"), |
|
| 351 | - array("*$desc->module*:", "*$desc->module*|"), |
|
| 352 | - $desc->texte |
|
| 353 | - ); |
|
| 354 | - } |
|
| 355 | - return $desc; |
|
| 337 | + if (!$desc->mode and $desc->texte) { |
|
| 338 | + // ne pas modifier 2 fois l'affichage |
|
| 339 | + $desc->mode = 'traduction'; |
|
| 340 | + $classe = 'debug-traduction' . ($desc->module == 'ecrire' ? '-prive' : ''); |
|
| 341 | + $desc->texte = '<span ' |
|
| 342 | + . 'lang=' . $desc->langue |
|
| 343 | + . ' class=' . $classe |
|
| 344 | + . ' data-module=' . $desc->module |
|
| 345 | + . ' data-code=' . $desc->code |
|
| 346 | + . ' title=' . $modules . '(' . $desc->langue . ')>' |
|
| 347 | + . $desc->texte |
|
| 348 | + . '</span>'; |
|
| 349 | + $desc->texte = str_replace( |
|
| 350 | + array("$desc->module:", "$desc->module|"), |
|
| 351 | + array("*$desc->module*:", "*$desc->module*|"), |
|
| 352 | + $desc->texte |
|
| 353 | + ); |
|
| 354 | + } |
|
| 355 | + return $desc; |
|
| 356 | 356 | } |
| 357 | 357 | \ No newline at end of file |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | static $dirs = array(); |
| 42 | 42 | $liste = array(); |
| 43 | 43 | foreach (creer_chemin() as $dir) { |
| 44 | - if (!isset($dirs[$a = $dir . $dirname])) { |
|
| 44 | + if (!isset($dirs[$a = $dir.$dirname])) { |
|
| 45 | 45 | $dirs[$a] = (is_dir($a) || !$a); |
| 46 | 46 | } |
| 47 | 47 | if ($dirs[$a]) { |
@@ -67,20 +67,20 @@ discard block |
||
| 67 | 67 | **/ |
| 68 | 68 | function chercher_module_lang($module, $lang = '') { |
| 69 | 69 | if ($lang) { |
| 70 | - $lang = '_' . $lang; |
|
| 70 | + $lang = '_'.$lang; |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | // 1) dans un repertoire nomme lang/ se trouvant sur le chemin |
| 74 | 74 | if ($f = ($module == 'local' |
| 75 | - ? find_in_path($module . $lang . '.php', 'lang/') |
|
| 76 | - : find_langs_in_path($module . $lang . '.php', 'lang/')) |
|
| 75 | + ? find_in_path($module.$lang.'.php', 'lang/') |
|
| 76 | + : find_langs_in_path($module.$lang.'.php', 'lang/')) |
|
| 77 | 77 | ) { |
| 78 | 78 | return is_array($f) ? $f : array($f); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | // 2) directement dans le chemin (old style, uniquement pour local) |
| 82 | 82 | return (($module == 'local') or strpos($module, '/')) |
| 83 | - ? (($f = find_in_path($module . $lang . '.php')) ? array($f) : false) |
|
| 83 | + ? (($f = find_in_path($module.$lang.'.php')) ? array($f) : false) |
|
| 84 | 84 | : false; |
| 85 | 85 | } |
| 86 | 86 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | **/ |
| 105 | 105 | function charger_langue($lang, $module = 'spip') { |
| 106 | 106 | static $langs = array(); |
| 107 | - $var = 'i18n_' . $module . '_' . $lang; |
|
| 107 | + $var = 'i18n_'.$module.'_'.$lang; |
|
| 108 | 108 | if (!isset($langs[$lang])) { |
| 109 | 109 | $langs[$lang] = array(); |
| 110 | 110 | if ($lang) { |
@@ -119,13 +119,13 @@ discard block |
||
| 119 | 119 | } |
| 120 | 120 | foreach ($langs[$lang] as $l) { |
| 121 | 121 | if ($fichiers_lang = chercher_module_lang($module, $l)) { |
| 122 | - $GLOBALS['idx_lang'] = 'i18n_' . $module . '_' . $l; |
|
| 122 | + $GLOBALS['idx_lang'] = 'i18n_'.$module.'_'.$l; |
|
| 123 | 123 | include(array_shift($fichiers_lang)); |
| 124 | 124 | surcharger_langue($fichiers_lang); |
| 125 | 125 | if ($l !== $lang) { |
| 126 | - $GLOBALS[$var] = &$GLOBALS['i18n_' . $module . '_' . $l]; |
|
| 126 | + $GLOBALS[$var] = &$GLOBALS['i18n_'.$module.'_'.$l]; |
|
| 127 | 127 | } |
| 128 | - $GLOBALS['lang_' . $var] = $l; |
|
| 128 | + $GLOBALS['lang_'.$var] = $l; |
|
| 129 | 129 | #spip_log("module de langue : ${module}_$l.php", 'traduire'); |
| 130 | 130 | break; |
| 131 | 131 | } |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | foreach ($fichiers as $fichier) { |
| 164 | 164 | if (!isset($surcharges[$fichier])) { |
| 165 | 165 | $idx_lang_normal = $GLOBALS['idx_lang']; |
| 166 | - $GLOBALS['idx_lang'] = $GLOBALS['idx_lang'] . '@temporaire'; |
|
| 166 | + $GLOBALS['idx_lang'] = $GLOBALS['idx_lang'].'@temporaire'; |
|
| 167 | 167 | include($fichier); |
| 168 | 168 | $surcharges[$fichier] = $GLOBALS[$GLOBALS['idx_lang']]; |
| 169 | 169 | unset($GLOBALS[$GLOBALS['idx_lang']]); |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | } |
| 172 | 172 | if (is_array($surcharges[$fichier])) { |
| 173 | 173 | $GLOBALS[$GLOBALS['idx_lang']] = array_merge( |
| 174 | - (isset($GLOBALS[$GLOBALS['idx_lang']]) ? (array)$GLOBALS[$GLOBALS['idx_lang']] : array()), |
|
| 174 | + (isset($GLOBALS[$GLOBALS['idx_lang']]) ? (array) $GLOBALS[$GLOBALS['idx_lang']] : array()), |
|
| 175 | 175 | $surcharges[$fichier] |
| 176 | 176 | ); |
| 177 | 177 | } |
@@ -249,27 +249,27 @@ discard block |
||
| 249 | 249 | } else { |
| 250 | 250 | $modules = array('spip', 'ecrire'); |
| 251 | 251 | $code = $ori; |
| 252 | - $ori_complet = implode('|', $modules) . ':' . $ori; |
|
| 252 | + $ori_complet = implode('|', $modules).':'.$ori; |
|
| 253 | 253 | } |
| 254 | 254 | |
| 255 | 255 | $desc = new SPIP_Traductions_Description(); |
| 256 | 256 | |
| 257 | 257 | // parcourir tous les modules jusqu'a ce qu'on trouve |
| 258 | 258 | foreach ($modules as $module) { |
| 259 | - $var = "i18n_" . $module . "_" . $lang; |
|
| 259 | + $var = "i18n_".$module."_".$lang; |
|
| 260 | 260 | |
| 261 | 261 | if (empty($GLOBALS[$var])) { |
| 262 | 262 | charger_langue($lang, $module); |
| 263 | 263 | // surcharges persos -- on cherche |
| 264 | 264 | // (lang/)local_xx.php et/ou (lang/)local.php ... |
| 265 | - if (!isset($local['local_' . $lang])) { |
|
| 265 | + if (!isset($local['local_'.$lang])) { |
|
| 266 | 266 | // redéfinir la langue en cours pour les surcharges (chercher_langue a pu le changer) |
| 267 | 267 | $GLOBALS['idx_lang'] = $var; |
| 268 | 268 | // ... (lang/)local_xx.php |
| 269 | - $local['local_' . $lang] = chercher_module_lang('local', $lang); |
|
| 269 | + $local['local_'.$lang] = chercher_module_lang('local', $lang); |
|
| 270 | 270 | } |
| 271 | - if ($local['local_' . $lang]) { |
|
| 272 | - surcharger_langue($local['local_' . $lang]); |
|
| 271 | + if ($local['local_'.$lang]) { |
|
| 272 | + surcharger_langue($local['local_'.$lang]); |
|
| 273 | 273 | } |
| 274 | 274 | // ... puis (lang/)local.php |
| 275 | 275 | if (!isset($local['local'])) { |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | if (isset($GLOBALS[$var][$code])) { |
| 284 | 284 | $desc->code = $code; |
| 285 | 285 | $desc->module = $module; |
| 286 | - $desc->langue = $GLOBALS['lang_' . $var]; |
|
| 286 | + $desc->langue = $GLOBALS['lang_'.$var]; |
|
| 287 | 287 | $desc->texte = $GLOBALS[$var][$code]; |
| 288 | 288 | break; |
| 289 | 289 | } |
@@ -337,13 +337,13 @@ discard block |
||
| 337 | 337 | if (!$desc->mode and $desc->texte) { |
| 338 | 338 | // ne pas modifier 2 fois l'affichage |
| 339 | 339 | $desc->mode = 'traduction'; |
| 340 | - $classe = 'debug-traduction' . ($desc->module == 'ecrire' ? '-prive' : ''); |
|
| 340 | + $classe = 'debug-traduction'.($desc->module == 'ecrire' ? '-prive' : ''); |
|
| 341 | 341 | $desc->texte = '<span ' |
| 342 | - . 'lang=' . $desc->langue |
|
| 343 | - . ' class=' . $classe |
|
| 344 | - . ' data-module=' . $desc->module |
|
| 345 | - . ' data-code=' . $desc->code |
|
| 346 | - . ' title=' . $modules . '(' . $desc->langue . ')>' |
|
| 342 | + . 'lang='.$desc->langue |
|
| 343 | + . ' class='.$classe |
|
| 344 | + . ' data-module='.$desc->module |
|
| 345 | + . ' data-code='.$desc->code |
|
| 346 | + . ' title='.$modules.'('.$desc->langue.')>' |
|
| 347 | 347 | . $desc->texte |
| 348 | 348 | . '</span>'; |
| 349 | 349 | $desc->texte = str_replace( |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Attention a modifier simultanement le sanity check de |
| 42 | 42 | * la fonction retire_cache() de inc/invalideur |
| 43 | 43 | * |
| 44 | - * @param $nom_cache |
|
| 44 | + * @param string $nom_cache |
|
| 45 | 45 | * @return string |
| 46 | 46 | */ |
| 47 | 47 | function cache_chemin_fichier($nom_cache, $ecrire = false) { |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | \***************************************************************************/ |
| 12 | 12 | |
| 13 | 13 | if (!defined('_ECRIRE_INC_VERSION')) { |
| 14 | - return; |
|
| 14 | + return; |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
@@ -27,9 +27,9 @@ discard block |
||
| 27 | 27 | * @return string |
| 28 | 28 | */ |
| 29 | 29 | function generer_nom_fichier_cache($contexte, $page) { |
| 30 | - $u = md5(var_export(array($contexte, $page), true)); |
|
| 30 | + $u = md5(var_export(array($contexte, $page), true)); |
|
| 31 | 31 | |
| 32 | - return $u . ".cache"; |
|
| 32 | + return $u . ".cache"; |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -45,26 +45,26 @@ discard block |
||
| 45 | 45 | * @return string |
| 46 | 46 | */ |
| 47 | 47 | function cache_chemin_fichier($nom_cache, $ecrire = false) { |
| 48 | - static $l1, $l2; |
|
| 49 | - if (is_null($l1)) { |
|
| 50 | - $length = (defined('_CACHE_PROFONDEUR_STOCKAGE') ? min(8,max(_CACHE_PROFONDEUR_STOCKAGE,2)) : 4); |
|
| 51 | - $l1 = intval(floor($length / 2)); |
|
| 52 | - $l2 = $length - $l1; |
|
| 53 | - } |
|
| 54 | - $d = substr($nom_cache, 0, $l1); |
|
| 55 | - $u = substr($nom_cache, $l1, $l2); |
|
| 56 | - |
|
| 57 | - if ($ecrire) { |
|
| 58 | - $rep = sous_repertoire(_DIR_CACHE, '', false, true); |
|
| 59 | - $rep = sous_repertoire($rep, 'calcul/', false, true); |
|
| 60 | - $rep = sous_repertoire($rep, $d, false, true); |
|
| 61 | - } |
|
| 62 | - else { |
|
| 63 | - // en lecture on essaye pa de creer les repertoires, on va au plus vite |
|
| 64 | - $rep = _DIR_CACHE . "$d/"; |
|
| 65 | - } |
|
| 66 | - |
|
| 67 | - return $rep . $u . ".cache"; |
|
| 48 | + static $l1, $l2; |
|
| 49 | + if (is_null($l1)) { |
|
| 50 | + $length = (defined('_CACHE_PROFONDEUR_STOCKAGE') ? min(8,max(_CACHE_PROFONDEUR_STOCKAGE,2)) : 4); |
|
| 51 | + $l1 = intval(floor($length / 2)); |
|
| 52 | + $l2 = $length - $l1; |
|
| 53 | + } |
|
| 54 | + $d = substr($nom_cache, 0, $l1); |
|
| 55 | + $u = substr($nom_cache, $l1, $l2); |
|
| 56 | + |
|
| 57 | + if ($ecrire) { |
|
| 58 | + $rep = sous_repertoire(_DIR_CACHE, '', false, true); |
|
| 59 | + $rep = sous_repertoire($rep, 'calcul/', false, true); |
|
| 60 | + $rep = sous_repertoire($rep, $d, false, true); |
|
| 61 | + } |
|
| 62 | + else { |
|
| 63 | + // en lecture on essaye pa de creer les repertoires, on va au plus vite |
|
| 64 | + $rep = _DIR_CACHE . "$d/"; |
|
| 65 | + } |
|
| 66 | + |
|
| 67 | + return $rep . $u . ".cache"; |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * @return bool |
| 76 | 76 | */ |
| 77 | 77 | function ecrire_cache($nom_cache, $valeur) { |
| 78 | - return ecrire_fichier(cache_chemin_fichier($nom_cache, true), serialize(array("nom_cache" => $nom_cache, "valeur" => $valeur))); |
|
| 78 | + return ecrire_fichier(cache_chemin_fichier($nom_cache, true), serialize(array("nom_cache" => $nom_cache, "valeur" => $valeur))); |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
@@ -85,33 +85,33 @@ discard block |
||
| 85 | 85 | * @return mixed |
| 86 | 86 | */ |
| 87 | 87 | function lire_cache($nom_cache) { |
| 88 | - if (file_exists($f = cache_chemin_fichier($nom_cache)) |
|
| 89 | - and lire_fichier($f, $tmp) |
|
| 90 | - and $tmp = unserialize($tmp) |
|
| 91 | - and $tmp['nom_cache'] == $nom_cache |
|
| 92 | - and isset($tmp['valeur']) |
|
| 93 | - ) { |
|
| 94 | - return $tmp['valeur']; |
|
| 95 | - } |
|
| 96 | - |
|
| 97 | - return false; |
|
| 88 | + if (file_exists($f = cache_chemin_fichier($nom_cache)) |
|
| 89 | + and lire_fichier($f, $tmp) |
|
| 90 | + and $tmp = unserialize($tmp) |
|
| 91 | + and $tmp['nom_cache'] == $nom_cache |
|
| 92 | + and isset($tmp['valeur']) |
|
| 93 | + ) { |
|
| 94 | + return $tmp['valeur']; |
|
| 95 | + } |
|
| 96 | + |
|
| 97 | + return false; |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | // Parano : on signe le cache, afin d'interdire un hack d'injection |
| 101 | 101 | // dans notre memcache |
| 102 | 102 | function cache_signature(&$page) { |
| 103 | - if (!isset($GLOBALS['meta']['cache_signature'])) { |
|
| 104 | - include_spip('inc/acces'); |
|
| 105 | - include_spip('auth/sha256.inc'); |
|
| 106 | - ecrire_meta('cache_signature', |
|
| 107 | - spip_sha256( |
|
| 108 | - $_SERVER["DOCUMENT_ROOT"] |
|
| 109 | - . (isset($_SERVER['SERVER_SIGNATURE']) ? $_SERVER["SERVER_SIGNATURE"] : "") |
|
| 110 | - . creer_uniqid() |
|
| 111 | - ), 'non'); |
|
| 112 | - } |
|
| 113 | - |
|
| 114 | - return crc32($GLOBALS['meta']['cache_signature'] . $page['texte']); |
|
| 103 | + if (!isset($GLOBALS['meta']['cache_signature'])) { |
|
| 104 | + include_spip('inc/acces'); |
|
| 105 | + include_spip('auth/sha256.inc'); |
|
| 106 | + ecrire_meta('cache_signature', |
|
| 107 | + spip_sha256( |
|
| 108 | + $_SERVER["DOCUMENT_ROOT"] |
|
| 109 | + . (isset($_SERVER['SERVER_SIGNATURE']) ? $_SERVER["SERVER_SIGNATURE"] : "") |
|
| 110 | + . creer_uniqid() |
|
| 111 | + ), 'non'); |
|
| 112 | + } |
|
| 113 | + |
|
| 114 | + return crc32($GLOBALS['meta']['cache_signature'] . $page['texte']); |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /** |
@@ -125,14 +125,14 @@ discard block |
||
| 125 | 125 | * @return array |
| 126 | 126 | */ |
| 127 | 127 | function gzip_page($page) { |
| 128 | - if (function_exists('gzcompress') and strlen($page['texte']) > 16 * 1024) { |
|
| 129 | - $page['gz'] = true; |
|
| 130 | - $page['texte'] = gzcompress($page['texte']); |
|
| 131 | - } else { |
|
| 132 | - $page['gz'] = false; |
|
| 133 | - } |
|
| 134 | - |
|
| 135 | - return $page; |
|
| 128 | + if (function_exists('gzcompress') and strlen($page['texte']) > 16 * 1024) { |
|
| 129 | + $page['gz'] = true; |
|
| 130 | + $page['texte'] = gzcompress($page['texte']); |
|
| 131 | + } else { |
|
| 132 | + $page['gz'] = false; |
|
| 133 | + } |
|
| 134 | + |
|
| 135 | + return $page; |
|
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |
@@ -147,10 +147,10 @@ discard block |
||
| 147 | 147 | * @return void |
| 148 | 148 | */ |
| 149 | 149 | function gunzip_page(&$page) { |
| 150 | - if ($page['gz']) { |
|
| 151 | - $page['texte'] = gzuncompress($page['texte']); |
|
| 152 | - $page['gz'] = false; // ne pas gzuncompress deux fois une meme page |
|
| 153 | - } |
|
| 150 | + if ($page['gz']) { |
|
| 151 | + $page['texte'] = gzuncompress($page['texte']); |
|
| 152 | + $page['gz'] = false; // ne pas gzuncompress deux fois une meme page |
|
| 153 | + } |
|
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
@@ -166,72 +166,72 @@ discard block |
||
| 166 | 166 | */ |
| 167 | 167 | /// https://code.spip.net/@cache_valide |
| 168 | 168 | function cache_valide(&$page, $date) { |
| 169 | - $now = $_SERVER['REQUEST_TIME']; |
|
| 170 | - |
|
| 171 | - // Apparition d'un nouvel article post-date ? |
|
| 172 | - if (isset($GLOBALS['meta']['post_dates']) |
|
| 173 | - and $GLOBALS['meta']['post_dates'] == 'non' |
|
| 174 | - and isset($GLOBALS['meta']['date_prochain_postdate']) |
|
| 175 | - and $now > $GLOBALS['meta']['date_prochain_postdate'] |
|
| 176 | - ) { |
|
| 177 | - spip_log('Un article post-date invalide le cache'); |
|
| 178 | - include_spip('inc/rubriques'); |
|
| 179 | - calculer_prochain_postdate(true); |
|
| 180 | - } |
|
| 181 | - |
|
| 182 | - if (defined('_VAR_NOCACHE') and _VAR_NOCACHE) { |
|
| 183 | - return -1; |
|
| 184 | - } |
|
| 185 | - if (isset($GLOBALS['meta']['cache_inhib']) and $_SERVER['REQUEST_TIME'] < $GLOBALS['meta']['cache_inhib']) { |
|
| 186 | - return -1; |
|
| 187 | - } |
|
| 188 | - if (defined('_NO_CACHE')) { |
|
| 189 | - return (_NO_CACHE == 0 and !isset($page['texte'])) ? 1 : _NO_CACHE; |
|
| 190 | - } |
|
| 191 | - |
|
| 192 | - // pas de cache ? on le met a jour, sauf pour les bots (on leur calcule la page sans mise en cache) |
|
| 193 | - if (!$page or !isset($page['texte']) or !isset($page['entetes']['X-Spip-Cache'])) { |
|
| 194 | - return _IS_BOT ? -1 : 1; |
|
| 195 | - } |
|
| 196 | - |
|
| 197 | - // controle de la signature |
|
| 198 | - if ($page['sig'] !== cache_signature($page)) { |
|
| 199 | - return _IS_BOT ? -1 : 1; |
|
| 200 | - } |
|
| 201 | - |
|
| 202 | - // #CACHE{n,statique} => on n'invalide pas avec derniere_modif |
|
| 203 | - // cf. ecrire/public/balises.php, balise_CACHE_dist() |
|
| 204 | - if (!isset($page['entetes']['X-Spip-Statique']) or $page['entetes']['X-Spip-Statique'] !== 'oui') { |
|
| 205 | - |
|
| 206 | - // Cache invalide par la meta 'derniere_modif' |
|
| 207 | - // sauf pour les bots, qui utilisent toujours le cache |
|
| 208 | - if (!_IS_BOT |
|
| 209 | - and $GLOBALS['derniere_modif_invalide'] |
|
| 210 | - and isset($GLOBALS['meta']['derniere_modif']) |
|
| 211 | - and $date < $GLOBALS['meta']['derniere_modif'] |
|
| 212 | - ) { |
|
| 213 | - return 1; |
|
| 214 | - } |
|
| 215 | - |
|
| 216 | - } |
|
| 217 | - |
|
| 218 | - // Sinon comparer l'age du fichier a sa duree de cache |
|
| 219 | - $duree = intval($page['entetes']['X-Spip-Cache']); |
|
| 220 | - $cache_mark = (isset($GLOBALS['meta']['cache_mark']) ? $GLOBALS['meta']['cache_mark'] : 0); |
|
| 221 | - if ($duree == 0) #CACHE{0} |
|
| 222 | - { |
|
| 223 | - return -1; |
|
| 224 | - } // sauf pour les bots, qui utilisent toujours le cache |
|
| 225 | - else { |
|
| 226 | - if ((!_IS_BOT and $date + $duree < $now) |
|
| 227 | - # le cache est anterieur a la derniere purge : l'ignorer, meme pour les bots |
|
| 228 | - or $date < $cache_mark |
|
| 229 | - ) { |
|
| 230 | - return _IS_BOT ? -1 : 1; |
|
| 231 | - } else { |
|
| 232 | - return 0; |
|
| 233 | - } |
|
| 234 | - } |
|
| 169 | + $now = $_SERVER['REQUEST_TIME']; |
|
| 170 | + |
|
| 171 | + // Apparition d'un nouvel article post-date ? |
|
| 172 | + if (isset($GLOBALS['meta']['post_dates']) |
|
| 173 | + and $GLOBALS['meta']['post_dates'] == 'non' |
|
| 174 | + and isset($GLOBALS['meta']['date_prochain_postdate']) |
|
| 175 | + and $now > $GLOBALS['meta']['date_prochain_postdate'] |
|
| 176 | + ) { |
|
| 177 | + spip_log('Un article post-date invalide le cache'); |
|
| 178 | + include_spip('inc/rubriques'); |
|
| 179 | + calculer_prochain_postdate(true); |
|
| 180 | + } |
|
| 181 | + |
|
| 182 | + if (defined('_VAR_NOCACHE') and _VAR_NOCACHE) { |
|
| 183 | + return -1; |
|
| 184 | + } |
|
| 185 | + if (isset($GLOBALS['meta']['cache_inhib']) and $_SERVER['REQUEST_TIME'] < $GLOBALS['meta']['cache_inhib']) { |
|
| 186 | + return -1; |
|
| 187 | + } |
|
| 188 | + if (defined('_NO_CACHE')) { |
|
| 189 | + return (_NO_CACHE == 0 and !isset($page['texte'])) ? 1 : _NO_CACHE; |
|
| 190 | + } |
|
| 191 | + |
|
| 192 | + // pas de cache ? on le met a jour, sauf pour les bots (on leur calcule la page sans mise en cache) |
|
| 193 | + if (!$page or !isset($page['texte']) or !isset($page['entetes']['X-Spip-Cache'])) { |
|
| 194 | + return _IS_BOT ? -1 : 1; |
|
| 195 | + } |
|
| 196 | + |
|
| 197 | + // controle de la signature |
|
| 198 | + if ($page['sig'] !== cache_signature($page)) { |
|
| 199 | + return _IS_BOT ? -1 : 1; |
|
| 200 | + } |
|
| 201 | + |
|
| 202 | + // #CACHE{n,statique} => on n'invalide pas avec derniere_modif |
|
| 203 | + // cf. ecrire/public/balises.php, balise_CACHE_dist() |
|
| 204 | + if (!isset($page['entetes']['X-Spip-Statique']) or $page['entetes']['X-Spip-Statique'] !== 'oui') { |
|
| 205 | + |
|
| 206 | + // Cache invalide par la meta 'derniere_modif' |
|
| 207 | + // sauf pour les bots, qui utilisent toujours le cache |
|
| 208 | + if (!_IS_BOT |
|
| 209 | + and $GLOBALS['derniere_modif_invalide'] |
|
| 210 | + and isset($GLOBALS['meta']['derniere_modif']) |
|
| 211 | + and $date < $GLOBALS['meta']['derniere_modif'] |
|
| 212 | + ) { |
|
| 213 | + return 1; |
|
| 214 | + } |
|
| 215 | + |
|
| 216 | + } |
|
| 217 | + |
|
| 218 | + // Sinon comparer l'age du fichier a sa duree de cache |
|
| 219 | + $duree = intval($page['entetes']['X-Spip-Cache']); |
|
| 220 | + $cache_mark = (isset($GLOBALS['meta']['cache_mark']) ? $GLOBALS['meta']['cache_mark'] : 0); |
|
| 221 | + if ($duree == 0) #CACHE{0} |
|
| 222 | + { |
|
| 223 | + return -1; |
|
| 224 | + } // sauf pour les bots, qui utilisent toujours le cache |
|
| 225 | + else { |
|
| 226 | + if ((!_IS_BOT and $date + $duree < $now) |
|
| 227 | + # le cache est anterieur a la derniere purge : l'ignorer, meme pour les bots |
|
| 228 | + or $date < $cache_mark |
|
| 229 | + ) { |
|
| 230 | + return _IS_BOT ? -1 : 1; |
|
| 231 | + } else { |
|
| 232 | + return 0; |
|
| 233 | + } |
|
| 234 | + } |
|
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | /** |
@@ -246,55 +246,55 @@ discard block |
||
| 246 | 246 | */ |
| 247 | 247 | function creer_cache(&$page, &$chemin_cache) { |
| 248 | 248 | |
| 249 | - // Ne rien faire si on est en preview, debug, ou si une erreur |
|
| 250 | - // grave s'est presentee (compilation du squelette, MySQL, etc) |
|
| 251 | - // le cas var_nocache ne devrait jamais arriver ici (securite) |
|
| 252 | - // le cas spip_interdire_cache correspond a une ereur SQL grave non anticipable |
|
| 253 | - if ((defined('_VAR_NOCACHE') and _VAR_NOCACHE) |
|
| 254 | - or defined('spip_interdire_cache') |
|
| 255 | - ) { |
|
| 256 | - return; |
|
| 257 | - } |
|
| 258 | - |
|
| 259 | - // Si la page c1234 a un invalideur de session 'zz', sauver dans |
|
| 260 | - // 'tmp/cache/MD5(chemin_cache)_zz' |
|
| 261 | - if (isset($page['invalideurs']) |
|
| 262 | - and isset($page['invalideurs']['session']) |
|
| 263 | - ) { |
|
| 264 | - // on verifie que le contenu du chemin cache indique seulement |
|
| 265 | - // "cache sessionne" ; sa date indique la date de validite |
|
| 266 | - // des caches sessionnes |
|
| 267 | - if (!$tmp = lire_cache($chemin_cache)) { |
|
| 268 | - spip_log('Creation cache sessionne ' . $chemin_cache); |
|
| 269 | - $tmp = array( |
|
| 270 | - 'invalideurs' => array('session' => ''), |
|
| 271 | - 'lastmodified' => $_SERVER['REQUEST_TIME'] |
|
| 272 | - ); |
|
| 273 | - ecrire_cache($chemin_cache, $tmp); |
|
| 274 | - } |
|
| 275 | - $chemin_cache = generer_nom_fichier_cache(array("chemin_cache" => $chemin_cache), |
|
| 276 | - array("session" => $page['invalideurs']['session'])); |
|
| 277 | - } |
|
| 278 | - |
|
| 279 | - // ajouter la date de production dans le cache lui meme |
|
| 280 | - // (qui contient deja sa duree de validite) |
|
| 281 | - $page['lastmodified'] = $_SERVER['REQUEST_TIME']; |
|
| 282 | - |
|
| 283 | - // compresser le contenu si besoin |
|
| 284 | - $pagez = gzip_page($page); |
|
| 285 | - |
|
| 286 | - // signer le contenu |
|
| 287 | - $pagez['sig'] = cache_signature($pagez); |
|
| 288 | - |
|
| 289 | - // l'enregistrer, compresse ou non... |
|
| 290 | - $ok = ecrire_cache($chemin_cache, $pagez); |
|
| 291 | - |
|
| 292 | - spip_log((_IS_BOT ? "Bot:" : "") . "Creation du cache $chemin_cache pour " |
|
| 293 | - . $page['entetes']['X-Spip-Cache'] . " secondes" . ($ok ? '' : ' (erreur!)'), _LOG_INFO); |
|
| 294 | - |
|
| 295 | - // Inserer ses invalideurs |
|
| 296 | - include_spip('inc/invalideur'); |
|
| 297 | - maj_invalideurs($chemin_cache, $page); |
|
| 249 | + // Ne rien faire si on est en preview, debug, ou si une erreur |
|
| 250 | + // grave s'est presentee (compilation du squelette, MySQL, etc) |
|
| 251 | + // le cas var_nocache ne devrait jamais arriver ici (securite) |
|
| 252 | + // le cas spip_interdire_cache correspond a une ereur SQL grave non anticipable |
|
| 253 | + if ((defined('_VAR_NOCACHE') and _VAR_NOCACHE) |
|
| 254 | + or defined('spip_interdire_cache') |
|
| 255 | + ) { |
|
| 256 | + return; |
|
| 257 | + } |
|
| 258 | + |
|
| 259 | + // Si la page c1234 a un invalideur de session 'zz', sauver dans |
|
| 260 | + // 'tmp/cache/MD5(chemin_cache)_zz' |
|
| 261 | + if (isset($page['invalideurs']) |
|
| 262 | + and isset($page['invalideurs']['session']) |
|
| 263 | + ) { |
|
| 264 | + // on verifie que le contenu du chemin cache indique seulement |
|
| 265 | + // "cache sessionne" ; sa date indique la date de validite |
|
| 266 | + // des caches sessionnes |
|
| 267 | + if (!$tmp = lire_cache($chemin_cache)) { |
|
| 268 | + spip_log('Creation cache sessionne ' . $chemin_cache); |
|
| 269 | + $tmp = array( |
|
| 270 | + 'invalideurs' => array('session' => ''), |
|
| 271 | + 'lastmodified' => $_SERVER['REQUEST_TIME'] |
|
| 272 | + ); |
|
| 273 | + ecrire_cache($chemin_cache, $tmp); |
|
| 274 | + } |
|
| 275 | + $chemin_cache = generer_nom_fichier_cache(array("chemin_cache" => $chemin_cache), |
|
| 276 | + array("session" => $page['invalideurs']['session'])); |
|
| 277 | + } |
|
| 278 | + |
|
| 279 | + // ajouter la date de production dans le cache lui meme |
|
| 280 | + // (qui contient deja sa duree de validite) |
|
| 281 | + $page['lastmodified'] = $_SERVER['REQUEST_TIME']; |
|
| 282 | + |
|
| 283 | + // compresser le contenu si besoin |
|
| 284 | + $pagez = gzip_page($page); |
|
| 285 | + |
|
| 286 | + // signer le contenu |
|
| 287 | + $pagez['sig'] = cache_signature($pagez); |
|
| 288 | + |
|
| 289 | + // l'enregistrer, compresse ou non... |
|
| 290 | + $ok = ecrire_cache($chemin_cache, $pagez); |
|
| 291 | + |
|
| 292 | + spip_log((_IS_BOT ? "Bot:" : "") . "Creation du cache $chemin_cache pour " |
|
| 293 | + . $page['entetes']['X-Spip-Cache'] . " secondes" . ($ok ? '' : ' (erreur!)'), _LOG_INFO); |
|
| 294 | + |
|
| 295 | + // Inserer ses invalideurs |
|
| 296 | + include_spip('inc/invalideur'); |
|
| 297 | + maj_invalideurs($chemin_cache, $page); |
|
| 298 | 298 | |
| 299 | 299 | } |
| 300 | 300 | |
@@ -310,15 +310,15 @@ discard block |
||
| 310 | 310 | * @return void |
| 311 | 311 | */ |
| 312 | 312 | function nettoyer_petit_cache($prefix, $duree = 300) { |
| 313 | - // determiner le repertoire a purger : 'tmp/CACHE/rech/' |
|
| 314 | - $dircache = sous_repertoire(_DIR_CACHE, $prefix); |
|
| 315 | - if (spip_touch($dircache . 'purger_' . $prefix, $duree, true)) { |
|
| 316 | - foreach (preg_files($dircache, '[.]txt$') as $f) { |
|
| 317 | - if ($_SERVER['REQUEST_TIME'] - (@file_exists($f) ? @filemtime($f) : 0) > $duree) { |
|
| 318 | - spip_unlink($f); |
|
| 319 | - } |
|
| 320 | - } |
|
| 321 | - } |
|
| 313 | + // determiner le repertoire a purger : 'tmp/CACHE/rech/' |
|
| 314 | + $dircache = sous_repertoire(_DIR_CACHE, $prefix); |
|
| 315 | + if (spip_touch($dircache . 'purger_' . $prefix, $duree, true)) { |
|
| 316 | + foreach (preg_files($dircache, '[.]txt$') as $f) { |
|
| 317 | + if ($_SERVER['REQUEST_TIME'] - (@file_exists($f) ? @filemtime($f) : 0) > $duree) { |
|
| 318 | + spip_unlink($f); |
|
| 319 | + } |
|
| 320 | + } |
|
| 321 | + } |
|
| 322 | 322 | } |
| 323 | 323 | |
| 324 | 324 | |
@@ -348,126 +348,126 @@ discard block |
||
| 348 | 348 | */ |
| 349 | 349 | function public_cacher_dist($contexte, &$use_cache, &$chemin_cache, &$page, &$lastmodified) { |
| 350 | 350 | |
| 351 | - # fonction de cache minimale : dire "non on ne met rien en cache" |
|
| 352 | - # $use_cache = -1; return; |
|
| 353 | - |
|
| 354 | - // Second appel, destine a l'enregistrement du cache sur le disque |
|
| 355 | - if (isset($chemin_cache)) { |
|
| 356 | - return creer_cache($page, $chemin_cache); |
|
| 357 | - } |
|
| 358 | - |
|
| 359 | - // Toute la suite correspond au premier appel |
|
| 360 | - $contexte_implicite = $page['contexte_implicite']; |
|
| 361 | - |
|
| 362 | - // Cas ignorant le cache car completement dynamique |
|
| 363 | - if ($_SERVER['REQUEST_METHOD'] == 'POST' |
|
| 364 | - or _request('connect') |
|
| 365 | - ) { |
|
| 366 | - $use_cache = -1; |
|
| 367 | - $lastmodified = 0; |
|
| 368 | - $chemin_cache = ""; |
|
| 369 | - $page = array(); |
|
| 370 | - |
|
| 371 | - return; |
|
| 372 | - } |
|
| 373 | - |
|
| 374 | - // Controler l'existence d'un cache nous correspondant |
|
| 375 | - $chemin_cache = generer_nom_fichier_cache($contexte, $page); |
|
| 376 | - $lastmodified = 0; |
|
| 377 | - |
|
| 378 | - // charger le cache s'il existe (et si il a bien le bon hash = anticollision) |
|
| 379 | - if (!$page = lire_cache($chemin_cache)) { |
|
| 380 | - $page = array(); |
|
| 381 | - } |
|
| 382 | - |
|
| 383 | - // s'il est sessionne, charger celui correspondant a notre session |
|
| 384 | - if (isset($page['invalideurs']) |
|
| 385 | - and isset($page['invalideurs']['session']) |
|
| 386 | - ) { |
|
| 387 | - $chemin_cache_session = generer_nom_fichier_cache(array("chemin_cache" => $chemin_cache), |
|
| 388 | - array("session" => spip_session())); |
|
| 389 | - if ($page_session = lire_cache($chemin_cache_session) |
|
| 390 | - and $page_session['lastmodified'] >= $page['lastmodified'] |
|
| 391 | - ) { |
|
| 392 | - $page = $page_session; |
|
| 393 | - } else { |
|
| 394 | - $page = array(); |
|
| 395 | - } |
|
| 396 | - } |
|
| 397 | - |
|
| 398 | - |
|
| 399 | - // Faut-il effacer des pages invalidees (en particulier ce cache-ci) ? |
|
| 400 | - if (isset($GLOBALS['meta']['invalider'])) { |
|
| 401 | - // ne le faire que si la base est disponible |
|
| 402 | - if (spip_connect()) { |
|
| 403 | - include_spip('inc/invalideur'); |
|
| 404 | - retire_caches($chemin_cache); # API invalideur inutile |
|
| 405 | - supprimer_fichier(_DIR_CACHE . $chemin_cache); |
|
| 406 | - if (isset($chemin_cache_session) and $chemin_cache_session) { |
|
| 407 | - supprimer_fichier(_DIR_CACHE . $chemin_cache_session); |
|
| 408 | - } |
|
| 409 | - } |
|
| 410 | - } |
|
| 411 | - |
|
| 412 | - // Si un calcul, recalcul [ou preview, mais c'est recalcul] est demande, |
|
| 413 | - // on supprime le cache |
|
| 414 | - if (defined('_VAR_MODE') && _VAR_MODE && |
|
| 415 | - (isset($_COOKIE['spip_session']) |
|
| 416 | - || isset($_COOKIE['spip_admin']) |
|
| 417 | - || @file_exists(_ACCESS_FILE_NAME)) |
|
| 418 | - ) { |
|
| 419 | - $page = array('contexte_implicite' => $contexte_implicite); // ignorer le cache deja lu |
|
| 420 | - include_spip('inc/invalideur'); |
|
| 421 | - retire_caches($chemin_cache); # API invalideur inutile |
|
| 422 | - supprimer_fichier(_DIR_CACHE . $chemin_cache); |
|
| 423 | - if (isset($chemin_cache_session) and $chemin_cache_session) { |
|
| 424 | - supprimer_fichier(_DIR_CACHE . $chemin_cache_session); |
|
| 425 | - } |
|
| 426 | - } |
|
| 427 | - |
|
| 428 | - // $delais par defaut |
|
| 429 | - // pour toutes les pages sans #CACHE{} hors modeles/ et espace privé |
|
| 430 | - // qui sont a cache nul par defaut |
|
| 431 | - if (!isset($GLOBALS['delais'])) { |
|
| 432 | - if (!defined('_DUREE_CACHE_DEFAUT')) { |
|
| 433 | - define('_DUREE_CACHE_DEFAUT', 24 * 3600); |
|
| 434 | - } |
|
| 435 | - $GLOBALS['delais'] = _DUREE_CACHE_DEFAUT; |
|
| 436 | - } |
|
| 437 | - |
|
| 438 | - // determiner la validite de la page |
|
| 439 | - if ($page) { |
|
| 440 | - $use_cache = cache_valide($page, isset($page['lastmodified']) ? $page['lastmodified'] : 0); |
|
| 441 | - // le contexte implicite n'est pas stocke dans le cache, mais il y a equivalence |
|
| 442 | - // par le nom du cache. On le reinjecte donc ici pour utilisation eventuelle au calcul |
|
| 443 | - $page['contexte_implicite'] = $contexte_implicite; |
|
| 444 | - if (!$use_cache) { |
|
| 445 | - // $page est un cache utilisable |
|
| 446 | - gunzip_page($page); |
|
| 447 | - |
|
| 448 | - return; |
|
| 449 | - } |
|
| 450 | - } else { |
|
| 451 | - $page = array('contexte_implicite' => $contexte_implicite); |
|
| 452 | - $use_cache = cache_valide($page, 0); // fichier cache absent : provoque le calcul |
|
| 453 | - } |
|
| 454 | - |
|
| 455 | - // Si pas valide mais pas de connexion a la base, le garder quand meme |
|
| 456 | - if (!spip_connect()) { |
|
| 457 | - if (isset($page['texte'])) { |
|
| 458 | - gunzip_page($page); |
|
| 459 | - $use_cache = 0; |
|
| 460 | - } else { |
|
| 461 | - spip_log("Erreur base de donnees, impossible utiliser $chemin_cache"); |
|
| 462 | - include_spip('inc/minipres'); |
|
| 463 | - |
|
| 464 | - return minipres(_T('info_travaux_titre'), _T('titre_probleme_technique'), array('status' => 503)); |
|
| 465 | - } |
|
| 466 | - } |
|
| 467 | - |
|
| 468 | - if ($use_cache < 0) { |
|
| 469 | - $chemin_cache = ''; |
|
| 470 | - } |
|
| 471 | - |
|
| 472 | - return; |
|
| 351 | + # fonction de cache minimale : dire "non on ne met rien en cache" |
|
| 352 | + # $use_cache = -1; return; |
|
| 353 | + |
|
| 354 | + // Second appel, destine a l'enregistrement du cache sur le disque |
|
| 355 | + if (isset($chemin_cache)) { |
|
| 356 | + return creer_cache($page, $chemin_cache); |
|
| 357 | + } |
|
| 358 | + |
|
| 359 | + // Toute la suite correspond au premier appel |
|
| 360 | + $contexte_implicite = $page['contexte_implicite']; |
|
| 361 | + |
|
| 362 | + // Cas ignorant le cache car completement dynamique |
|
| 363 | + if ($_SERVER['REQUEST_METHOD'] == 'POST' |
|
| 364 | + or _request('connect') |
|
| 365 | + ) { |
|
| 366 | + $use_cache = -1; |
|
| 367 | + $lastmodified = 0; |
|
| 368 | + $chemin_cache = ""; |
|
| 369 | + $page = array(); |
|
| 370 | + |
|
| 371 | + return; |
|
| 372 | + } |
|
| 373 | + |
|
| 374 | + // Controler l'existence d'un cache nous correspondant |
|
| 375 | + $chemin_cache = generer_nom_fichier_cache($contexte, $page); |
|
| 376 | + $lastmodified = 0; |
|
| 377 | + |
|
| 378 | + // charger le cache s'il existe (et si il a bien le bon hash = anticollision) |
|
| 379 | + if (!$page = lire_cache($chemin_cache)) { |
|
| 380 | + $page = array(); |
|
| 381 | + } |
|
| 382 | + |
|
| 383 | + // s'il est sessionne, charger celui correspondant a notre session |
|
| 384 | + if (isset($page['invalideurs']) |
|
| 385 | + and isset($page['invalideurs']['session']) |
|
| 386 | + ) { |
|
| 387 | + $chemin_cache_session = generer_nom_fichier_cache(array("chemin_cache" => $chemin_cache), |
|
| 388 | + array("session" => spip_session())); |
|
| 389 | + if ($page_session = lire_cache($chemin_cache_session) |
|
| 390 | + and $page_session['lastmodified'] >= $page['lastmodified'] |
|
| 391 | + ) { |
|
| 392 | + $page = $page_session; |
|
| 393 | + } else { |
|
| 394 | + $page = array(); |
|
| 395 | + } |
|
| 396 | + } |
|
| 397 | + |
|
| 398 | + |
|
| 399 | + // Faut-il effacer des pages invalidees (en particulier ce cache-ci) ? |
|
| 400 | + if (isset($GLOBALS['meta']['invalider'])) { |
|
| 401 | + // ne le faire que si la base est disponible |
|
| 402 | + if (spip_connect()) { |
|
| 403 | + include_spip('inc/invalideur'); |
|
| 404 | + retire_caches($chemin_cache); # API invalideur inutile |
|
| 405 | + supprimer_fichier(_DIR_CACHE . $chemin_cache); |
|
| 406 | + if (isset($chemin_cache_session) and $chemin_cache_session) { |
|
| 407 | + supprimer_fichier(_DIR_CACHE . $chemin_cache_session); |
|
| 408 | + } |
|
| 409 | + } |
|
| 410 | + } |
|
| 411 | + |
|
| 412 | + // Si un calcul, recalcul [ou preview, mais c'est recalcul] est demande, |
|
| 413 | + // on supprime le cache |
|
| 414 | + if (defined('_VAR_MODE') && _VAR_MODE && |
|
| 415 | + (isset($_COOKIE['spip_session']) |
|
| 416 | + || isset($_COOKIE['spip_admin']) |
|
| 417 | + || @file_exists(_ACCESS_FILE_NAME)) |
|
| 418 | + ) { |
|
| 419 | + $page = array('contexte_implicite' => $contexte_implicite); // ignorer le cache deja lu |
|
| 420 | + include_spip('inc/invalideur'); |
|
| 421 | + retire_caches($chemin_cache); # API invalideur inutile |
|
| 422 | + supprimer_fichier(_DIR_CACHE . $chemin_cache); |
|
| 423 | + if (isset($chemin_cache_session) and $chemin_cache_session) { |
|
| 424 | + supprimer_fichier(_DIR_CACHE . $chemin_cache_session); |
|
| 425 | + } |
|
| 426 | + } |
|
| 427 | + |
|
| 428 | + // $delais par defaut |
|
| 429 | + // pour toutes les pages sans #CACHE{} hors modeles/ et espace privé |
|
| 430 | + // qui sont a cache nul par defaut |
|
| 431 | + if (!isset($GLOBALS['delais'])) { |
|
| 432 | + if (!defined('_DUREE_CACHE_DEFAUT')) { |
|
| 433 | + define('_DUREE_CACHE_DEFAUT', 24 * 3600); |
|
| 434 | + } |
|
| 435 | + $GLOBALS['delais'] = _DUREE_CACHE_DEFAUT; |
|
| 436 | + } |
|
| 437 | + |
|
| 438 | + // determiner la validite de la page |
|
| 439 | + if ($page) { |
|
| 440 | + $use_cache = cache_valide($page, isset($page['lastmodified']) ? $page['lastmodified'] : 0); |
|
| 441 | + // le contexte implicite n'est pas stocke dans le cache, mais il y a equivalence |
|
| 442 | + // par le nom du cache. On le reinjecte donc ici pour utilisation eventuelle au calcul |
|
| 443 | + $page['contexte_implicite'] = $contexte_implicite; |
|
| 444 | + if (!$use_cache) { |
|
| 445 | + // $page est un cache utilisable |
|
| 446 | + gunzip_page($page); |
|
| 447 | + |
|
| 448 | + return; |
|
| 449 | + } |
|
| 450 | + } else { |
|
| 451 | + $page = array('contexte_implicite' => $contexte_implicite); |
|
| 452 | + $use_cache = cache_valide($page, 0); // fichier cache absent : provoque le calcul |
|
| 453 | + } |
|
| 454 | + |
|
| 455 | + // Si pas valide mais pas de connexion a la base, le garder quand meme |
|
| 456 | + if (!spip_connect()) { |
|
| 457 | + if (isset($page['texte'])) { |
|
| 458 | + gunzip_page($page); |
|
| 459 | + $use_cache = 0; |
|
| 460 | + } else { |
|
| 461 | + spip_log("Erreur base de donnees, impossible utiliser $chemin_cache"); |
|
| 462 | + include_spip('inc/minipres'); |
|
| 463 | + |
|
| 464 | + return minipres(_T('info_travaux_titre'), _T('titre_probleme_technique'), array('status' => 503)); |
|
| 465 | + } |
|
| 466 | + } |
|
| 467 | + |
|
| 468 | + if ($use_cache < 0) { |
|
| 469 | + $chemin_cache = ''; |
|
| 470 | + } |
|
| 471 | + |
|
| 472 | + return; |
|
| 473 | 473 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | function generer_nom_fichier_cache($contexte, $page) { |
| 30 | 30 | $u = md5(var_export(array($contexte, $page), true)); |
| 31 | 31 | |
| 32 | - return $u . ".cache"; |
|
| 32 | + return $u.".cache"; |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | function cache_chemin_fichier($nom_cache, $ecrire = false) { |
| 48 | 48 | static $l1, $l2; |
| 49 | 49 | if (is_null($l1)) { |
| 50 | - $length = (defined('_CACHE_PROFONDEUR_STOCKAGE') ? min(8,max(_CACHE_PROFONDEUR_STOCKAGE,2)) : 4); |
|
| 50 | + $length = (defined('_CACHE_PROFONDEUR_STOCKAGE') ? min(8, max(_CACHE_PROFONDEUR_STOCKAGE, 2)) : 4); |
|
| 51 | 51 | $l1 = intval(floor($length / 2)); |
| 52 | 52 | $l2 = $length - $l1; |
| 53 | 53 | } |
@@ -61,10 +61,10 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | else { |
| 63 | 63 | // en lecture on essaye pa de creer les repertoires, on va au plus vite |
| 64 | - $rep = _DIR_CACHE . "$d/"; |
|
| 64 | + $rep = _DIR_CACHE."$d/"; |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - return $rep . $u . ".cache"; |
|
| 67 | + return $rep.$u.".cache"; |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | ), 'non'); |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | - return crc32($GLOBALS['meta']['cache_signature'] . $page['texte']); |
|
| 114 | + return crc32($GLOBALS['meta']['cache_signature'].$page['texte']); |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /** |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | // "cache sessionne" ; sa date indique la date de validite |
| 266 | 266 | // des caches sessionnes |
| 267 | 267 | if (!$tmp = lire_cache($chemin_cache)) { |
| 268 | - spip_log('Creation cache sessionne ' . $chemin_cache); |
|
| 268 | + spip_log('Creation cache sessionne '.$chemin_cache); |
|
| 269 | 269 | $tmp = array( |
| 270 | 270 | 'invalideurs' => array('session' => ''), |
| 271 | 271 | 'lastmodified' => $_SERVER['REQUEST_TIME'] |
@@ -289,8 +289,8 @@ discard block |
||
| 289 | 289 | // l'enregistrer, compresse ou non... |
| 290 | 290 | $ok = ecrire_cache($chemin_cache, $pagez); |
| 291 | 291 | |
| 292 | - spip_log((_IS_BOT ? "Bot:" : "") . "Creation du cache $chemin_cache pour " |
|
| 293 | - . $page['entetes']['X-Spip-Cache'] . " secondes" . ($ok ? '' : ' (erreur!)'), _LOG_INFO); |
|
| 292 | + spip_log((_IS_BOT ? "Bot:" : "")."Creation du cache $chemin_cache pour " |
|
| 293 | + . $page['entetes']['X-Spip-Cache']." secondes".($ok ? '' : ' (erreur!)'), _LOG_INFO); |
|
| 294 | 294 | |
| 295 | 295 | // Inserer ses invalideurs |
| 296 | 296 | include_spip('inc/invalideur'); |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | function nettoyer_petit_cache($prefix, $duree = 300) { |
| 313 | 313 | // determiner le repertoire a purger : 'tmp/CACHE/rech/' |
| 314 | 314 | $dircache = sous_repertoire(_DIR_CACHE, $prefix); |
| 315 | - if (spip_touch($dircache . 'purger_' . $prefix, $duree, true)) { |
|
| 315 | + if (spip_touch($dircache.'purger_'.$prefix, $duree, true)) { |
|
| 316 | 316 | foreach (preg_files($dircache, '[.]txt$') as $f) { |
| 317 | 317 | if ($_SERVER['REQUEST_TIME'] - (@file_exists($f) ? @filemtime($f) : 0) > $duree) { |
| 318 | 318 | spip_unlink($f); |
@@ -402,9 +402,9 @@ discard block |
||
| 402 | 402 | if (spip_connect()) { |
| 403 | 403 | include_spip('inc/invalideur'); |
| 404 | 404 | retire_caches($chemin_cache); # API invalideur inutile |
| 405 | - supprimer_fichier(_DIR_CACHE . $chemin_cache); |
|
| 405 | + supprimer_fichier(_DIR_CACHE.$chemin_cache); |
|
| 406 | 406 | if (isset($chemin_cache_session) and $chemin_cache_session) { |
| 407 | - supprimer_fichier(_DIR_CACHE . $chemin_cache_session); |
|
| 407 | + supprimer_fichier(_DIR_CACHE.$chemin_cache_session); |
|
| 408 | 408 | } |
| 409 | 409 | } |
| 410 | 410 | } |
@@ -419,9 +419,9 @@ discard block |
||
| 419 | 419 | $page = array('contexte_implicite' => $contexte_implicite); // ignorer le cache deja lu |
| 420 | 420 | include_spip('inc/invalideur'); |
| 421 | 421 | retire_caches($chemin_cache); # API invalideur inutile |
| 422 | - supprimer_fichier(_DIR_CACHE . $chemin_cache); |
|
| 422 | + supprimer_fichier(_DIR_CACHE.$chemin_cache); |
|
| 423 | 423 | if (isset($chemin_cache_session) and $chemin_cache_session) { |
| 424 | - supprimer_fichier(_DIR_CACHE . $chemin_cache_session); |
|
| 424 | + supprimer_fichier(_DIR_CACHE.$chemin_cache_session); |
|
| 425 | 425 | } |
| 426 | 426 | } |
| 427 | 427 | |
@@ -58,8 +58,7 @@ discard block |
||
| 58 | 58 | $rep = sous_repertoire(_DIR_CACHE, '', false, true); |
| 59 | 59 | $rep = sous_repertoire($rep, 'calcul/', false, true); |
| 60 | 60 | $rep = sous_repertoire($rep, $d, false, true); |
| 61 | - } |
|
| 62 | - else { |
|
| 61 | + } else { |
|
| 63 | 62 | // en lecture on essaye pa de creer les repertoires, on va au plus vite |
| 64 | 63 | $rep = _DIR_CACHE . "$d/"; |
| 65 | 64 | } |
@@ -218,9 +217,11 @@ discard block |
||
| 218 | 217 | // Sinon comparer l'age du fichier a sa duree de cache |
| 219 | 218 | $duree = intval($page['entetes']['X-Spip-Cache']); |
| 220 | 219 | $cache_mark = (isset($GLOBALS['meta']['cache_mark']) ? $GLOBALS['meta']['cache_mark'] : 0); |
| 221 | - if ($duree == 0) #CACHE{0} |
|
| 220 | + if ($duree == 0) { |
|
| 221 | + #CACHE{0} |
|
| 222 | 222 | { |
| 223 | 223 | return -1; |
| 224 | + } |
|
| 224 | 225 | } // sauf pour les bots, qui utilisent toujours le cache |
| 225 | 226 | else { |
| 226 | 227 | if ((!_IS_BOT and $date + $duree < $now) |