Revision 502ca2d1
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
scripts/locales.pl | ||
---|---|---|
78 | 78 |
@menufiles = ($menufile); |
79 | 79 |
} else { |
80 | 80 |
tie %dir_h, 'IO::Dir', $basedir; |
81 |
@menufiles = grep { /.*?_$menufile$/ } keys %dir_h; |
|
82 |
unshift @menufiles, $menufile;
|
|
81 |
@menufiles = map { "$basedir/$_" } grep { /.*?_$menufile$/ } keys %dir_h;
|
|
82 |
unshift @menufiles, "$basedir/$menufile";
|
|
83 | 83 |
} |
84 | 84 |
|
85 | 85 |
tie %dir_h, 'IO::Dir', $dbupdir; |
... | ... | |
114 | 114 |
handle_file(@{ $_ }) for @progfiles; |
115 | 115 |
handle_file($_, $dbupdir) for @dbplfiles; |
116 | 116 |
handle_file($_, $dbupdir2) for @dbplfiles2; |
117 |
scanmenu($_) for @menufiles; |
|
117 | 118 |
|
118 | 119 |
# generate all |
119 | 120 |
generate_file( |
Auch abrufbar als: Unified diff
menu.ini doch wieder auf Übersetzungen scannen
Commit ac55752 hat dies kaputt gemacht