Open main menu

{{Edit request}}

I've made some minor changes in sl translation. Please change the existing translation with this one. Thanks, --Janezdrilc (talk) 12:24, 27 September 2017 (UTC)

//<source lang=javascript>
/*global $:false, catALot:false, mw:false */
/*jshint */

//DO NOT CHANGE THE NEXT LINE 
if (mw.config.get('wgUserLanguage') === 'sl') {
//DO NOT CHANGE THE PREVIOUS LINE
	mw.messages.set({
		// Preferences
		// new: added 2012-09-19. Please translate.
		// Use user language for i18n
		'cat-a-lot-watchlistpref': "Nastavitve Spiska nadzorov, ki se nanašajo na urejanje s Cat-a-lot",
		'cat-a-lot-watch_pref': "Po mojih splošnih nastavitvah",
		'cat-a-lot-watch_nochange': "Ne spreminjaj stanja nadzorov",
		'cat-a-lot-watch_watch': "Spremljaj strani, urejene s Cat-a-lot",
		'cat-a-lot-watch_unwatch': "Med urejanjem s Cat-a-lot sproti odstranjuj strani iz mojega Spiska nadzorov",
		'cat-a-lot-minorpref': "Označi urejanja kot manjša",
		'cat-a-lot-editpagespref': "Omogoči kategoriziranje podstrani in podkategorij (za razliko od datotek)",
		'cat-a-lot-docleanuppref': "Odstrani {{Check categories}} in druga manjša čiščenja",
		'cat-a-lot-subcatcountpref': "Število prikazanih podkategorij",
		'cat-a-lot-config-settings': "Nastavitve",

		//Progress
		'cat-a-lot-loading': 'Nalagam ...',
		'cat-a-lot-editing': 'Urejanje strani',
		'cat-a-lot-of': 'od ',
		'cat-a-lot-skipped-already': '{{PLURAL:$1|Naslednja|Naslednji|Naslednje|Naslednjih}} {{PLURAL:$1|stran je bila preskočena, saj je bila|$1 strani sta bili preskočeni, saj sta bili|$1 strani so bile preskočene, saj so bile|$1 strani je bilo preskočenih, saj so bile}} že v kateoriji:',
		'cat-a-lot-skipped-not-found': '{{PLURAL:$1|Naslednja|Naslednji|Naslednje|Naslednjih}} {{PLURAL:$1|stran je bila preskočena|$1 strani sta bili preskočeni|$1 strani so bile preskočene|$1 strani je bilo preskočenih}}, saj stare kategorije ni bilo mogoče najti:',
		'cat-a-lot-skipped-server': '{{PLURAL:$1|Naslednja|Naslednji|Naslednje|Naslednjih}} {{PLURAL:$1|stran ni bila spremenjena|$1 strani nista bili spremenjeni|$1 strani niso bile spremenjene|$1 strani ni bilo spremenjenih}}, saj je prišlo do težave s povezavo do strežnika:',
		'cat-a-lot-all-done': 'Vse strani so uspešno spremenjene.',
		'cat-a-lot-done': 'Opravljeno!',
		'cat-a-lot-added-cat': 'Dodana kategorija $1',
		'cat-a-lot-copied-cat': 'Skopirano v kategorijo $1',
		'cat-a-lot-moved-cat': 'Prestavljeno v kategorijo $1',
		'cat-a-lot-removed-cat': 'Odstranjeno iz kategorije $1',
		'cat-a-lot-return-to-page': 'Nazaj na stran',
		'cat-a-lot-cat-not-found': 'Kategorije ni bilo mogoče najti.',


		//as in 17 files selected
		'cat-a-lot-files-selected': '{{PLURAL:$1|Ena izbrana datoteka|$1 izbrani datoteki|$1 izbrane datoteke|$1 izbranih datotek}}.',

		//Actions
		'cat-a-lot-copy': 'Kopiraj',
		'cat-a-lot-move': 'Prestavi',
		'cat-a-lot-add': 'Dodaj',
		'cat-a-lot-remove-from-cat': 'Odstrani iz te kategorije',
		'cat-a-lot-enter-name': 'Vnesi ime kategorije',
		'cat-a-lot-select': 'Izberi',
		'cat-a-lot-all': 'vse',
		'cat-a-lot-none': 'nobeno',

		'cat-a-lot-none-selected': 'Nobena datoteka ni bila izbrana!',
	});
}
//DO NOT CHANGE THE NEXT LINE 
if (mw.config.get('wgContentLanguage') === 'sl') {
//DO NOT CHANGE THE PREVIOUS LINE
	mw.messages.set({
		'cat-a-lot-pref-save-summary': "[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]] posodablja tvoje uporabniške nastavitve",
		'cat-a-lot-summary-add': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Dodajanje [[Category:$1|Kategorije:$1]]',
		'cat-a-lot-summary-copy': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Kopiranje iz [[Category:$1|Kategorije:$1]] v [[Category:$2|Kategorijo:$1]]',
		'cat-a-lot-summary-move': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Prestavitev iz [[Category:$1|Kategorije:$1]] v [[Category:$2|Kategorijo:$1]]',
		'cat-a-lot-summary-remove': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Odstranitev [[Category:$1|Kategorije:$1]]'
	});
}
//</source>
✓ Done -- User: Perhelion 15:45, 27 September 2017 (UTC)
@Perhelion: I see that translation of Prestavitev iz [[Category:$1|Kategorije:$1]] v [[Category:$2|Kategorijo:$1]] makes the following summary in the Recent changes page: Cat-a-lot: Prestavitev iz Kategorije:$1 v Kategorijo:$1. Why $1 doesn't want to turn itself into the name of the category? --Janezdrilc (talk) 18:20, 17 October 2017 (UTC)
✓ Done Janezdrilc, there is only one value expected, I could extend the script. But I mean it would be better we take Prestavitev iz [[Kategorije:$1]] v [[Kategorijo:$2]]! -- User: Perhelion 20:41, 17 October 2017 (UTC)
@Perhelion: Even better. I agree. Ok, there are 4 summary phrases to be corrected so. Plus, I would like to change the phrase saj stare kategorije ni bilo mogoče najti to saj {{PLURAL:$1|nima|nimata|nimajo}} neposredno shranjene izvirne kategorije. --Janezdrilc (talk) 21:47, 17 October 2017 (UTC)
@Janezdrilc: I'm not sure what you are doing here. The PLURAL keyword can only take 2 parameters[1] you give them all 4!?! :-o -- User: Perhelion 00:01, 18 October 2017 (UTC)
@Perhelion: :-) Yes, it's hard to understand, but Slovenian language needs at least 3, in many cases even 4 parameters. I use PLURAL usually in Translatewiki so I supposed it should be similar here? See for example [2] (part about Sorbian language, which uses exactly the same plural scheme as Slovenian. Just for a quick presentation. The word brick, in Slovenian opeka:
  • English: 1 brick, 2 or 3 or 500 bricks
  • Slovenian: 1 opeka, 2 opeki, 3 opeke, 4 or 500 opek.
