Chameleon

Chameleon Commit Details

Date:2011-09-25 13:40:56 (8 years 21 days ago)
Author:ErmaC
Commit:1573
Parents: 1572
Message:Add choice (UseKernelCache) Add it into all the Localizable.strings file
Changes:
A/trunk/package/Scripts/Advanced/UseKernelCache/postinstall
A/trunk/package/Scripts/Advanced/UseKernelCache
M/trunk/package/Resources/pl.lproj/Localizable.strings
M/trunk/package/Resources/id.lproj/Localizable.strings
M/trunk/package/Resources/it.lproj/Localizable.strings
M/trunk/package/Resources/en.lproj/Localizable.strings
M/trunk/package/Resources/pt-BR.lproj/Localizable.strings
M/trunk/package/Resources/pt-PT.lproj/Localizable.strings
M/trunk/package/Resources/sr.lproj/Localizable.strings
M/trunk/package/Resources/ru.lproj/Localizable.strings
M/trunk/package/Resources/es.lproj/Localizable.strings
M/trunk/package/Resources/fr.lproj/Localizable.strings
M/trunk/package/Resources/mk.lproj/Localizable.strings
M/trunk/package/Resources/de.lproj/Localizable.strings
M/trunk/package/Resources/hr.lproj/Localizable.strings

File differences

trunk/package/Scripts/Advanced/UseKernelCache/postinstall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/python
# Script to add UseKernelCache for Chameleon boot loaders
import sys
import os
import shutil
vol = str(sys.argv[3])
boot = "/Extra/org.chameleon.Boot.plist"
plist = vol + boot
if not os.path.exists(plist):
shutil.copy('/Library/Preferences/SystemConfiguration/com.apple.Boot.plist', plist)
infile = open(plist, "r")
# check if UseKernelCache has been written or not
UseKernelCacheCheck = False
body = ""
for line in infile:
# if we finish the tags and haven't written UseKernelCache Yet
if "</dict>" in line and UseKernelCacheCheck == False:
line = " <key>UseKernelCache</key>\n"
line += " <string>Yes</string>\n"
line += "</dict>\n"
UseKernelCacheCheck = True
body += line
infile.close()
outfile = open(plist, "w")
outfile.write(body)
outfile.close()
trunk/package/Resources/pl.lproj/Localizable.strings
148148
149149
150150
151
152
153
154
155
151156
152157
153158
"UseMemDetect_title" = "UseMemDetect=No";
"UseMemDetect_description" = "WyBcza domy[lnie wBczone rozpoznawanie pamici RAM.";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";
trunk/package/Resources/id.lproj/Localizable.strings
147147
148148
149149
150
151
152
153
154
150155
151156
152157
......
208213
209214
210215
211
216
217
212218
213219
214220
"UseMemDetect_title" = "UseMemDetect=No";
"UseMemDetect_description" = "Mematikan opsi pengenalan RAM yang secara otomatis dinyalakan.";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";
// Themes
"Themes_title" = "Tema";
"Themes_description" = "Koleksi dari tema bawaan";
"Themes_description" = "Koleksi dari tema bawaan
More themes can be found at http://forum.voodooprojects.org/index.php/board,7.0.html";
"Embed_title" = "Embed";
"Embed_description" = "Versi simple yang lebih kecil daripada tema dasar yang baru digunakan para seat membuat versi dari Chameleon yang dimana memerlukan sebuah tema yang 'embedded'. ";
trunk/package/Resources/it.lproj/Localizable.strings
147147
148148
149149
150
151
152
153
154
150155
151156
152157
"UseMemDetect_title" = "UseMemDetect=No";
"UseMemDetect_description" = "Disattiva il riconoscimento della RAM automatico.";
"UseKernelCache_title" = "UseKernelCache=Yes";
e /System/Library/Extensions
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Seleziona la mappatura da utilizzare";
trunk/package/Resources/en.lproj/Localizable.strings
147147
148148
149149
150
151
152
153
154
150155
151156
152157
"UseMemDetect_title" = "UseMemDetect=No";
"UseMemDetect_description" = "Disables the automatically enabled RAM recognition.";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";
trunk/package/Resources/pt-BR.lproj/Localizable.strings
147147
148148
149149
150
151
152
153
154
150155
151156
152157
"UseMemDetect_title" = "UseMemDetect=No";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";
trunk/package/Resources/pt-PT.lproj/Localizable.strings
147147
148148
149149
150
151
152
153
154
150155
151156
152157
"UseMemDetect_title" = "UseMemDetect=No";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";
trunk/package/Resources/sr.lproj/Localizable.strings
183183
184184
185
186
187
188
189
185190
186191
187192
"UseMemDetect_description" = "Isklju uje omogueno automatsko RAM prepoznavanje.";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";
trunk/package/Resources/es.lproj/Localizable.strings
296296
297297
298
299
300
301
302
298303
299304
"UseKernelCache_title" = "UseKernelCache=Yes";+
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions+
and /System/Library/Extensions Extensions.mkext.+
Default is No but Yes if you use Lion on a Raid partition.";+
+
// KeyLayout
"KeyLayout_title" = "KeyLayout";Index: trunk/package/Resources/fr.lproj/Localizable.strings
trunk/package/Resources/fr.lproj/Localizable.strings
147147
148148
149149
150
151
152
153
154
150155
151156
152157
"UseMemDetect_title" = "UseMemDetect=No";
"UseMemDetect_description" = "Disables the automatically enabled RAM recognition.";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
trunk/package/Resources/de.lproj/Localizable.strings
150150
151151
152152
153
154
155
156
157
153158
154159
155160
"UseMemDetect_title" = "Benutze MemDetect=Nein";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";
trunk/package/Resources/hr.lproj/Localizable.strings
187187
188188
189
190
191
192
193
189194
190195
191196
"UseMemDetect_description" = "Isklju uje omogueno automatsko RAM prepoznavanje.";
"UseKernelCache_title" = "UseKernelCache=Yes";
"UseKernelCache_description" = "Yes will load pre-linked kernel and will ignore /Extra/Extensions
and /System/Library/Extensions Extensions.mkext.
Default is No but Yes if you use Lion on a Raid partition.";
// KeyLayout
"KeyLayout_title" = "KeyLayout";
"KeyLayout_description" = "Set keylayout to use";

Archive Download the corresponding diff file

Revision: 1573