Last modified: 2006-10-01 19:22:54 UTC
The LanguageCs.php file both in MediaWiki CVS and in Wikimedia installations contains many wrongly translated items, and many items are missing completely. The file at its current version is in fact unusable. There is a much more up-to-date version at [[meta:LanguageCs.php]], and cs: Wikipedia has an up-to-date translation in its MediaWiki namespace.
Created attachment 420 [details] LanguageCs.php for MediaWiki 1.4 Updated and corrected LanguageCs.php for MediaWiki version 1.4 Note: this is not a diff, but a complete file, since the version in CVS is _so_ outdated the diff is twice as big as the whole file. I have tested the file on my local MediaWiki installation.
Created attachment 421 [details] LanguageCs.php for MediaWiki 1.5 Updated and corrected LanguageCs.php for HEAD (MediaWiki version 1.5). Note: this is not a diff, but a complete file, since the version in CVS is _so_ outdated the diff is twice as big as the whole file. I have done some basic testing of the file on my local MediaWiki installation.
Hi. When you plan to expand on an array, such as to add one bookstore to it do: $wgBookstoreListCs = array( 'Národní knihovna' =>'http://sigm....' ) + $wgBookstoreListEn; rather than what you currently do, this makes sure that if we ever add another bookstore to the Language.php file it will propegate through the rest of them, this also goes for skin names you didn't translate and other such arrays. Furthermore, there's some redundant code in there, you specify $wgMonthAbbreviationsCs but don't export it (the code is commented out), if you plan not to use a piece of code please don't put it in the file. Finally, why do you think you need checkTitleEncoding() ?
(In reply to comment #3) > When you plan to expand on an array [...] OK, originally, I went along the lines of other LanguageXx.php files, but now I see they have changed that recently; I have fixed that. > Furthermore, there's some redundant code in there, you specify > $wgMonthAbbreviationsCs but don't export it (the code is commented out), if you > plan not to use a piece of code please don't put it in the file. Sorry for that, those were forgotten remnants. > Finally, why do you think you need checkTitleEncoding() ? Well, I don't. The function has been there all the time since V_PHASE3REORG, I just haven't touched it as I have no idea what is it good for.
Created attachment 423 [details] LanguageCs.php for MediaWiki 1.4 and 1.5 updated LanguageCs.php (zip contains both versions)
Created attachment 454 [details] LanguageCs.php for 1.4 Some further little fixes and cleanup.
Created attachment 455 [details] LanguageCs.php for MediaWiki 1.5
Removing patch keyword, they're not patches but full attachments.
Created attachment 593 [details] LanguageCs.php diff for HEAD a diff -u version instead of a full attachment (although it is just a -everything, +everything)
Created attachment 594 [details] LanguageCs.php diff for the 1.4 branch a diff -u instead of full attachment
Created attachment 621 [details] LanguageCs.php patch for the 1.5 branch Two small (but important) fixes, +new items (esp. the Exif heap)
(In reply to comment #11) > Created an attachment (id=621) [edit] > LanguageCs.php patch for the 1.5 branch > > Two small (but important) fixes, +new items (esp. the Exif heap) Applied with some changes to HEAD.
(In reply to comment #10) > Created an attachment (id=594) [edit] > LanguageCs.php diff for the 1.4 branch > > a diff -u instead of full attachment Applied to REL1_4
Created attachment 629 [details] fix for two bugs in the 1.4 branch (one of them major) The abovementioned 1.4 patch unfortunately contains two bugs: 1. The NS_MEDIA namespace is wrongly duplicated with NS_IMAGE, so that _no images work_! 2. Javascript edit toolbar did not work because of quotes used instead of apostrophes. (The 1.5 version is correct.)
(In reply to comment #14) > Created an attachment (id=629) [edit] > fix for two bugs in the 1.4 branch (one of them major) > > The abovementioned 1.4 patch unfortunately contains two bugs: > 1. The NS_MEDIA namespace is wrongly duplicated with NS_IMAGE, so that _no > images work_! > 2. Javascript edit toolbar did not work because of quotes used instead of > apostrophes. > > (The 1.5 version is correct.) Applied to REL1_4
Created attachment 1311 [details] LanguageCs.php diff against current HEAD, i.e. 1.82 Update of the Czech translation
Reopening to reflect new patch.
Committed; it looked sane enough to me. I also uncommented the "magic words" array, because I couldn't see why it was like that - I hope there wasn't a good reason!
Created attachment 1689 [details] Updates to MessagesCs.php (r14115)
Reopening for the new update
Applied to SVN trunk, r14119.
Created attachment 1928 [details] Updates to MessagesCs.php and LanguageCs.php Implementation of plural and its use in messages, plus a few fixes, updates, corrections, cleanup etc.
Following messages failed to apply: + 'matchtotals' => 'Zadanému „$1“ odpovídá $2 {{plural:$2|název strany|názvy stran|názvů stran}} a text $3 {{plural:$3|stran$ + 'nogomatch' => ' Neexistuje žádná stránka s názvem „$2“. Můžete tuto stránku [[$1|založit]].', Rest in 14771.
Created attachment 2427 [details] Updates to LanguageCs.php and MessagesCs.php updates, fixes to Czech translation of MW
Reopening for the new update (and changing summary a bit).
Applied to r16722. Please open a new bug the next time. Thank you!
Created attachment 2428 [details] Two more fixes Two more fixes: restorelink and undeletedrevisions-files
(In reply to comment #28) > Created an attachment (id=2428) [edit] > Two more fixes > > Two more fixes: restorelink and undeletedrevisions-files In r16723.