jenkins-bot has submitted this change and it was merged.
Change subject: Added timedmedia-wav message
......................................................................
Added timedmedia-wav message
Updated comment in WebVideoTranscode::getPrimarySourceAttributes
Bug: 60194
Change-Id: I16f7c09e1cf055a297d9b94cee316669dd919bbb
---
M TimedMediaHandler.i18n.php
M WebVideoTranscode/WebVideoTranscode.php
2 files changed, 10 insertions(+), 3 deletions(-)
Approvals:
Brian Wolff: Looks good to me, approved
jenkins-bot: Verified
diff --git a/TimedMediaHandler.i18n.php b/TimedMediaHandler.i18n.php
index 44d7a27..46d09f3 100755
--- a/TimedMediaHandler.i18n.php
+++ b/TimedMediaHandler.i18n.php
@@ -71,6 +71,7 @@
'timedmedia-ogg' => 'Ogg',
'timedmedia-webm' => 'WebM',
'timedmedia-mp4' => 'MP4',
+ 'timedmedia-wav' => 'WAV',
'timedmedia-flac' => 'FLAC',
'timedmedia-source-file' => '$1 source',
'timedmedia-source-file-desc' => 'Original $1 file, $2 × $3 ($4)',
@@ -395,7 +396,11 @@
* {{msg-mw|Timedmedia-source-file-desc}}
* {{msg-mw|Timedmedia-source-file}}',
'timedmedia-mp4' => '{{Optional}}
-
+Used as <code>$1</code> in the following messages:
+* {{msg-mw|Timedmedia-source-audio-file-desc}}
+* {{msg-mw|Timedmedia-source-file-desc}}
+* {{msg-mw|Timedmedia-source-file}}',
+ 'timedmedia-wav' => '{{Optional}}
Used as <code>$1</code> in the following messages:
* {{msg-mw|Timedmedia-source-audio-file-desc}}
* {{msg-mw|Timedmedia-source-file-desc}}
diff --git a/WebVideoTranscode/WebVideoTranscode.php
b/WebVideoTranscode/WebVideoTranscode.php
index a1a6d86..b290d4d 100644
--- a/WebVideoTranscode/WebVideoTranscode.php
+++ b/WebVideoTranscode/WebVideoTranscode.php
@@ -702,7 +702,8 @@
$bitrate = $file->getHandler()->getBitrate( $file );
$metadataType = $file->getHandler()->getMetadataType( $file );
- // Give grep a chance to find the usages: timedmedia-ogg,
timedmedia-webm, timedmedia-mp4
+ // Give grep a chance to find the usages: timedmedia-ogg,
timedmedia-webm,
+ // timedmedia-mp4, timedmedia-flac, timedmedia-wav
if( $file->getHandler()->isAudio( $file ) ){
$title = wfMessage( 'timedmedia-source-audio-file-desc',
wfMessage( 'timedmedia-' . $metadataType
)->text() )
@@ -714,7 +715,8 @@
->params( $wgLang->formatBitrate( $bitrate )
)->text();
}
- // Give grep a chance to find the usages: timedmedia-ogg,
timedmedia-webm, timedmedia-mp4
+ // Give grep a chance to find the usages: timedmedia-ogg,
timedmedia-webm,
+ // timedmedia-mp4, timedmedia-flac, timedmedia-wav
$source = array(
'src' => $src,
'type' => $file->getHandler()->getWebType( $file ),
--
To view, visit https://gerrit.wikimedia.org/r/108199
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I16f7c09e1cf055a297d9b94cee316669dd919bbb
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: 01tonythomas <[email protected]>
Gerrit-Reviewer: 01tonythomas <[email protected]>
Gerrit-Reviewer: Brian Wolff <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits