Last modified: 2007-08-24 08:05:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10405 - Updates to MessagesFa.php
Updates to MessagesFa.php
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2007-06-29 08:43 UTC by Huji
Modified: 2007-08-24 08:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

relevant patch file (810 bytes, patch)
2007-06-29 08:43 UTC, Huji
All-messages translation (824 bytes, patch)
2007-06-29 13:36 UTC, Huji
Translated the message (842 bytes, patch)
2007-07-02 12:41 UTC, Huji
Watchlist messages and more (37.94 KB, patch)
2007-07-11 15:16 UTC, Huji
Containst the missing watchlistedit seris message (1.18 KB, patch)
2007-07-12 14:01 UTC, Huji
Missing variables fiexed (23.43 KB, patch)
2007-07-12 16:45 UTC, Huji
Translation of several new messages (21.29 KB, patch)
2007-08-12 16:46 UTC, Huji

Description Huji 2007-06-29 08:43:07 UTC
This is a minor update to MessagesFa.php file. And please let me know it is prefered to submit such patches on separate (new) bugs, or use a single bug to send them on all occasions.
Comment 1 Huji 2007-06-29 08:43:41 UTC
Created attachment 3842 [details]
relevant patch file
Comment 2 Raimond Spekking 2007-06-29 08:50:21 UTC
Applied with r23545.

Please note, you are adding always a BOM ( ) with your patches. This is evil!

You can use this bug for more patches. Reopen it after adding a new attachment.
Comment 3 Huji 2007-06-29 13:27:57 UTC
Raimond, is this BOM added to the beginning of the file? How can I avoid that then? (I'm using Notepad as my editor, does it have anything to do with that problem?)
Comment 4 Huji 2007-06-29 13:36:52 UTC
Created attachment 3845 [details]
All-messages translation

I created a new patch for a new message being translated. I found that a BOM is added just before the <?php and removed it by hand this time. Let me know if this patch works without errors.
Comment 5 Huji 2007-06-29 13:41:17 UTC
Actually, I found out this is a notepad problem. For future reference:
Comment 6 Raimond Spekking 2007-07-02 09:56:14 UTC
(In reply to comment #4)
> Created an attachment (id=3845) [details]
> All-messages translation

This is still the English text... Where is the translation?
Comment 7 Huji 2007-07-02 12:41:06 UTC
Created attachment 3864 [details]
Translated the message

Pity. I must have made a mistake in choosing which file to upload. I have now attached a new patch file.
Comment 8 Raimond Spekking 2007-07-02 15:58:05 UTC
Applied with r23646.
Comment 9 Huji 2007-07-11 15:16:50 UTC
Created attachment 3887 [details]
Watchlist messages and more

Attached, please find the translated messages for watchlist pages, and more.
Comment 10 Raimond Spekking 2007-07-11 19:34:57 UTC
Applied with r24018.

Please note:

'watchlistedit-clear-confirm' was an empty string, I have removed this line from the patch.

Please try to add the missing variables with your next patch too:

20 messages of 1600 in fa don't use some variables while en uses them:
* pagecategories
* noconnect
* cascadeprotected
* passwordremindertext
* blockedtext
* whitelistedittext
* copyrightwarning
* cascadeprotectedwarning
* revdelete-selected
* logdelete-selected
* logdelete-logaction
* noexactmatch
* rcnote
* sitestatstext
* userstatstext
* exbeforeblank
* protect-cascadeon
* whatlinkshere-prev
* whatlinkshere-next
* confirmemail_sendfailed

Thanks a lot for your work!
Comment 11 Huji 2007-07-12 14:01:26 UTC
Created attachment 3892 [details]
Containst the missing watchlistedit seris message

Please find the messing translation of watchlistedit, in this new patch.
Comment 12 Huji 2007-07-12 14:03:36 UTC
For record, as I have discussed with Raimond on the #mediawiki IRC, some of the messages which use the {{plural variable in the English messages file, are always singular words in Persian (due to grammatic differences) and wouldn't need the use of a variable in the Fa messages file. However, I will recheck them, and also try my best to translate {{plural to Persian.
Comment 13 Shinjiman 2007-07-12 14:07:03 UTC
I think that is the plural word is the same as the sigular word, we can make the message by "{{PLURAL:$1|text|text}}". To let the checker know the variable $1 is used, and not showing that there's having the problem in the messages.
Comment 14 Huji 2007-07-12 16:45:37 UTC
Created attachment 3894 [details]
Missing variables fiexed

In this patch, I fixed all those messages which were missing variables. I added PLURAL in some places as well. In some cases, the message is the same with a singular or a plural variable value, but I added the PLURAL to keep the checkLanguage results clean.
Comment 15 Raimond Spekking 2007-07-12 16:53:30 UTC
All patches applied with r24039.
Comment 16 Shinjiman 2007-07-12 17:12:07 UTC
For your information:

52 messages of 1645 are not translated to fa, but exist in en:
* yourvariant
* exif-bitspersample
* exif-samplesperpixel
* exif-ycbcrsubsampling
* exif-ycbcrpositioning
* exif-stripoffsets
* exif-rowsperstrip
* exif-stripbytecounts
* exif-jpeginterchangeformat
* exif-transferfunction
* exif-whitepoint
* exif-primarychromaticities
* exif-ycbcrcoefficients
* exif-referenceblackwhite
* exif-flashpixversion
* exif-subsectimeoriginal
* exif-subsectimedigitized
* exif-exposuretime-format
* exif-exposurebiasvalue
* exif-maxaperturevalue
* exif-subjectarea
* exif-spatialfrequencyresponse
* exif-exposureindex
* exif-cfapattern
* exif-whitebalance
* exif-gaincontrol
* exif-gpsmapdatum
* exif-gpsprocessingmethod
* exif-planarconfiguration-1
* exif-planarconfiguration-2
* exif-exposureprogram-5
* exif-exposureprogram-6
* exif-lightsource-12
* exif-lightsource-13
* exif-lightsource-14
* exif-lightsource-15
* exif-lightsource-17
* exif-lightsource-18
* exif-lightsource-19
* exif-lightsource-24
* exif-exposuremode-2
* exif-whitebalance-0
* exif-whitebalance-1
* exif-gaincontrol-1
* exif-gaincontrol-2
* exif-gaincontrol-3
* exif-gaincontrol-4
* exif-gpsstatus-v
* trackbackbox
* trackbackremove
* trackbacklink
* trackbackdeleteok
Comment 17 Huji 2007-07-12 17:16:15 UTC
Com'on! I do checkLangauge every now and then myself! But I really need some time to discuss with my contacts about the best translation for some of these jargons like "Plantar Configuration" or "TrackBack" ... :)
Comment 18 Huji 2007-08-12 16:46:13 UTC
Created attachment 3989 [details]
Translation of several new messages

I have again translated several new messages, and removed the depricated ones. You need to perform rebuildLanguage too.
Comment 19 Raimond Spekking 2007-08-24 08:05:14 UTC
Applied with r25113.

Note You need to log in before you can comment on or make changes to this bug.