[Qgis-developer] [Qgis-tr] size of translations, use a distinct repo?
Denis Rouzaud
denis.rouzaud at gmail.com
Wed Oct 29 06:11:07 PDT 2014
On 29.10.2014 14:06, Werner Macho wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Good idea,
> if its really translation that causes the growth we should do
> everything to avoid that.
As Jurgen noticed, there are some useless changes in the ts files:
<message>
- <location filename="../src/core/qgscontexthelp_texts.cpp"
line="327"/>
+ <location filename="../src/core/qgscontexthelp_texts.cpp"
line="319"/>
if there are lines removed/added in the source file, this will cause
changes in the translation file.
Jurgen suggested to remove these tags "location filename" which would
improve a lot.
> Is there any way to "shrink" the already existing repo?
> At one point I thought about zipping the ts files - but if there is a
> better way .. good!
> I always wondered why the whole translations file has to be changed
> whenever there are only some small changes ..
> moving the translation in it's own github repository: hmm - I don't
> know if thats easily possible.. but I am also willing to try it if it
> helps the source code to stay clean.
I don't see any reason why it wouldn't be possible.
git submodules would be pretty useful for this matter.
>
> But again - anyway to shrink the already existing source code?
As far as I know, you can't shrink existing repo without destroying the
history.
> I don't mind about loosing track of translation changes.
>
> regards
> Werner
>
>
> On 10/29/2014 12:15 PM, Jürgen E. Fischer wrote:
>> Hi Denis,
>>
>> On Wed, 29. Oct 2014 at 11:08:16 +0100, Denis Rouzaud wrote:
>>> Any thoughts?
>> I guess this is just due to the "location filename" stuff. That
>> often causes massive change in the ts files, because lines were
>> added or removed from the source files - even if there isn't even a
>> changed translation.
>>
>> I think that is not used at all for transifex and it's not that
>> important to have in linguist either.
>>
>> So instead of inventing something new, all it takes might be to add
>> "-locations none" to our lupdate call, reduce the size of the .ts
>> files a lot (in one huge commit) and avoid useless tracking of
>> location changes in the future.
>>
>> Objections?
>>
>>
>> Jürgen
>>
>>
>>
>> _______________________________________________ Qgis-tr mailing
>> list Qgis-tr at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-tr
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.15 (GNU/Linux)
>
> iEYEARECAAYFAlRQ5k8ACgkQDAH1YiCxBgn7TQCeKllHCgzKm1Jn2iRT6iwPXkPd
> qmsAnjjWeXZySoZX9WQYf82w4s64s2ql
> =AGCZ
> -----END PGP SIGNATURE-----
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list