Message-ify bitrate units
authorSam Reed <reedy@users.mediawiki.org>
Sat, 31 Dec 2011 21:30:48 +0000 (21:30 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 31 Dec 2011 21:30:48 +0000 (21:30 +0000)
Add to messageTypes.inc and messages.inc too

languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc

index 75d10fc..37485a1 100644 (file)
@@ -4395,6 +4395,17 @@ Please confirm that you really want to recreate this page.",
 'size-zetabytes' => '$1 ZB', # only translate this message to other languages if you have to change it
 'size-yottabytes' => '$1 YB', # only translate this message to other languages if you have to change it
 
+# Bitrate units
+'bitrate-bits'     => '$1bps', # only translate this message to other languages if you have to change it
+'bitrate-kibibits' => '$1kbps', # only translate this message to other languages if you have to change it
+'bitrate-mebibits' => '$1Mbps', # only translate this message to other languages if you have to change it
+'bitrate-gibibits' => '$1Gbps', # only translate this message to other languages if you have to change it
+'bitrate-tebibits' => '$1Tbps', # only translate this message to other languages if you have to change it
+'bitrate-pebibits' => '$1Pbps', # only translate this message to other languages if you have to change it
+'bitrate-exbibits' => '$1Ebps', # only translate this message to other languages if you have to change it
+'bitrate-zebibits' => '$1Zbps', # only translate this message to other languages if you have to change it
+'bitrate-yobibits' => '$1Ybps', # only translate this message to other languages if you have to change it
+
 # Live preview
 'livepreview-loading' => 'Loading...',
 'livepreview-ready'   => 'Loading... Ready!',
index 1081ee4..5252fc5 100644 (file)
@@ -4120,6 +4120,26 @@ Size (of a file, typically) in zebibytes (1 zebibytes = 1024×1024×1024×1024×
 'size-yottabytes' => '{{optional}}
 Size (of a file, typically) in yobibytes (1 yobibytes = 1024×1024×1024×1024×1024×1024×1024×1024 bytes).',
 
+# Bitrate units
+'bitrate-bits'     => '{{optional}}
+Bitrate (of a file, typically) in bits.',
+'bitrate-kibibits' => '{{optional}}
+Bitrate (of a file, typically) in kibibits (1 kibibyte = 1000 bits).',
+'bitrate-mebibits' => '{{optional}}
+Bitrate (of a file, typically) in mebibits (1 mebibyte = 1000×1000 bits).',
+'bitrate-gibibits' => '{{optional}}
+Bitrate (of a file, typically) in gibibits (1 gibibyte = 1000×1000×1000 bits).',
+'bitrate-tebibits' => '{{optional}}
+Bitrate (of a file, typically) in tebibits (1 tebibits = 1000×1000×1000×1000 bits).',
+'bitrate-pebibits' => '{{optional}}
+Bitrate (of a file, typically) in pebibits (1 pebibits = 1000×1000×1000×1000×1000 bits).',
+'bitrate-exbibits' => '{{optional}}
+Bitrate (of a file, typically) in exbibits (1 exbibits = 1000×1000×1000×1000×1000×1000 bits).',
+'bitrate-zebibits' => '{{optional}}
+Bitrate (of a file, typically) in zebibits (1 zebibits = 1000×1000×1000×1000×1000×1000×1000 bits).',
+'bitrate-yobibits' => '{{optional}}
+Bitrate (of a file, typically) in yobibits (1 yobibits = 1000×1000×1000×1000×1000×1000×1000×1000 bits).',
+
 # Live preview
 'livepreview-loading' => '{{Identical|Loading}}',
 
index 2bbf1a1..19d16a8 100644 (file)
@@ -327,6 +327,15 @@ $wgOptionalMessages = array(
        'size-exabytes',
        'size-zetabytes',
        'size-yottabytes',
+       'bitrate-bits',
+       'bitrate-kibibits',
+       'bitrate-mebibits',
+       'bitrate-gibibits',
+       'bitrate-tebibits',
+       'bitrate-pebibits',
+       'bitrate-exbibits',
+       'bitrate-zebibits',
+       'bitrate-yobibits',
        'iranian-calendar-m1',
        'iranian-calendar-m2',
        'iranian-calendar-m3',
index a8030e4..2d7c84f 100644 (file)
@@ -3281,6 +3281,17 @@ $wgMessageStructure = array(
                'size-zetabytes',
                'size-yottabytes',
        ),
+       'bitrateunits' => array(
+               'bitrate-bits',
+               'bitrate-kibibits',
+               'bitrate-mebibits',
+               'bitrate-gibibits',
+               'bitrate-tebibits',
+               'bitrate-pebibits',
+               'bitrate-exbibits',
+               'bitrate-zebibits',
+               'bitrate-yobibits',
+       ),
        'livepreview' => array(
                'livepreview-loading',
                'livepreview-ready',