[Kst] extragear/graphics/kst/src/libkst
Barth Netterfield
netterfield at astro.utoronto.ca
Wed Feb 15 21:09:26 CET 2006
I think this breaks .kst files that use "-frames" that are saved in a
different language.
The current behavior makes "<Filename>-frames" the name in any language,
which makes .kst files portable.
This patch makes "<Filename>-<i18n(frames)>" the name, which makes kst files
non-portable between language.
A third option is to translate scalar references to english when saving and
from english when loading in addition to the attached patch. This (silently)
makes the english translations reserved in any language, which will make
unlikely but possible bugs.
cbn
On February 15, 2006 11:37 am, George Staikos wrote:
> SVN commit 509886 by staikos:
>
> fix i18n
>
>
> M +1 -1 kstdatasource.cpp
>
>
> --- trunk/extragear/graphics/kst/src/libkst/kstdatasource.cpp
> #509885:509886 @@ -607,7 +607,7 @@
> Q_UNUSED(type)
> _valid = false;
> _reusable = true;
> - _numFramesScalar = new KstScalar(filename + i18n("-frames"));
> + _numFramesScalar = new KstScalar(i18n("%1-frames").arg(filename));
> // Don't set provider - this is always up-to-date
> }
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list