Runa A. Sandvik commited on 2010-03-15 19:42:19
Zeige 1 geänderte Dateien mit 49 Einfügungen und 0 Löschungen.
... | ... |
@@ -110,6 +110,12 @@ for file in $po ; do |
110 | 110 |
if [ -e "$wmldir/zh-cn/tmp-$wmlfile" ] |
111 | 111 |
then |
112 | 112 |
mv "$wmldir/zh-cn/tmp-$wmlfile" "$wmldir/zh-cn/$wmlfile" |
113 |
+ |
|
114 |
+ # Remove last three lines in file |
|
115 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/zh-cn/$wmlfile" |
|
116 |
+ |
|
117 |
+ # Include foot.wmi |
|
118 |
+ echo "#include <foot.wmi>" >> "$wmldir/zh-cn/$wmlfile" |
|
113 | 119 |
fi |
114 | 120 |
fi |
115 | 121 |
|
... | ... |
@@ -122,6 +128,12 @@ for file in $po ; do |
122 | 128 |
if [ -e "$wmldir/no/tmp-$wmlfile" ] |
123 | 129 |
then |
124 | 130 |
mv "$wmldir/no/tmp-$wmlfile" "$wmldir/no/$wmlfile" |
131 |
+ |
|
132 |
+ # Remove last three lines in file |
|
133 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/no/$wmlfile" |
|
134 |
+ |
|
135 |
+ # Include foot.wmi |
|
136 |
+ echo "#include <foot.wmi>" >> "$wmldir/no/$wmlfile" |
|
125 | 137 |
fi |
126 | 138 |
fi |
127 | 139 |
|
... | ... |
@@ -134,6 +146,13 @@ for file in $po ; do |
134 | 146 |
if [ -e "$wmldir/se/tmp-$wmlfile" ] |
135 | 147 |
then |
136 | 148 |
mv "$wmldir/se/tmp-$wmlfile" "$wmldir/se/$wmlfile" |
149 |
+ |
|
150 |
+ # Remove last three lines in file |
|
151 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/se/$wmlfile" |
|
152 |
+ |
|
153 |
+ # Include foot.wmi |
|
154 |
+ echo "#include <foot.wmi>" >> "$wmldir/se/$wmlfile" |
|
155 |
+ |
|
137 | 156 |
fi |
138 | 157 |
fi |
139 | 158 |
|
... | ... |
@@ -146,6 +165,12 @@ for file in $po ; do |
146 | 165 |
if [ -e "$wmldir/$subdir/tmp-$wmlfile" ] |
147 | 166 |
then |
148 | 167 |
mv "$wmldir/$subdir/tmp-$wmlfile" "$wmldir/$subdir/$wmlfile" |
168 |
+ |
|
169 |
+ # Remove last three lines in file |
|
170 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/$subdir/$wmlfile" |
|
171 |
+ |
|
172 |
+ # Include foot.wmi |
|
173 |
+ echo "#include <foot.wmi>" >> "$wmldir/$subdir/$wmlfile" |
|
149 | 174 |
fi |
150 | 175 |
fi |
151 | 176 |
else |
... | ... |
@@ -161,6 +186,12 @@ for file in $po ; do |
161 | 186 |
if [ -e "$wmldir/$subdir/zh-cn/tmp-$wmlfile" ] |
162 | 187 |
then |
163 | 188 |
mv "$wmldir/$subdir/zh-cn/tmp-$wmlfile" "$wmldir/$subdir/zh-cn/$wmlfile" |
189 |
+ |
|
190 |
+ # Remove last three lines in file |
|
191 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/$subdir/zh-cn/$wmlfile" |
|
192 |
+ |
|
193 |
+ # Include foot.wmi |
|
194 |
+ echo "#include <foot.wmi>" >> "$wmldir/$subdir/zh-cn/$wmlfile" |
|
164 | 195 |
fi |
165 | 196 |
fi |
166 | 197 |
|
... | ... |
@@ -173,6 +204,12 @@ for file in $po ; do |
173 | 204 |
if [ -e "$wmldir/$subdir/no/tmp-$wmlfile" ] |
174 | 205 |
then |
175 | 206 |
mv "$wmldir/$subdir/no/tmp-$wmlfile" "$wmldir/$subdir/no/$wmlfile" |
207 |
+ |
|
208 |
+ # Remove last three lines in file |
|
209 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/$subdir/no/$wmlfile" |
|
210 |
+ |
|
211 |
+ # Include foot.wmi |
|
212 |
+ echo "#include <foot.wmi>" >> "$wmldir/$subdir/no/$wmlfile" |
|
176 | 213 |
fi |
177 | 214 |
fi |
178 | 215 |
|
... | ... |
@@ -185,6 +222,12 @@ for file in $po ; do |
185 | 222 |
if [ -e "$wmldir/$subdir/se/tmp-$wmlfile" ] |
186 | 223 |
then |
187 | 224 |
mv "$wmldir/$subdir/se/tmp-$wmlfile" "$wmldir/$subdir/se/$wmlfile" |
225 |
+ |
|
226 |
+ # Remove last three lines in file |
|
227 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/$subdir/se/$wmlfile" |
|
228 |
+ |
|
229 |
+ # Include foot.wmi |
|
230 |
+ echo "#include <foot.wmi>" >> "$wmldir/$subdir/se/$wmlfile" |
|
188 | 231 |
fi |
189 | 232 |
fi |
190 | 233 |
|
... | ... |
@@ -197,6 +240,12 @@ for file in $po ; do |
197 | 240 |
if [ -e "$wmldir/$subdir/$lang/tmp-$wmlfile" ] |
198 | 241 |
then |
199 | 242 |
mv "$wmldir/$subdir/$lang/tmp-$wmlfile" "$wmldir/$subdir/$lang/$wmlfile" |
243 |
+ |
|
244 |
+ # Remove last three lines in file |
|
245 |
+ sed -i -e :a -e '$d;N;2,3ba' -e 'P;D' "$wmldir/$subdir/$lang/$wmlfile" |
|
246 |
+ |
|
247 |
+ # Include foot.wmi |
|
248 |
+ echo "#include <foot.wmi>" >> "$wmldir/$subdir/$lang/$wmlfile" |
|
200 | 249 |
fi |
201 | 250 |
fi |
202 | 251 |
fi |
203 | 252 |