PDA

View Full Version : A Quirke with Strings



Tim Long
2004-05-10, 02:27
> I can
> certainly see a point for not having 'Now Playing shuffled'
> consuming the bulk of the first line.

I have a long-held belief that all the display strings are unnecessarily
verbose in the default incarnation. On the positive side, it is nice
that everything is so configurable and one of the first reconfigurations
I always make is to define a whole new language, which I call "UK
English" for want of a better description, which replaces most of the
strings with short single-word versions. I like the meat of the top line
to be taken up with the progress bar. On the down side, it is a pain to
do it every new release. I think there is supposed to be a site-specific
strings file that doesn't get overwritten by the install and I've tried
to make it work a couple of times without success. I would appreciate it
if someone could point me to the correct bit of documentation for this.

Regards,
--Tim Long

Peter Speck
2004-05-10, 02:50
On 10/5-2004, at 11:27, Tim Long wrote:

>> [...]
>> is to define a whole new language, which I call "UK
> English" for want of a better description, which replaces most of the
> strings with short single-word versions.
> [...]

Why not commit it (send a patch) as "Abbrev English", so other people
can have the pleasure of it? I don't think you are the only one who
like a concise interface.

----
- Peter Speck

kdf
2004-05-10, 09:35
From Slim/Strings.pm

sub stringsFiles {
my @stringsFiles;
push @stringsFiles, 'strings.txt';
push @stringsFiles, ".slimp3-strings.txt";
push @stringsFiles, "slimp3-strings.txt";
push @stringsFiles, ".slimserver-strings.txt";
push @stringsFiles, "slimserver-strings.txt";
push @stringsFiles, ".custom-strings.txt";
push @stringsFiles, "custom-strings.txt";
return @stringsFiles;

only strings.txt is overwritten. the rest can be custom.
-kdf

Quoting Tim Long <Tim (AT) long-family (DOT) com>:

> > I can
> > certainly see a point for not having 'Now Playing shuffled'
> > consuming the bulk of the first line.
>
> I have a long-held belief that all the display strings are unnecessarily
> verbose in the default incarnation. On the positive side, it is nice
> that everything is so configurable and one of the first reconfigurations
> I always make is to define a whole new language, which I call "UK
> English" for want of a better description, which replaces most of the
> strings with short single-word versions. I like the meat of the top line
> to be taken up with the progress bar. On the down side, it is a pain to
> do it every new release. I think there is supposed to be a site-specific
> strings file that doesn't get overwritten by the install and I've tried
> to make it work a couple of times without success. I would appreciate it
> if someone could point me to the correct bit of documentation for this.
>
> Regards,
> --Tim Long
>
>