MediaWiki:Gadget-HotCat.js/local defaults

//

if (typeof (HotCat) != 'undefined') {

  HotCat.messages.cat_removed   = 'eliminat [[Categorie:$1]]';
  HotCat.messages.template_removed  = 'eliminat {{[[Categorie:$1]]}}';
  HotCat.messages.cat_added     = 'adăugat [[Categorie:$1]]';
  HotCat.messages.cat_keychange = 'cheie de sortare nouă pentru [[Categorie:$1]]: ';
  HotCat.messages.cat_notFound  = 'Categoria "$1" nu există';
  HotCat.messages.cat_exists    = 'Categoria "$1" deja există; nu se adaugă';
  HotCat.messages.cat_resolved  = ' (redirecţionare spre [[Categorie:$1]] rezolvată)';
  HotCat.messages.uncat_removed = 'eliminat format {{necat}}';
  HotCat.messages.using         = ' via [[WP:HC|HotCat]]';
  HotCat.messages.multi_change  = '$1 categorii';
  HotCat.messages.commit        = 'Salvează';
  HotCat.messages.ok            = 'OK';
  HotCat.messages.cancel        = 'Renunţă';
  HotCat.messages.multi_error   = 'Nu am putut obţine textul paginii de la server. Modificările nu pot fi salvate.';

  HotCat.category_regexp     = '[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]|[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Ii][Ee]';
  HotCat.category_canonical  = 'Categorie';
  HotCat.categories          = 'Categorii';
  HotCat.disambig_category   = 'Dezambiguizare';
  HotCat.redir_category      = 'Categorii de redirecționare';
  HotCat.uncat_regexp        = /\{\{\s*([Nn]ecat|[Nn]ecategorisite|[Nn]ecategorizate|[Cc]ategorisire|[Cc]ategorizare)[^}]*\}\}/g ;
  HotCat.template_regexp     = '[Tt][Ee][Mm][Pp][Ll][Aa][Tt][Ee]|[Ff][Oo][Rr][Mm][Aa][Tt]';
  HotCat.template_categories = {};

  HotCat.engine_names.searchindex = 'Index căutare';
  HotCat.engine_names.pagelist    = 'Listă pagini';
  HotCat.engine_names.combined    = 'Căutare combinată';
  HotCat.engine_names.subcat      = 'Subcategorii';
  HotCat.engine_names.parentcat   = 'Categorii părinte';

  HotCat.tooltips.change = 'Modifică';
  HotCat.tooltips.remove = 'Şterge';
  HotCat.tooltips.add = 'Adaugă o categorie nouă';
  HotCat.tooltips.restore = 'Restaurează';
  HotCat.tooltips.undo = 'Refă';
  HotCat.tooltips.down = 'Deschide pentru a modifica şi afişa subcategoriile';
  HotCat.tooltips.up = 'Deschide pentru a modifica şi afişa categoriile părinte';

  HotCat.multi_tooltip = 'Modifică mai multe categorii';

  window.HotCat.disable = (function (default_disable) {
    return function () {
      var wgArticleId = mw.config.get('wgArticleId');
      return wgArticleId == 0 || default_disable();
    };
  })(window.HotCat.disable);

} // end if

//