Commit graph

166 commits

Author SHA1 Message Date
jhsoby
2ef6f27728 Add more Norwegian Bokmål translations of special page names
Add some translations for special page names for Norwegian Bokmål [nb] that
didn't have translations before.

Change-Id: Ic26f4705085ba72b08106165d4c284847bd096ac
2021-03-16 11:17:07 +01:00
Umherirrender
7f28fe35b8 Sort magic words alises alphabetically in static language files
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0

Similiar to special page alias in
I827d1f5010d000609324ec398beeb142d9bac299

Bug: T255826
Change-Id: I7b7cbf0c03714001609437af68fe16e06930cc33
2021-03-06 16:21:51 +01:00
Umherirrender
673477a4b4 Sort special page alises alphabetically
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0

Bug: T255826
Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
2020-10-30 09:59:17 +01:00
Andre Klapper
f23e385421 Add Norwegian Bokmål translation for Special:TrackingCategory name
Bug: T254464
Change-Id: Ie94dd0e4da21268666b69133ceca3b46bba61ba5
2020-06-05 22:52:52 +02:00
Bartosz Dziewoński
0313128b10 Use PHP 7 "\u{NNNN}" Unicode codepoint escapes in string literals
In cases where we're operating on text data (and not binary data),
use e.g. "\u{00A0}" to refer directly to the Unicode character
'NO-BREAK SPACE' instead of "\xc2\xa0" to specify the bytes C2h A0h
(which correspond to the UTF-8 encoding of that character). This
makes it easier to look up those mysterious sequences, as not all
are as recognizable as the no-break space.

This is not enforced by PHP, but I think we should write those in
uppercase and zero-padded to at least four characters, like the
Unicode standard does.

Note that not all "\xNN" escapes can be automatically replaced:
* We can't use Unicode escapes for binary data that is not UTF-8
  (e.g. in code converting from legacy encodings or testing the
  handling of invalid UTF-8 byte sequences).
* '\xNN' escapes in regular expressions in single-quoted strings
  are actually handled by PCRE and have to be dealt with carefully
  (those regexps should probably be changed to use the /u modifier).
* "\xNN" referring to ASCII characters ("\x7F" and lower) should
  probably be left as-is.

The replacements in this commit were done semi-manually by piping
the existing "\xNN" escapes through the following terrible Ruby
script I devised:

  chars = eval('"' + ARGV[0] + '"').force_encoding('utf-8')
  puts chars.split('').map{|char|
    '\\u{' + char.ord.to_s(16).upcase.rjust(4, '0') + '}'
  }.join('')

Change-Id: Idc3dee3a7fb5ebfaef395754d8859b18f1f8769a
2018-06-04 16:20:13 +00:00
Fomafix
78f9b210bf Use HTTPS instead of HTTP for Amazon
This change is performed using:

sed -i -e 's/http:\/\/www.amazon/https:\/\/www.amazon/g' languages/messages/Messages*.php

Change-Id: I22c5e7a8d33a80b8cbe814f9735e7c24f1b004f9
2017-01-19 14:45:49 +01:00
Fomafix
ce6f7faadd Remove trailing empty lines in PHP
Performed using
find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \;

Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
2017-01-16 22:06:43 +01:00
Federico Leva
49674f0c46 Add reciprocal language fallback for nn and nb (Norwegian)
https://translatewiki.net/wiki/Thread:Portal_talk:Nb/Language_fallbacks

Change-Id: I597e317ef33758dba8eaa9d6dd458ea3922e3f33
2017-01-03 14:19:15 +00:00
Kunal Mehta
6e9b4f0e9c Convert all array() syntax to []
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
2016-02-17 01:33:00 -08:00
Mark A. Hershberger
97e9cdd2ef Remove references to Popularpages alias
The bit being removed here causes a NOTICE with HitCounters.

Change-Id: I318eb641d4ed4b50dea0a172cf7970045b3a49e7
2015-07-25 15:45:44 -04:00
Siebrand Mazeland
661f9e23e0 Localisation updates from https://translatewiki.net.
Updates for magic words.