The translation of cat-a-lot-skipped-already needs all 4 parameters for example. The phrase with nima|nimata|nimajo should have three of them (the third and the fourth form are equal = nimajo). Oh, I'm glad I speak such a complicate language by birth :-/ --Janezdrilc (talk) 16:45, 18 October 2017 (UTC)

Please change this last part of translation (corrected not working links of categories):

//DO NOT CHANGE THE NEXT LINE 
if (mw.config.get('wgContentLanguage') === 'sl') {
//DO NOT CHANGE THE PREVIOUS LINE
	mw.messages.set({
		'cat-a-lot-pref-save-summary': "[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]] posodablja tvoje uporabniške nastavitve",
		'cat-a-lot-summary-add': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Dodajanje [[Kategorija:$1]]',
		'cat-a-lot-summary-copy': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Kopiranje iz [[Kategorija:$1]] v [[Kategorija:$1]]',
		'cat-a-lot-summary-move': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Prestavitev iz [[Kategorija:$1]] v [[Kategorija:$1]]',
		'cat-a-lot-summary-remove': '[[c:Help:Gadget-Cat-a-lot|Cat-a-lot]]: Odstranitev [[Kategorija:$1]]'
	});
}
//</source>

--Janezdrilc (talk) 12:43, 16 November 2017 (UTC)

✓ Done --Hedwig in Washington (mail?) 00:34, 17 November 2017 (UTC)
@Hedwig in Washington, Janezdrilc: I changed v [[Kategorija:$1]] to v [[Kategorija:$2]] -- User: Perhelion 02:25, 17 November 2017 (UTC)
Thanks! I missed that. --Hedwig in Washington (mail?) 02:35, 17 November 2017 (UTC)
Return to "Gadget-Cat-a-lot.js/sl" page.