MediaWiki:Gadget-HotCat.js/local defaults

Napomena: Nakon što objavite izmjene, možda ćete morati osvježiti keš preglednika da biste vidjeli izmjene.

  • Firefox / Safari: Držite Shift i kliknite na Reload ili pritisnite Ctrl-F5 ili Ctrl-R (⌘-R na Macu)
  • Google Chrome: Pritisnite Ctrl-Shift-R (⌘-Shift-R na Macu)
  • Internet Explorer / Edge: Držite Ctrl i kliknite na Refresh ili pritisnite Ctrl-F5
  • Opera: Pritisnite Ctrl-F5.
//<source lang="javascript">
// Prijevod za HotCat.js
if (typeof (HotCat) != 'undefined') {

  HotCat.messages.cat_removed       = '[[Kategorija:$1]] uklonjena';
  HotCat.messages.template_removed  = '{{[[Kategorija:$1]]}} uklonjen';
  HotCat.messages.cat_added         = '[[Kategorija:$1]] dodata';
  HotCat.messages.cat_keychange     = 'novi ključ za [[Kategorija:$1]]: "$2"'; // $2 is the new key
  HotCat.messages.cat_notFound      = 'kategorija "$1" nije pronađena';
  HotCat.messages.cat_exists        = 'kategorija "$1" već postoji i zato nije dodana';
  HotCat.messages.cat_resolved      = ' (preusmjerenje [[Kategorija:$1]] riješeno)';
  HotCat.messages.uncat_removed     = 'uklonjen šablon {{kategorizacija}}';
  HotCat.messages.separator         = '; ';

  // Some text to prefix to the edit summary.
  HotCat.messages.prefix = "";

  // Some text to append to the edit summary. Named 'using' for historical reasons. If you prefer
  // to have a marker at the front, use prefix and set this to the empty string.
  HotCat.messages.using = ' (uz pomoć [[Wikipedia:HotCat|HotCat]]a)';

  // $1 is replaced by a number. If your language has several plural forms (c.f. [[:en:Dual (grammatical form)]]),
  // you can set this to an array of strings suitable for passing to mw.language.configPlural().
  // If that function doesn't exist, HotCat will simply fall back to using the last
  // entry in the array.
  HotCat.messages.multi_change = ['$1 kategorije','$1 kategorija'];

  // Button text. Localize to wgContentLanguage here; localize to wgUserLanguage in a subpage,
  // see localization hook below.
  HotCat.messages.commit = 'Sačuvaj';

  // Button text. Localize to wgContentLanguage here; localize to wgUserLanguage in a subpage,
  // see localization hook below.
  HotCat.messages.ok = 'OK';

  // Button text. Localize to wgContentLanguage here; localize to wgUserLanguage in a subpage,
  // see localization hook below.
  HotCat.messages.cancel = 'Odustani';

  // Localize to wgContentLanguage here; localize to wgUserLanguage in a subpage,
  // see localization hook below.
  HotCat.messages.multi_error = 'Nije moguće bilo otvoriti stranicu. Vaše izmjene zato nisu uspijele. Pokušajte kasnije ponovo.';

  // Defaults to '[[' + category_canonical + ':$1]]'. Can be overridden if in the short edit summaries
  // not the standard category name should be used but, say, a shorter namespace alias. $1 is replaced
  // by a category name.
  HotCat.messages.short_catchange = null;

  // The standard category name on your wiki. Is automatically localized correctly if you're running
  // MediaWiki 1.16 or later; otherwise, set it to the preferred category name (e.g., "Kategorie").
  HotCat.category_canonical = 'Kategorija';

  // Plural of category_canonical.
  HotCat.categories = 'Kategorije';

  // Any category in this category is deemed a disambiguation category; i.e., a category that should not contain
  // any items, but that contains links to other categories where stuff should be categorized. If you don't have
  // that concept on your wiki, set it to null. Use blanks, not underscores.
  HotCat.disambig_category = 'Čvor članci';

  // Any category in this category is deemed a (soft) redirect to some other category defined by the first link
  // to another category. If your wiki doesn't have soft category redirects, set this to null.
  HotCat.redir_category = 'Preusmjerene kategorije';

  // The tooltips for the above links
  HotCat.tooltips = {
      change:  'Izmijeni'
     ,remove:  'Ukloni'
     ,add:     'Dodaj novu kategoriju'
     ,restore: 'Vrati izmjene'
     ,undo:    'Ukloni izmjene'
     ,down:    'Otvori za podešavanje i prikaz potkategorija'
     ,up:      'Otvori za podešavanje i prikaz natkategorija'
    };

  // The HTML content of the "enter multi-mode" link at the front.
  HotCat.multi_tooltip = 'Izmijeni nekoliko kategorija';
      
  // A regexp matching a templates used to mark uncategorized pages, if your wiki does have that.
  // If not, set it to null.
  HotCat.uncat_regexp = /\{\{\s*([Kk]ategorizacija)[^}]*\}\}\s*(<\!--.*?--\>)?/g;

  // a list of categories which can be removed by removing a template
  // key: the category without namespace
  // value: A regexp matching the template name, again without namespace
  // If you don't have this at your wiki, or don't want this, set it to an empty object {}.
  HotCat.template_categories = {};

  // Names for the search engines
  HotCat.engine_names = {
      searchindex : 'Pretraga'
     ,pagelist    : 'Spisak stranica'
     ,combined    : 'Kombinovano pretraživanje'
     ,subcat      : 'Potkategorije'
     ,parentcat   : 'Natkategorije'
    };
}
//</source>