Change-Id: Ic564d36de395c9a30be5f1390591da723f47edce
2015-01-29 20:39:32 +01:00
Siebrand Mazeland
187a93e554 Localisation updates from https://translatewiki.net.
Updates for special page aliases.

Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
2015-01-29 20:14:33 +01:00
Amir E. Aharoni
16534f426b Copy translations of Special:MyLanguage alias from Translate
Tuvan (tyv) didn't have a special page section, so now it's added.

See also I6f84eaf414b6d4239522bad14e90b1cbfc82590f.

Bug: 69461
Change-Id: Ie6a4d878b87ee030f9c042b43f7b1fb424b54099
2014-09-21 09:19:06 +00:00
Niklas Laxström
b382478944 Cleanup message file documentation
* Interface strings are now elsewhere
* MessagesQQQ no longer exists
* Prefer https for translatewiki.net

Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
2014-06-05 14:06:25 +00:00
Siebrand Mazeland
0dd91d5396 Migrate translations for core to JSON format
Largest patch set in the history of MediaWiki!

Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
2014-04-01 21:25:43 +00:00
Translation updater bot
9ff59d43e9 Localisation updates from https://translatewiki.net.
Change-Id: Ica6fa7fc2d685a655e07b24cd54c7ec42d10f214
2014-03-27 20:29:00 +00:00
Translation updater bot
8f2e73f9b3 Localisation updates from https://translatewiki.net.
Change-Id: I31ee0d1685cdf6b315cb5336b30e548c76d67a95
2014-03-26 20:37:55 +00:00
Translation updater bot
e14f84ab9c Localisation updates from https://translatewiki.net.
Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
2014-03-21 20:46:11 +00:00
Translation updater bot
ed3e9d73ed Localisation updates from https://translatewiki.net.
Change-Id: If3a8ff71e98aab98c39991147c715ec388ef91aa
2014-03-19 20:44:32 +00:00
Translation updater bot
9a51184037 Localisation updates from https://translatewiki.net.
Change-Id: Id6221ab7d0d906278a9163513ca63b74c9d41645
2014-03-18 20:38:58 +00:00
Translation updater bot
c9c8d2de86 Localisation updates from https://translatewiki.net.
Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
2014-03-15 20:07:15 +00:00
Translation updater bot
775ccf3813 Localisation updates from https://translatewiki.net.
Change-Id: I1d75011f4c5f78746fb1b05ef05858ac6a35eec4
2014-03-09 20:20:06 +00:00
Translation updater bot
90c2628eb0 Localisation updates from https://translatewiki.net.
Change-Id: Iac95418170688f90f53dcc28f6c429f0e79b0ac4
2014-03-03 20:52:13 +00:00
Translation updater bot
c5120a9676 Localisation updates from https://translatewiki.net.
Change-Id: I11ac7d4aeadddc7f20f44b98a9c08c8f20019ee6
2014-02-23 21:43:18 +00:00
Translation updater bot
6146a7d310 Localisation updates from https://translatewiki.net.
Change-Id: Id88aa24093b40a87b6beee70d81124179f95f006
2014-02-19 20:03:32 +00:00
Translation updater bot
50a1379550 Localisation updates from https://translatewiki.net.
Change-Id: Id3d35cd6092604494646483ef80a546b80d8fdb9
2014-02-16 20:10:55 +00:00
Translation updater bot
9d4ea06b29 Localisation updates from https://translatewiki.net.
Change-Id: I7b391e39e428d5e358d52770b58b36f56a891036
2014-02-15 20:55:27 +00:00
Translation updater bot
21e75c4edc Localisation updates from https://translatewiki.net.
Change-Id: If319ada434046084f15742666d6b01504d028faa
2014-02-03 21:17:34 +00:00
Translation updater bot
f2a16ab59c Localisation updates from https://translatewiki.net.
Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980
2014-02-01 19:37:45 +00:00
Translation updater bot
7b1abca5c0 Localisation updates from https://translatewiki.net.
Change-Id: Icb726976f02aaed49f1b1e83a429c6a05c8ae103
2014-01-28 21:09:31 +00:00
Translation updater bot
a0cbba1d18 Localisation updates from https://translatewiki.net.
Change-Id: I8187963fdb3b2cb88ee7afc1cc3b32cf8672e20b
2014-01-26 15:54:15 +00:00
Translation updater bot
cf96f84742 Localisation updates from https://translatewiki.net.
Change-Id: Idf89d2bff84d9c4e74be06a2532222891b0fb30e
2014-01-24 20:00:37 +00:00
Translation updater bot
28a4a17d96 Localisation updates from https://translatewiki.net.
Change-Id: I2bf221ca2d246108335c61947a464d23961a6551
2014-01-21 19:45:39 +00:00
Translation updater bot
fc1665c9da Localisation updates from https://translatewiki.net.
Change-Id: I8b17b1f8ea175c4f1cf75bece53b79eba39bb509
2014-01-18 21:11:17 +00:00
Translation updater bot
29d1044e73 Localisation updates from https://translatewiki.net.
Change-Id: I658d54f42b8e6c71a2e347f9c409221e84506923
2014-01-14 21:01:54 +00:00
Translation updater bot
67973ce69c Localisation updates from https://translatewiki.net.
Change-Id: I36b126374f3405a7a0e7750de87c9ddffaf4c6d3
2014-01-10 22:37:51 +00:00
Translation updater bot
e40079c3f8 Localisation updates from https://translatewiki.net.
Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
2014-01-08 20:34:03 +00:00
Translation updater bot
441a2a34bc Localisation updates from https://translatewiki.net.
Change-Id: I0b92294dfb157ec75e1b116395de0181f9da707b
2014-01-07 20:34:54 +00:00
Translation updater bot
3f198951cb Localisation updates from https://translatewiki.net.
Change-Id: Ie4cf8986d2fc3bdf1d485958c7171b0b86cefee2
2014-01-05 20:08:28 +00:00
Translation updater bot
12c4848694 Localisation updates from https://translatewiki.net.
Change-Id: I6b506db2ec155c99e9d3b3dd59e5f8e8de760f94
2013-12-22 20:33:10 +00:00
Translation updater bot
8da847b003 Localisation updates from https://translatewiki.net.
Change-Id: I5986f593323e24a9f86a0f545afab11ce799727b
2013-12-18 20:31:37 +00:00
Translation updater bot
925f9f1713 Localisation updates from https://translatewiki.net.
Change-Id: If7cc1c1d3be260cda5f8aa2543fd2196a09d4622
2013-12-16 19:38:10 +00:00
Translation updater bot
f8544fb4bd Localisation updates from https://translatewiki.net.
Change-Id: Ida0e6e21ce8aceb61419681e283fe32dedd0a0ce
2013-12-15 20:46:10 +00:00
Translation updater bot
ac4354bdaa Localisation updates from https://translatewiki.net.
Change-Id: I81f2c786041718b678dbd9fba411e24d0c4d4cf7
2013-12-14 20:42:14 +00:00
Translation updater bot
4dd6a41af7 Localisation updates from https://translatewiki.net.
Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
2013-12-10 20:48:26 +00:00
Translation updater bot
9ffcc282ab Localisation updates from https://translatewiki.net.
Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
2013-12-08 20:26:31 +00:00
Translation updater bot
4767a49bf9 Localisation updates from https://translatewiki.net.
Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
2013-12-07 10:46:45 +00:00
Translation updater bot
5531631535 Localisation updates from https://translatewiki.net.
Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434
2013-12-05 21:22:40 +00:00
Translation updater bot
f3eacb22b9 Localisation updates from https://translatewiki.net.
Change-Id: Ic4c5e76d04630a9da5bde0590db09b55d30132ec
2013-12-04 20:29:19 +00:00
Translation updater bot
a13c897f4d Localisation updates from https://translatewiki.net.
Change-Id: I5c7c2cde9b44ccfd3edd8101d677e2d8f1797982
2013-12-02 20:32:58 +00:00