Jump to content


Photo

Help w/ SlideShow Gadget fix


  • Please log in to reply
10 replies to this topic

#1 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 7,766 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 17 January 2010 - 06:01 PM

I need help with a fix for the SlideShow Gadget for my Windows Sidebar addon, this is the path that needs to be corrected for XP in slideShow.js in this English example

var samplePictPath = System.Environment.getEnvironmentVariable("Public");
this.myPicturesFolder = samplePictPath + "\\Pictures\\Sample Pictures";


var samplePictPath = System.Environment.getEnvironmentVariable("AllUsersProfile");
this.myPicturesFolder = samplePictPath + "\\Documents\\My Pictures\\Sample Pictures";


I need it for the following langs

cs-CZ = "%AllUsersProfile%\Dokumenty\Obrázky\Ukázky obrázků"
de-DE = 
el-GR = 
en-US = "%AllUsersProfile%\Documents\My Pictures\Sample Pictures"
es-ES = "%AllUsersProfile%\Documentos\Mis imágenes\Imágenes de muestra"
fr-FR = "%AllUsersProfile%\Documents\Mes images\Échantillons d'images"
he-IL = 
it-IT = "%AllUsersProfile%\Documenti\Immagini\Immagini campione"
ja-JP = "%AllUsersProfile%\Documents\My Pictures\Sample Pictures"
nl-NL = "%AllUsersProfile%\Documenten\Mijn afbeeldingen\Voorbeelden van afbeeldingen"
pl-PL = "%AllUsersProfile%\Dokumenty\Moje obrazy\Przykładowe obrazy"
pt-BR = 
pt-PT = 
ru-RU = 
tr-TR = "%AllUsersProfile%\Belgeler\Resimlerim\Örnek Resimler"
zh-CN = "%AllUsersProfile%\Documents\My Pictures\示例图片"


#2 George King

George King

    Wincert Addict

  • Members
  • PipPipPipPipPipPip
  • 551 posts
  • Location:cs-CZ

Posted 17 January 2010 - 06:20 PM

cs-CZ FiX:
"%AllUsersProfile%\Dokumenty\Obrázky\Ukázky obrázků"


#3 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 7,766 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 17 January 2010 - 06:36 PM

ty, fixed

Make sure you take the actual path from XP and your not translating them by eye

#4 George King

George King

    Wincert Addict

  • Members
  • PipPipPipPipPipPip
  • 551 posts
  • Location:cs-CZ

Posted 17 January 2010 - 08:32 PM

True, its from installed XP

#5 Aytac Cesmebasi

Aytac Cesmebasi

    WinCert Friend

  • Members
  • PipPipPipPip
  • 168 posts
  • Location:Bornova, İzmir
  • OS:Windows 7 x64

Posted 19 January 2010 - 03:43 PM

tr-TR = "%AllUsersProfile%\Belgeler\Resimlerim\Örnek Resimler"

#6 automizzer

automizzer

    Lurker

  • Members
  • Pip
  • 7 posts
  • OS:Windows XP Pro

Posted 31 January 2010 - 10:00 PM

pl-PL = "%AllUsersProfile%\Dokumenty\Moje obrazy\Przykładowe obrazy"

#7 YumeYao

YumeYao

    Advanced Member

  • Members
  • PipPipPip
  • 93 posts
  • Location:Taiyuan, Shanxi Province, PR China
  • OS:Windows 7

Posted 01 February 2010 - 04:36 AM

ja-jp="%AllUsersProfile%\Documents\My Pictures\Sample Pictures"
zh-cn="%AllUsersProfile%\Documents\My Pictures\示例图片"

yes the japanese string is totally same as english one...

#8 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 7,766 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 01 February 2010 - 04:55 AM

ty, added for next sidebar addon update

#9 DaRk MaDnEsS

DaRk MaDnEsS

    Live Free or Die Hard

  • Contributors
  • 971 posts
  • Location:Some where out computer
  • OS:Windows 7

Posted 14 February 2010 - 06:57 PM

ar-sa="%AllUsersProfile%\Documents\My Pictures\Sample Pictures"

same as english one

#10 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 7,766 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 14 February 2010 - 08:26 PM

Good, I do have one problem tho, cant open the .mui file to read these strings

LOC_NAME="Windows Sidebar"
LOC_TIP ="Displays personalized slideshows, news feeds, and other customized information on the desktop."
CPL_NAME="Windows Sidebar Properties"


#11 DaRk MaDnEsS

DaRk MaDnEsS

    Live Free or Die Hard

  • Contributors
  • 971 posts
  • Location:Some where out computer
  • OS:Windows 7

Posted 14 February 2010 - 08:49 PM

Good, I do have one problem tho, cant open the .mui file to read these strings

LOC_NAME="Windows Sidebar"
LOC_TIP ="Displays personalized slideshows, news feeds, and other customized information on the desktop."
CPL_NAME="Windows Sidebar Properties"


well i'm not at home right now

but i can translate it to you

and i will re-check it when i'm back

LOC_NAME="الشريط الجانبى ل Windows"
LOC_TIP ="إظهار عروض شرائح المخصصه و موجز الاخبار وغيرها من المعلومات المخصصه على سطح المكتب."
CPL_NAME="خصائص الشريط الجانبى ل Windows"


Edit: checked and fixed

Edited by DaRk MaDnEsS, 15 February 2010 - 06:02 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users