XBMC Community Forum
Qlock word clock now available in Transparency! - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Transparency! (/forumdisplay.php?fid=115)
+---- Thread: Qlock word clock now available in Transparency! (/showthread.php?tid=90066)

Pages: 1 2 3


Qlock word clock now available in Transparency! - ronie - 2011-01-09 18:33

Qlock

thanx to donabi for the initial code and Amet who coded it into a script allowing easy translations,
a new eyecandy feature is now included in the svn version of T!

steps to get it to work:
- download the script here: http://mirrors.xbmc.org/addons/dharma/script.qlock/
- enable it in Skin Settings > Scripts > Enable Qlock script
- navigate to the Weather button on the Home Menu.


result:

[Image: qlock1.jpg]
english layout


[Image: qlock2.jpg]
dutch layout


translations
the clock is currently available in English, Italian, Serbian, French, German and Dutch.
if you're willing to translate it to another language, that would be very much appreciated!


- Jezz_X - 2011-01-09 23:00

Nice ronie


- ronie - 2011-01-10 01:56

Jezz_X Wrote:Nice ronie

cheers mate.
think you deserve some credits as well for the skin code. ;-)


- donabi - 2011-01-10 15:57

To make translation a bit easier, i made a printable Grid.
Just print it out and put in the Letters of your Language.

[Image: photo-133-f852ccf3.jpg]

After that it should be quite easy to fill the corret Gridnumbers into the xml.


- humferier - 2011-01-10 23:45

ronie Wrote:translations
the clock is currently available in English, Italian, Serbian and Dutch.
if you're willing to translate it to another language, that would be very much appreciated!

French translation suggested in the thread of the script
[Image: 8zlg08.jpg]


- ronie - 2011-01-11 12:07

humferier Wrote:French translation suggested in the thread of the script

thanx! i'll ask Amet to add the french layout.xml to the script. :-)


- ronie - 2011-01-11 12:09

[Image: photo-115-667f6d2c.png]

example of the german clock.
it just needs to be converted to layout.xml

any takers?


- amet - 2011-01-11 12:23

possible to have it on all Home screens? even if its manual c/p effort Smile

EDIT: French layout added

Cheers,
amet


- ronie - 2011-01-11 13:27

Amet Wrote:possible to have it on all Home screens?
i'm open to suggestions...would like to hear what everyone thinks.
when and where to show the clock...

for now, i just picked the weather button,
as weather & time info seems logic combination to me somehow.

Amet Wrote:even if its manual c/p effort Smile

Includes.xml, remove this line:
Code:
<visible>Container(5040).HasFocus(10)</visible>



- amet - 2011-01-11 13:30

ronie Wrote:i'm open to suggestions...would like to hear what everyone thinks.
when and where to show the clock...

for now, i just picked the weather button,
as weather & time info seems logic combination to me somehow.

I only ever look at weather when I am leaving the house, at which point I am probably late already Smile

ronie Wrote:Includes.xml, remove this line:
Code:
<visible>Container(5040).HasFocus(10)</visible>

thanks mate


- donabi - 2011-01-11 13:55

i'm working on the german layout.
should be ready this evening.


- amet - 2011-01-11 13:55

stick it on a mail to me and I'll get it in


- donabi - 2011-01-11 19:13

the layout is nearly finished.
but "those germans" have one problem.
at 01:00 we say "es ist ein uhr"
at every other minute after 01:00, the "ein" goes "eins".
another way of time-spelling would be "es ist eins" at 01:00.

so i need a way to make the 01:00 with a different text.
without the last "uhr" (which is "’o clock" in english) or without the "s", which i need for all other settings after 01:00.

any idea's?

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<layout>
  <background all="E,S,K,I,S,T,A,F,Ü,N,F,Z,E,H,N,Z,W,A,N,Z,I,G,V,I,E,R,T,E,L,X,V,O,R,N,A,C,H,A,J,U,​H,A,L,B,E,I,N,S,L,M,E,Z,W,E,I,D,R,E,I,A,U,J,V,I,E,R,F,Ü,N,F,T,O,S,E,C,H,S,S,I,E,​B,E,N,L,A,C,H,T,N,E,U,N,Z,E,H,N,E,L,F,Z,W,Ö,L,F,U,N,K,U,H,R" />

  <!--German Layout -->
  <time all = "1,2,4,5,6"
        m00 = "108,109,110"
        m05 = "8,9,10,11,34,35,36,37"
        m10 = "12,13,14,15,34,35,36,37"
        m15 = "23,24,25,26,27,28,29,34,35,36,37"
        m20 = "16,17,18,19,20,21,22,34,35,36,37"
        m25 = "8,9,10,11,31,32,33,41,42,43,44"
        m30 = "41,42,43,44"
        m35 = "8,9,10,11,34,35,36,37,41,42,43,44"
        m40 = "16,17,18,19,20,21,22,31,32,33"
        m45 = "23,24,25,26,27,28,29,31,32,33"
        m50 = "12,13,14,15,31,32,33"
        m55 = "8,9,10,11,31,32,33"
        h01 = "45,46,47,48"
        h02 = "52,53,54,55"
        h03 = "56,57,58,59"
        h04 = "63,64,65,66"
        h05 = "67,68,69,70"
        h06 = "73,74,75,76,77"
        h07 = "78,79,80,81,82,83"
        h08 = "85,86,87,88"
        h09 = "89,90,91,92"
        h10 = "93,94,95,96"
        h11 = "97,98,99"
        h12 = "100,101,102,103,104"
        shiftHour = "0"
        shiftOnHalfHour ="0"
        shiftOn20 ="1"
        />        
        
</layout>



- amet - 2011-01-11 19:34

donabi Wrote:the layout is nearly finished.
but "those germans" have one problem.
at 01:00 we say "es ist ein uhr"
at every other minute after 01:00, the "ein" goes "eins".
another way of time-spelling would be "es ist eins" at 01:00.

so i need a way to make the 01:00 with a different text.
without the last "uhr" (which is "’o clock" in english) or without the "s", which i need for all other settings after 01:00.

any idea's?

I'll create a special case for "those Germans" in a script Smile

please let me know which solution you prefer

EDIT: here is 0.0.6 , try it and let me know if "one o'clock" is fine

Thanks for the layout


- donabi - 2011-01-11 20:02

"es ist ein uhr" would be the most common, i think.

thank you.