Bug 8952 - Update notification needs to be localized
: Update notification needs to be localized
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: unspecified
: Macintosh All
: P3 normal (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-31 01:02 UTC by Michael Herger
Modified: 2009-09-08 09:28 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2008-07-31 01:02:08 UTC
Not exactly a SC issue, but rather on updates.slimdevices.com: the message about an available update is EN only, hard coded in the script. This should be localizable.

"A new version of SqueezeCenter is available (7.1). Click <a href=\"http://www.slimdevices.com/su_downloads.html\" target=\"update\">here</a> to download."
Comment 1 Andy Grundman 2008-07-31 07:01:29 UTC
Yeah, SC passes a lang param but it's ignored currently.
Comment 2 Blackketter Dean 2008-08-06 11:50:44 UTC
Can we get a strings.txt file created and get that to SLT right away?

Andy: Do you own updates.slimdevices.com?
Comment 3 Andy Grundman 2008-08-06 11:54:29 UTC
Not really, but I guess I am the one to update the index.cgi script on there.
Comment 4 Andy Grundman 2008-08-06 13:56:08 UTC
It's just one string we need translated:

A new version of SqueezeCenter is available (%s). Click <a href="%s" target="update">here</a> to download.
Comment 5 Michael Herger 2008-08-10 23:24:22 UTC
DE:
Eine neue Version von SqueezeCenter ist verfügbar (%s). <a href="%s" target="update">Sie steht hier zum Download bereit</a>.

FR:
Une nouvelle version de SqueezeCenter est à votre disposition (%s). <a href="%s" target="update">Téléchargement ici</a>.
Comment 6 Michael Herger 2008-08-15 06:29:59 UTC
*** Bug 9171 has been marked as a duplicate of this bug. ***
Comment 7 Michael Herger 2008-09-15 01:03:27 UTC
Added new string to SN strings to be used here:

SC_UPDATE_AVAILABLE
	DA	Der findes en ny version af SqueezeCenter (%s). Klik <a href="http://www.slimdevices.com/su_downloads.html" target="update">her</a> for at hente den.
	DE	Eine neue Version von SqueezeCenter ist verfügbar (%s). Klicken Sie zum Herunterladen <a href="http://www.slimdevices.com/su_downloads.html" target="update">hier</a>.
	EN	A new version of SqueezeCenter is available (%s). Click <a href="http://www.slimdevices.com/su_downloads.html" target="update">here</a> to download.
	ES	Hay disponible una nueva versión de SqueezeCenter (%s). Haga clic <a href="http://www.slimdevices.com/su_downloads.html" target="update">aquí</a> para descargarla.
	FI	SqueezeCenteristä on tarjolla uusi versio (%s). Klikkaa <a href="http://www.slimdevices.com/su_downloads.html" target="update">tässä</a> uuden version lataamiseksi.
	FR	Une nouvelle version de SqueezeCenter est disponible (%s). Cliquez <a href="http://www.slimdevices.com/su_downloads.html" target="update">ici</a> pour la télécharger.
	IT	È disponibile una nuova versione di SqueezeCenter (%s). Fare clic <a href="http://www.slimdevices.com/su_downloads.html" target="update">qui</a> per scaricarla.
	NL	Er is een nieuwe versie van SqueezeCenter beschikbaar (%s). Klik <a href="http://www.slimdevices.com/su_downloads.html" target="update">hier</a> om deze te downloaden.
	NO	En ny versjon av SqueezeCenter er tilgjengelig (%s). Klikk <a href="http://www.slimdevices.com/su_downloads.html" target="update">her</a> for å laste den ned.
	SV	Det finns en ny version av SqueezeCenter (%s). Klicka <a href="http://www.slimdevices.com/su_downloads.html" target="update">här</a> för att ladda ner den.
Comment 8 Michael Herger 2008-10-06 01:26:32 UTC
Matt - are you the maintainer of the update checker script on updates.sd.com?
Comment 9 Matt Wise 2008-10-06 07:06:54 UTC
Not really... I mean, if someone checks in the change or sends it to me, I can implement it ... but thats about it. 
Comment 10 Michael Herger 2008-10-10 03:54:12 UTC
Can you give me or Andy access to that script?
Comment 11 Blackketter Dean 2008-10-10 07:53:55 UTC
See bug 9656, update checking should be an SN function.
Comment 12 Matt Wise 2008-10-10 07:58:28 UTC
Michael, 
   You have access to take a look at the script yourself ... I figure this is easier than me sending it to you (and dealing with newlines, etc).

1) ssh -p 222 <user>@services.slimdevices.com
2) cd /www/update.slimdevices.com/html/

   You should definitely have read access there ... write-access may already be setup as well. 

--Matt 
Comment 13 Michael Herger 2008-10-17 07:48:41 UTC
Fixed. Don't know whether there's a repository to store the changed file in. I've left the old file version as index-old.cgi in place. New index.cgi is utf8 without BOM.

http://update.slimdevices.com/update/?lang=FI&version=0
Comment 14 James Richardson 2008-12-15 12:05:43 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 15 Chris Owens 2009-07-31 10:26:13 UTC
Reduce number of active targets for SC