home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Theme / 8GadgetPack / 8GadgetPackSetup.msi / Gadgets.7z / Gadgets / MyWeather.gadget / js / local.js < prev    next >
Text File  |  2011-07-30  |  3KB  |  89 lines

  1. var lang = {
  2.          itemname:          "pd01",
  3.          version:           "39",
  4.          copy_version:      "3.9",
  5.          copy_rights:       "Pat Possible. All rights reserved.<br>",
  6.          copy_rights2:      "Terms of use (german)",
  7.          copy_rights3:      "Credits",
  8.          copy_rights4:      "Problems? Ideas?",
  9.  
  10.          update_txt:    "Download the new gadget version for free at the Windows Live Gallery.",
  11.          update_txt_dl: "Download now!",
  12.  
  13.          nav1:  "Settings",
  14.          nav2:  "About",
  15.          nav3a: "More",
  16.          nav3b: "Update",
  17.          txt3c: "loading",
  18.          
  19.          bar1: "Change city",
  20.          bar2: "Design",
  21.          bar3: "Other",
  22.  
  23.          topic1: "My city",
  24.          topic2: "Gadgetname",
  25.          topic3a: "More Gadgets",
  26.          topic3b: "Update",
  27.  
  28.          nichts: "Currently no settings available.",
  29.          check1: "Show date.",
  30.  
  31.          hello: "<div style='padding-top:5px;'><b>Welcome!</b><br>Enter a city, click on the glass icon <br />and select the place of your choice.</div>",
  32.          hello2: "<div style='padding-top:12px;'>Enter a city, click on the glass icon <br />and select the place of your choice.</div>",
  33.          wait:  "Search...",
  34.          wait2: "Sorry, no city found.",
  35.  
  36.          culture: "",
  37.  
  38.          skytext:          "",
  39.          feelslike:        "Feels like",
  40.          humidity:         "Humidity",
  41.          windspeed:        "Wind",
  42.          winddisplay_k:    "kmh",
  43.          winddisplay_m:    "mph",
  44.          observationpoint: "Where",
  45.          observationtime:  "",
  46.          wetter_for:       "for",
  47.          wetterwarnung:    "Please check http://weather.msn.com for more details.",
  48.          
  49.          cf:               "Celsius / Kilometers per hour",
  50.          ff:               "Fahrenheit / Miles per hour",
  51.          alert:            "Show weather warnings",
  52.          userAgent:        "Sidebar FullView",
  53.  
  54.     repeat: false
  55. }
  56. var dateform = new Array();
  57. var dayname = new Array();
  58.     dayname["Monday"]    = "Monday";
  59.     dayname["Tuesday"]   = "Tuesday";
  60.     dayname["Wednesday"] = "Wednesday";
  61.     dayname["Thursday"]  = "Thursday";
  62.     dayname["Friday"]    = "Friday";
  63.     dayname["Saturday"]  = "Saturday";
  64.     dayname["Sunday"]    = "Sunday";
  65. var monthname = new Array();
  66.     monthname["01"] = "Jan";
  67.     monthname["02"] = "Feb";
  68.     monthname["03"] = "MΣr";
  69.     monthname["04"] = "Apr";
  70.     monthname["05"] = "Mai";
  71.     monthname["06"] = "Jun";
  72.     monthname["07"] = "Jul";
  73.     monthname["08"] = "Aug";
  74.     monthname["09"] = "Sep";
  75.     monthname["10"] = "Okt";
  76.     monthname["11"] = "Nov";
  77.     monthname["12"] = "Dez";
  78. function setlang()
  79. {
  80. document.getElementById('nav1').innerText = lang.nav1;
  81. document.getElementById('nav2').innerText = lang.nav2;
  82. document.getElementById('nav3').innerText = lang.nav3a;
  83.  
  84. document.getElementById('topic1').innerText = lang.topic1;
  85. document.getElementById('topic2').innerText = lang.topic2;
  86. document.getElementById('topic3').innerText = lang.topic3a;
  87.  
  88. document.getElementById('txt3c').innerText = lang.txt3c;
  89. }