Chameleon

Chameleon Commit Details

Date:2011-08-27 00:50:54 (12 years 7 months ago)
Author:ErmaC
Commit:1462
Parents: 1461
Message:Update German language Also sync with trunk
Changes:
M/branches/ErmaC/package/Resources/de.lproj/Welcome.rtfd/TXT.rtf
M/branches/ErmaC/package/buildpkg.sh
M/branches/ErmaC/package/Resources/de.lproj/Localizable.strings
M/branches/ErmaC/i386/boot2/boot.c

File differences

branches/ErmaC/i386/boot2/boot.c
223223
224224
225225
226
226
227227
228228
229
230
231229
232230
233231
234
235
236
237
238
239
240
241
242
232
233
234
243235
244236
245237
......
496488
497489
498490
499
500491
501492
502
493
494
503495
504496
505497
......
621613
622614
623615
616
617
618
619
620
621
622
623
624
625
626
627
624628
625629
626630
......
634638
635639
636640
637
638
641
642
639643
640644
641645
......
653657
654658
655659
656
660
657661
658662
659663
//==========================================================================
// LoadKernelCache - Try to load Kernel Cache.
// return the length of the loaded cache file or -1 on error
long LoadKernelCache(void **binary) {
long LoadKernelCache(const char* cacheFile, void **binary) {
charkernelCacheFile[512];
charkernelCachePath[512];
const char*val;
int len;
longflags, time, cachetime, kerneltime, exttime, ret=-1;
unsigned long adler32;
// Determine the name of the Kernel Cache
if (getValueForKey(kKernelCacheKey, &val, &len, &bootInfo->bootConfig)) {
if (val[0] == '\\')
{
len--;
val++;
}
strlcpy(kernelCacheFile, val, len + 1);
}
// Use specify kernel cache file if not empty
if (cacheFile[0] != 0)
strlcpy(kernelCacheFile, cacheFile, sizeof(kernelCacheFile));
else {
// Lion prelink kernel cache file
if (checkOSVersion("10.7")) {
longflags, sleeptime, time;
void*binary = (void *)kLoadAddr;
// additional variable for testing alternate kernel image locations on boot helper partitions.
char bootFile[sizeof(bootInfo->bootFile)];
charbootFilePath[512];
charkernelCacheFile[512];
// Initialize globals.
sysConfigValid = false;
gErrors = false;
if (useKernelCache) do {
// Determine the name of the Kernel Cache
if (getValueForKey(kKernelCacheKey, &val, &len, &bootInfo->bootConfig)) {
if (val[0] == '\\')
{
len--;
val++;
}
strlcpy(kernelCacheFile, val, len + 1);
} else {
kernelCacheFile[0] = 0; // Use default kernel cache file
}
// If boot from boot helper partitions and OS is Lion use prelink kernel.
// We need to find a solution to load extra mkext with a prelink kernel.
if (gBootVolume->flags & kBVFlagBooter && checkOSVersion("10.7")) {
useKernelCache = false;
break;
}
if (gOverrideKernel) {
verbose("Using a non default kernel (%s), KernelCache will not be used\n",
if (gOverrideKernel && kernelCacheFile[0] == 0) {
verbose("Using a non default kernel (%s) without specifying 'Kernel Cache' path, KernelCache will not be used\n",
bootInfo->bootFile);
useKernelCache = false;
break;
do {
if (useKernelCache) {
ret = LoadKernelCache(&binary);
ret = LoadKernelCache(kernelCacheFile, &binary);
if (ret >= 0)
break;
}
branches/ErmaC/package/Resources/de.lproj/Welcome.rtfd/TXT.rtf
2626
2727
2828
29
29
3030
3131
3232
3333
3434
35
35
36
\b0\fs30 \cf0 \
\pard\ri0\ql\qnatural
\b\fs26 \cf0 Packages credits to : %PKGDEV%
\b\fs26 \cf0 Pkg : %PKGDEV%
\b0\fs30 \
\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\fs26 \cf0 Copyright \'a9 2011}
\fs26 \cf0 Copyright \'a9 2011
\b \cf3 German translation: !Xabbu}
branches/ErmaC/package/buildpkg.sh
320320
321321
322322
323
323
324324
325325
326326
do
theme=$( echo ${themes[$i]##*/} | awk 'BEGIN{OFS=FS=""}{$1=toupper($1);print}' )
mkdir -p "${1}/${themes[$i]##*/}/Root/"
rsync -r --exclude=.svn "${themes[$i]}" "${1}/${themes[$i]##*/}/Root/${theme}"
rsync -r --exclude=.svn "${themes[$i]}/" "${1}/${themes[$i]##*/}/Root/${theme}"
# #### Comment out thx meklort
# ditto --noextattr --noqtn "${themes[$i]}" "${1}/${themes[$i]##*/}/Root/${theme}"
# ####

Archive Download the corresponding diff file

Revision: 1462