| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.83 2012/03/09 23:14:46 hd_brummy Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.84 2012/03/18 23:33:49 hd_brummy Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: vdr-plugin.eclass |
5 | # @ECLASS: vdr-plugin.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # vdr@gentoo.org |
7 | # vdr@gentoo.org |
| 8 | # @BLURB: common vdr plugin ebuild functions |
8 | # @BLURB: common vdr plugin ebuild functions |
| … | |
… | |
| 292 | ewarn "Please remove unneeded NO_GETTEXT_HACK from ebuild." |
292 | ewarn "Please remove unneeded NO_GETTEXT_HACK from ebuild." |
| 293 | fi |
293 | fi |
| 294 | else |
294 | else |
| 295 | vdr_i18n_convert_to_gettext |
295 | vdr_i18n_convert_to_gettext |
| 296 | if [[ $? != 0 ]]; then |
296 | if [[ $? != 0 ]]; then |
| 297 | eerror "" |
|
|
| 298 | eerror "Plugin will have only english OSD texts" |
297 | einfo "Plugin has no OSD texts or will have only english OSD texts" |
| 299 | eerror "it needs manual fixing." |
|
|
| 300 | fi |
298 | fi |
| 301 | fi |
299 | fi |
| 302 | else |
300 | else |
| 303 | #einfo "VDR has no gettext support" |
301 | #einfo "VDR has no gettext support" |
| 304 | if plugin_has_gettext; then |
302 | if plugin_has_gettext; then |