[Koha-bugs] [Bug 24871] Add new *-installer-*.po translation files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 22 00:50:54 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24871

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off

--- Comment #11 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
> Take for example language 'eo', current master, wo/patch

That's a fine example for me.
Tio estas bona ekzemplo por mi. ;)

Thanks for the clarifications, it work :D.
I tried to reflect the explanations in the test plan. Here are the changes:

== Previous test plan ==
1) Update your preferred language
2) Check missing *installer*po files
3) Create new translation files:
   cd /misc/translation
   ./translate create xx-YY

   check *installer*po files
4) Apply patch
5) Repeat 1, verify installer files are updated
   see last modification time

== current test plan ==
1) Count the number of po files of your preferred language (replace XX)
     ls misc/translator/po/XX-*po | wc -l
2) You should have 8 of them
3) Update it and recount
     (cd misc/translator/; ./translate update XX); ls
misc/translator/po/XX-*.po | wc -l
4) still 8, it means that the update process doesn't add new po files
5) Re-create the language
     (cd misc/translator/; rm -f po/XX-*.po; ./translate create XX);
6) recount: ls misc/translator/po/XX-*po | wc -l
7) It's 10
8) note: it means that the creation process adds new po files
9) restore to a clean state
   git restore misc/translator/po/
   rm misc/translator/po/eo-installer-MARC21.po
misc/translator/po/eo-installer.po
10) manually apply the patch (because it's too big to be directly here)
    1) download
    2) extact the xz file
    3) apply it
    4) git am 0001-Bug-24871-Add-new-installer-.po-translation-files.patch-1
11) check the modification time of the installer .po files of your preferred
language
      ls -l misc/translator/po/XX-installer*
12) note: this also checks for their presence, which is what this patch
      actually does, only adding the installer po files
13) Update your preferred language
      (cd misc/translator/; ./translate update XX);
14) check the modification time
      ls -l misc/translator/po/XX-installer*
15) It should have been updated, so everything still works correcly :D

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


More information about the Koha-bugs mailing list