MediaWiki:Gadget-HotCat.js/local defaults

Let op! Nadat u de veranderingen heeft opgeslagen, moet u de cache van uw browser nog legen om ze daadwerkelijk te zien.

Mozilla (incl. Firefox) Ctrl+Shift+R
Internet Explorer Ctrl+F5
Opera F5
Safari Cmd+R
Konqueror F5
// <syntaxhighlight lang=javascript>
/**
 * Localisatie van [[:Commons:Help:Gadget-HotCat]] voor de Nederlandse Wikipedia.
 */

if (typeof (HotCat) != 'undefined') {
    // HotCat is geladen.
    HotCat.capitalizePageNames = false;
    
    // Vertalingen van interface.
    HotCat.messages.cat_removed         = '[[:Categorie:$1]] verwijderd';
    HotCat.messages.template_removed    = '{{[[:Categorie:$1]]}} verwijderd';
    HotCat.messages.cat_added           = '[[:Categorie:$1]] toegevoegd';
    HotCat.messages.cat_keychange       = 'Sortering van [[:Categorie:$1]] aangepast naar ';
    HotCat.messages.cat_notFound        = 'Categorie $1 niet gevonden';
    HotCat.messages.cat_exists          = 'Categorie $1 bestaat al; niet toegevoegd.';
    HotCat.messages.cat_resolved        = ' (doorverwijzing naar [[:Categorie:$1]] gecorrigeerd)';
    HotCat.messages.uncat_removed       = null;
    HotCat.messages.using               = ' ([[WikiWoordenboek:HotCat|HotCat.js]])';
    HotCat.messages.multi_change        = '$1 categorieën';
    HotCat.messages.commit              = 'Opslaan';
    HotCat.messages.ok                  = 'Opslaan';
    HotCat.messages.cancel              = 'Annuleren';
    HotCat.messages.multi_error         = 'Het is niet gelukt om de tekst op te halen. De wijzigingen zijn niet opgeslagen.';
 
    // Projectspecifieke variabelen
    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                   = 'Categorieën';
    HotCat.disambig_category            = null;
    HotCat.redir_category               = null;
    HotCat.uncat_regexp                 = null;
    HotCat.template_regexp              = '[Tt][Ee][Mm][Pp][Ll][Aa][Tt][Ee]|[Ss][Jj][Aa][Bb][Ll][Oo]{2}[Nn]';
    HotCat.template_categories          = {};
    
    // Tooltips
    HotCat.tooltips.change              = 'Wijzigen';
    HotCat.tooltips.remove              = 'Verwijderen';
    HotCat.tooltips.add                 = 'Toevoegen';
    HotCat.tooltips.restore             = 'Herstellen';
    HotCat.tooltips.undo                = 'Herstellen';
    HotCat.tooltips.down                = 'Toon subcategorieën';
    HotCat.tooltips.up                  = 'Toon supercategorieën';
    HotCat.multi_tooltip                = 'Wijzig meerdere categorieën';
    
    // Zoekmachines
    HotCat.engine_names.searchindex     = 'Zoekindex';
    HotCat.engine_names.pagelist        = 'Categorielijst';
    HotCat.engine_names.combined        = 'Gecombineerd zoeken';
    HotCat.engine_names.subcat          = 'Subcategorieën';
    HotCat.engine_names.parentcat       = 'Supercategorieën';
    
    // Vul HotCat.template_categories aan met datumspecifieke categorieën.
    // Hulpvariabelen voor data.
    var fullMonthNames = new Array ('januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december');
    var currentYear = new Date().getFullYear();
    var previousYear = currentYear - 1;
}
// </syntaxhighlight>