mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The 'newplugin' script now creates the 'po' subdirectory for translations
This commit is contained in:
parent
9e58503aee
commit
75f28cb0cb
@ -3318,6 +3318,7 @@ Thomas Reufer <thomas@reufer.ch>
|
|||||||
for suggesting to add some comment to cPixmap about the relation between OSD,
|
for suggesting to add some comment to cPixmap about the relation between OSD,
|
||||||
ViewPort and DrawPort
|
ViewPort and DrawPort
|
||||||
for suggesting to reduce the priority of the "video directory scanner" thread
|
for suggesting to reduce the priority of the "video directory scanner" thread
|
||||||
|
for making the 'newplugin' script create the 'po' subdirectory for translations
|
||||||
|
|
||||||
Eike Sauer <EikeSauer@t-online.de>
|
Eike Sauer <EikeSauer@t-online.de>
|
||||||
for reporting a problem with channels that need more than 5 TS packets for detecting
|
for reporting a problem with channels that need more than 5 TS packets for detecting
|
||||||
|
2
HISTORY
2
HISTORY
@ -8809,3 +8809,5 @@ Video Disk Recorder Revision History
|
|||||||
is currently recording.
|
is currently recording.
|
||||||
- The character 0x0D is now stripped from EPG texts (reported by Janne Pänkälä).
|
- The character 0x0D is now stripped from EPG texts (reported by Janne Pänkälä).
|
||||||
- The EPG scanner no longer moves the dish if there is a positioner.
|
- The EPG scanner no longer moves the dish if there is a positioner.
|
||||||
|
- The 'newplugin' script now creates the 'po' subdirectory for translations (thanks
|
||||||
|
to Thomas Reufer).
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: newplugin 3.2 2014/01/01 13:29:54 kls Exp $
|
# $Id: newplugin 4.1 2015/09/10 11:11:14 kls Exp $
|
||||||
|
|
||||||
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
||||||
|
|
||||||
@ -330,6 +330,7 @@ $PLUGINDIR = "$PLUGINS_SRC/$PLUGIN_NAME";
|
|||||||
die "The directory $PLUGINS_SRC doesn't exist!\n" unless (-d "$PLUGINS_SRC");
|
die "The directory $PLUGINS_SRC doesn't exist!\n" unless (-d "$PLUGINS_SRC");
|
||||||
die "A plugin named '$PLUGIN_NAME' already exists in $PLUGINS_SRC!\n" if (-e "$PLUGINDIR");
|
die "A plugin named '$PLUGIN_NAME' already exists in $PLUGINS_SRC!\n" if (-e "$PLUGINDIR");
|
||||||
mkdir("$PLUGINDIR") || die "$!";
|
mkdir("$PLUGINDIR") || die "$!";
|
||||||
|
mkdir("$PLUGINDIR/po") || die "$!";
|
||||||
|
|
||||||
CreateFile("README", $README);
|
CreateFile("README", $README);
|
||||||
CreateFile("HISTORY", $HISTORY);
|
CreateFile("HISTORY", $HISTORY);
|
||||||
|
Loading…
Reference in New Issue
Block a user