https://bugs.kde.org/show_bug.cgi?id=468366

            Bug ID: 468366
           Summary: posummit.py uses the wrong catalog during scatter
    Classification: Developer tools
           Product: kdesdk-scripts
           Version: unspecified
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Miscellaneous
          Assignee: mp...@kde.org
          Reporter: ser...@cip.md
  Target Milestone: ---

SUMMARY
I noticed that pology started to remove years from the copyright line of some
catalogs, but not all of them. This happens during scatter and I believe it is
due to using the wrong catalog as source.


STEPS TO REPRODUCE
1. Update to the latest pology

    $ git pull
    $ git checkout 27f2972f

2. Merge translations:

    $ cd trunk/l10n-support
    $ ./pology/scripts/posummit.py scripts/messages.summit ro merge

3. Edit a file in Lokalize, specifically:
trunk/l10n-kf5/ro/messages/baloo/baloodb5.po
4. Scatter that catalog:

    $ ./pology/scripts/posummit.py scripts/messages.summit ro scatter
trunk5:baloodb5
    <    [...]/trunk/l10n-kf5/ro/messages/baloo/baloodb5.po 
ro/summit/messages/baloo/baloodb6.po

6. Notice it has used baloodb6.po as source for baloodb5.po

OBSERVED RESULT

    $ svn diff trunk/l10n-kf5/ro/messages/baloo/baloodb5.po | grep ^[+-]#
    -# Sergiu Bivol <ser...@cip.md>, 2020.
    +# Sergiu Bivol <ser...@cip.md>, 2023.

EXPECTED RESULT
Comparing the original file in trunk to the one in summit:

    $ diff trunk/l10n-kf5/ro/messages/baloo/baloodb5.po
trunk/l10n-support/ro/summit/messages/baloo/baloodb5.po | head -n4
    3d2
    < # Sergiu Bivol <ser...@cip.md>, 2020.
    4a4
    > # Sergiu Bivol <ser...@cip.md>, 2020, 2023.


SOFTWARE/OS VERSIONS
pology version 0.13 (commit 27f2972f)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to