Visualizzazione stampabile
-
Quote:
Originariamente inviato da
Eidolon
Sto provando anch'io a tradurre i locker, ma sto incontrando due problemi:
1) Nei file .mtz, sia "originali" di Milocker (che mi interessavano di più) sia quelli scaricati da XDA non c'è il file manifest.xml ma description.xml, hanno solo cambiato denominazione o è proprio un altro file?
2) Una volta aperto il file .xml, ci sono quattro righe con titolo, autore, risoluzione... nessuna sezione con scritte in cinese.
Allego uno
screen, ho provato a ridurlo ma diventa illeggibile.
Come si fa?
Attento! Il file manifest.xml non si trova subito appena apri l'archivio, bensì devi entrare in lockscreen (che appare come file senza estensione ma altro non è che uno zip) e poi nella cartella advance. Questo risponde ad 1) e 2) in quando in description.xml ci sono solo i dati di presentazione del tema (titolo, autore, versione, compatibilità ecc...). Se vuoi ti mando in MP il tema che ho fatto io, sarei curioso di sapere se si vede bene su un Nexus S visto che per ora l'ho provato solo su vari Samsung...
-
Ho rinominato losckscreen come zip e mi ha estratto la cartella advance, ci sono riuscito, grazie ;)
Mi farebbe piacere provare il tuo tema, così vedo anche come modificare correttamente gli altri, lo aspetto!
-
fatto, ti ho mandato il link in mp, non ho idea di come si inviino allegati o di come si possano caricare nei post, sempre che sia possibile farlo...
-
NON CI RIESCOO!! :bd: :bd:
Questo è quello che faccio:
1) Cambio estensione a tutte cose, riuscendo così ad aprire il file manifest.xml
2) Una volta entra con Notepad++, mi da questo: <?xml version="1.0" encoding="utf-8"?>
<Lockscreen version="1" frameRate="20">
<Wallpaper/>
<Image x="0" y="38" src="hs_time_bg.png"/>
<Time x="116" y="53" src="time.png"/>
<DateTime x="240" y="135" color="#FFFFFFFF" size="28" format="M months D days EEEE" align="center"/>
<Image x="0" y="0" src="status_bar.png"/>
<!-- <-- Music player plug-in --> -->
<MusicControl x="0" y="#screen_height-264" name="music_control" visibility="false">
<Image src="music_bg.png" x="0" y="0" alpha="255" />
<Text name="music_display" x="240" y="10" w="300" marqueeSpeed="30" size="24" color="#FFFFFF" alpha="205" align="center"/>
<Button name="music_prev" x="40" y ="37" w="108" h="84">
<Normal>
<Image src="music_previous_n.png" x="40" y="37" />
</Normal>
<Pressed>
<Image src="music_previous_p.png" x="40" y="37" />
</Pressed>
</Button>
<Button name="music_next" x="332" y ="37" w="108" h="84">
<Normal>
<Image src="music_next_n.png" x="332" y="37" />
</Normal>
<Pressed>
<Image src="music_next_p.png" x="332" y="37" />
</Pressed>
</Button>
<Button name="music_play" x="186" y ="37" w="108" h="84">
<Normal>
<Image src="music_play_n.png" x="186" y="37" />
</Normal>
<Pressed>
<Image src="music_play_p.png" x="186" y="37" />
</Pressed>
</Button>
<Button name="music_pause" x="186" y ="37" w="108" h="84">
<Normal>
<Image src="music_pause_n.png" x="186" y="37" />
</Normal>
<Pressed>
<Image src="music_pause_p.png" x="186" y="37" />
</Pressed>
</Button>
</MusicControl>
<!-- 双击控制音乐控制显示隐藏 -->
<Button x="33" y="#screen_height-106" w="107" h="71">
<Triggers>
<Trigger action="double" target="music_control" property="visibility" value="toggle"/>
</Triggers>
</Button>
<!-- 未接电话 -->
<Image x="0" y="182" src="info_bg.png" alpha="#call_missed_count*255"/>
<Image x="30" y="186" src="icon_phone.png" alpha="#call_missed_count*255-50"/>
<Text x="78" y="188" color="#FFFFFFFF" size="24" format="%d个未接来电" paras="#call_missed_count" alpha="#call_missed_count*255-50"/>
<!-- 未读短信, 如果没有未接电话,位置往上移-->
<Image x="0" y="182+43*min(#call_missed_count,1)" src="info_bg.png" alpha="#sms_unread_count*255"/>
<Image x="30" y="186+43*min(#call_missed_count,1)" src="icon_sms.png" alpha="#sms_unread_count*255-50"/>
<Text x="78" y="188+43*min(#call_missed_count,1)" color="#FFFFFFFF" size="24" format="%d条未读短信" paras="#sms_unread_count" alpha="#sms_unread_count*255-50"/>
<Image x="0" y="0" src="bg.png" category="Charging"/>
<Image x="0" y="0" src="bg.png" category="BatteryLow"/>
<Image x="0" y="#screen_height-144" src="bottom_bg.png"/>
<Image x="29" y="#screen_height-122" src="slider_bg.png"/>
<!-- 解锁路径指示箭头动画 -->
<Image x="180" y="#screen_height-89" src="hs_path_bg.png" alpha="255-#unlocker.move_x/100*255" />
<Image x="-120" y="#screen_height-89" src="hs_path_light.png" alpha="255-#unlocker.move_x/100*255">
<PositionAnimation>
<Position x="438" y="0" time="2000"/>
</PositionAnimation>
<Mask x="0" y="#screen_height-89" src="hs_path_mask.png" align="absolute"/>
</Image>
<Image x="65" y="#screen_height-533" src="charging_progress.png" category="BatteryFull"/>
<Image x="65" y="#screen_height-533" src="batterylow.png" category="BatteryLow"/>
<!-- 充电进度, alpha值表示未触摸时显示 -->
<Image x="65" y="#screen_height-533" category="Charging" alpha="255-#unlocker.state*1">
<SourcesAnimation>
<Source src="charging_1.png" time="1000"/>
<Source src="charging_2.png" time="2000"/>
<Source src="charging_3.png" time="3000"/>
<Source src="charging_4.png" time="4000"/>
<Source src="charging_5.png" time="5000"/>
<Source src="charging_6.png" time="6000"/>
<Source src="charging_7.png" time="7000"/>
<Source src="charging_8.png" time="8000"/>
<Source src="charging_9.png" time="9000"/>
<Source src="charging_10.png" time="10000"/>
</SourcesAnimation>
</Image>
<!-- 充电时文字-->
<Text x="170" y="#screen_height-319" category="Charging" color="#10000000" size="24" format="正在充电 %d%%" paras="#battery_level">
</Text>
<Text x="170" y="#screen_height-320" category="Charging" color="#AAFFFFFF" size="24" format="正在充电 %d%%" paras="#battery_level">
</Text>
<!-- 充满电时文字-->
<Text x="208" y="#screen_height-319" category="BatteryFull" color="#10000000" size="24" text="已充满">
</Text>
<Text x="208" y="#screen_height-320" category="BatteryFull" color="#AAFFFFFF" size="24" text="已充满">
</Text>
<Unlocker name="unlocker">
<StartPoint x="33" y="#screen_height-106" w="107" h="71">
<NormalState>
<Image x="33" y="#screen_height-106" src="unlock_button.png">
</Image>
</NormalState>
</StartPoint>
<EndPoint x="341" y="#screen_height-106" w="107" h="71">
<Path x="0" y="#screen_height-106">
<Position x="33" y="0" />
<Position x="341" y="0" />
</Path>
</EndPoint>
</Unlocker>
</Lockscreen>
3) Provo a sostituire le cose scritte in giapponese ( o cinese rotfl ) e mi dice " Can't find the text "
Che faccio? Qualcuno potrebbe tradurmelo gentilmente? Grazie