Skip to content

Commit

Permalink
Replace Translation.translateById with Translation.translate
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Uhlmann committed Sep 29, 2016
1 parent 1165b5c commit b7ec4e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Resources/Private/TypoScript/NodeTypes/Audio.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ prototype(Plyr:Audio) {
}
}
render = ${this.audio || node.context.inBackend}
backendAlert = ${this.audio ? false : Translation.translateById('backendAlert.audio', 'Jonnitto.Plyr')}
backendAlert = ${this.audio ? false : Translation.translate('backendAlert.audio', null, [], null, 'Jonnitto.Plyr')}
}
2 changes: 1 addition & 1 deletion Resources/Private/TypoScript/NodeTypes/Video.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ prototype(Plyr:Video) {
}
}
render = ${this.video || node.context.inBackend}
backendAlert = ${this.video ? false : Translation.translateById('backendAlert.video', 'Jonnitto.Plyr')}
backendAlert = ${this.video ? false : Translation.translate('backendAlert.video', null, [], null, 'Jonnitto.Plyr')}
}
2 changes: 1 addition & 1 deletion Resources/Private/TypoScript/NodeTypes/Vimeo.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ prototype(Plyr:Vimeo) {
}

render = ${id || node.context.inBackend}
backendAlert = ${id ? false : Translation.translateById('backendAlert.vimeo', 'Jonnitto.Plyr')}
backendAlert = ${id ? false : Translation.translate('backendAlert.vimeo', null, [], null, 'Jonnitto.Plyr')}
}
2 changes: 1 addition & 1 deletion Resources/Private/TypoScript/NodeTypes/YouTube.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ prototype(Plyr:YouTube) {
}

render = ${id || node.context.inBackend}
backendAlert = ${id ? false : Translation.translateById('backendAlert.youtube', 'Jonnitto.Plyr')}
backendAlert = ${id ? false : Translation.translate('backendAlert.youtube', null, [], null, 'Jonnitto.Plyr')}
}

0 comments on commit b7ec4e8

Please sign in to comment.