aboutsummaryrefslogtreecommitdiffstats
path: root/languages/messages/MessagesLzh.php
Commit message (Collapse)AuthorAgeFilesLines
* Client-side date/time formatter libraryTim Starling2025-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a library providing date/time formatting according to the user's preferred time zone and date preference. I tested formatting of an example date with all defined formats in all languages, and I found that it gives identical output to PHP in about 90% of our ~500 languages. Resolve some of the outstanding issues by aliasing the problematic date formats on the client side, so that the user will see the date in another acceptable format for the same language. The remaining issues mostly relate to the use of a fallback language to display weekdays and non-Gregorian month names. Details: * Add Language::getJsDateFormats(), which converts existing date formats to an options array that can be interpreted by the client. * In Messages*.php, add $numberingSystem, which is the CLDR numbering system ID. I set it for all languages that had overriden $digitTransformTable. This is sent to the client in the library's JSON config and is used as the default numberingSystem option when formatting dates. * In Messages*.php, add $jsDateFormats, which overrides the automatically generated date format options. Bug: T389161 Change-Id: Ib6bc8ebd4d01317aaf32225c6006ea2dc7a1b39e
* Remove twn-related comment from languages/messages/* filesStang2022-11-131-2/+0
| | | | | Bug: T304802 Change-Id: Iccacf6288d758e526c95df69861385a4ac2d0f55
* language: Continue doc Languages subgroup for msg files and subclassesTimo Tijhof2022-06-291-1/+1
| | | | | | | | | | | Follows-up I301f471f86ba2. For ease of navigation, move Converter subclasses to a group called "Languages", which for documentation purposes is a subgroup of "Language". The next commit does the same for Messages* files, and Language subclasses (done separately for ease of review). Change-Id: If1cef9aa15f536ebaedd4477ad7453426e7f3b85
* Rearrange zh-related language fallback chainWinston Sung2022-06-011-1/+2
| | | | | | | | | | | | | | Update language fallback chain to zh-hans <=> zh-hant bidirectional to prevent adding translation duplicates in zh and zh-hans. Add en magic words in zh message file to prevent fallback to translations of language variants. Bug: T286291 Bug: T296188 Bug: T252367 Bug: T278639 Related: I484d4cba1e16fce0f7c433a865f3acf676b818c1 Related: Idf39310b4b66f9c5f210d1717e0e47b9e598c13c Change-Id: I3b30303118ae8cd87dc5f2016372f0de89a7b075
* Sort special page alises alphabeticallyUmherirrender2020-10-301-1/+2
| | | | | | | Use @phpcs-require-sorted-array from new codesniffer release 32.0.0 Bug: T255826 Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
* Change "Special:近易" to "Special:監修" in zh-classicalJayprakash123452018-01-061-1/+1
| | | | | Bug: T184330 Change-Id: I9dcd1829901ae4010feefd875f619db723d8dc20
* Move seperators from digits transforms to seperator transformsReedy2017-11-281-0/+3
| | | | Change-Id: Iecc30b4eae9a5fe0f87d162c8118722ba5aab90c
* Remove trailing empty lines in PHPFomafix2017-01-161-1/+0
| | | | | | | Performed using find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \; Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
* Set fallback language for lzh to zh-hantMarcoAurelio2016-09-151-0/+2
| | | | | Bug: T125373 Change-Id: Ie39d03efce0997c928ac0bc7f4a97ee8e047df45
* Convert all array() syntax to []Kunal Mehta2016-02-171-92/+92
| | | | | | | | | | Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
* Localisation updates from https://translatewiki.net.Siebrand Mazeland2015-01-291-0/+4
| | | | | | Updates for special page aliases. Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
* Fixed spacingumherirrender2014-07-201-3/+3
| | | | | | | | | | - use tab as indent instead of spaces - Added space after closures "function" - Added spaces around string_concat - Added newline inside empty blocks - Removed four spaces after comma Change-Id: I4425b0c6a69b36f40acfea6511b8950cf09ce2b2
* Cleanup message file documentationNiklas Laxström2014-06-051-2/+1
| | | | | | | | * Interface strings are now elsewhere * MessagesQQQ no longer exists * Prefer https for translatewiki.net Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
* Remove linktrail equal to 'en'umherirrender2014-04-301-2/+0
| | | | | | | The languages does not have a fallback language, which maybe is overridden, so there is no need to have the linktrail in its file. Change-Id: I48334ae96a2c1318992922a4ad7f44b28485ff61
* Migrate translations for core to JSON formatSiebrand Mazeland2014-04-011-2669/+0
| | | | | | Largest patch set in the history of MediaWiki! Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
* Localisation updates from https://translatewiki.net.Translation updater bot2014-03-271-1/+1
| | | | Change-Id: Ica6fa7fc2d685a655e07b24cd54c7ec42d10f214
* Localisation updates from https://translatewiki.net.Translation updater bot2014-03-261-1/+0
| | | | Change-Id: I31ee0d1685cdf6b315cb5336b30e548c76d67a95
* Localisation updates from https://translatewiki.net.Translation updater bot2014-03-211-2/+1
| | | | Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
* Localisation updates from https://translatewiki.net.Translation updater bot2014-03-191-1/+0
| | | | Change-Id: If3a8ff71e98aab98c39991147c715ec388ef91aa
* Localisation updates from https://translatewiki.net.Translation updater bot2014-03-151-1/+0
| | | | Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
* Localisation updates from https://translatewiki.net.Translation updater bot2014-03-111-1/+0
| | | | Change-Id: I87ed70aa87a61057fa81f0eae63363af85fd71a0
* Localisation updates from https://translatewiki.net.Translation updater bot2014-02-211-1/+0
| | | | Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
* Localisation updates from https://translatewiki.net.Translation updater bot2014-02-011-4/+0
| | | | Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980
* Localisation updates from https://translatewiki.net.Translation updater bot2014-01-261-1/+0
| | | | Change-Id: I8187963fdb3b2cb88ee7afc1cc3b32cf8672e20b
* Localisation updates from https://translatewiki.net.Translation updater bot2014-01-241-1/+0
| | | | Change-Id: Idf89d2bff84d9c4e74be06a2532222891b0fb30e
* Localisation updates from https://translatewiki.net.Translation updater bot2014-01-081-1/+0
| | | | Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-111-2/+3
| | | | Change-Id: I105dee236f2f05f91d0ffc4ae931c3012b48d938
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-101-1/+0
| | | | Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-081-9/+0
| | | | Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-071-15/+1
| | | | Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-051-11/+0
| | | | Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-041-8/+0
| | | | Change-Id: Ic4c5e76d04630a9da5bde0590db09b55d30132ec
* Localisation updates from https://translatewiki.net.Siebrand Mazeland2013-12-021-1/+0
| | | | | | Updates for translations of special page aliases. Change-Id: I061d2f9c8f5b3f4df58060fae4101e340c68a04d
* Localisation updates from https://translatewiki.net.Translation updater bot2013-11-241-3/+1
| | | | Change-Id: Iac7415ec17a0a30026e8c542f5ddd98d67b35d59
* Localisation updates from http://translatewiki.net.Translation updater bot2013-11-201-3/+1
| | | | Change-Id: I0eb353cd0cadf0bed7cd17d4c3eb2c7e108f6aa6
* Localisation updates from http://translatewiki.net.Translation updater bot2013-11-181-3/+3
| | | | Change-Id: I5a74c20de10a3203ff81d453de6c739a8a476081
* Localisation updates from http://translatewiki.net.Translation updater bot2013-10-211-2/+0
| | | | Change-Id: I922e660fafc7a952129beebeaed001712f5c2bc1
* Localisation updates from http://translatewiki.net.Translation updater bot2013-09-071-5/+1
| | | | Change-Id: I4f52889299ffc8ae8d49634fd8b36d73c66d8b5a
* Localisation updates from http://translatewiki.net.Translation updater bot2013-09-041-10/+0
| | | | Change-Id: I5e7da5913a10c7f75cdf223f2166cc7873134949
* Localisation updates from http://translatewiki.net.Translation updater bot2013-08-201-1/+0
| | | | Change-Id: I332982e76aa7f846c42e81fbd30141d85326f8b8
* Localisation updates from http://translatewiki.net.Translation updater bot2013-08-181-1/+1
| | | | Change-Id: Iad6b538be6d172d232b8e593ff98faf3d5707abe
* Localisation updates from http://translatewiki.net.Translation updater bot2013-08-021-1/+0
| | | | Change-Id: I9a8b8769d0077d4d406c27910b8f94d9f3a2ceeb
* Localisation updates from http://translatewiki.net.Translation updater bot2013-07-251-3/+0
| | | | Change-Id: I8ba898043b74a52eeb01aabfb81af51ef3a0c451
* Localisation updates from http://translatewiki.net.Translation updater bot2013-07-231-0/+8
| | | | Change-Id: Ic5becb02cca2d035192b096b6b4273d5cb036790
* Localisation updates from http://translatewiki.net.Translation updater bot2013-07-211-5/+31
| | | | Change-Id: Icd89c666b6962cf3028ee4d13860f4f61243c654
* Localisation updates from http://translatewiki.net.Translation updater bot2013-07-091-2/+1
| | | | Change-Id: I1a47d9aee7f6b86cdd51f1ad0ecad9cd92d2ac4f
* Localisation updates from http://translatewiki.net.Translation updater bot2013-07-041-10/+49
| | | | Change-Id: Iec37b28f3b8deec9ca4be82356d33b9e07a5b6a1
* Localisation updates from http://translatewiki.net.Translation updater bot2013-07-011-4/+0
| | | | Change-Id: Idfa4331722672da932fe8a124bc9618de0e31fea
* Localisation updates from http://translatewiki.net.Translation updater bot2013-06-271-1/+2
| | | | Change-Id: I943e34620f78a0af8ee078c918b14e3521957a12
* Localisation updates from http://translatewiki.net.Translation updater bot2013-06-181-1/+0
| | | | Change-Id: I4e865f40a8c69fdc7520bd3a89ec61ca9af57337